Bug 1244486 - [doc] Add yum vs dnf hooks information in dnf documentation
Summary: [doc] Add yum vs dnf hooks information in dnf documentation
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-19 07:25 UTC by Parag Nemade
Modified: 2015-08-19 07:51 UTC (History)
7 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-08-15 02:13:33 UTC


Attachments (Terms of Use)

Description Parag Nemade 2015-07-19 07:25:00 UTC
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.

Comment 1 Radek Holy 2015-07-20 07:02:43 UTC
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.".

Comment 2 Honza Silhan 2015-07-29 15:20:21 UTC
Parag, can you make a pull request to DNF with this table in new page "api_vs_yum.rst", please?

Comment 3 Parag Nemade 2015-07-30 11:13:56 UTC
Submitted https://github.com/rpm-software-management/dnf/pull/324

Comment 4 Fedora Update System 2015-08-10 10:05:49 UTC
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.
https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-1.fc23,hawkey-0.6.0-1.fc23

Comment 5 Fedora Update System 2015-08-10 10:49:32 UTC
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.
https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22

Comment 6 Fedora Update System 2015-08-11 02:10:46 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2015-13162/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-1.fc22,hawkey-0.6.0-1.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-08-15 02:13:33 UTC
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.

Comment 8 Fedora Update System 2015-08-19 07:51:37 UTC
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.


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