Live data from Hacker News

A currently maintained fork of SSHFS

github.com

51–60 of 144 posts

Re: A currently maintained fork of SSHFS

#51

Earlier quoted context omitted.

I mostly care if projects don't accept bugfixes. For example "inotify feature longer works with the latest glibc release due to subtle API change" might be an easy 10 line pull request to fix. But if the maintainer doesn't take the pull request and make a release, then the effort of fixing it is wasted, and every single user has to workaround/suffer from that bug into the future. There are loads of projects in that s…

I wish github and other code hosters made it easier to "just make a release". Next to the "Download zip" button on github, they should add a "Download built .deb" and "Download built .exe" - and those buttons should work on any fork, branch, PR, etc. And they should add all the necessary build infrastructure to achieve that. It turns out that at scale, build infrastructure is pretty cheap to run, since caching is so…

When making a github release, you can attach whatever file you want, including .exe and .deb. The problem is that building packages is kind of a nightmare, as there's at least one (or, as is the case far too often, many) build system for each programming language. Linux package management is also hard as each distro has its own way of packaging things. And you need a mac to produce macOS Applications...

My point is, there is no way github could add a fully automatic "build and package this release" button. It would require tons of configuration (and trial and error...) from the user.

But good news! If you _are_ willing to figure out how, you can make a github pipeline that compiles and packages your code (producing an "artifact"). Several projects I follow do exactly this. A complex problem like this essentially requires a bespoke solution, and to be fair github does give you tools to automate said solution. The problem is not the infrastructure but the complexity of build systems.

I do agree there should be more ready-made pipelines to aid this process. When I tried to release a python program to work on linux, windows, and macOS, I quickly realized I wasn't interested in figuring out how to make a working pipeline (after spending a weekend getting it to build on each OS in the first place). But surely that's because python is particularly bad at package management... Well, most languages are particularly bad at it

Re: A currently maintained fork of SSHFS

#52
A note …

I have transitioned from years of macfuse + sshfs on Mac to just installing the excellent “mountain duck” tool which gives you finder and mount point access to an sftp endpoint.

Very nice software and indispensable for me.

Re: A currently maintained fork of SSHFS

#53
post #24
post #13

Earlier quoted context omitted.

Making a .deb isn't as simple as it might seem. If you want to use shared libraries, especially so. Which version of Ubuntu/Debian/Mint/... whatever are you targetting? You can tools like FPM[1] (which is awesome btw, used it for some great hacks in the past), but that won't make you .debs that are necessarily done to the debian guidelines but usable. There are a load os SaaS companies that do that allow you to make…

the open build service (by suse) does that. are there others?

I'm certain there are more but I can only think of artifactory now and not sure that even makes the debs (does the repo stuff). Maybe there's a business plan somewhere in there :)

Re: A currently maintained fork of SSHFS

#54

Anyone try rclone or sshfs on Mac OS X with macfuse/osxfuse?

I use sshfs with macfuse on my M1, and mount a drive to a linux box in my office. It's mostly OK, but has its quirks. Getting it setup was a bit of an adventure, and I questioned myself a couple times - but I powered through and it worked out just fine.

Re: A currently maintained fork of SSHFS

#55
post #28

Nautilus (Ubuntu's file explorer) allows to mount SFTP folders. Supposedly it uses `gvfs` under the hood. Note that SFTP uses an SSH connection for its file transfers, so I have not seen an UI difference from SSHFS

It allows you to browse sftp endpoints in the nautilus GUI but does it simultaneously create a mount point in the file system that you could use in the terminal?

I don’t remember…

Re: A currently maintained fork of SSHFS

#57
post #30

Earlier quoted context omitted.

rclone has a "mount" command.

Sorry if this is documented (I did take a quick look). Does rclone mounted do whole file compression like rsync? I don't see how the file API would support this. eg fopen, write, close, etc

In this scenario, rclone mount uses sftp in the background which compresses the entire stream (you can control that by passing args to the ssh command spawned by rclone) but it doesn't do it per-file. In practice I don't know if there is a difference.

Re: A currently maintained fork of SSHFS

#58
I think SFTP is a good but underrated protocol, when mirroring a file tree bidirectionally makes more sense than cloning one to another. Having forked and studied from SSHFS' code, I am currently maintaining a list of resources and some personal thoughts on https://hackmd.io/@q/sftp-over-ws.

Re: A currently maintained fork of SSHFS

#60
post #36

Earlier quoted context omitted.

Interesting. I haven't tried a speed comparison but I know we sped up the sftp backend recently.

Does the FUSE mount work on OSX?

It does. You can use it with macfuse or with fuse-t.

See: https://rclone.org/commands/rclone_mount/#mounting-on-macos

Post reply on HN