Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686474 - Inheritance explosion, break profiles up?
Summary: Inheritance explosion, break profiles up?
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-21 13:59 UTC by Raymond Jennings
Modified: 2019-05-21 16:52 UTC (History)
0 users

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 Raymond Jennings 2019-05-21 13:59:25 UTC
I noticed that apart from the version numbers, a lot of the existing profiles are, quite simply, redundant.

  [1]   default/linux/amd64/13.0 (stable)
  [2]   default/linux/amd64/13.0/selinux (dev)
  [3]   default/linux/amd64/13.0/desktop (stable)
  [4]   default/linux/amd64/13.0/desktop/gnome (stable)
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd (stable)
  [6]   default/linux/amd64/13.0/desktop/plasma (stable)
  [7]   default/linux/amd64/13.0/desktop/plasma/systemd (stable)
  [8]   default/linux/amd64/13.0/developer (stable)
  [9]   default/linux/amd64/13.0/no-multilib (stable)
  [10]  default/linux/amd64/13.0/systemd (stable)
  [11]  default/linux/amd64/13.0/x32 (dev)
  [12]  default/linux/amd64/17.0 (stable)
  [13]  default/linux/amd64/17.0/selinux (stable)
  [14]  default/linux/amd64/17.0/hardened (stable)
  [15]  default/linux/amd64/17.0/hardened/selinux (stable)
  [16]  default/linux/amd64/17.0/desktop (stable)
  [17]  default/linux/amd64/17.0/desktop/gnome (stable)
  [18]  default/linux/amd64/17.0/desktop/gnome/systemd (stable)
  [19]  default/linux/amd64/17.0/desktop/plasma (stable)
  [20]  default/linux/amd64/17.0/desktop/plasma/systemd (stable)
  [21]  default/linux/amd64/17.0/developer (stable)
  [22]  default/linux/amd64/17.0/no-multilib (stable)
  [23]  default/linux/amd64/17.0/no-multilib/hardened (stable)
  [24]  default/linux/amd64/17.0/no-multilib/hardened/selinux (stable)
  [25]  default/linux/amd64/17.0/systemd (stable)
  [26]  default/linux/amd64/17.0/x32 (dev)
  [27]  default/linux/amd64/17.1 (dev)
  [28]  default/linux/amd64/17.1/selinux (dev)
  [29]  default/linux/amd64/17.1/hardened (dev)
  [30]  default/linux/amd64/17.1/hardened/selinux (dev)
  [31]  default/linux/amd64/17.1/desktop (dev) *
  [32]  default/linux/amd64/17.1/desktop/gnome (dev)
  [33]  default/linux/amd64/17.1/desktop/gnome/systemd (dev)
  [34]  default/linux/amd64/17.1/desktop/plasma (dev)
  [35]  default/linux/amd64/17.1/desktop/plasma/systemd (dev)
  [36]  default/linux/amd64/17.1/developer (dev)
  [37]  default/linux/amd64/17.1/no-multilib (dev)
  [38]  default/linux/amd64/17.1/no-multilib/hardened (dev)
  [39]  default/linux/amd64/17.1/no-multilib/hardened/selinux (dev)
  [40]  default/linux/amd64/17.1/systemd (dev)
  [41]  default/linux/amd64/17.0/musl (exp)
  [42]  default/linux/amd64/17.0/musl/hardened (exp)
  [43]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [44]  default/linux/amd64/17.0/uclibc (exp)
  [45]  default/linux/amd64/17.0/uclibc/hardened (exp)


I notice the following redundancies:

13.0, 17.0, and 17.1 all have their own copies of the various desktop types, as well as hardened and selinux

both gnome and plasma can go with or without systemd

selinux is all over the place

It seems to be a case of multiplicative explosion.

Would it simplify things if some of these "portions" could be fractured out and enabled/disabled separately?

a complete profile might for example enable or disable certain parts.  Like for example, enabling or disabling selinux, or choosing from between 13.0, 17.0, 17.1.

Certain parts might well have dependencies or blockers on other parts, like for example 13.0 could have !17.0 and !17.1, and selinux could depend on hardened.
Comment 1 Andreas Sturmlechner gentoo-dev 2019-05-21 14:05:19 UTC
13.0 is dead and is just waiting for cleanup. bug 672960
Comment 2 Raymond Jennings 2019-05-21 15:47:15 UTC
(In reply to Andreas Sturmlechner from comment #1)
> 13.0 is dead and is just waiting for cleanup. bug 672960

True enough but the next "version" of gentoo will still have the same issue.  What about a future version 21.3?
Comment 3 Raymond Jennings 2019-05-21 15:52:51 UTC
Also the same redundancy still exists even between 17.0 and 17.1, plus between plasma and gnome wrt. systemd
Comment 4 Andreas Sturmlechner gentoo-dev 2019-05-21 16:52:25 UTC
(In reply to Raymond Jennings from comment #3)
> plus between plasma and gnome wrt. systemd
There was a good reason for adding plasma/systemd as they have conflicting requirements to gnome, git commit e971d9d8