When building packages on a buildbot, I currently have a single buildstep which does
dpkg-buildpackage ...
This works great, but all the output is lumped together into a single step in the waterfall, which makes it hard to see at a glance whether the failure was during configure, during build, or during packaging. So I'd like a finer grained way of building things.
It so happens that I know all the packages I want to build using dh. That means I could have configure, build, test, and package buildsteps, each of which ran one of the following commands:
dh build --until dh_auto_configure
dh build --until dh_auto_build
dh build --until dh_auto_test
dpkg-buildpackage -nc ...
(I use dh to invoke these so it can do the overrides if the package uses any. I don't want buildbot to have to know whether the package in question uses overrides.)
So far, so good. The problem is, dh doesn't want me to use the --until option. It says
"dh: The --until option is deprecated. Use override targets instead."
This makes me sad... sounds like dh doesn't anticipate this use case.
So, now the questions:
Where should such things be discussed?
Does dh actually handle my use case some other way, and I just missed the memo?