Merge lp:~juliank/lp-ftbfs-report/teams-main-only into lp:~wgrant/lp-ftbfs-report/production

Proposed by Julian Andres Klode
Status: Merged
Merged at revision: 62
Proposed branch: lp:~juliank/lp-ftbfs-report/teams-main-only
Merge into: lp:~wgrant/lp-ftbfs-report/production
Diff against target: 24 lines (+2/-2)
2 files modified
source/build_status.html (+1/-1)
source/build_status.py (+1/-1)
To merge this branch: bzr merge lp:~juliank/lp-ftbfs-report/teams-main-only
Reviewer Review Type Date Requested Status
William Grant Pending
Review via email: mp+343487@code.launchpad.net

Description of the change

The team -> package mapping is too broad as it includes packages in all releases, some of which might have moved to universe in new releases. We are only interested in stuff from main, so let's focus on that

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 'source/build_status.html'
2--- source/build_status.html 2018-02-20 11:45:30 +0000
3+++ source/build_status.html 2018-04-18 08:03:15 +0000
4@@ -194,7 +194,7 @@
5 {{ table(lst, ps, 'Also belongs to another packageset?') }}
6 {% endfor -%}
7
8- <h2>Teams</h2>
9+ <h2>Teams (main only)</h2>
10 {% for (team, lst) in teams.items()|sort if lst|count > 0 -%}
11 <h3 id="{{ team }}">{{ team }}: {{ lst|count }} packages (<a href="#top">top</a>)</h3>
12 {{ table(lst, team, 'Also belongs to another team?') }}
13
14=== modified file 'source/build_status.py'
15--- source/build_status.py 2018-04-13 08:43:59 +0000
16+++ source/build_status.py 2018-04-18 08:03:15 +0000
17@@ -108,7 +108,7 @@
18 for ps in srcpkg.packagesets:
19 packagesets_ftbfs[ps].append(srcpkg)
20
21- srcpkg.teams = set([team for (team, srcpkglist) in teams.items() if spph.source_package_name in srcpkglist])
22+ srcpkg.teams = set([team for (team, srcpkglist) in teams.items() if spph.source_package_name in srcpkglist and spph.component_name == "main"])
23 for team in srcpkg.teams:
24 teams_ftbfs[team].append(srcpkg)
25

Subscribers

People subscribed via source and target branches