Blame doc/api_vs_yum.rst

Packit 6f3914
..
Packit 6f3914
    Copyright (C) 2014-2018 Red Hat, Inc.
Packit 6f3914
Packit 6f3914
  This copyrighted material is made available to anyone wishing to use,
Packit 6f3914
  modify, copy, or redistribute it subject to the terms and conditions of
Packit 6f3914
  the GNU General Public License v.2, or (at your option) any later version.
Packit 6f3914
  This program is distributed in the hope that it will be useful, but WITHOUT
Packit 6f3914
  ANY WARRANTY expressed or implied, including the implied warranties of
Packit 6f3914
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
Packit 6f3914
  Public License for more details.  You should have received a copy of the
Packit 6f3914
  GNU General Public License along with this program; if not, write to the
Packit 6f3914
  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit 6f3914
  02110-1301, USA.  Any Red Hat trademarks that are incorporated in the
Packit 6f3914
  source code or documentation are not subject to the GNU General Public
Packit 6f3914
  License and may only be used or replicated with the express permission of
Packit 6f3914
  Red Hat, Inc.
Packit 6f3914
Packit 6f3914
#############################################
Packit 6f3914
 Changes in the DNF hook API compared to YUM
Packit 6f3914
#############################################
Packit 6f3914
Packit 6f3914
Packit 6f3914
.. only :: html
Packit 6f3914
   
Packit 6f3914
Packit 6f3914
This table provides what alternative hooks are available in DNF compared to
Packit 6f3914
YUM.
Packit 6f3914
Packit 6f3914
===========  =================  ==============================
Packit 6f3914
Hook Number  YUM hook           DNF hook
Packit 6f3914
-----------  -----------------  ------------------------------
Packit 6f3914
``1``        ``config``         ``init``
Packit 6f3914
``2``        ``postconfig``     ``init``
Packit 6f3914
``3``        ``init``           ``init``
Packit 6f3914
``4``        ``predownload``          
Packit 6f3914
``5``        ``postdownload``         
Packit 6f3914
``6``        ``prereposetup``          
Packit 6f3914
``7``        ``postreposetup``  ``sack``
Packit 6f3914
``8``        ``exclude``        ``resolved``
Packit 6f3914
``9``        ``preresolve``              
Packit 6f3914
``10``       ``postresolve``    ``resolved but no re-resolve``
Packit 6f3914
``11``       ``pretrans``       ``pre_transaction``
Packit 6f3914
``12``       ``postrans``       ``transaction``
Packit 6f3914
``13``       ``close``          ``transaction``
Packit 6f3914
``14``       ``clean``                   
Packit 6f3914
===========  =================  ==============================
Packit 6f3914
Packit 6f3914
Feel free to file an RFE_ for missing functionality if you need it.
Packit 6f3914
Packit 6f3914
.. _RFE: https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#new-feature-request
Packit 6f3914