[Pkg-puppet-devel] Setting upstream source to tarball instead of git tag?

micah anderson micah at riseup.net
Sat Oct 1 17:09:48 UTC 2011


On Thu, 29 Sep 2011 10:17:06 +0200, Stig Sandbeck Mathisen <ssm at debian.org> wrote:
> 
> I was wondering if we should set the upstream source to the released
> tarball instead of the git repo tag.
> 
> When upstream switch their stable branches between releases, significant
> git wizardry may be required.
> 
> Importing the published tarballs instead would make upgrades quite a bit
> easier, and prevent merging errors. It may also make packaging easier
> for others who base their work on our packages.
> 
> We have a "debian/watch" file for "uscan" already. "git-buildpackage"
> has a "git-import-orig" tool which does the fetching, tagging, and
> merging into the master branch to handle upgrades.
> 
> Example upgrade with tarball for 2.7.4:
> 
>   git-import-orig --uscan --pristine-tar
>   <hit enter to confirm guessed version>
> 
>   <do debian stuff, add a changelog entry in each commit message>
> 
>   git-dch --release --since=<merge from upstream commit>
> 
> We use quilt patches for changes already, this will not change how we
> handle changes to upstream source.
> 
> I've already done this for two other packages I maintain. "mod-gearman"
> and "jemalloc".
> 
> There are some changes required for puppet due to the differences in
> paths, I can do a test packaging of 2.7.4 using this method, and push
> this to "experimental".

This seems to make a lot of sense, and I support the change. I think it
may make gitpkg work too, which I prefer to use over git-buildpackage :)

micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20111001/2a33da27/attachment.pgp>


More information about the Pkg-puppet-devel mailing list