Merge lp:~vorlon/ubuntu-archive-tools/migration-blocked-by-tests into lp:ubuntu-archive-tools

Proposed by Steve Langasek
Status: Merged
Merged at revision: 1118
Proposed branch: lp:~vorlon/ubuntu-archive-tools/migration-blocked-by-tests
Merge into: lp:ubuntu-archive-tools
Diff against target: 35 lines (+31/-0)
1 file modified
migration-blocked-by-tests (+31/-0)
To merge this branch: bzr merge lp:~vorlon/ubuntu-archive-tools/migration-blocked-by-tests
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+328734@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
=== added file 'migration-blocked-by-tests'
--- migration-blocked-by-tests 1970-01-01 00:00:00 +0000
+++ migration-blocked-by-tests 2017-08-08 18:34:58 +0000
@@ -0,0 +1,31 @@
1#!/bin/sh
2
3# quick and dirty script to report, for the first transition shown in
4# update_output, the list of packages that are blocked only by autopkgtests.
5
6# this looks only at the first transition because this is normally the
7# biggest one needing immediate attention.
8
9# Author: Steve Langasek <steve.langasek@ubuntu.com>
10
11set -e
12
13cleanup() {
14 if [ -n "$WORKDIR" ]; then
15 rm -rf "$WORKDIR"
16 fi
17}
18
19WORKDIR=
20trap cleanup 0 2 3 5 10 13 15
21WORKDIR=$(mktemp -d)
22
23URLBASE=https://people.canonical.com/~ubuntu-archive/proposed-migration/
24for file in update_output.txt update_output_notest.txt; do
25 wget -q "$URLBASE/$file" -O - \
26 | sed -e'1,/easy:/d; s/^[[:space:]]\+\* [^:]*: //; q' \
27 | sed -e's/, /\n/g' > "$WORKDIR/$file"
28done
29
30LC_COLLATE=C join -v2 "$WORKDIR/update_output_notest.txt" \
31 "$WORKDIR/update_output.txt"

Subscribers

People subscribed via source and target branches