unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: martin f krafft <madduck@madduck.net>
To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org
Subject: patchwork now auto-updates patches from Git (was: Git feature branch)
Date: Fri, 5 Feb 2010 16:36:25 +1300	[thread overview]
Message-ID: <20100205033625.GA3759@lapse.rw.madduck.net> (raw)
In-Reply-To: <20100204035026.GA13411@lapse.rw.madduck.net>

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

also sprach martin f krafft <madduck@madduck.net> [2010.02.04.1650 +1300]:
> - … which brings me to my second point: there are certain things
>   that patchwork can do, at least in theory:
> 
>   * mark patches accepted when they hit your (canonical) master
>     branch
>   * mark patches rfc when they hit e.g. my (canonical) next branch
>   * mark patches "under review" when they hit the all-patches (or
>     pu) branch.
> 
>   I have not yet tried any of these, and I am basing this theory
>   only on the idea that git-patch-id can come to the rescue, for
>   there is no other linkage between the patch on the mailing list
>   (and thus known to patchwork), and the commit in the repo.

Patchwork now marks patches Accepted once they hit Carl's master
branch (up to 10 minutes delay due to Cron). It uses an algorithm
similar (but not equal) to git-patch-id in that it hashes the diff.
This means that the commit message can be amended when patches are
applied/cherry-picked, but the patch itself must be verbatim.

I ran it on all history thus far and it found 99 patches.

It'll be trivial to set it up to mark other states when the
corresponding commits hit another branch.

Let me know if there are any problems, and feedback welcome.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"if they can get you asking the wrong questions,
 they don't have to worry about answers."
                                                     -- thomas pynchon
 
spamtraps: madduck.bogus@madduck.net

[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-02-05  3:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-20 14:00 Git feature branch Sebastian Spaeth
2010-01-20 20:00 ` micah anderson
2010-01-22  8:09   ` Sebastian Spaeth
2010-01-22  8:50     ` Sebastian Spaeth
2010-01-22 21:10       ` Carl Worth
2010-01-25 21:32         ` martin f krafft
2010-01-26  0:46           ` sebastian
2010-01-26 22:24             ` micah anderson
2010-01-27 19:17               ` Ben Gamari
2010-02-24 18:58                 ` Carl Worth
2010-01-27 19:19               ` Jameson Rollins
2010-01-27 19:41               ` martin f krafft
2010-01-28  7:05                 ` James Rowe
2010-02-01 22:31                   ` patchwork test instance (was: Git feature branch) martin f krafft
2010-02-02 11:38                     ` Marten Veldthuis
2010-02-10  3:25                     ` patchwork test instance martin f krafft
2010-02-10  8:49                       ` David Bremner
2010-02-10 22:00                         ` martin f krafft
2010-02-10  9:25                       ` Sebastian Spaeth
2010-02-10 22:22                         ` martin f krafft
2010-02-24 19:10                           ` Carl Worth
2010-02-24 20:39                             ` martin f krafft
2010-02-24 19:08                         ` Carl Worth
2010-02-25  8:06                           ` martin f krafft
2010-02-04  3:05           ` Git feature branch Carl Worth
2010-02-04  3:50             ` martin f krafft
2010-02-05  3:36               ` martin f krafft [this message]
2010-02-04  3:58             ` Jameson Rollins
2010-02-24 19:13               ` Carl Worth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100205033625.GA3759@lapse.rw.madduck.net \
    --to=madduck@madduck.net \
    --cc=cworth@cworth.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).