public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot gerrit server
Date: Tue, 19 Nov 2013 19:08:24 +0100	[thread overview]
Message-ID: <528BA918.1020709@denx.de> (raw)
In-Reply-To: <20131119071224.B8DC3380481@gemini.denx.de>

Hello Wolfgang,

Am 19.11.2013 08:12, schrieb Wolfgang Denk:
> Dear Heiko,
>
> In message<528AE93D.2080805@denx.de>  you wrote:
>>
>> - Maybe a cmdline interface to change the state of a patch, so I do not
>>     need to open a webbrowser (not necessary, would just nice ;-)
>
> This can be done using existing tools.  "pwclient update" can be used
> to update the status.

Oh... I look into this.

> A minor problem here is identifying the patch when you don't want to
> use the web interface at all.  If you have the original e-mail message
> stored locally (I'm using exmh / nmh as MUA, so each message is a file
> for me anyway), then you can use  pwparser  to compute the hash of the
> message and use this as an index, like that:
>
> ----------- snip -----------
> #!/bin/bash
>
> [ $# -ge 1 ] || { echo "Usage: $0 patch ...">&2 ; exit 1 ; }
>
> for PATCH in $*
> do
> 	HASH=$(/home/wd/bin/pwparser.py --hash<$PATCH)
> 	if [ -z "$HASH" ]
> 	then
> 		echo "ERROR: $PATCH - no such entry in PatchWork">&2
> 		continue
> 	fi
>
> 	if pwclient git-am -h $HASH
> 	then
> 		pwclient update -s 'Accepted' -h $HASH
> 	fi
> done
> ----------- snip -----------

Great, thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2013-11-19 18:08 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12  5:21 [U-Boot] u-boot gerrit server Vadim Bendebury (вб)
2013-11-12  5:36 ` Simon Glass
2013-11-12 10:42 ` Albert ARIBAUD
2013-11-12 16:33   ` Vadim Bendebury (вб)
2013-11-12 17:11     ` Albert ARIBAUD
2013-11-12 18:05       ` Vadim Bendebury (вб)
2013-11-12 11:07 ` Otavio Salvador
2013-11-12 16:36   ` Vadim Bendebury (вб)
2013-11-12 16:47     ` Otavio Salvador
2013-11-12 16:55       ` Vadim Bendebury (вб)
2013-11-12 17:00         ` Otavio Salvador
2013-11-12 17:07           ` Vadim Bendebury (вб)
2013-11-12 17:14             ` Otavio Salvador
2013-11-14 19:27               ` Tom Rini
2013-11-14 20:06                 ` Otavio Salvador
2013-11-14 20:17                   ` Tom Rini
2013-11-14 20:30                     ` Otavio Salvador
2013-11-14 20:58                       ` Tom Rini
2013-11-14 21:00                         ` Otavio Salvador
2013-11-14 21:20                           ` Tom Rini
2013-11-14 21:13                     ` Vadim Bendebury (вб)
2013-11-14 21:18                       ` Otavio Salvador
2013-11-14 21:23                       ` Tom Rini
2013-11-12 17:13           ` Albert ARIBAUD
2013-11-12 17:16             ` Otavio Salvador
2013-11-12 17:30               ` Albert ARIBAUD
2013-11-12 18:07                 ` Otavio Salvador
2013-11-12 18:24                   ` Vadim Bendebury
2013-11-13 22:39                     ` Scott Wood
2013-11-12 18:28                   ` Albert ARIBAUD
2013-11-12 19:29             ` Wolfgang Denk
2013-11-12 19:26 ` Wolfgang Denk
2013-11-12 19:46   ` Vadim Bendebury (вб)
2013-11-14 19:54     ` Tom Rini
2013-11-14 20:59       ` Vadim Bendebury (вб)
2013-11-14 21:17         ` Tom Rini
2013-11-14 21:22           ` Otavio Salvador
2013-11-15 19:41             ` Tom Rini
2013-11-14 23:43           ` Vadim Bendebury (вб)
2013-11-15 13:55             ` James Chargin
2013-11-15 14:12               ` Oliver Schinagl
2013-11-15 14:29                 ` Luca Ellero
2013-11-15 20:08             ` Tom Rini
2013-11-15 21:00               ` Michal Suchanek
2013-11-15 21:34                 ` Tom Rini
2013-11-15 23:21                   ` Wolfgang Denk
2013-11-15 23:24                     ` Otavio Salvador
2013-11-17 16:51                       ` Wolfgang Denk
2013-11-17 19:41                         ` Tom Rini
2013-11-18  0:07                           ` Graeme Russ
2013-11-18 16:00                             ` Tom Rini
2013-11-19  4:29                               ` Heiko Schocher
2013-11-19  7:12                                 ` Wolfgang Denk
2013-11-19 18:08                                   ` Heiko Schocher [this message]
2013-11-19 15:10                                 ` Tom Rini
2013-11-19 18:12                                   ` Heiko Schocher
2013-11-15 23:20                 ` Wolfgang Denk
2013-11-16 23:45                   ` Michal Suchanek
2013-11-15 19:18         ` Wolfgang Denk
2013-11-15 19:40           ` Tom Rini
2013-11-15 23:16             ` Wolfgang Denk
2013-11-16  1:39               ` Tom Rini
2013-11-17 19:31                 ` Wolfgang Denk
2013-11-18  9:35                   ` Michal Suchanek
2013-11-18 16:13                     ` Wolfgang Denk
2013-11-18 16:28                       ` Tom Rini
2013-11-19 17:21                   ` Vadim Bendebury (вб)
2013-11-20  7:42                     ` Graeme Russ
2013-11-20 20:11                       ` Vadim Bendebury (вб)

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

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

  git send-email \
    --in-reply-to=528BA918.1020709@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox