Hi,
On Thu, Oct 21, 2010 at 11:25:09AM -0400, Joey Hess wrote:
> Daniel Baumann wrote:
> > I've no idea if that's actually doable in a generic and sane way, but it
> > would be great if pristine-tar would have a way to deal with multiple
> > orig tarballs (which newer debsrc format allows), so that all the delta
> > files would be in one commit and against their respective directory, e.g.:
> > 
> > if the tarballs of a debian source package would consist of:
> > 
> >   foo_1.2.3.orig.tar.gz
> >   foo_1.2.3.orig-bar.tar.gz
> >   foo_1.2.3.orig-baz.tar.gz
> > 
> > the diff for foo_1.2.3.orig.tar.gz would need to be done against the
> > root of the repository directory as usual, but with excluding bar/ and baz/.
> > 
> > the diff for foo_1.2.3.orig-bar.tar.gz would be done only against the
> > bar directory only, foo_1.2.3.orig-baz.tar.gz only against baz/ etc.
> > 
> > ...and ideally, this alltogether in one single pristine-tar commit :)
> 
> pristine-tar does not know about source package formats. This could be
> done at the git-buildpackage layer.
> 
> It does not matter if the tree pristine-tar is pointed at contains extra
> files or directories. It does need to have files with the same names as
> the ones in the tarball (not in a subdir). I suppose an option could be
> added to specify a subdir for it to change to.
> 
> Not sure I see the point of having pristine-tar make it all in one
> commit. It's not as if the history of the pristine-tar branch is
> something that is often, or ever, relevant.

gbp handles this since some time (creating one commit each per
tarball) so maybe this can be closes?
Cheers,
 -- Guido

Reply via email to