[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-buildpackage -ucb



Hi,

Quoting Ian Jackson (2016-04-28 13:45:46)
> Guillem Jover writes ("Re: dpkg-buildpackage -ucb"):
> > I'd rather just finish and merge the no signing by default code, as
> > proposed in #733029 (uh from 2013-12 already…), and merge also the
> > configuration file support for dpkg-buildpackage in dpkg 1.18.6.

\o/

with my sbuild hat on: Will the -us -uc options continue to work and mean
"don't sign anything"? Sbuild somehow has to be able to work with dpkg from
chroots from oldoldstable up to unstable. Will it be required from sbuild to
detect dpkg versions and pass different signing options?

> > For dpkg 1.18.5 I've reworked the built type selection by adding a single
> > --build option with comma-separated components "source", "any", "all" and
> > "full", to try to improve the current unintuitive mess.
> 
> I hadn't spotted this going in.
> 
> So "all" means only packages `Architecture: all' ?  Or `all bits of
> the build' ?
> 
> Is it too late to change this ?  Maybe `aall' for `architecture: all'
> and `all' for `everything including source' ?
> 
> Does `full' mean `all' or `just debs' ?  Maybe the latter should be called
> `deb' ?

I haven't had a look in the source code by my intuitive understand would be:

 - source: build the source package
 - any: build architecture:any binary packages
 - all: build architecture:all binary packages
 - full: the same as source,all,any

Assuming that I guessed the meaning right, I find the naming very intuitive. I
think it is easy to remember what "any" and "all" mean from the Architecture
field. Building just the debs would be possible by saying --build any,all.

For reference, sbuild uses the following command line switches:

 --arch-any/--no-arch-any: build/don't build architecture:any binary packages
 --arch-all/--no-arch-all: build/don't build architecture:all binary packages
 --source/--no-source: build/don't build the source package

This is similar to the choice of "source", "any" and "all" for the new --build
option and if the meaning is indeed as I suspect it is, then this fits nicely
together I think.

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: