Re: Soft dependencies guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/05/2015 10:04 PM, Paul Morgan wrote:
> IOW the default should be to NOT install weakly-recommended
> dependencies or else have a config option for yum, et. al,
> to override the default behavior.

This is more for discussion for packaging-maint mailing list... However...

What you are describing is Very Weak deps (Suggest and Enhances). *They* are pure recommendations and indeed should not
be installed by default.
For example "mod_ssl", "mod_perl" and "mod_wsgi" Enhances "httpd". So if you choose to install httpd, it would be nice
to get suggestion that there exists some modules which can be useful for you, but you definitely do not want to install
them by default.
Or NetworkManager can Suggest NetworkManager-tui, but only power-users may choose to install it.


However *Weak* deps (Recommends/Supplements) should be installed by default. It is the case where you expect these
installed together. But if you know what you are doing, you can choose to not install it.
Example: firewalld should Recommends firewalld-config, because without that config it will not work out of box. But if
you are experienced hacker you should be able to install firewalld package without firewalld-config, because you can
create that config manually.
Or "mc" should Recommends perl. It is used for executing some menu entries. Really few, most people will never use them.
So if you acknowledge that some parts of midnight-commander will not work and you are fine with that, you should be able
to choose not to install perl as deps for "mc". But most people want to install to have all features available.
Or "autopano-sift-C" can Supplements "hugin". Autopano-sift-C allow you find matching points in photo. Hugin can be used
without it, but it is PITA. And you can not Requires "Autopano-sift-C" directly because "hugin" is in main Fedora, while
"autopano-sift-C" is in Rpmfusion.

-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux