Comment 10 for bug 924628

Revision history for this message
Adam Conrad (adconrad) wrote :

It might be fair to note that "debian/rules clean" isn't, actually, a requirement for generating source packages and if someone does a -S -nc build of apt, this will fail subtly (ie: in the multiarch case) later, so you may need to belt-and-suspenders your "fix it properly in distclean" thing with some way to fail the build if you detect that things weren't cleaned. Which could be hard.

That said, due to apt's distclean also being required to do things like update autoconf and version macros all over the source, and other such fun, it might be fair to assume that no one would upload apt with a -nc upload.

Still, up until this proposed change, an -nc upload (from pristine source) wouldn't produce different results post-build than a normal upload. Food for thought, if this makes apt one of the few packages that absolutely MUST be cleaned pre-source-upload.