On Thu, Jul 14, 2005 at 12:59:37AM +1200, Matt Brown wrote:
> On Wed, 2005-07-13 at 14:01 +0200, Michael Banck wrote:
> > Well, only for revisions > 1, right? At least, this is the case here.
> > Which is what I would expect. Or maybe I misunderstood your concern.
>
> It is expected behaviour for a standard build, but not expected
> behaviour for a "include full source build" (which is my understanding
> of the -s flag from the manpage). The use case is as follows.
Where do you have that quote "include full source build" from? In the
manpage I have, it is:
-s,--source
Also build source package, i.e. use dpkg-buildpackage
without -B. This also switches on --purge=never.
> We are building a customised distribution loosely derived from Sarge, as
> such our package naming scheme is to append "string" + local_rev to the
> end of the Debian version. So for example the sysvinit package.
[...]
> We require a full source package (including .orig.tar.gz) so that
> debarchiver can import all the required package files into our local
> repository.
I don't think this is the general use case of sbuild. IMHO, there are
two general use cases:
1. binary-only/porter uploads (the original intend)
2. maintainer uploads (like pbuilder)
Use case 2. typically is targetted for ftp.debian.org, and if we make
sbuild to include .orig.tar.gz all the time, uploads would start to get
rejected.
> The default build (dpkg-buildpackage) of this package does not include
> source (as expected), however I can force a full source package (which
> includes the .orig.tar.gz) to be generated by running dpkg-buildpackage
> -sa.
[...]
> The key to this issue for me, is that I expected sbuild -s to have a
> direct mapping to dpkg-buildpackage -sa.
I don't, but there is always room for different opinions.
I guess having (another, *sigh*) configuration option here would be
feasable, but I maintain the default should stay as it is. Feel free to
send a patch for that.
Maybe the others have a different opinion on this.
> I'm fully aware that in the 'normal' case a build of a package with
> version number 2.86.ds1-1crcnet0 or even just 2.86.ds1-1 would not
> include source.
if you do 'sbuild -s foo_2.86.ds1-1' you *will* get an orig.tar.gz. If
you don't, that would be a bug.
cheers,
Michael
--
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]