GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 24-Nov-2023 09:53:47 JST Julia Evans Julia Evans

    has anyone made a read-only FUSE filesystem for a git repository where every commit is a folder and the folder contains all the files in that commit?

    the idea is that you could just run `cd COMMIT_ID` and poke around instead of checking out the commit

    and maybe the branches could be symbolic links to the commit folders?

    In conversation Friday, 24-Nov-2023 09:53:47 JST from social.jvns.ca permalink
    • Embed this notice
      藤井太洋, Taiyo Fujii (taiyo@ostatus.taiyolab.com)'s status on Friday, 24-Nov-2023 09:53:42 JST 藤井太洋, Taiyo Fujii 藤井太洋, Taiyo Fujii
      in reply to

      @b0rk Noy git, but the Apple Time Machine introduces the similar interface. Daily/hourly snapshots are in the folders (directory slink).
      It's good to watching around. And if git serves so, more non-tech people would use git.

      In conversation Friday, 24-Nov-2023 09:53:42 JST permalink
    • Embed this notice
      json web tokin' (est@social.emily.news)'s status on Friday, 24-Nov-2023 10:08:58 JST json web tokin' json web tokin'
      in reply to

      @b0rk people are so joyless on this internet

      In conversation Friday, 24-Nov-2023 10:08:58 JST permalink
    • Embed this notice
      Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 24-Nov-2023 10:08:59 JST Julia Evans Julia Evans
      in reply to

      guys this is such a fun idea I cannot believe people are in the replies trying to explain to me why they think it is impractical

      the whole point of computers is to do impractical things and see what happens

      In conversation Friday, 24-Nov-2023 10:08:59 JST permalink
    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Friday, 24-Nov-2023 10:20:31 JST Paul Cantrell Paul Cantrell
      in reply to

      @b0rk
      A FUSE filesystem where every folder is a playful idea and its contents are all of the joyless rebuttal replies

      In conversation Friday, 24-Nov-2023 10:20:31 JST permalink
    • Embed this notice
      feld (feld@bikeshed.party)'s status on Friday, 24-Nov-2023 11:20:33 JST feld feld
      in reply to
      • Zeyi (Rice) Fan 🍙
      • Wez Furlong :terminal:
      @fanzeyi @b0rk @wez this looks perfect
      In conversation Friday, 24-Nov-2023 11:20:33 JST permalink
    • Embed this notice
      Zeyi (Rice) Fan 🍙 (fanzeyi@douchi.space)'s status on Friday, 24-Nov-2023 11:20:35 JST Zeyi (Rice) Fan 🍙 Zeyi (Rice) Fan 🍙
      in reply to
      • Wez Furlong :terminal:

      @b0rk @wez

      (former member on the team built EdenFS).

      I actually wrote the exact thing you described as a practice to familiarize myself with FUSE API:

      https://github.com/fanzeyi/giblefs

      In conversation Friday, 24-Nov-2023 11:20:35 JST permalink
    • Embed this notice
      Julia Evans (b0rk@social.jvns.ca)'s status on Friday, 24-Nov-2023 11:20:37 JST Julia Evans Julia Evans
      in reply to
      • Wez Furlong :terminal:

      @wez ooh cool thank you!

      In conversation Friday, 24-Nov-2023 11:20:37 JST permalink
    • Embed this notice
      Wez Furlong :terminal: (wez@fosstodon.org)'s status on Friday, 24-Nov-2023 11:20:41 JST Wez Furlong :terminal: Wez Furlong :terminal:
      in reply to

      @b0rk the EdenFS portion of Sapling (https://github.com/facebook/sapling/) has the guts of this inside. Even though that project was built primarily for Sapling (an evolution of Mercurial), it can also mount Git repos. We talked about exposing literally the interface your described for some internal infrastructure in the early days. I'm no longer part of that team so I'm not sure if that ever got implemented, but it wouldn't be difficult if someone was motivated!

      In conversation Friday, 24-Nov-2023 11:20:41 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - facebook/sapling: A Scalable, User-Friendly Source Control System.
        A Scalable, User-Friendly Source Control System. Contribute to facebook/sapling development by creating an account on GitHub.
    • Embed this notice
      Julia Evans (b0rk@social.jvns.ca)'s status on Wednesday, 29-Nov-2023 20:42:40 JST Julia Evans Julia Evans
      in reply to

      the main reason I've found this "all your git commits are folders" feature to be useful is for searching past code: I can run `grep someFunction branch_histories/main/*/commit.go` to find the old version of someFunction I deleted. There are other ways to do that in git but this is easier.

      or if I want to just quickly look at a file on another branch to copy a line from it, I can run `vim branches/other-branch/go.mod`

      curious about other use cases

      (from https://github.com/jvns/git-commit-folders)

      In conversation Wednesday, 29-Nov-2023 20:42:40 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - jvns/git-commit-folders
        Contribute to jvns/git-commit-folders development by creating an account on GitHub.
    • Embed this notice
      Julia Evans (b0rk@social.jvns.ca)'s status on Wednesday, 29-Nov-2023 20:42:41 JST Julia Evans Julia Evans
      in reply to

      ok I got extremely nerd sniped and made my own version of this “filesystem where every git commit is a folder" thing https://github.com/jvns/git-commit-folders

      I wrote a FUSE version and an NFS version that I think will be easier for mac users to use. it definitely does not work on windows.

      it probably has about 5 million bugs but it seems to kind of work

      In conversation Wednesday, 29-Nov-2023 20:42:41 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: img-prod-cms-rt-microsoft-com.akamaized.net
        Prova la potenza del SO Windows 11 e dei computer e delle app associati
        from @microsoft
        Esplora la versatilità di Windows 11, il sistema operativo di Microsoft. Scopri il nostro più recente sistema operativo Windows che ti offre tanti modi per lavorare, giocare e creare.

      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Julia Evans (b0rk@social.jvns.ca)'s status on Wednesday, 29-Nov-2023 20:42:42 JST Julia Evans Julia Evans
      in reply to

      seems like the answer is yes!

      - https://github.com/fanzeyi/giblefs (fuse implementation in rust where every commit is a folder)
      - https://orib.dev/git9.html (for plan 9)

      would love to hear about any others

      In conversation Wednesday, 29-Nov-2023 20:42:42 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        GitHub - fanzeyi/giblefs: Mapping a Git repository as a virtual filesystem
        Mapping a Git repository as a virtual filesystem. Contribute to fanzeyi/giblefs development by creating an account on GitHub.
      2. No result found on File_thumbnail lookup.
        git9

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.