Code review comment for ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:master

Revision history for this message
Steve Beattie (sbeattie) wrote :

On Thu, Nov 11, 2021 at 02:02:31PM -0000, Spyros Seimenis wrote:
> diff --git a/package-tools/check-source-package b/package-tools/check-source-package
> index 63afba1..9b2a9d6 100755
> --- a/package-tools/check-source-package
> +++ b/package-tools/check-source-package
> @@ -1514,7 +1514,7 @@ pkg_dist=$(grep -E "^Distribution: " "$schanges" | awk '{print $2}' | cut -d '-'
> if [ "$pkg_dist" = "unstable" ]; then
> rmadout=$(rmadison -u debian "$package" | grep -E " (unstable|sid) +\| ") || true
> else
> - if [ "$pkg_dist" == "precise" ] || [ "$pkg_dist" == "trusty" ]; then
> + if [ "$pkg_dist" == "precise" ] || [ "$pkg_dist" == "trusty" ] || [ "$pkg_dist" == "xenial" ]; then
> # TODO: fix this through lp api, but for now this workaround fix the precise issue
> tmp=$(/usr/bin/apt-cache madison $package | grep "ubuntu-esm" | grep "$pkg_dist" || true)
> # if the pkg is not in -esm yet, try to get the prev-ppa

Thanks! This looks good, but (not a blocker to land) we should come
up with a way for scripts like this to query our tools to find out
which Ubuntu releases are in ESM infra status.

--
Steve Beattie
<email address hidden>

« Back to merge proposal