A magic Apply/Accept/Push button adding code into repository?

Kalle Valo kvalo at adurom.com
Sat Jul 9 05:57:02 AEST 2016


Johannes Berg <johannes at sipsolutions.net> writes:

> On Tue, 2016-05-24 at 10:01 +0200, Rafał Miłecki wrote:
>
>> What do you think about such feature? Is there anyone who could work
>> on this?
>
> I think this is probably better solved in a client rather than the
> server - the complexity there is much lower. It could be configured
> against a local working directory or such.
>
> IIRC Kalle Valo has a tool to help him with such things, maybe he can
> share that here.
>
> Maybe that's not precisely what you want, since you then can't do it
> "on the road", but I really think the complexity of this is a problem.

First of all, sorry for the late reply. I haven't had a chance to catch
up with this mailing list yet.

But yeah, I have been needing similar tool for my kernel maintainer
duties so I started to work on a prototype script:

https://github.com/kvalo/pwcli

It's ugly, and I'm learning python while writing it, but it already
helps to keep my sanity with the amount of patches I'm dealing with.
Hopefully one day it'll have a nice GUI frontend and I don't need to
touch the patchwork web interface at all, but that's far far far away
and at the current state I doubt the script is useful to anyone else but
me.

Here's a real life example from earlier today while I was going through
my patch queue:

ath-next at ath > list review
Switched to branch 'pending'
[  1] 9204997 ath10k: disable wake_tx_queue for older devices
[  2] 9212535 [v2,1/6] ath9k: Correct TSF adjustment to align the beacon time correctly
[  3] 9212525 [v2,2/6] ath9k: Handle channel context in get_/set_/reset_tsf
[  4] 9212531 [v2,3/6] ath9k: Use tsf offset helper in ath9k_hw_reset
[  5] 9212527 [v2,4/6] ath9k: Expose tsf_adjustment in mac80211 tsf getters and setters.
[  6] 9212533 [v2,5/6] ath9k: Remove some #defined constants to decrease verbosity
[  7] 9212529 [v2,6/6] ath9k: Fix beacon configuration for addition/removal of interfaces
[  8] 9212263 [v2,1/3] ath6kl: Fix WLAN tethering authentication problem.
[  9] 9212267 [v2,2/3] ath6kl: Fix wrong regulatory domain disconnection.
[ 10] 9212265 [v2,3/3] ath6kl: Unset IFF_LOWER_UP flag on AP mode leave.
[ 11] 9216993 [v3] ath9k: Switch to using mac80211 intermediate software queues.
[ 12] 9219071 wcn36xx: Silence error about unsupported smd event 188
[ 13] 9209331 [PATCHv3,1/3] ath10k: move firmware_swap_code_seg_info to ath10k_fw_file
[ 14] 9209333 [PATCHv3,2/3] ath10k: handle testmode events for 10.2 and 10.4 based firmware
[ 15] 9209337 [PATCHv3,3/3] ath10k: add testmode support for 10.4 firmware
[ 16] 9209723 ath10k: Fix possible wrong rx_busy time reporting in QCA4019
ath-next at ath > commit 2-7
Retrieving patches (6/6) 
9212535 [v2,1/6] ath9k: Correct TSF adjustment to align the beacon time correctly
9212525 [v2,2/6] ath9k: Handle channel context in get_/set_/reset_tsf
9212531 [v2,3/6] ath9k: Use tsf offset helper in ath9k_hw_reset
9212527 [v2,4/6] ath9k: Expose tsf_adjustment in mac80211 tsf getters and setters.
9212533 [v2,5/6] ath9k: Remove some #defined constants to decrease verbosity
9212529 [v2,6/6] ath9k: Fix beacon configuration for addition/removal of interfaces
------------------------------------------------------------
6 patches
commit All/commit Individually/aBort? a
Switched to branch 'ath-next'
============================================================
6 patches applied:

fa5106e1d793 ath9k: Correct TSF adjustment to align the beacon time correctly
9580cb889f35 ath9k: Handle channel context in get_/set_/reset_tsf
bec9a94bc4e2 ath9k: Use tsf offset helper in ath9k_hw_reset
7fde51227aed ath9k: Expose tsf_adjustment in mac80211 tsf getters and setters.
11b0ac2e0c1c ath9k: Remove some #defined constants to decrease verbosity
cfda2d8e2314 ath9k: Fix beacon configuration for addition/removal of interfaces

Accept/request Changes/Reject/Show mail/Edit mail/aBort? a
6 patches accepted, 0 skipped
Email sent
ath-next at ath >

And here's the email it sent:

http://lkml.kernel.org/g/0baa0e2ea2244c589e28ac00b92fe252@euamsexm01a.eu.qualcomm.com

-- 
Kalle Valo


More information about the Patchwork mailing list