#42 default install profile: add thorough description
Closed 6 years ago by ttomecek. Opened 6 years ago by ttomecek.

file modified
+4
@@ -76,6 +76,10 @@ 

      # Optional, defaults to no profile definitions.

      profiles:

          # The default profile, used unless any other profile was selected.

+         # Package managers are advised to use this install profile if user

+         # requests installation of a module and doesn't select a profile.

+         # Module developers are encouraged to populate this profile if they

+         # want the module to be installable.

          # Optional, defaults to empty lists.

          default:

              rpms:

This raises more questions than it answers. What does installation mean in this context? What's an installable module? Does it mean that I cannot use a module with no / empty default profile at all? Can a module be installed if it defines a default profile but the package manager decides not to install it, despite the recommendation?

@psabata is modulemd a place to answer those questions?

@ttomecek The specification includes the following description of profiles:

    # Profiles define the end user's use cases for the module. They consist of
    # package lists of components to be installed by default if the module is
    # enabled. The keys are the profile names and contain package lists by
    # component type. There are several profiles defined below. Suggested
    # behavior for package managers is to just enable repository for selected
    # module. Then users are able to install packages on their own. If they
    # select a specific profile, the package manager should install all
    # packages of that profile.

From my point of view this covers the recommended behavior for package managers quite well. We could make it more specific, mandating specific user interface terminology and implementations but is it necessary?

I don't know what installable means in your comment. Certainly a module with no or empty profiles won't install any components but it still needs to be possible to enable it and install RPMs from it manually.

I kind of missed that section. I think it summarizes the use case quite nicely, thank you!

@dmach ^

Closing then.

Pull-Request has been closed by ttomecek

6 years ago
Metadata