[HN Gopher] Show HN: Hubfs - File System for GitHub
       ___________________________________________________________________
        
       Show HN: Hubfs - File System for GitHub
        
       Author : billziss
       Score  : 57 points
       Date   : 2022-03-12 19:09 UTC (3 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | tedunangst wrote:
       | I don't think the filtering they mention for security actually
       | works? Anybody who clones a repo on GitHub can make their own
       | commits appear under the original org url when accessed by ref.
        
       | amelius wrote:
       | Does it support snapshots?
        
       | andrew_ wrote:
       | I've often thought of using git/github as a document store to
       | replace google drive. I might experiment with this and rsync to
       | see if that makes it possible.
        
       | billziss wrote:
       | HUBFS is a file system for GitHub and Git. Git repositories and
       | their contents are represented as regular directories and files
       | and are accessible by any application, without the application
       | having any knowledge that it is really accessing a remote Git
       | repository. The repositories are writable and allow editing files
       | and running build operations.
        
         | pwdisswordfish9 wrote:
         | Or you could, you know, clone the repository into a local
         | working tree.
        
           | VWWHFSfQ wrote:
           | Snarky drive-by comments like this are the worst part of HN.
        
           | throwra620 wrote:
        
           | gravypod wrote:
           | That works well for small repos or a few repos but if you
           | want to find all cc files, at all release branch's, in your
           | entire company and check for some exploit it is helpful to
           | have a VFS. Makes it so you could also support N SCMs through
           | one API. You just need to make a new VFS.
        
             | westurner wrote:
             | Isn't there already a good way to push computation closer
             | to the data?
             | 
             | GmailFS and pyfilesystem (userspace FUSE) and rclone are
             | neat as well.
             | 
             | https://stackoverflow.com/questions/1960799/how-to-use-
             | git-a... explains about the `git push` step that git-
             | remote-dropbox _enables_ :
             | https://github.com/anishathalye/git-remote-dropbox
        
               | bspammer wrote:
               | GitHub also has a code search now: https://cs.github.com
        
               | gravypod wrote:
               | Needing to tie into a specific API (like codesearch)
               | couples you to the specific storage backend (Github). If
               | you build your software to operate on a POSIX-y file
               | system, you can support anything that shows up as a file
               | system. For example: A local working tree of files, an
               | NFS share, or now a remote git repository.
        
       ___________________________________________________________________
       (page generated 2022-03-12 23:00 UTC)