Commit 3fec58e
committed
bugs: add keywording support
Teach `pkgdev bugs` to file keywording (KEYWORDREQ) bugs alongside
stabilization (STABLEREQ) ones. Each graph node now carries a category
selecting the Bugzilla component, summary suffix, description verb and
keyword form (~arch vs arch); keywordreq bugs are filed version-less, so
the tester/committer picks the best version.
While building a stablereq graph, a dependency that has no keyword at all
on a required arch cannot be stabilized directly, so a keywording bug is
filed for it and the stablereq is chained to depend on it
(parent-stable -> dep-stable -> dep-keyword).
Keywording arches are derived from the keywords other versions of the
package carry (restoring dropped keywords, i.e. rekeywording); when none
can be derived they must be given explicitly after the atom, e.g.
`=cat/pkg-1.2.3 ppc64 riscv`. Requests for masked arches (-arch or -*)
are a hard error, and --keywording is rejected together with
--filter-stablereqs.
This also replaces the assertion that crashed on packages without
derivable keywords with graceful handling.
Resolves: #123
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>1 parent 2998932 commit 3fec58e
3 files changed
Lines changed: 492 additions & 57 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
5 | 14 | | |
6 | 15 | | |
7 | 16 | | |
| |||
0 commit comments