[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vcs-* and Other Fields



On Thu, 25 Jun 2009, Steve Langasek wrote:
> On Thu, Jun 25, 2009 at 01:49:17PM +0200, Raphael Hertzog wrote:
> > On Thu, 25 Jun 2009, Julien Cristau wrote:
> > > On Thu, Jun 25, 2009 at 09:20:51 +0200, Raphael Hertzog wrote:
> 
> > > > As far as branches are concerned, the default branch should point to
> > > > the debian packaging branch and that's it.
> 
> > > And how do you do that, when the debian and upstream repos are the same?
> > > That seems to be a fairly arbitrary limitation.
> 
> > It depends on the Vcs, bzr URL include the branch for instance.
> 
> > In the case of git, I don't have any nice answer. But you can always setup
> > a mirror on git.debian.org where HEAD points to the right branch.
> 
> How about fixing the URI spec for the Vcs-Git field to support branch
> specifications?  This really seems like the obvious thing to do, even if git
> itself won't interpret the URI extension directly.

No objection, but it would best if it could be done in cooperation with
upstream so that "git clone <URI>" does the expected thing.

It could be for example: git://git.debian.org/git/dpkg/dpkg.git#stable

I welcome anyone to take this up with git's upstream. Otherwise we have to
structure the field to be more than a simple URI and tools like
http://svnbuildstat.debian.net would be broken (or need to be adapted).

Cheers,
-- 
Raphaël Hertzog

Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/


Reply to: