Go to file
Charles Lee 0bd2901885 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (634 of 634 strings)

Translation: fedora-comps/master
Translate-URL: https://translate.fedoraproject.org/projects/fedora-comps/master/zh_CN/
2020-08-20 17:29:15 +02:00
po Translated using Weblate (Chinese (Simplified)) 2020-08-20 17:29:15 +02:00
.gitignore
check-missing Improve the script to remove missing packages and update architectures 2020-07-10 01:52:37 +01:00
comps-cleanup.xsl
comps-el4.xml.in
comps-el5.xml.in Fix typo: epel-rpm-config -> epel-rpm-macros. 2016-04-01 19:34:43 -05:00
comps-el6.xml.in add epel-rpm-macros to el6 comps 2016-01-20 14:20:35 -06:00
comps-epel7.xml.in comps-epel7: Add LXQt desktop 2019-10-10 15:44:19 +08:00
comps-epel8.xml.in tweak kde-desktop in epel8 comps 2020-05-18 08:36:03 -07:00
comps-f7.xml.in
comps-f8.xml.in
comps-f9.xml.in
comps-f10.xml.in
comps-f11.xml.in
comps-f12.xml.in
comps-f13.xml.in
comps-f14.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f15.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f16.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f17.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f18.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f19.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f20.xml.in Remove retired netcat tools (nc and nc6) 2016-06-20 18:58:16 -04:00
comps-f21.xml.in add sort target to Makefile and sort 2017-04-11 19:21:30 -05:00
comps-f22.xml.in Sort and indent and clean up all current comps files. 2016-06-23 10:57:08 -06:00
comps-f23.xml.in Make CVS and RCS optional in @development-tools 2016-10-24 09:02:01 -04:00
comps-f24.xml.in add Web to python-web description 2017-04-18 15:17:02 -05:00
comps-f25.xml.in Merge #164 Cinnamon: Use tilix as default terminal emulator 2017-09-07 20:57:13 +00:00
comps-f26.xml.in dnfdragora-gui was renamed to dnfdragora-updater. Change it in all the places it was used 2018-03-03 13:47:58 -08:00
comps-f27.xml.in MATE: add mate-user-admin 2018-09-28 10:23:32 +02:00
comps-f28.xml.in Run 'make sort' 2019-02-15 09:20:03 -05:00
comps-f29.xml.in add new liquidio-firmware and netronome-firmware firmware packages as optional additions 2019-02-07 12:15:15 +00:00
comps-f30.xml.in Correct genesis package name 2019-09-24 14:59:25 +01:00
comps-f31.xml.in More typo fixes on f31 comps 2020-03-11 12:25:25 -04:00
comps-f32.xml.in Add xorg-x11-drv-amdgpu to base-x and critical-path-gnome 2020-08-05 11:13:07 +02:00
comps-f33.xml.in Add libertas firmware to @hardware-support on armhfp 2020-08-08 11:15:17 +02:00
comps-f34.xml.in Renamed khmeros-fonts packages to khmer-os-fonts packages 2020-08-18 15:55:17 +05:30
comps.dtd
comps.rng Fix indentation in environment definition 2016-05-18 14:43:57 +02:00
Makefile Setup for rawhide being F34 2020-08-10 15:10:43 +02:00
README.md Add info about sorting to README 2017-06-20 15:08:12 +02:00
update-comps

Fedora Comps

comps is a XML file used by various Fedora tools to perform grouping of packages into functional groups.

How comps is used

Installation

comps is used by the installer during package selection. At the Default Packages dialog , the user can choose to Customize Now, displaying the Category Selection dialog.

In the category selection dialog , categories (as defined by the category keyword in comps.xml) are listed down the left-hand side. If a category is selected, any groups in that category with uservisible set are displayed in the right-hand pane. Groups have an icon associated with them. These icons come from the comps-extras package; icons are read from /usr/share/pixmaps/comps/<group-id>.png. If an icon does not exist for a group id, the one for the category that the group is in is used.

Once a group is selected, clicking the Optional Packages button shows the Package Selection dialog.

In any group, there are four levels of packages: optional, default, mandatory, and conditional:

  • optional are not automatic but can be checked
  • default are, but can be unchecked in a gui tool
  • mandatory are always brought in (if group is selected), and not visible in the Package Selection dialog.
  • conditional are brought in if their requires package is installed

Usually optional is the way, however if you feel that your package deserves a default or required level bring it up for discussion on the development lists. Remember that this has effect on whether or not your package winds up on distribution media such as Live images and spins.

Running System

In dnf, groups are used by dnf groupinstall and dnf groupremove commands, and can be queried with dnf grouplist command.

In PackageKit (Add / Remove Software) the upper left quadrant shows Package collections. When this is clicked, the grouping information is loaded from the configured software repositories, and the complete list of groups, stripped from their categories, are shown in the right hand pane. Selecting a group for installation causes only the default packages within the group to be installed.

Developing comps

git clone ssh://git@pagure.io/fedora-comps.git

When changing the packages, make sure the file is sorted. This helps to make it more maintainable. Use make sort command to fix the sorting.

Tree, Release, and Image Composition

The kickstart files in fedora-kickstarts use the group definitions from comps to compose images and release trees.

For more info

For more information, including rules on how and when to edit comps, see the Fedora project wiki.

Bugs against comps can be filed in bugzilla.