From da404754bd1f4134fbaeeb633ce066f14aea01ca Mon Sep 17 00:00:00 2001 From: David Bold Date: Tue, 25 Jun 2024 10:37:58 +0200 Subject: [PATCH 1/2] Add some docs about environments --- doc/commands/environment.8.rst | 3 ++- doc/commands/group.8.rst | 3 ++- doc/commands/install.8.rst | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/commands/environment.8.rst b/doc/commands/environment.8.rst index fadcd6c52..7be0b0196 100644 --- a/doc/commands/environment.8.rst +++ b/doc/commands/environment.8.rst @@ -35,7 +35,8 @@ Description =========== The ``environment`` command in ``DNF5`` offers several queries for getting information -about environments and groups related to them. +about environments and groups related to them. You can install environments +with the ``install`` command as ``install @environment-id``. Optional ``environment-spec`` arguments could be passed to filter only environments with given names. diff --git a/doc/commands/group.8.rst b/doc/commands/group.8.rst index 7948a674d..311f8c5db 100644 --- a/doc/commands/group.8.rst +++ b/doc/commands/group.8.rst @@ -34,7 +34,8 @@ Description =========== The ``group`` command in ``DNF5`` offers several queries for getting information about groups, packages -related to them and it is also used for groups installation. +related to them and it is also used for groups installation. Note that some +things dnf-4 listed as groups are now listed with ``environment list``. Optional ``group-spec`` arguments could be passed to filter only groups with given names. diff --git a/doc/commands/install.8.rst b/doc/commands/install.8.rst index 24bafe3e1..013bf740a 100644 --- a/doc/commands/install.8.rst +++ b/doc/commands/install.8.rst @@ -33,7 +33,7 @@ Description The ``install`` command in ``DNF5`` is used for installing packages. It makes sure that all given packages defined in ``package-spec`` arguments and their dependencies are installed -on the system. +on the system. Environments can be installed with ``@environment-id`` as ````. Options From a45089f4103b18f31e1dcace9bc77f9253558aae Mon Sep 17 00:00:00 2001 From: amatej Date: Thu, 1 Aug 2024 10:35:12 +0200 Subject: [PATCH 2/2] Clarify `group` command man page: `environment` note Co-authored-by: David Bold --- doc/commands/group.8.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/commands/group.8.rst b/doc/commands/group.8.rst index 311f8c5db..b47a083bd 100644 --- a/doc/commands/group.8.rst +++ b/doc/commands/group.8.rst @@ -34,8 +34,9 @@ Description =========== The ``group`` command in ``DNF5`` offers several queries for getting information about groups, packages -related to them and it is also used for groups installation. Note that some -things dnf-4 listed as groups are now listed with ``environment list``. +related to them and it is also used for groups installation. +To query environments use separate ``environment`` command. +Note: ``dnf-4`` listed both environments and groups with the ``group`` command. Optional ``group-spec`` arguments could be passed to filter only groups with given names.