Red Hat Bugzilla – Bug 1244486
[doc] Add yum vs dnf hooks information in dnf documentation
Last modified: 2015-08-19 03:51:37 EDT
Description of problem:
We have yum hooks information -> http://yum.baseurl.org/wiki/WritingYumPlugins
We have dnf hooks information -> http://dnf.readthedocs.org/en/latest/api_plugins.html
We need documentation like if there is any similar hook in dnf compared to yum. Also, any difference if both have similar hooks but different functionality.
I tried to prepare https://fedoraproject.org/wiki/User:Pnemade/dnf-hooks page but dnf developers are best people to add this information in upstream dnf documentation.
I'd just note that DNF API was never meant to be similar to YUM API. Such comparison may be misleading then. But I admit that the hook documentation can be richer. I mean, I'd use same words which are used in YUM's documentation rather then mentioning the YUM hooks in DNF's documentation. If we would refer to YUM hooks, other users may ask for similar comparison of other DNF functions later and in the end it may be totally confusing since we will be receiving reports like "You claim that this function/hook is similar to this YUM function/hook. I used to do this but it does not work with DNF despite the fact the it should be similar.".
Parag, can you make a pull request to DNF with this table in new page "api_vs_yum.rst", please?
dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-1.fc23,hawkey-0.6.0-1.fc23 has been submitted as an update for Fedora 23.
dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22 has been submitted as an update for Fedora 22.
Package dnf-plugins-core-0.1.10-1.fc22, dnf-1.1.0-1.fc22, hawkey-0.6.0-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-core-0.1.10-1.fc22 dnf-1.1.0-1.fc22 hawkey-0.6.0-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
dnf-plugins-core-0.1.10-1.fc23, hawkey-0.6.0-1.fc23, dnf-1.1.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.