Bug 1579404

Summary: [modularity] "dnf module list" shouldn't list special profiles
Product: [Fedora] Fedora Reporter: Merlin Mathesius <mmathesi>
Component: dnfAssignee: rpm-software-management
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-21 11:34:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478068    

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.