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:
- Prepare and publish a Gentoo news item announcing the architecture destabilization, following the process described in News items (per GLEP 42).
-
Update the profile to accept both stable and testing keywords by setting
ACCEPT_KEYWORDS="${ARCH} ~${ARCH}"
in the appropriateprofiles/arch/${ARCH}/...
file(s). - 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.
-
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
andqatom
are tools fromapp-portage/portage-utils
, whileekeyword
is provided byapp-portage/gentoolkit
). -
Update any eclasses that define shared
KEYWORDS
variables. Currently, this includesacct-group.eclass
andacct-user.eclass
. - Update the architecture status in the template files within the bugzilla repository as needed.