Hi Mathieu, On Sun, Nov 08, 2009 at 07:55:23PM +0100, Mathieu Malaterre wrote:
> >> On Sat, Nov 7, 2009 at 4:13 PM, David Paleino <d.pale...@gmail.com> wrote: > >>> I suggest you to correctly re-upload your package :) > >> > >> What is wrong with the following steps: > >> > >> tar -xzf *.orig.tar.gz > >> cd <source-directory> > >> cp -a <svn-pkg-dir>/trunk/debian . > >> rm -rf `find . -type d -name .svn` That looks OK; but if you're doing it by hand, it will become error-prone and tedious. If you are scripting it then, as David has suggested, you might as well use the scripts others have already created; e.g. svn-buildpackage. > > To just build for upload, svn-buildpackage is your friend (from the trunk/ > > directory). > > > > I suggest you to have a look at our policy, in particular: > > ?http://debian-med.alioth.debian.org/docs/policy.html#id304574 > > > > (At other people: since I've been using git for a while, I might have some > > tips to ease development with it. Please tell me if you're interested in a > > policy paragraph for it :)) > > > >> dupload /var/cache/pbuilder/result/*gdcm* > > > > I'd suggest you to only upload *.changes files. *gdcm*ch* could be ok :) > > 1. I do not see why using pdebuild vs svn-buildpackage would be a problem It's not a dichotomy; you can use both: $type svn-pdebuild svn-pdebuild-final svn-pdebuild is aliased to `svn-buildpackage --svn-dont-purge --svn-lintian --svn-builder="pdebuild --buildresult `pwd`/../build-area"' svn-pdebuild-final is aliased to `svn-pdebuild --auto-debsign --svn-tag --svn-noautodch' > 2. I just do not understand how one could use safely svn-buildpackage. > 2.a It uses *my* packages instead of whatever buildd machine will be > using to build the package for other platforms. > 2.b svn-buildpackage cannot be used, since you'll easily miss > Build-Depends (can only detect using pdebuild) Absolutely agree; I would always recommend building in a clean environment such as with pbuilder. > Ideally I do not even understand why people are doing binary upload > instead of source upload... That's Debian policy. Essentially, it forces the maintainer to prove that the package does build from source on at least one system ;-) This point is debated from time to time; see [1] for a recent post. [1] http://blog.ganneff.de/blog/2009/10/28/debian-ftpmaster-meeting-we-ar.html Regards, -Steve
signature.asc
Description: Digital signature