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

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



On Sun, Oct 07, 2007 at 09:45:20AM -0400, Joey Hess wrote:
> Anthony Towns wrote:
> > 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.

Right, but it is possible to detect that, and bailout to generating a
.tar.gz, no?

> > Repo formats that bzr in etch can unpack could be denoted by
> > 	Source-Depends: dpkg-bzr (>= 0.11)
> 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.

apt-get source support could just be a warning "This package cannot be
unpacked without ________ installed". Using Build-Depends: would make it
pretty complicated to know which bits were needed for unpacking, if that's
all you're trying to do.

Cheers,
aj

Attachment: signature.asc
Description: Digital signature


Reply to: