fedora-review tool, development site
  • Python 81.8%
  • Perl 7.9%
  • M4 4%
  • Shell 3.2%
  • Roff 2.2%
  • Other 0.9%
Find a file
2026-05-28 08:05:09 +00:00
json-plugins Fix plugin load paths (part of #148) 2012-09-24 20:09:17 +02:00
plugins Do not check for directories owned by setup either 2026-05-28 08:05:09 +00:00
scripts Replace ttname with fc-query 2023-03-24 13:15:27 +00:00
src [PATCH] Fix crash on RPMs containing no files 2026-03-19 16:37:45 +01:00
test Release 0.11.0 2025-11-29 22:53:53 +00:00
.gitignore Ignore files generated by tests 2025-11-29 22:53:53 +00:00
AUTHORS Replace ttname with fc-query 2023-03-24 13:15:27 +00:00
CONTRIBUTE Document how to do a new upstream release 2025-11-29 22:53:53 +00:00
COPYING COPYING added 2011-06-02 16:28:40 +02:00
fedora-create-review.1 docs: add config info for fedora-create-review 2022-03-15 18:33:25 +00:00
fedora-review.1 Add fedora-create-review command to "see also" of man page 2023-01-22 04:15:51 +00:00
fedora-review.spec Drop dependency on python3-nose 2025-12-06 14:04:29 +01:00
jenkins-poll Fixes some URLs that were still pointing for old site. 2019-11-21 19:34:41 +00:00
koji-download-scratch Sort imports 2022-08-18 10:31:39 -05:00
make_release Don't publish to fedorahosted.org anymore 2025-11-29 22:53:53 +00:00
Makefile add try-fedora-create-review script 2020-11-07 19:39:58 +00:00
NEWS Release 0.11.0 2025-11-29 22:53:53 +00:00
pycodestyle.conf Make flake8 usable 2019-03-17 22:03:42 +01:00
pylint.conf Make pycodestyle usable again 2019-03-17 21:57:43 +01:00
README More emphasis on the existence of fedora-create-review 2022-07-14 21:12:08 +00:00
RELEASING.md Document how to do a new upstream release 2025-11-29 22:53:53 +00:00
review_template.txt update links to new Fedora Packaging Guidelines 2018-12-21 13:40:29 +01:00
run-pylint tests: Update to fedora 28 and use python 3 2019-03-17 11:39:28 -04:00
SCRIPTS_API Add Scripts API docs 2019-03-17 15:53:48 -04:00
setup.py Update list of data files 2023-07-24 16:04:08 -05:00
try-fedora-create-review Update shebang to properly invoke Python 3 2023-07-26 11:12:28 -05:00
try-fedora-review Update shebang to properly invoke Python 3 2023-07-26 11:12:28 -05:00
update-version Sort imports 2022-08-18 10:31:39 -05:00

fedora-review: Tools to help review packages for inclusion in Fedora
---------------------------------------------------------------------

This tool automates much of the dirty work when reviewing a package
for the Fedora Package Collection.

Like:
- Downloading SRPM & SPEC from Bugzilla report
- Build and install package in mock
- Download upstream source
- Check md5sums
- Run rpmlint
- Generate review template with both manual & automated checks serving
  as a starting point for the review work.

fedora-create-review: automate the process of submitting a review request
---------------------------------------------------------------------

Another tool included, is fedora-create-review. fedora-create-review is a tool
to automate the process of submitting a review request for a new package.

It will:
- starts a scratch build on koji
- upload SRPM & SPEC onto fedorapeople
- create the review request on bugzilla
- and add a comment with a link to the scratch build on koji

Contacts
--------

* IRC: #fedora-review @ freenode
* Mailing list: https://lists.fedoraproject.org/admin/lists/fedorareview.lists.fedorahosted.org/
* Wiki: https://pagure.io/FedoraReview


Installation
------------

Install the package out of the Fedora repositories:

    $ sudo dnf -y install fedora-review

See man fedora-review for further details about the setup.


Download
--------

Clone the source using:

    $ git clone https://pagure.io/FedoraReview.git

Dependencies
------------

Install dependencies:

    $ sudo dnf -y install mock
    $ sudo dnf -y builddep fedora-review.spec

The mock requirement is not hard, it's possible to use fedora-review
without mock when always using the --prebuilt/-p option. This means
that packages must be built using other tools e. g., koji. Generally,
installing without mock is not recommended.


Running from git
----------------

After downloading (above) use try-fedora-review:

    $ cd FedoraReview
    $ python3 update-version
    $ python3 try-fedora-review --help

To run from any directory, install try-fedora-review according to
instructions in that script. update-version only needs to run once.

A similar tool (try-fedora-create-review) is provided to do the same
for fedora-create-review.


Usage
-----

    $ nroff -man fedora-review.1 | more
    $ fedora-review --help


Extending
---------

As of 0.4, fedora-review has two plugin interfaces:

 * The native Python interface used by modules in the src/checks
   directory. This is the most complete, and is required e. g., when
   defining a new group of tests for a new language. This is
   descibed in the project wiki, at
   https://fedorahosted.org/FedoraReview/wiki/NewPlugin

 * The script interface used by scripts in the scripts/ directory.
   This is a small interface designed to make it possible to write
   simple tests in plain bash. This is covered at
   https://pagure.io/FedoraReview/blob/master/f/SCRIPTS_API

The JSON-based interface which existed in earlier versions has been
retired.


Bugs and issues
---------------

Please report bug and issues at https://pagure.io/FedoraReview/new_issue


License
-------

fedora-review is licensed under GPLv2+, for more details check COPYING.