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

Re: [PATCH] proposed v3 source format using .git.tar.gz



Anthony Towns wrote:
> > > Maybe providing a feature on packages.debian.org (or similar) to download
> > > sources in simple, non-VC, tarball format would make this a complete
> > > non-issue though?
> > pristine-tar could be used for this, it would just need source packages
> > to put the delta somewhere standaised (under debian/), and would need 
> > some standarised way to get to the upstream source branch in git.
> 
> So the logic there would be:
> 
> 	if there's an upstream tag, then
> 		generate an .orig.tgz
> 		if there's a pristine-tar info,
> 			hax0r it to be pristine
> 		generate a .diff.gz
> 		if the .diff failed goto bailout
> 		generate a .dsc containing the orig and diff

It's not generally possible to generate a .diff.gz that expresses all
the changes that might be in a git repository.

> Repo formats that bzr in etch can unpack could be denoted by
> 
> 	Source-Depends: dpkg-bzr (>= 0.11)
> 
> while repo formats that require bzr from lenny or later could be
> denoted by:
> 
> 	Source-Depends: dpkg-bzr (>= 0.18)

I was thinking about Source-Depends too, the main problem seems to be
that it would need to be supported in apt-get source too. I wonder if
we could just use build-depends.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: