<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clandmeter/patchwork/tools, branch master</title>
<subtitle>Mirror of git://ozlabs.org/home/jk/git/patchwork
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/'/>
<entry>
<title>Move to a more recent django project structure</title>
<updated>2015-05-27T02:26:41+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-05-24T08:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=ad2762cf775a8dde508de47164d6429f3fd724f1'/>
<id>ad2762cf775a8dde508de47164d6429f3fd724f1</id>
<content type='text'>
This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.

This gives us the manage.py script in the top-level now.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.

This gives us the manage.py script in the top-level now.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>post-receive: exclude commits from the patch update step</title>
<updated>2014-07-24T09:22:53+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2014-06-12T01:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=f49c72da5545f2da49dd83d9ec54fe232cf60360'/>
<id>f49c72da5545f2da49dd83d9ec54fe232cf60360</id>
<content type='text'>
When merging upstream work related to other projects into your own
project repository, you probably don't want to check for (and try to
update) the status on every change-set in the merge. So add a list of
references (branches, tags, commits, etc.) whose commits should be
ignored in the patch update step.

This could be used, for example, to set:

    EXCLUDE="refs/heads/upstream"

Then when you're ready to merge in new upstream code, you first update
the 'upstream' branch before pushing your own.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When merging upstream work related to other projects into your own
project repository, you probably don't want to check for (and try to
update) the status on every change-set in the merge. So add a list of
references (branches, tags, commits, etc.) whose commits should be
ignored in the patch update step.

This could be used, for example, to set:

    EXCLUDE="refs/heads/upstream"

Then when you're ready to merge in new upstream code, you first update
the 'upstream' branch before pushing your own.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>post-receive: Fix error message when pushing to an unmapped branch</title>
<updated>2014-01-29T09:57:17+00:00</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2013-12-13T04:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=26d551a1ee9e888c1656730c19414003124a4ec7'/>
<id>26d551a1ee9e888c1656730c19414003124a4ec7</id>
<content type='text'>
Previously, if STATE_MAP contained only refs/heads/master and a user
pushed to a branch such as refs/heads/stable, the hook emitted a
misleading error message:

	E: no mapping for refname refs/heads/master

Fix this by correctly printing the reference being looked for, rather
than the reference most recently found in STATE_MAP. Also, reword the
message slightly to point the user to STATE_MAP and to use an actual
word "branch" instead of the non-word "refname".

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if STATE_MAP contained only refs/heads/master and a user
pushed to a branch such as refs/heads/stable, the hook emitted a
misleading error message:

	E: no mapping for refname refs/heads/master

Fix this by correctly printing the reference being looked for, rather
than the reference most recently found in STATE_MAP. Also, reword the
message slightly to point the user to STATE_MAP and to use an actual
word "branch" instead of the non-word "refname".

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the post-receive hook more efficient (using pwclient info, not view)</title>
<updated>2014-01-29T09:57:12+00:00</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2013-12-11T18:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=6dd987e40d5d76dc96ed641723c2ece3f024f85e'/>
<id>6dd987e40d5d76dc96ed641723c2ece3f024f85e</id>
<content type='text'>
Older versions of patchwork shipped with a version of pwclient that
had the view command, but not info command. Now that info exists, it's
inefficient to use it to obtain the patchwork ID value, (since it
requires the server to send the entire patch content in response to an
XML RPC request).

So be kind to the server by using info instead, (which has a small,
fixed-length response).

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Older versions of patchwork shipped with a version of pwclient that
had the view command, but not info command. Now that info exists, it's
inefficient to use it to obtain the patchwork ID value, (since it
requires the server to send the entire patch content in response to an
XML RPC request).

