|
Packit Service |
27f74b |
##################
|
|
Packit Service |
27f74b |
Core DNF Plugins
|
|
Packit Service |
27f74b |
##################
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Core plugins to use with `DNF package manager <https://github.com/rpm-software-management/dnf>`_.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
==============
|
|
Packit Service |
27f74b |
Installation
|
|
Packit Service |
27f74b |
==============
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
RPM packages are available in official Fedora repositories::
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
dnf install dnf-plugins-core
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Nigthly builds can be installed from `copr repository <https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/>`_.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
======================
|
|
Packit Service |
27f74b |
Building from source
|
|
Packit Service |
27f74b |
======================
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
From the DNF git checkout directory::
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
mkdir build;
|
|
Packit Service |
27f74b |
pushd build;
|
|
Packit Service |
27f74b |
cmake .. && make;
|
|
Packit Service |
27f74b |
popd;
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Then to run DNF::
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
PYTHONPATH=`readlink -f .` bin/dnf <arguments>
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
===============
|
|
Packit Service |
27f74b |
Running tests
|
|
Packit Service |
27f74b |
===============
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
From the DNF git checkout directory::
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
mkdir build;
|
|
Packit Service |
27f74b |
pushd build;
|
|
Packit Service |
27f74b |
cmake .. && make ARGS="-V" test;
|
|
Packit Service |
27f74b |
popd;
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
==============
|
|
Packit Service |
27f74b |
Contribution
|
|
Packit Service |
27f74b |
==============
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Here's the most direct way to get your work merged into the project.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
1. Fork the project
|
|
Packit Service |
27f74b |
#. Clone down your fork
|
|
Packit Service |
27f74b |
#. Implement your feature or bug fix and commit changes
|
|
Packit Service |
27f74b |
#. If you reported a bug or you know it fixes existing bug at `Red Hat bugzilla <https://bugzilla.redhat.com/>`_, append ``(RhBug:<bug_id>)`` to your commit message
|
|
Packit Service |
27f74b |
#. In special commit add your name and email under ``DNF-PLUGINS-CORE CONTRIBUTORS`` section in `authors file <https://github.com/rpm-software-management/dnf-plugins-core/blob/master/AUTHORS>`_ as a reward for your generosity
|
|
Packit Service |
27f74b |
#. Push the branch up to your fork
|
|
Packit Service |
27f74b |
#. Send a pull request for your branch
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Please, do not create the pull requests with translation (.po) files improvements. Fix the translation on `Zanata <https://fedora.zanata.org/iteration/view/dnf-plugins-core/master>`_ instead.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
===============
|
|
Packit Service |
27f74b |
Documentation
|
|
Packit Service |
27f74b |
===============
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
The DNF-PLUGINS-CORE package distribution contains man pages ``dnf.plugin.*(8)``. It is also possible to read the `DNF-PLUGINS-CORE documentation <http://dnf-plugins-core.readthedocs.org>`_ online.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
====================
|
|
Packit Service |
27f74b |
Bug reporting etc.
|
|
Packit Service |
27f74b |
====================
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Please report discovered bugs to the `Red Hat bugzilla <https://bugzilla.redhat.com/>`_ following this `guide <https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting>`_. If you planed to propose the patch in the report, consider `contribution`_ instead.
|
|
Packit Service |
27f74b |
|
|
Packit Service |
27f74b |
Freenode's irc channel ``#yum`` is meant for discussions related to both Yum and DNF. Questions should be asked there, issues discussed. Remember: ``#yum`` is not a support channel and prior research is expected from the questioner.
|