Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 650444

Summary: stable-bot: support <stabilize-allarches/> -> ALLARCHES translation?
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Stabilization helper bot <stable-bot>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ago, kensington, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-13 22:16:38 UTC
Now that metadata.xml provides a way to indicate whether packages are suitable for ALLARCHES, it'd cool if stable-bot could take care of marking them appropriately.

The algorithm would be something like:

for each package in 'package list':
  allarches[package] = false
  for each 'stabilize-allarches' in metadata.xml:
    if no restrict or restrict matches package:
      allarches[package] = true

If all packages are suitable for ALLARCHES, add the keyword. Otherwise, remove it. Optionally, it could leave a comment if some packages are suitable for ALLARCHES.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2020-04-06 11:05:06 UTC
stable-bot is now dead - please use nattka instead.