To:
[email protected]
Copy:
[email protected] (Arthur Zamarin)
Hi Arthur,
a. Splitting ppc64 keyword into ppc64 and ppc64le
b. Splitting riscv keyword into riscv(64?) and riscv32
So in principle these steps both make sense.
The problem is mostly that such an operation on the living Gentoo
has not been attempted in recorded history. There is no precedent in
terms of steps or procedure. Also, it's work.
Which means, we really need to think out the details first and test.
In the following I'm brainstorming a bit, but please see this only as
a very first write-down of incoherent firing of neurons...
In particular, I've not put any thought into whether the tree state is
always formally correct (PMS / CI / ...)
Step 1: Formally introduce the new keywords as "arches".
Step 2: Formally introduce the new keywords in ebuilds by duplication.
Any "ppc64" in keywords becomes "ppc64 ppc64le".
Any "riscv" becomes "riscv riscv32 riscv64".
No exceptions. Can be done automatically. Until the "lock" is removed,
any keywording operations always have to add and remove all of one set.
Step 3: Make new profiles for the new keywords. This is mostly copy-paste,
I can take care of it.
Step 4: Prepare and publish a migration guide for users.
Right now I assume this will mostly mean "select new profile". However,
I have no clue how portage reacts when $ARCH changes.
Step 5: Deprecate the old profiles, and give people a deadline for migration. I.e. the LE profiles under ppc64, and all profiles under riscv
Step 6: Remove the old profiles.
Step 7: Lift the "lock" in ebuilds, meaning e.g. ppc64 and ppc64le can be
added and removed independently.
Step 8: Remove all riscv keywords (no 64 or 32)
Step 9: Remove riscv as arch.
--
Andreas K. Hüttel
[email protected]
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmavyOFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSq1pRAAxQIJVhIl+k10n4uyXaz6Boj6ZV6cXsmElpoSuLbNSZprr2JT59laWITo Qhu2kkTH71pwUutEJ3EQSebDcfkQMbRnJ73IZNZSZFHvt7rDMNd3lKaJ6a5QkTXa bRLurR8soeCMlNy4ONAKq3+WTkFbL211yzgtQ2w3S7O9C7NuIhgRN5gsgirpAsJ3 j57b3PjiR72g/3Xo52pewIGS3aeH/LuaI1rHeCoxksGBLA8+W4yrqXAN18h3Ipa0 4amnlCp6Z2LxBpLdelcMVsj8Vpsp5sTcJixB8AhNA4RhcfSE6ANLZ4ulFBzOKa3U 0hmPZZ7mhuIHzRAOL1cPBTGyq6BlspL5JOAH5fxJvW2fmJ49gyv+uPIg6RQGORee Hk+G/55+ns4nDLnrk/FS/bxuIn8x4DRGAAmIANfBGEYWAPdjz0iQul1zUevrQ3aa lLneJD2T4KuSZ8QCtg/EVt+LyE4YbcEcXv98rQIIzLShLVCBsP9fOzDRctM+9hQB OjkVHdrPuDsO+FE2s1rtrZ1iaQBojDVwraULDi/WSopHWyD7x97pe3KtzrganVv+ Xlf7e8DyUipQ0dsBJE6tXLTk1MQwiXg8t5yRquvgQvFjhI4kJVAY7Fm