Merge ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:master into ubuntu-security-tools:master
Proposed by
Spyros Seimenis
Status: | Merged |
---|---|
Merged at revision: | b354e55b4f7a03e311ea9e6f7920d1cef5a297cd |
Proposed branch: | ~sespiros/ubuntu-security-tools/+git/ubuntu-security-tools:master |
Merge into: | ubuntu-security-tools:master |
Diff against target: | 0 lines |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonidas S. Barbosa | Approve | ||
Review via email: mp+411757@code.launchpad.net |
To post a comment you must log in.
On Thu, Nov 11, 2021 at 02:02:31PM -0000, Spyros Seimenis wrote: tools/check- source- package b/package- tools/check- source- package tools/check- source- package tools/check- source- package usr/bin/ apt-cache madison $package | grep "ubuntu-esm" | grep "$pkg_dist" || true)
> diff --git a/package-
> index 63afba1..9b2a9d6 100755
> --- a/package-
> +++ b/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=$(/
> # 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>