Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650444 - stable-bot: support <stabilize-allarches/> -> ALLARCHES translation?
Summary: stable-bot: support <stabilize-allarches/> -> ALLARCHES translation?
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stabilization helper bot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 22:16 UTC by Michał Górny
Modified: 2020-04-06 11:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.