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

Bug 673252

Summary: Deprecate default/linux/alpha/13.0* profiles
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: ProfilesAssignee: Alpha Porters <alpha>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 672960    

Description Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-16 18:13:10 UTC
Gentoo eventually plans to remove 13.0 profiles (bug #672960).

Please deprecate existing profiles as they depends on 'releases/13.0' directly or indirectly.

Affected alpha profiles (identified with [1]):

$ ./is-deprecated-profile.sh $(./expand-all-profiles.sh | fgrep releases/13.0 | awk '{ print $1 }') | fgrep -v DEPRECATED

default/linux/alpha/13.0 ACTIVE
default/linux/alpha/13.0/desktop ACTIVE
default/linux/alpha/13.0/desktop/gnome ACTIVE
default/linux/alpha/13.0/desktop/gnome/systemd ACTIVE
default/linux/alpha/13.0/developer ACTIVE

[1]: https://github.com/trofi/gentoo-qa/blob/master/profiles/is-deprecated-profile.sh
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2018-12-16 18:52:13 UTC
Done in commit 9694323f67dc40eb8f28292922729c59076b5689
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-16 20:04:44 UTC
Whoa! Than was quick!

Unfortunately just deleting profiles from packages.desc has a few sad effects:
- it does not force portage to issue a warning to switch to a new (suggested) profile
- it makes pkgcheck complain about dangling profile:
  $ pkgcheck scan -c RepoProfilesReport
    UnusedProfileDirs: [ default/linux/alpha/13.0, default/linux/alpha/13.0/desktop, default/linux/alpha/13.0/desktop/gnome, default/linux/alpha/13.0/desktop/gnome/systemd, default/linux/alpha/13.0/developer ]

I suggest restoring profiles in profiles.desc to keep profiles covered by repoman . And adding 'deprecated' file to suggest a migration target for users. Example change: https://bugs.gentoo.org/672960#c2

Another option is to remove 13.0 profiles outright.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2018-12-16 22:20:15 UTC
I hope commit 11a648ad5fcbb7064e0f6516aa22bba7683aa400 is what's needed
Comment 4 Larry the Git Cow gentoo-dev 2018-12-16 23:29:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd902be7e559f84949f19226fb9d69a59a419b5

commit 6cd902be7e559f84949f19226fb9d69a59a419b5
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-12-16 23:28:42 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-12-16 23:28:42 +0000

    profiles: tweak alpha target profiles to point to 17.0 profiles
    
    Bug: https://bugs.gentoo.org/673252
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 profiles/default/linux/alpha/13.0/deprecated                       | 2 +-
 profiles/default/linux/alpha/13.0/desktop/deprecated               | 2 +-
 profiles/default/linux/alpha/13.0/desktop/gnome/deprecated         | 2 +-
 profiles/default/linux/alpha/13.0/desktop/gnome/systemd/deprecated | 2 +-
 profiles/default/linux/alpha/13.0/developer/deprecated             | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)