packaging solr with topgit

Adrian Perez adrianperez.deb at gmail.com
Tue Aug 25 13:20:24 UTC 2009


Hello.
I think workflow is a matter of personal taste. So, I won't assume
you're going to adopt mine's (although it's not so different) but I've
list it anyways, cause it's very similar to topgit's recommended:

fixes/*: tg branch fixes/patches that should go upstream -> upstream
features/*: feature patches that should go upstream -> upstream
debian/*: debian specific patches -> upstream or debian
master: the main debianization branch (without debian/patches) ->
upstream 
pristine-tar: the pristine-tar branch for maintainer .orig.tar.gz
build: the build branch (merge from master and tg2quilt tg-export for
generating debian/patches).

In some sites they recommend an extra debian branch and merge master
from there, but this seem as extra pain for nothing here, since i don't
change upstream code. 

Well, that's mine, but still improving. ;)
I want to see more feedback in this thread.

On Tue, 2009-08-25 at 14:30 +0200, Thomas Koch wrote:
> Hi,
> 
> I've subscribed to this list to get your comments on how it would be best-
> practice to package solr. Jan-Pascal is so kind to switch the packaging of 
> solr from SVN to GIT to allow better cooperation.
> 
> So the workflow I think of, inspired by Martin Krafft:
> 
> - upstream is SVN
> - use git-buildpackage
> - get all tarballs in with pristine-tar
> - unpack each tarball in branch upstream and commit
> - do the debianization in branch master
> - create top-git branches upstream/* for patches submitted upstream
> - create top-git branches master/* for debianization patches
> - export patches to branch build, based on master
> 
> Remaining questins:
> 
> - Is the above workflow good?
> - Wasn't there also a "debian" branch for some purpose?
> - I've read, that it would be possible somehow to reexport old patches with 
> topgit? How?
> - How can I work on an older release of solr with this setup?
> 
> Best regards,
> 
> Thomas Koch, http://www.koch.ro
> 
> _______________________________________________
> vcs-pkg-discuss mailing list
> vcs-pkg-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/vcs-pkg-discuss
-- 
Best regards,
Adrian Perez <adrianperez.deb at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20090825/de08f334/attachment.pgp>


More information about the vcs-pkg-discuss mailing list