[Openstack] Issues with Packaging and a Proposal

Monty Taylor mordred at inaugust.com
Thu Aug 25 18:37:52 UTC 2011



On 08/25/2011 11:35 AM, Thomas Goirand wrote:
> On 08/26/2011 12:46 AM, Monty Taylor wrote:
>>> What would be the use of "pristine-tarball" ? Prepare .tar.gz for
>>> generic distributions, like RPMs or let's say Gentoo?
>>
>> Nope. It helps in generation of tarballs for the debian packaging too.
>> Check out the --git-pristine-tar option to git-buildpackage. It's pretty
>> cool... I think you'll like it.
> 
> I still don't get it. If we use:
>  --git-upstream-branch=upstream-${whatever}
> 
> that will create the orig.tar.gz for us automatically, and since we are
> upstream authors, why do we need a "pristine-tarball" branch for?

A tarball generated from tarring the contents of a git repo and a
tarball generated from python setup.py sdist are different things. We
inject some information into tarballs as we cut them which causes them
not to look at the bzr or git information for versioning.

> As much as I understand, the pristine-tar thing is to be used when
> there's a tarball from upstream, and we need to keep tracks of a delta.
> But since we aren't even producing tarballs for Openstack, I don't get
> what would be the point. Can you enlighten me? :)

We ARE producing tarballs for OpenStack... but I can see where there
could be confusion.

Monty




More information about the Openstack mailing list