Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Brian Masney <masneyb@kernel.org>
To: "Kernel.org Tools" <tools@kernel.org>
Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	 Jerome Brunet <jbrunet@baylibre.com>,
	 Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	 Brian Masney <masneyb@kernel.org>
Subject: [PATCH b4 v2 0/3] review: add support for fetching patchwork token via git credentials
Date: Fri, 30 Oct 2026 09:47:27 -0400	[thread overview]
Message-ID: <20261030-pw-key-command-v2-0-95fb0f822834@kernel.org> (raw)

Currently the patchwork token needs to be stored plaintext in your git
configuration. This series adds support for fetching the token via git
credentials, which allows storing this externally in a password manager
if desired.

Signed-off-by: Brian Masney <masneyb@kernel.org>
---
Changes in v2:
- Changed to use git credentials to fetch the patchwork key.
- Link to v1: https://patch.msgid.link/20261015-pw-key-command-v1-0-6daa9b8cee2a@kernel.org

---
Brian Masney (3):
      review: centralize lookup of patchwork key in one place
      review: add support for fetching patchwork key via git credentials
      review: tests: add tests for the patchwork key

 docs/config.rst                    |  29 ++++++++++
 src/b4/__init__.py                 |  56 +++++++++++++++++-
 src/b4/review/_review.py           |   4 +-
 src/b4/review_tui/_common.py       |   2 +-
 src/b4/review_tui/_entry.py        |   2 +-
 src/b4/review_tui/_tracking_app.py |   2 +-
 src/tests/test___init__.py         | 114 +++++++++++++++++++++++++++++++++++++
 7 files changed, 202 insertions(+), 7 deletions(-)
---
base-commit: 6be7c6139d7734d84afddf989fa2874935b6d85b
change-id: 20261015-pw-key-command-12c3634b2e8f

Best regards,
--  
Brian Masney <masneyb@kernel.org>


             reply	other threads:[~2026-10-30 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 13:47 Brian Masney [this message]
2026-10-30 13:47 ` [PATCH b4 v2 1/3] review: centralize lookup of patchwork key in one place Brian Masney
2026-10-30 13:47 ` [PATCH b4 v2 2/3] review: add support for fetching patchwork key via git credentials Brian Masney
2026-10-30 13:47 ` [PATCH b4 v2 3/3] review: tests: add tests for the patchwork key Brian Masney

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=20261030-pw-key-command-v2-0-95fb0f822834@kernel.org \
    --to=masneyb@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox