Gitfs
11–20 of 34 posts
Re: Gitfs
#12For write support you obviously have to mount a branch. Can you mount tags or commits read-only? It would be really useful actually. Actually I can't see a use case where I would mount it read-write. For developing a website you possibly do not want to commit on every write. Possibly git's limitations on large files still apply to this implementation. For large number of small files: what does it do when I cp like 10…
> mount -o ro ...
Re: Gitfs
#13There is a nice EuroPython talk were two of the authors talked about gitfs: https://ep2015.europython.eu/conference/talks/gitfs-building... Their main motivation to write this was to give their clients (publishers) a way to interact with a git-versioned project tree without having to force them to use git directly. Overall pretty amazing work!
Re: Gitfs
#14For some reason, this scares me. Is there more info on that somewhere?
Re: Gitfs
#15https://www.presslabs.com/gitfs/docs/usage/
https://www.presslabs.com/gitfs/docs/arguments/
So apparently you can mount remotes, not only local .git dirs. This is really handy and it should be listed on the main page, really.
I raises an other question: can I mount remotes where I don't have write access read-only?
For the directory structure the history directory makes sense for mounted projects that are edited with gitfs. For other projects, not so much. What about having a read only tags/ and commits/ directory too?
Re: Gitfs
#16OK, the main page lacks information. https://www.presslabs.com/gitfs/docs/usage/ https://www.presslabs.com/gitfs/docs/arguments/ So apparently you can mount remotes, not only local .git dirs. This is really handy and it should be listed on the main page, really. I raises an other question: can I mount remotes where I don't have write access read-only? For the directory structure the history directory makes sense for…
You can fork it https://github.com/PressLabs/gitfs and start hacking around.
Re: Gitfs
#17Re: Gitfs
#18curious to see how gitfs and irmin develop.
Re: Gitfs
#19Re: Gitfs
#20"Merges with upstream by automatically accepting local changes" For some reason, this scares me. Is there more info on that somewhere?
Also, you can see how conflicts are solved, directly in the implementation (https://github.com/PressLabs/gitfs/blob/master/gitfs/merges/...).
Do you want to know something more specific?