Merge lp:~mwhudson/ubuntu-archive-scripts/excuses-tmpfile into lp:ubuntu-archive-scripts

Proposed by Michael Hudson-Doyle
Status: Merged
Merged at revision: 241
Proposed branch: lp:~mwhudson/ubuntu-archive-scripts/excuses-tmpfile
Merge into: lp:ubuntu-archive-scripts
Diff against target: 21 lines (+7/-3)
1 file modified
run-proposed-migration (+7/-3)
To merge this branch: bzr merge lp:~mwhudson/ubuntu-archive-scripts/excuses-tmpfile
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+372565@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'run-proposed-migration'
2--- run-proposed-migration 2019-09-09 01:49:50 +0000
3+++ run-proposed-migration 2019-09-10 21:34:43 +0000
4@@ -52,10 +52,14 @@
5 generate-team-p-m --excuses-yaml $SERIES/update_excuses.yaml \
6 --subscribers-json ~/public_html/package-team-mapping.json \
7 $SERIES/update_excuses_by_team.html $SERIES/update_excuses_by_team.yaml
8- rm -f /tmp/debian-excuses.yaml
9- wget -O /tmp/debian-excuses.yaml https://release.debian.org/britney/excuses.yaml
10+ cleanup () {
11+ [ -n "$tmpdir" ] && rm -rf $tmpdir
12+ }
13+ tmpdir=$(mktemp -d)
14+ trap cleanup EXIT HUP INT QUIT TERM
15+ wget -O $tmpdir/debian-excuses.yaml https://release.debian.org/britney/excuses.yaml
16 find-rcbuggy-problem-packages --ubuntu-excuses $SERIES/update_excuses.yaml \
17 --ubuntu-update_output $SERIES/update_output.txt \
18- --debian-excuses /tmp/debian-excuses.yaml \
19+ --debian-excuses $tmpdir/debian-excuses.yaml \
20 --output $SERIES/rcbuggy-problem-packages.html
21 fi

Subscribers

People subscribed via source and target branches