Bug 1579404 - [modularity] "dnf module list" shouldn't list special profiles
Summary: [modularity] "dnf module list" shouldn't list special profiles
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2018-05-17 14:42 UTC by Merlin Mathesius
Modified: 2018-05-21 11:34 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-05-21 11:34:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Merlin Mathesius 2018-05-17 14:42:40 UTC
Description of problem:
Currently "dnf module list" displays a subset of available profiles. It would be a significant user experience improvement to hide some of the special profile names that are either available (explicitly or implicitly) in every module or are somewhat special and of very little interest to the user, especially in this compact view.

* default, available in every module; either it's defined by the module author or should be "created on the fly" and assumed empty
* buildroot, a special profile used to populate the minimal buildroot; used extremely sparingly and is really of no interest to the end user
* srpm-buildroot, another instance of the above; used to initialize the SRPM buildroot
* container, used when installing the module into a container image if there is no other configuration or input, sort of like default but requested to be separate by the userspace containerization folks

These special profiles should be listed when the "verbose" flag is added and in "dnf module info", but be hidden by default.


Version-Release number of selected component (if applicable):
dnf-2.7.5-12.fc28.noarch

How reproducible:
always

Steps to Reproduce:
1. dnf module list

Actual results:
see Description

Expected results:
see Description

Additional info:

Comment 2 Martin Hatina 2018-05-21 11:34:32 UTC
Dnf doesn't know which profile is special, hiding such profiles only by predefined names is not good idea.


Note You need to log in before you can comment on or make changes to this bug.