Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup AppVeyor CI to test on Windows #7

Open
althonos opened this issue Oct 26, 2017 · 8 comments
Open

Setup AppVeyor CI to test on Windows #7

althonos opened this issue Oct 26, 2017 · 8 comments
Labels
enhancement something could be better help wanted help wanted to solve this issue

Comments

@althonos
Copy link
Owner

Since it was confirmed there is a more than zero person that are using this library on a Windows machine, it would be interesting to have some tests running in a Windows environment.

The trouble is, our tests run on Docker, and I've no idea how difficult it will be to setup Docker inside AppVeyor.

Feel free to add below any resource that may help

@althonos althonos added enhancement something could be better help wanted help wanted to solve this issue labels Oct 26, 2017
@ReimarBauer
Copy link
Contributor

I am not experienced with that, but we have it now on
https://anaconda.org/conda-forge/fs.sshfs for windows too :)

and may be someone could extract the pieces on https://github.com/conda-forge/fs.sshfs-feedstock

@ghost
Copy link

ghost commented Oct 17, 2018

Sorry for necromancing this issue, I'm very interested in using this, but I haven't bothered putting in the time into it yet since I can't find any info about if it works on windows or not.
If it does, could this be stated in some fashion in the readme.md so it's visible ?

@althonos
Copy link
Owner Author

@source83 : The library in itself is platform agnostic, so there's a 99% chance it works on Windows. I'd just like to setup AppVeyor to make that 100% 😉

@ghost
Copy link

ghost commented Oct 18, 2018

Thanks @althonos, another question:
Does it actually "mount" the drive or is the remote FS only accessible by the python object ?
As in here on windows, would it mount it up as a drive (g:,h:....)

@ReimarBauer
Copy link
Contributor

@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.

from the examples

import fs
my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")

I

@ReimarBauer
Copy link
Contributor

Sorry for necromancing this issue, I'm very interested in using this, but I haven't bothered putting in the time into it yet since I can't find any info about if it works on windows or not.
If it does, could this be stated in some fashion in the readme.md so it's visible ?

We have builded it for windows too on conda-forge.
https://anaconda.org/conda-forge/fs.sshfs

This setup may help
https://github.com/conda-forge/fs.sshfs-feedstock/blob/master/appveyor.yml

@ghost
Copy link

ghost commented Nov 3, 2018

@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.

from the examples

import fs
my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")

I

I think you answered my question here.
I was hoping to use this as a way to "mount" say d: to "/home/myuser/myfolder" like is possible with sshfs in windows cmd.
In linux, this can be done in fstab or on the command line (no problem there).
The problem I'm seeing with the current method I'm using of sshfs on the windows cmd is that the "mount" only last as long as the cmd window is open/running since it doesn't exit after running the command.
I was hoping to make a simple tray ui where I could "mount" or "unmount" as needed and access the "mounted" filesystem tree from the drive specified.

@ReimarBauer
Copy link
Contributor

@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.
from the examples

import fs
my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")

I

I think you answered my question here.
I was hoping to use this as a way to "mount" say d: to "/home/myuser/myfolder" like is possible with sshfs in windows cmd.

mount is a concept of accessing filesystems.
pyfilesystem is a different approach for accessing files anywhere. This does not need a mount beforehand. Of course pyfilesystem can also use files on mounted directories, but a mount is not mandatory.

In linux, this can be done in fstab or on the command line (no problem there).
The problem I'm seeing with the current method I'm using of sshfs on the windows cmd is that the "mount" only last as long as the cmd window is open/running since it doesn't exit after running the command.
I was hoping to make a simple tray ui where I could "mount" or "unmount" as needed and access the "mounted" filesystem tree from the drive specified.

I started with a qt helper application, this can dynamicly use fs pathes. Maybe you are looking for something like that?

https://github.com/ReimarBauer/fs_filepicker

conda create -n fs_filepicker_env fs_filepicker
source activate fs_filepicker_env
fs_filepicker -u ftp://ftp.de.debian.org/debian

Besides sshfs I also use webdav to my nextcloud instance

regards
Reimar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something could be better help wanted help wanted to solve this issue
Projects
None yet
Development

No branches or pull requests

2 participants