New package process for existing contributors

From FedoraProject

(Redirected from Extras/NewPackageProcess)
Jump to: navigation, search
Important.png
Contributors only!
This document is for existing Contributors only. If you do not already have a Fedora account or if this is your first Fedora package, you must follow the process documented in PackageMaintainers/Join.
Important.png
Git config needs
A config problem has been discovered which may make fedpkg push or fedpkg commit -p or even git push not understand your intentions. As a short term work around, you can run: git config --global --add push.default tracking. This option tells git that when it gets a push request with no other arguments, see if it's tracking a remote branch. If it is, push to that remote branch. This seems like it will usually be safe no matter what git repository you are using.

This is a short version of the PackageMaintainers/Join document, streamlined to show how existing contributors can make new packages.

Step 1: Read the Packaging Guidelines and Package Naming Guidelines . Really. Be comfortable with them.
Step 2: Make a package.

Step 3: Upload your SRPM and SPEC files onto the internet somewhere.

Step 4: Make sure you have a bugzilla account at bugzilla.redhat.com
Step 5: Fill out this form: https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&format=fedora-review

Step 6: Watch the bugzilla report for your first package (you created this in step 5). Fix any blockers that the reviewer(s) point out.
Step 7: When the package is approved by the reviewer, request a git module and branches with the SCM admin requests .
Step 8: Checkout the git module (details here )

Step 9: Import your srpm

Step 10: You can now import the package to your branches too

Step 11: Request builds

Step 12: Close the bugzilla ticket (assuming that the package built successfully)

Step 13: If this package will be built for any version of Fedora that is already released please submit it for inclusion in the 'fedora-updates' repository for those versions of Fedora. See submitting your update to bodhi for more details.
Step 14: Add the package to the comps file(s) if appropriate.
Step 15: Consider enabling Upstream Release Monitoring for the package.

We know that this process can be as clear as mud sometimes, we're always trying to make it better. If you run into any problems, or have any questions, please ask on fedora development list.

http://lists.fedoraproject.org/pipermail/devel/

There is a helpful git FAQ which also includes instructions for making new releases.