So be kind to the server by using info instead, (which has a small,
fixed-length response).

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools/post-receive.hook: don't update the previously pushed commit</title>
<updated>2014-01-29T09:54:25+00:00</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2013-12-11T18:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=2b8be9316ca488c8ce913d47dd6f0ad04e7544e8'/>
<id>2b8be9316ca488c8ce913d47dd6f0ad04e7544e8</id>
<content type='text'>
Previously, the post-receive hook would always examine one commit that
had been previously pushed, (when the purpose of the hook is only to
example newly-pushed commits). We fix this by simply dropping the '^'
in the commit-range specification.

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the post-receive hook would always examine one commit that
had been previously pushed, (when the purpose of the hook is only to
example newly-pushed commits). We fix this by simply dropping the '^'
in the commit-range specification.

Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>patchwork-update-commits: add missing `update` to command line</title>
<updated>2011-03-30T06:57:17+00:00</updated>
<author>
<name>Paul Menzel</name>
<email>paulepanter@users.sourceforge.net</email>
</author>
<published>2011-03-23T17:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=ac5cddbc75745bcfddc6e3ed97d75edc49540e27'/>
<id>ac5cddbc75745bcfddc6e3ed97d75edc49540e27</id>
<content type='text'>
Otherwise the following error is shown:

    Too many arguments specified

Signed-off-by: Paul Menzel &lt;paulepanter@users.sourceforge.net&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the following error is shown:

    Too many arguments specified

Signed-off-by: Paul Menzel &lt;paulepanter@users.sourceforge.net&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>patchwork-update-commits: autodetect patchwork install directory</title>
<updated>2011-02-28T01:54:15+00:00</updated>
<author>
<name>Sascha Silbe</name>
<email>sascha-pgp@silbe.org</email>
</author>
<published>2011-02-11T04:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=c6d26672a7ecb8973b361770668661eec2fa24a2'/>
<id>c6d26672a7ecb8973b361770668661eec2fa24a2</id>
<content type='text'>
Make patchwork-update-commits work from outside the Patchwork git
repository so it can be used for other projects.

Signed-off-by: Sascha Silbe &lt;sascha-pgp@silbe.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make patchwork-update-commits work from outside the Patchwork git
repository so it can be used for other projects.

Signed-off-by: Sascha Silbe &lt;sascha-pgp@silbe.org&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: add simple patchwork-update-commits script</title>
<updated>2010-08-10T03:49:36+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2010-08-10T03:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=1dbc5bbbf795b6ae572e3aba8f4e2ce9ba4e94a1'/>
<id>1dbc5bbbf795b6ae572e3aba8f4e2ce9ba4e94a1</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Update license for post-receive hook.</title>
<updated>2010-08-10T03:49:35+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2010-08-10T01:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=ef07c46d8106ffcdac76e6bc879b9867f6a388b4'/>
<id>ef07c46d8106ffcdac76e6bc879b9867f6a388b4</id>
<content type='text'>
Martin has allowed distribution under the GPL.
 http://lists.ozlabs.org/pipermail/patchwork/2010-June/000263.html

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Martin has allowed distribution under the GPL.
 http://lists.ozlabs.org/pipermail/patchwork/2010-June/000263.html

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Add a simple sample Git post-receive hook</title>
<updated>2010-08-10T03:49:35+00:00</updated>
<author>
<name>Martin Krafft</name>
<email>madduck@madduck.net</email>
</author>
<published>2010-02-04T17:33:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/clandmeter/patchwork/commit/?id=5d1b8ca30bb4ff9284ad2013c92177e31dd07562'/>
<id>5d1b8ca30bb4ff9284ad2013c92177e31dd07562</id>
<content type='text'>
This patch adds a post-receive hook to lib/git, which can be used to
update Patchwork following a push to the Git repository.

Surely, it can be improved. One thing to do would be to export the state
map to git-config somehow.

Signed-off-by: martin f. krafft &lt;madduck@madduck.net&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a post-receive hook to lib/git, which can be used to
update Patchwork following a push to the Git repository.

Surely, it can be improved. One thing to do would be to export the state
map to git-config somehow.

Signed-off-by: martin f. krafft &lt;madduck@madduck.net&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
