This document is here mainly to make the job of those who review patches easier and is more of a guideline and not a strict set of rules. However, please try to follow as much as you can.

Note
Some of this is paraphrased from the kernel documentation's "SubmittingPatches" file.

Getting the most recent source

Patches need to be submitted in GIT format and are best if they are against the latest version of the code. There are several helpful tutorials for getting started with GIT if you have not worked with it before.

The pacman code can be fetched using the following command:

git clone git://projects.archlinux.org/pacman.git

Creating your patch

Submitting your patch

After you submit