[Erp5-dev] svn-buildpackage - proper way to use SVN for .deb packages
Łukasz Nowak
lukasz.nowak at ventis.com.pl
Thu Feb 22 11:21:07 CET 2007
Hello,
Right in in spec/debian and spec/ubuntu repository paths packages are
kept as .dsc file, uncompressed package sources, its source and binary
builds. That way of using repository is inconvenient:
- it is very hard to see changes made to original sources
- it is very hard to see changes in package definition
- there is not automatic builder support
There is 'svn-buildpackage' system, designed specially to track changes
of packages (and its original sources) in version control system.
svn-buildpackage is avaiable for debian (etch (aka testing) and up) and
its derivatives like Ubuntu (dapper and up). This set of scripts
automates changes of package and its original sources, builds package,
creates new debian-way revision, etc. All (uncompressed) package
information are kept in repository so it is very is to track changes in
package, create branches and tags. Typical package tree generated by
svn-buildpackage is attached.
There is need to made conversion from current system to
svn-buildpackage. But there are scripts (attached tree was initially
imported from https://svn.erp5.org/repos/public\
/spec/debian/unstable/python-reportlab/python-reportlab_1.20debian-2.dsc)
which allows easy conversion from non-versioned system to versioned one.
I hope that I'll provided enough information about svn-buildpackage. I'm
testing it right now on our SVN server - it is quite good, works on
debian/unstable and ubuntu/dapper without any problems.
Because such conversion has high impact on current /spec repository I'm
requesting for approval. After one I'll take actions:
* convert python-reportlab in Nexedi's repository to svn-buildpackage
system, by replacing contents of /spec/debian/unstable/python-reportlab
with generated by svn-buildpackage tree
* create HowTo about building packages for such repository on ERP5 wiki
* convert rest of *external* packages (!^erp5-) to svn-buildpakcage system
* after proper policy of ^erp5- snapshotting - convert them (well -
this is another topic)
Additionally there is svn-autoreleasedeb system for automagic build of
released debs.
Thanks,
Luke
--
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-reportlab-svn-buildpackage-tree.txt
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070222/257a6fb3/attachment.txt>
More information about the Erp5-dev
mailing list