Hi! On Sat, 2014-08-09 at 12:00:41 -0400, Joey Hess wrote: > Guillem Jover wrote: > > Hmm, I had already pondered about this when I saw the announcement. So, > > while I agree such option would make life easier for people that want > > to do “almost-source-only uploads” right now (because TBH the other > > alternatives are very annoying), on first thought this seemed to be a > > very non-generic and DAK specific option, and less useful if this is > > going to be a short temporary situation. > > > > But then there's (AFAICS) only two missing combinations in the tools, > > source+arch-dep and source+arch-indep, so I guess if I add both, then > > it keeps being quite generic. :) > > > > I'll try to include this for 1.17.11, which I'm planning to release > > RSN.
> An added wrinkle is that -S doesn't build arch specific debs at all, of > course, but a responsible user of this new DAK feature will want to > build debs, lintian and test the locally, but not upload them. Sure. > I think this calls for more than a generic filling in of the complements > to -S. It's fine to add those options to dpkg-genchanges, but > dpkg-buildpackage would be improved by an option that built everything, > and then told dpkg-genchanges to only put source and arch:all in the > changes. I've added the options to both dpkg-buildpackage and dpkg-genchanges, -g and -G, for source+arch-indep and source+arch-dep respectively (although I'm not entirely happy with the names, but that's the best that I could find that matches the current pattern, I'll probably add either long options or a build-type selector option in the future). And dpkg-buildpackage will pass those down to dpkg-genchanges. It will also fail if the build ends up not producing the requested artifacts in the same way as -b, -A or -B would. But, this has a nice side-effect, you can also do something like: $ dpkg-buildpackage --changes-option=-g which will perform a normal full build, but filter the generated .changes file to only include source+arch-indep packages. Which I think is what you'd be looking for? Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org