Arch and profile maintenance

Moving an arch from arch to ~arch

When demoting an entire architecture from stable (arch) to testing (~arch), perform the following:

  1. Prepare and publish a Gentoo news item announcing the architecture destabilization, following the process described in News items (per GLEP 42).
  2. Update the profile to accept both stable and testing keywords by setting ACCEPT_KEYWORDS="${ARCH} ~${ARCH}" in the appropriate profiles/arch/${ARCH}/... file(s).
  3. Remove the architecture from all open stabilization bugs using the script at https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/tree/examples/destable_arch_bugs.py.
  4. Convert all ebuild keywords for the architecture to testing: qkeyword --all "${ARCH}" | cut -f1 -d" " | xargs -n 250 qatom -F "%{CATEGORY}/%{PN}/%{PF}.ebuild" | xargs ekeyword "~${ARCH}" (qkeyword and qatom are tools from app-portage/portage-utils, while ekeyword is provided by app-portage/gentoolkit).
  5. Update any eclasses that define shared KEYWORDS variables. Currently, this includes acct-group.eclass and acct-user.eclass.
  6. Update the architecture status in the template files within the bugzilla repository as needed.