#440614 support for being a --svn-builder (svn-buildpackage builder)

Package:
cowdancer
Source:
cowdancer
Description:
Copy-on-write directory tree utility
Submitter:
Stefano Zacchiroli
Date:
2015-11-03 08:48:13 UTC
Severity:
wishlist
#440614#5
Date:
2007-09-03 07:17:56 UTC
From:
To:
--- Please enter the report below this line. ---

Hi, and thanks a lot for cowbuilder!

Most of my packages are collaboratively maintained using mostly svn
repositories on alioth. cowbuilder is neat, but it has actually
increased the steps in my debian package build process (of course with
advantages though).

Indeed now I've to do:
- svn-buildpackage --svn-export
- cd ../build-area && dpkg-source -b ...
- sudo cowbuilder --build
- manually invoking lintian
- svn-buildpackage --svn-tag ..

According to the svn-buildpackage manpage it can be passed a
--svn-builder command specifying which command is to be used to build
the package. I haven't actually checked that, but my feeling is that the
"API" for that command should be to be invoked from the debianized
source tree (instead of on the .dsc) and that it should leave the built
packages in ../ (instead of in the pbuilder result directory).

Having such a script would reduce the above steps (again) to:
- svn-buildpackage --svn-builder=cowbuilerwrapper ...

Do you think it's possible to implement such a wrapper (considering also
that it would require sudo and the heck)?

I planned to write it by myself but so far I've lacked the time to
devote to it, so I'm reporting this bug to not keep track of the feature
request and to hear your comments about that.

TIA, Cheers.

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        people.debian.org
  500 unstable        ftp.it.debian.org
  500 testing         security.debian.org
    1 experimental    ftp.it.debian.org
--- Package information. ---
Depends       (Version) | Installed
=======================-+-===========
libc6        (>= 2.6-1) | 2.6.1-1+b1
pbuilder                | 0.172

#440614#10
Date:
2007-09-03 23:11:23 UTC
From:
To:
Hi,

Now,

	svn-buildpackage --svn-builder=pdebuild

works.

I'm not sure if I can pass

	svn-buildpackage --svn-builder="pdebuild --pbuilder cowbuilder"


If this is the case, it should be documented.

If it doesn't work, a wrapper which says 'pdebuild --pbuilder
cowbuilder' is required.



regards,
	junichi

#440614#15
Date:
2007-09-04 06:26:58 UTC
From:
To:
It does indeed work here, cool. Thanks!

There is a remaining problem of interface mismatch though.
svn-buildpackage accepts extra unrecognized options and passes it down
to dpkg-buildpackage. The same does debuild whereas pdebuild doesn't, so
for example I can't pass -rfakeroot (but ok, that's not needed) or other
options to dpkg-buildpackage. I'm not particularly bothered by that, but
it does not provide a smooth integration of pdebuild, since I have to
move extra options under --debuildopts.

Just for the sake of discussion ...

#440614#20
Date:
2007-09-06 13:56:59 UTC
From:
To:
Hi,

That sounds like there might be somebody needing a (simple) wrapper
script, yes.

regards,
	     junichi