#9 Read in values from os-release if present.
Opened by jcpunk. Modified
jcpunk/install-guide from-os-release  into  master

Download 9.patch

This automatically pulls in values from /etc/os-release (if souced). It should reduce the need to constantly update en-US/Installation_Guide.ent for just version number bumps. It is also compatible with RHEL versioning strings.

Must add source /etc/os-release to spec before running prepare_anaconda_help_content.py

This presumes that the builder has the proper /etc/os-release file for the version of the documentation being built. I am not sure I see how this adds significant value. I am saying this in part because of the current desire to move away from publican and DocBook which means this would have to be ported to any newer system as well.

Excluding RHEL6, all current RH releases are systemd based. If the system is missing /etc/os-release, something is wrong with the builder.

The two big gains I see here are in the automatic version numbers and the debranding.

From the rebuild community side, having the code able to track against the OS branding would be instantly helpful to me.

For the version numbers, if nothing has chanced in the guide, the auto spec bump script would be sufficient to move from Fedora 27 to Fedora 28 without any maintenance.

Is there a proposal out there for a switch from publican and DockBook?

Is there a proposal out there for a switch from publican and DockBook?

There is work being done at https://pagure.io/docs-fp-o

@jcpunk Can we close this? Do you want to propose this toward the new builder? If so, please open a ticket in pagure.io/docs-fp-o with a statement of benefits.

Metadata