This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Patchwork for libc-alpha
- From: Jeremy Kerr <jk at ozlabs dot org>
- To: libc-alpha at sourceware dot org
- Cc: Khem Raj <raj dot khem at gmail dot com>
- Date: Fri, 14 Mar 2014 13:57:38 +0800
- Subject: Patchwork for libc-alpha
- Authentication-results: sourceware.org; auth=none
Hi all,
Khem Raj has asked me to set up a patchwork instance for libc-alpha;
I've just done so, patches will be listed at:
http://patchwork.ozlabs.org/project/glibc/list/
And general patchwork project info at:
http://patchwork.ozlabs.org/project/glibc/list/
[https will work too]
Khem tells me that this is more experimental at this stage, so there are
no maintainers defined for the project. Once you decide on
maintainer(s), please let me know the patchwork usernames and I'll set
the appropriate permissions.
Some background for those not familiar with patchwork: patchwork is
subscribed to libc-alpha, and catches anything that it parses as a
patch. This will be added to the project patch list, in a 'New' state.
Follow-up comments on patches are also included in the page for the patch.
Maintainers can update the state of a patch, typically to 'Accepted' or
'Rejected'.
This allows contributors to see what's happened to their patch, and
gives maintainers a list of pending contributions.
There's a command-line client for patchwork, called pwclient. This can
be used to list, search and download patches, and maintainers can update
patch states too. Details are here:
http://patchwork.ozlabs.org/help/pwclient/
One handy snippet is my patchwork 'catch-up' script. Given two revisions
(rev1 and rev2) in git, it will iterate over the changes to find
matching patchwork patches, and update their status:
# Patchwork “catchup” script
git rev-list rev1..rev2 |
while read commit
do
hash=$(git show $commit | pwparser --hash)
pwclient update -s Accepted -c $commit -h $hash
done
(you'll need a copy of patchwork's parser for that, grab it with:
wget -O pwparser
http://git.ozlabs.org/?p=patchwork;a=blob_plain;f=apps/patchwork/parser.py;hb=HEAD
Happy patchworking,
Jeremy