* [ANNOUNCE] repo.or.cz now supports "project forks"
@ 2006-10-24 4:52 Petr Baudis
2006-10-24 17:39 ` Petr Baudis
0 siblings, 1 reply; 2+ messages in thread
From: Petr Baudis @ 2006-10-24 4:52 UTC (permalink / raw)
To: git
Hi,
FYI, the http://repo.or.cz/ public Git hosting now supports project
forking, which basically means that if you've done something cool to an
existing project and want to publish your work, you can create a "fork"
of the project on repo.or.cz and it will group nicely together in gitweb
and users will be hinted about the possibility to use --reference when
cloning your changes; also, repo.or.cz disk space will be conserved
thanks to the alternates mechanism. ;-)
The other main goal aside gitweb grouping wasn't achieved yet though -
greatly reduced push times. Hey, pushing Git to a new repository takes
inordinate amount of time (actually also mostly because all the objects are
unpacked on the remote side, which is silly as well), I didn't try pushing
Linux kernel to a fresh repository but it'll likely take ages. The idea
would be to make git-receive-pack take alternates into account when
announcing what commits does the server side have, but someone will need
to code up a patch for that...
It wasn't tested heavily, so please tell me about any warts you hit.
Thanks,
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ANNOUNCE] repo.or.cz now supports "project forks"
2006-10-24 4:52 [ANNOUNCE] repo.or.cz now supports "project forks" Petr Baudis
@ 2006-10-24 17:39 ` Petr Baudis
0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2006-10-24 17:39 UTC (permalink / raw)
To: git
Dear diary, on Tue, Oct 24, 2006 at 06:52:01AM CEST, I got a letter
where Petr Baudis <pasky@suse.cz> said that...
> FYI, the http://repo.or.cz/ public Git hosting now supports project
> forking, which basically means that if you've done something cool to an
> existing project and want to publish your work, you can create a "fork"
> of the project on repo.or.cz and it will group nicely together in gitweb
> and users will be hinted about the possibility to use --reference when
> cloning your changes; also, repo.or.cz disk space will be conserved
> thanks to the alternates mechanism. ;-)
>
> The other main goal aside gitweb grouping wasn't achieved yet though -
> greatly reduced push times. Hey, pushing Git to a new repository takes
> inordinate amount of time (actually also mostly because all the objects are
> unpacked on the remote side, which is silly as well), I didn't try pushing
> Linux kernel to a fresh repository but it'll likely take ages. The idea
> would be to make git-receive-pack take alternates into account when
> announcing what commits does the server side have, but someone will need
> to code up a patch for that...
BTW, someone asked me why not stuff it in branches in the same
directory, and it's a valid question. It's been my original plan (and I
might still implement it sometimes since it makes sense in some
situations) but after I formulated it at #git I realized that it's
really a no-go for the general case.
The plan was to have "personal mob-branches", mob/$login/*. Anyone can
make any branch in the mob/$login namespace in any project. But I didn't
feel like implementing it for now, because:
* git-clone / cg-clone -a would clone even the potential gazillion
of mob/$login branches any weirdo can create
* You get own heads namespace but own tags namespace would be
I think more inconvenient since you tend to refere to tags
much more often than to branches (if you even have one than
one branch) and having to write mob/mynameisverylong/xyzzy-1.2.3.4
is, er...
* One of the big points of forks is that you can fork even
mirrored projects. If you start to create branches in mirrored
projects, you can get into very ugly problems when by a chance
the mirrored project gets such a branch as well
One sad consequence is that graphiclog does not include the forked
projects, OTOH perhaps its view would be way too cluttered if it did,
and I want to optimize for a large number of forks. So it would be more
sensible if someone (hint, hint) patched git-browser in a way so that
forked projects include the "forkee"'s refs in the view as well, in
addition to own refs. And perhaps a more general notion for this in the
Git world would be interesting.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-24 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24 4:52 [ANNOUNCE] repo.or.cz now supports "project forks" Petr Baudis
2006-10-24 17:39 ` Petr Baudis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.