#826193 Please add a check if '-sa' is needed for security uploads

#826193#5
Date:
2016-06-03 07:16:13 UTC
From:
To:
Hi,
it would be great if dput-ng would check if a security upload needs the
upstream source included when doing a security upload. This is necessary
if the upload is the first security upload for an upstream version not
yet present on security-master since upstream tarballs are not shared
with the regular archive.

The check could either be done by looking into the changelog or by
looking at https://qa.debian.org/madison.php or similar.

This would make notifications by the security team about a missing
upstream tarball (and a rebuilt with -sa) superfluous.

Cheers,
 -- Guido

#826193#10
Date:
2024-04-18 11:15:07 UTC
From:
To:
Hi Guido,

Or simply by guessing?

I've created a MR that implements the basic functionality of checking
for a possibly missing .orig.tar and some guesswork that hopefully
matches how security-master works without calling out to madison, but I
imagine that pointing the include_orig configuration item at a madison
url would be the next step if the heuristic doesn't work well enough.

Is this worth including already? If not, you can now install it
locally. Into ~/.dput.d/scripts/ and ~/.dput.d/hooks/ and profit.

Helmut