From Fedora Project Wiki

(drop unfilled or obsolete sections)
(→‎Implementation: drop command for pre-F22)
(4 intermediate revisions by 4 users not shown)
Line 36: Line 36:
You can list the packages in these groups with the following command, replacing 'critical-path-base' with the name of the group you're interested in:
You can list the packages in these groups with the following command, replacing 'critical-path-base' with the name of the group you're interested in:


<pre>yum groupinfo critical-path-base</pre>
<pre>dnf group info critical-path-base</pre>


For more information on {{filename|comps.xml}} see [[how to use and edit comps.xml for package groups]].
For more information on {{filename|comps.xml}} see [[how to use and edit comps.xml for package groups]].
Line 42: Line 42:
= Where can I find the ''critical path''? =
= Where can I find the ''critical path''? =


The critical path package list is stored in the packagedb for both [[Releases/Rawhide|rawhide]] and [[Releases/Branched|branched]].  
The critical path package list for all releases is stored in [https://pdc.fedoraproject.org/ PDC].


The most recent list of critical path packages are available at:
The most recent lists of critical path packages are available at:
 
* [https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=master&active=true&critical_path=true&type=rpm Rawhide]
* [https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=f{{FedoraVersionNumber|next}}&active=true&critical_path=true&type=rpm {{FedoraVersion|long|next}} (if branched)]
* [https://pdc.fedoraproject.org/rest_api/v1/component-branches/?name=f{{FedoraVersionNumber}}&active=true&critical_path=true&type=rpm {{FedoraVersion|long}}]
 
Read API documentation [https://pdc.fedoraproject.org/rest_api/v1/component-branches/ here].


* [https://admin.fedoraproject.org/pkgdb/lists/critpath?tg_format=plain&collctn_list=f{{FedoraVersion||next}} Branched] (aka {{FedoraVersion|long|next}})
* [https://admin.fedoraproject.org/pkgdb/lists/critpath?tg_format=plain&collctn_list=devel Rawhide] (aka {{FedoraVersion|long|next2}})
<!--
<!--
SAMPLE USAGE of the Parser Function #time -- See http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time
SAMPLE USAGE of the Parser Function #time -- See http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time

Revision as of 13:28, 3 January 2021

For information on the proposal, see Critical Path Packages Proposal.

A critical path package is a specially managed package in Fedora that provides some essential or core functionality. Updates for critical path packages must undergo additional verification before they can be distributed to the community at large.

Background

Previously, documented policy treated every package the same. While good for uniformity, in reality certain packages require extra attention and care when updating and testing. These packages have potential to break the critical path of use of our Fedora distribution. As part of a Fedora Activity Day, several contributors proposed a critical set of actions that must not be broken. The packages required to sustain these actions make up the critical path.

Actions

Packages within the critical path are required to perform the most fundamental actions on a system. Those actions include:

  • graphical network install
  • post-install booting
  • decrypt encrypted filesystems
  • graphics
  • login
  • networking
  • get updates
  • minimal buildroot
  • compose new trees
  • compose live

Implementation

A set of groups are defined in the comps.xml file to include packages required for the critical use cases listed above. Since package dependencies change regularly, the comps.xml groups are then used to dynamically generate the list of packages.

The critical path package groups in comps.xml are listed below:

@core
@critical-path-base
@critical-path-gnome
@critical-path-apps
@critical-path-kde
@critical-path-lxde
@critical-path-xfce

You can list the packages in these groups with the following command, replacing 'critical-path-base' with the name of the group you're interested in:

dnf group info critical-path-base

For more information on comps.xml see how to use and edit comps.xml for package groups.

Where can I find the critical path?

The critical path package list for all releases is stored in PDC.

The most recent lists of critical path packages are available at:

Read API documentation here.