From Fedora Project Wiki

(→‎Contributor: mention NotReady value for status whiteboard)
(→‎Contributor: add FE-NEEDSPONSOR)
Line 28: Line 28:
# Put your spec file and SRPM somewhere on the Internet.
# Put your spec file and SRPM somewhere on the Internet.
# Fill out a request for review in bugzilla. The form is here: [https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&format=extras-review]. Here is what a sample bugzilla request for review looks like: [[Image:PackageReviewProcess_review.png]]
# Fill out a request for review in bugzilla. The form is here: [https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&format=extras-review]. Here is what a sample bugzilla request for review looks like: [[Image:PackageReviewProcess_review.png]]
# If you do not have any package already in Fedora, this meens you need a sponsor. You need to add FE-NEEDSPONSOR to the bugs being blocked by your review request
# Wait for someone to review your package! At this point in the process, the '''fedora-review flag''' is blank, meaning that no reviewer is assigned.
# Wait for someone to review your package! At this point in the process, the '''fedora-review flag''' is blank, meaning that no reviewer is assigned.
# There may be comments from people that are not formally reviewing the package, they may add NotReady to the status whiteboard, indication that the review request is not yet ready, because of some issues they report. After you have addressed them, please post the URLs to the updated SPEC and SRPM file and remove it from the Status Whiteboard
# There may be comments from people that are not formally reviewing the package, they may add NotReady to the status whiteboard, indication that the review request is not yet ready, because of some issues they report. After you have addressed them, please post the URLs to the updated SPEC and SRPM file and remove it from the Status Whiteboard

Revision as of 20:17, 16 September 2009

Author: Tom 'spot' Callaway and others
Revision: 0.05
Initial Draft: 2007-03-12
Last Revised: 2009-09-16


Review Purpose

In order for a new package to be added to Fedora, the package must first undertake a formal review. The purpose of this formal review is to try to ensure that the package meets the quality control requirements for Fedora. This does not mean that the package (or the software being packaged) is perfect, but it should meet baseline minimum requirements for quality.

Review Process

There are two roles in the review process, that of the contributor and that of the reviewer. In this document, we'll present both perspectives.

Contributor

A Contributor is defined as someone who wants to submit (and maintain) a new package in Fedora. To become a contributor, you must follow the detailed instructions to Join the package collection maintainers.

As a Contributor, you should have already made a package which adheres to the Package Naming Guidelines and Packaging Guidelines. There are also some packages that cannot be included in Fedora, to check if your package applies, check if it contains any Forbidden items.

When you're happy with your spec file, you should then submit that SRPM to a package review. Currently, this is done by following these steps:

  1. Put your spec file and SRPM somewhere on the Internet.
  2. Fill out a request for review in bugzilla. The form is here: [1]. Here is what a sample bugzilla request for review looks like: File:PackageReviewProcess review.png
  3. If you do not have any package already in Fedora, this meens you need a sponsor. You need to add FE-NEEDSPONSOR to the bugs being blocked by your review request
  4. Wait for someone to review your package! At this point in the process, the fedora-review flag is blank, meaning that no reviewer is assigned.
  5. There may be comments from people that are not formally reviewing the package, they may add NotReady to the status whiteboard, indication that the review request is not yet ready, because of some issues they report. After you have addressed them, please post the URLs to the updated SPEC and SRPM file and remove it from the Status Whiteboard
  6. A reviewer takes on the task of reviewing your package. They will set the fedora-review flag to ?
  7. The reviewer will review your package. You should fix any blockers that the reviewer identifies. Once the reviewer is happy with the package, the fedora-review flag will be set to +, indicating that the package has passed review.
  8. At this point, you need to request CVS branches for your newly approved package with CVS admin requests
  9. When the CVS admin requests are complete, you can import your package into CVS.
  10. Cvs checkout the package, do a final check of spec file tags, etc, and run "make tag".
  11. Request a build by running "make build".
  12. Repeat the process for other branches you may have requested.
  13. Request updates for Fedora release branches, if necessary, using "make build" or another Bodhi interface as detailed in Bodhi Guide.
  14. You should make sure the review ticket is closed. You are welcome to close it once the package has been built on the requested branches, or if you built for one of the Fedora release branches you can ask Bodhi to close the ticket for you when it completes the process. If you close the ticket yourself, use NEXTRELEASE as the resolution.

You do not need to go through the review process again for subsequent package changes.

Reviewer

The Reviewer is the person who chooses to review a package.

Note.png
Comments by other people
Other people are encouraged to comment on the review request as well. Especially people searching for sponsorship should comment other review requests to show, that they know the Packaging Guidelines.

The Reviewer can be any Fedora account holder, who is a member of the packager group. There is one exception: If it is the first package of a Contributor, the Reviewer must be a Sponsor. You can check if a Contributor has already been sponsored by looking the e-mail address up in the packager group of the account system.

  1. Search for a review request that needs a reviewer: PackageMaintainers/UnassignedReviewRequests (fedora-review flag is blank or the bug is assigned to nobody@fedoraproject.org)
  2. If you notice some issues that need to be solved before you want to start a formal review, add these issues in a comment and set the Status Whiteboard of the bug to contain NotReady. This helps other possible reviewers to notice that the review request is not yet ready for further review action.
  3. if you want to formally review the package, set the fedora-review flag to ? and assign the bug to yourself.
Note.png
Stepping back from a Review
If you want to step back from the review for any reason, reset the fedora-review flag to be blank and reassign the bug to the default owner of the component, which is nobody@fedoraproject.org
  1. Review the package.
  2. Take one of the following actions:
    • ACCEPT: If the package is good, set the fedora-review flag to +
      1. If the Reviewer is also acting as Sponsor for the Contributor, then this is the time to sponsor the Contributor in the account system .
    • FAIL, LEGAL: If the package is legally risky for whatever reason (known patent or copyright infringement, trademark concerns) close the bug WONTFIX and leave an appropriate comment (i.e. we don't ship mp3, so stop submitting it). Set the fedora-review flag to -, and have the review ticket block FE-Legal.
    • FAIL, OTHER: If the package is just way off or unsuitable for some other reason, and there is no simple fix, then close the bug WONTFIX and leave an appropriate comment (i.e. we don't package pornography for redistribution, sorry. Or, this isn't a specfile, it's a McDonald's menu, sorry.) Set the fedora-review flag to -.
    • NEEDSWORK: Anything that isn't explicitly failed should be left open while the submitter and reviewer work together to fix any potential issues. Mark the bug as NEEDINFO while waiting for the reviewer to respond to improvement requests; this makes it easier for reviewers to find open reviews which require their input.
  3. Once a package is flagged as fedora-review + (or -), the Reviewer's job is done although they may be called upon to assist the Contributor with the import/build/update process and to sure that the Contributor closes the ticket out when the process is complete.

Definitions for fedora-review Flag Settings

fedora-review (BLANK) Package Needs Review
fedora-review ? Package Under Review
fedora-review - Package Failed Review, dropped for legal or other issues.
fedora-review + Package Approved

Tracking of Package Requests