From: Matthieu Baerts <matttbe@kernel.org>
To: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Cc: tools@linux.kernel.org
Subject: Re: b4 prep-perpatch-check-cmd conf via .b4-config
Date: Thu, 23 May 2024 11:45:43 +0200 [thread overview]
Message-ID: <da201b46-c653-45ea-bec2-5110c8116c8c@kernel.org> (raw)
In-Reply-To: <87sey8yksi.fsf@baylibre.com>
Hi Mattijs,
On 23/05/2024 10:50, Mattijs Korpershoek wrote:
(...)
> I've noticed that v0.14+ contains the new b4 prep --check command.
>
> This can be customized via b4.prep-perpatch-check-cmd [1]
> However, we cannot customize this via a project specific .b4-config [2]
> file.
Even if it is would be handy, this feature has been explicitly removed
for security reasons:
https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=a1360385
There could be a solution similar to 'direnv' where a 'b4 allow' command
would mark a version of '.b4-config' as trusted, e.g. by adding a
checksum in the local git config and checking it before reading the
config file?
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2024-05-23 9:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 8:50 b4 prep-perpatch-check-cmd conf via .b4-config Mattijs Korpershoek
2024-05-23 9:45 ` Matthieu Baerts [this message]
2024-05-23 9:58 ` Mattijs Korpershoek
2024-05-23 12:25 ` Konstantin Ryabitsev
2024-05-23 12:30 ` Kernel.org Bugbot
2024-05-30 15:30 ` Kernel.org Bugbot
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=da201b46-c653-45ea-bec2-5110c8116c8c@kernel.org \
--to=matttbe@kernel.org \
--cc=mkorpershoek@baylibre.com \
--cc=tools@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.