Skip to content

add architecture selection, handling and related changes

Paul Wise requested to merge pabs/reportbug:arch-usertags into master

This adds an 'arch' virtual tag that brings up an architecture selection menu, looks up the appropriate User/Usertags/X-Debbugs-CC for the architectures and adds them to the message.

There are several user-visible related changes too; adding tag deletion, tagging more FTBFS bugs, XCC debian-boot for d-i tags, use arch menu for ftp/release arch-specific bugs, and do all-arches binNMUs for Multi-Arch: same packages.

There are some semi-unrelated commits at the start and in other places related to things that I hit along the way, because I didn't want to have to do multiple merge requests for those too.

Since the amount of functionality is large, I have elected to split the merge request into a large number of small logical commits that are more easily reviewable, each make sense by themselves and incrementally build up the bigger picture. The tests pass for every commit in the series. Please preserve these in the git commit history.

I have elected to have the architecture data downloaded, cached in a Python file and committed to git, but have added functionality to make it easy to update when there is a reportbug release.

I have elected to add only the user-visible changes to debian/changelog.

There are a few changes that I will work on at a later stage (sorry @shadow), but I want to get the basic current functionality into trixie so it can be used in stable.

I would like to thank @tg @josch @pochu @nthykier @kibi @shadow and others I may have forgotten for making suggestions and approving the changes made in this merge request.

Here is the full list of commit message titles:

  • Start changelog for the next release
  • Fix email address tests to not use emails from the test environment
  • Accept source package version when there are multiple identical versions
  • Skip testing search_pipe with dlocate when it is not installed
  • Reformat select_multiple calls to one argument per line
  • When editing the tags, indicate which tags are already selected
  • Add to text UI a way to select another menu item when one is selected
  • Add to urwid UI a way to select another menu item when one is selected
  • Add to Gtk UI a way to select another menu item when one is selected
  • Add support for tags to be selected based on checks
  • Add support for tags to be selected when other tags are selected
  • Add support for tags to be shown or hidden
  • Add support for hiding virtual tags that are not in the Tags pseudo-header
  • Add support for tags to be sorted
  • Add support for handling tags with extra requirements
  • Add support for selecting tags based on the package
  • Add support for selecting tags based on the subject
  • Add support for selecting tags based on the X-Debbugs-CC list
  • Add support for selecting tags based on the justification
  • Add support for selecting tags based on the other tags
  • Detect 'ftbfs' and 'fails to build' in the subject as FTBFS bugs
  • Migrate newcomer tag visibility decision to generic show tags function
  • Migrate security tag visibility decision to generic show tags function
  • Add debian-boot to X-Debbugs-Cc for d-i tags
  • Disable the virtual tags in the tag editing menu
  • Add 'arch' tag to indicate the bug is architecture-specific
  • Show arch tag for standard mode and above
  • Mark the arch tag as a virtual tag
  • Sort the arch tag after all the other tags
  • Add functions to download and cache architecture information
  • Add cache of results of architecture information downloads
  • Add loading of the cached architecture information
  • Add parsing of the loaded architecture information
  • Create architecture descriptions from names, usertags and status info
  • Add menu for selecting architectures
  • Add function for applying architecture User/Usertags and X-Debbugs-CC
  • Handle the arch tag with arch menu and adding arch usertags/xcc
  • Add architectures to debian-boot usertags too
  • Add a way to select arches by default in the arch menu
  • Select arch tag for cdimage.debian.org & installation-reports packages
  • Select arch tag and arches when arch names are mentioned in the subject
  • Select arch tag for bugs with a subject indicating FTBFS too
  • Select arch tag and arches when X-Debbugs-CC contains an arch email list
  • Select arch tag for justification indicating FTBFS
  • Select arch tag for bugs tagged ftbfs or d-i
  • Select arch tag when ftbfs or d-i tags are selected
  • Sort architecture menu official arches first, then unofficial, then other
  • Include more classes of arches in the arch menu based on reportbug mode
  • Use the architecture selection menu for architecture-specific removals/binNMUs
  • Add User/Usertags/X-Debbugs-CC to architecture-specific removals/binNMUs
  • Check for Multi-Arch: same and switch back to all-architecture binNMU

Merge request reports

Loading