[buildd-tools-devel] Bug#693928: sbuild: Please support building without providing a version number

Roger Leigh rleigh at debian.org
Wed Nov 21 20:56:50 UTC 2012


Package: sbuild
Version: 0.63.2-1
Severity: wishlist

Mainly just notes so I don't forget:

Currently, sbuild uses a package_version syntax to specify
the package and version to use when downloading the source
package.  It would be useful in many cases to be able to
just specify the package name only, and obtain the latest
version in the specified distribution.

Currently, Sbuild::Build copes with no version being
provided.  It's just a matter of disabling the "invalid
source" check.  But fetch_source_files currently has
some requirements for knowing the version up-front, and
will require some refactoring (or an alternative block
for versionless source downloading) to handle this.  It
will also need some logic adding to find the correct
.dsc after the download is done; since we download into
a temporary directory, only one ${package}*.dsc should
match that glob; also need to check how multiple source
versions are handled.

Not quite as simple as I initially thought, but it's
pretty much contained within fetch_source_files.  So
long as we reset $dsc and 'DSC File', that should be
sufficient.


Roger



More information about the Buildd-tools-devel mailing list