[arch-general] Need a little help getting started with contributing

Thomas Bächler thomas at archlinux.org
Thu Jan 5 06:57:47 EST 2012


Am 04.01.2012 20:54, schrieb Florian Pritz:
>> cat =git-archprojects
> #!/bin/bash
> 
> if (( $# < 2 )); then
>   echo "usage: ${0##*/}: <project> <options to git send-email>"
>   exit 1
> fi
> 
> exec git format-patch --to arch-projects at archlinux.org
> --subject-prefix="$1] [PATCH" "${@:2}"
> 
> ######
> 
> This creates the patch files in the current directory so you can review
> them. Then run `git send-email *.patch`. (I think they end with .patch,
> but I'm not sure right now and I don't wanna test)

git send-email accepts all options of git format-patch (this is not
immediately clear from the manpage) - you don't need to format-patch as
a separate step.

I don't use a script, but instead type:
 git send-email --subject-prefix="initscripts] [PATCH" --to
arch-projects at archlinux.org master..working

Of course, you need to subscribe to arch-projects.

If you post a patch series (with more than 3 patches), it is also very
convenient if you push your tree to github (or anywhere where you can
host git) and provide a URL (in addition to posting the patches).

For more nice features, see the manpages of git-format-patch and
git-send-email.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120105/ef8abaaf/attachment-0001.asc>


More information about the arch-general mailing list