~emersion/public-inbox

2 2

[pyonji] subject prefix handling

Details
Message ID
<D1UQ53NVXSD9.3N7ZUCV17ONAC@gnzler.io>
DKIM signature
pass
Download raw message
maybe I'm doing this wrong... but how do I set the subject prefix for a patch 
series?

I can provide a subject using the cover-from-description=subject of 
git-format-patch(1) but that results in patches like this:
https://lists.sr.ht/~bitfehler/anemos/patches/53188

Is setting format.subjectprefix the only way to do this?
Details
Message ID
<9JKfmu7wr5fHKe-kg_PPootzdsDzUqwrY7wfRegMO8cNXA0d54uzkFPasW7mD94YrkbYWt3WcjbW93WzLYFrc_wRfDnM9f0etXuOBqIgEDs=@emersion.fr>
In-Reply-To
<D1UQ53NVXSD9.3N7ZUCV17ONAC@gnzler.io> (view parent)
DKIM signature
pass
Download raw message
On Saturday, June 8th, 2024 at 17:00, Robert Günzler <r@gnzler.io> wrote:

> Is setting format.subjectprefix the only way to do this?

Right now, yes.

I don't want to clutter the UI too much with many knobs - ideally
the user shouldn't have to care…

It's also possible for a project to ship a .b4-config file with an
email address and subject prefix, pyonji will pick it up by default.
Details
Message ID
<D1XWUZRRSV1J.1QTEPENC4675S@gnzler.io>
In-Reply-To
<9JKfmu7wr5fHKe-kg_PPootzdsDzUqwrY7wfRegMO8cNXA0d54uzkFPasW7mD94YrkbYWt3WcjbW93WzLYFrc_wRfDnM9f0etXuOBqIgEDs=@emersion.fr> (view parent)
DKIM signature
pass
Download raw message
On Wed Jun 12, 2024 at 10:26 AM CEST, Simon Ser <contact@emersion.fr> wrote:
> I don't want to clutter the UI too much with many knobs - ideally
> the user shouldn't have to care…

maybe it would help to add some kind of help text? basically teach users where
the knobs are in the underlying tools

wouldn't it also be possible to compare the to address and the remote of the
base? if they are not matching then offer some kind of hint of how to configure
setting a prefix
Reply to thread Export thread (mbox)