Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dnf5] Confusion when working with 'group' and 'environment' commands #724

Open
zdohnal opened this issue Jul 14, 2023 · 0 comments
Open
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@zdohnal
Copy link

zdohnal commented Jul 14, 2023

Hi,

usually if I need to upgrade my virtual machine to a desktop, I install environment group for Fedora Workstation. My DNF4 workflow was:

# dnf group list
# # find the correct string
# dnf -y group install <group name>

With DNF5, there is a confusion (at least for me :) ) - environment groups are not listed by dnf group list, but by dnf environment list - so a common user would think: "Ok, 'environment' is your command for this now", however there is no 'install' subcommand for 'environment'... and user has to use 'group install' again, which is IMHO confusing, especially the fact the group is not listed by group command, but can be installed by it.

I thought about this and I would see the following solutions:

  1. list environment groups under 'dnf groups list' again, which will provide backwards compatibility in behavior,
  2. 'environment' command will have subcommand 'install'
  3. mention in 'environment' command documentation+man page that installation is handled by 'dnf group' command.

WDYT?

@github-project-automation github-project-automation bot moved this to Backlog in DNF team Jul 14, 2023
kontura added a commit to kontura/dnf5 that referenced this issue Nov 9, 2023
This could also be used if we want to mark an environment as installed
eg adding a `--no-groups` switch (to complement the `--no-packages`).

If a `environment install` subcommand is added (rpm-software-management#724)
it could look like:`dnf5 environment install env-id --no-groups`.

It is breaking ABI.
@jan-kolarik jan-kolarik added Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Jan 2, 2024
@jan-kolarik jan-kolarik added this to the Fedora 41 milestone Jan 30, 2024
@jan-kolarik jan-kolarik modified the milestones: Fedora 41, Fedora 42 Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: MEDIUM Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Status: Backlog
Development

No branches or pull requests

2 participants