DevHeads.net

F29 System Wide Change: Let's Label Our Variants!

= Proposed System Wide Change: Let's Label Our Variants! =
<a href="https://fedoraproject.org/wiki/Changes/Label_Our_Variants" title="https://fedoraproject.org/wiki/Changes/Label_Our_Variants">https://fedoraproject.org/wiki/Changes/Label_Our_Variants</a>

Owner(s):
* Matthew Miller <mattdm fedoraproject org>
* Mohan Boddu <mohanboddu fedoraproject org>

Start using the VARIANT and VARIANT_ID fields in /etc/os-release for
Spins, Labs and the base container image rather than just the main
Fedora Editions.

== Detailed description ==
Right now, we use the VARIANT field (and machine-readable VARIANT_ID)
in /etc/os-release) only for the main Fedora Editions (and Fedora
Cloud Base, because of its history as an edition previously). This
means we can't tell the difference between a KDE desktop spin, a
container image, or just a generic netinstall constructed into a
custom system unlike any of our various flavors. Let's start using it
widely.

== Scope ==
* Proposal owners:
Update the fedora-release package with subpackages for the various
non-edition outputs. The "convert-to-edition" script may also be
extended to handle non-editions, but this is not a required part of
this change proposal.

* Other developers:
Maintainers of spins and labs will need to add the appropriate
fedora-release-… subpackage to the appropriate kickstart file or comps
group.

* Release engineering:
Release Engineering owns the fedora-release package.

* List of deliverables:
Workstation and Server deliverables already contain this, and so are
not affected. The KDE Plasma Desktop Spin will be changed. There is no
overall change to the list of deliverables itself.

* Policies and guidelines:
There was a previous decision to only do this for Editions. This
change would update that. We would also update the Spins documentation
to add this as a new step in that pricess.

* Trademark approval:
not needed for this Change

Comments

Re: F29 System Wide Change: Let's Label Our Variants!

By Josh Boyer at 05/15/2018 - 12:28

Variant definitions seem like they're really only valid for things like
install media and container images. They express intent well enough for
what the spin or Edition is for, but after installation the package set
deviates widely. We can't assume something that has the Server variant in
/etc/os-release is actually representative of anything Fedora ships as
Server without doing a package comparison along the way. If we're using
variant to count anything, I think we need to scope it only to "initial
installations".

josh