ok, I know little about git, what I do know is that is a versioning system,
and I don't get how that can't be mapped to a fs that looks like an actual
filesystem.
I get that git can have lot's of modes and quirks, but couldn't mount specs
be used to solve this
mount /srv/git.myapp /n/myapp-ro read-only
or whatever that makes sense in git world?
to me a fs like webfs it's more like a library, were once you have it, then
you need a client, hence a lot of work as well
brainstorming on possible layouts for the filesystems could be a good
start.
/mnt/git
clone
ctl
0/ # n per commit
tree/
file.c
...
special-files
1/
or
mount /srv/git /n/git this-commit read-only
/n/git
file.c
...
sorry if this is too naive, but in the end we want a filesystem that resembles a
filesystem, not one that serves the purpose of a library, that'll have to be
addapted eveytime the protocol changes and this probably involves changing
all the clients.
On Thu, Jun 25, 2009 at 6:12 PM, Roman Shaposhnik<[email protected]> wrote:
>
> On Thu, Jun 25, 2009 at 11:30 AM, Manzur<[email protected]> wrote:
>> We(Mechiel, Yiyus and me) discussed some variants of directory layout.
>> Summary line:
>>
>> - Mechiel suggested to develop shell commands that'll be used instead
>> of echoed commands:
>> echo add dir1/dir2/file1 > ../../ctl
>> will be changed to
>> git/add file1
>>
>> - Yiyus suggested to represent index file as directory. So that you
>> can use touch, cp, rm commands instead of git add, git rm:
>> echo add dir1/dir2/file1 > ../../ctl
>> will be changed to
>> cp dir1/dir2/file1 index/
>
> Now, since there's a work-in-progress man page, I'd like it to have an
> Example/Usage
> section outlining typical git uses and how they translate into what gitfs has
> to
> offer. Here's what I would expect to see there:
> 1. Simple commits (IOW: checkout, [edit, build]*, commit)
> 2. Merging
> 3. Interactive add
> 4. Git stash
> 5. Amending commits
>
> Thanks,
> Roman,
>
> >
>
--
Federico G. Benavento
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Plan
9 Google Summer of Code" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/plan9-gsoc?hl=en
-~----------~----~----~----~------~----~------~--~---