[Devel] [PATCH VZ10] b4: ship project defaults in .b4-config

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Wed Aug 26 18:15:52 MSK 2026


Works for me.

Reviewed-by: Pavel Tikhomirov <ptikhomirov at viruozzo.com>

On 8/26/26 16:44, Vasileios Almpanis wrote:
> b4 fetches series from lore.kernel.org by default. To use it with our
> list archive at lore.virtuozzo.com every developer had to set the same
> handful of b4.* git config keys, plus two more to get the right
> recipients on "b4 send" and one for the subject prefix.
> 
> b4 loads a .b4-config at the top of the tree as defaults for commands
> run inside it, so put the archive URL masks, the default recipients and
> the VZ10 subject prefix there. Add the file to the .gitignore dot-file
> exceptions so it is tracked.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-142960
> Signed-off-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
> 
> Feature: internal
> ---
> Signed-off-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
> ---
>  .b4-config | 7 +++++++
>  .gitignore | 1 +
>  2 files changed, 8 insertions(+)
> 
> diff --git a/.b4-config b/.b4-config
> new file mode 100644
> index 000000000000..3f5aac9bb1cc
> --- /dev/null
> +++ b/.b4-config
> @@ -0,0 +1,7 @@
> +[b4]
> +	midmask = http://lore.virtuozzo.com/%s
> +	searchmask = http://lore.virtuozzo.com/all/?x=m&t=1&q=%s
> +	linkmask = http://lore.virtuozzo.com/%s
> +	send-series-to = "Konstantin Khorenko <khorenko at virtuozzo.com>"
> +	send-series-cc = devel at openvz.org
> +	send-prefixes = VZ10
> diff --git a/.gitignore b/.gitignore
> index 0c7ad0516fc6..b64c07bd537e 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -103,6 +103,7 @@ modules.order
>  #
>  # We don't want to ignore the following even if they are dot-files
>  #
> +!.b4-config
>  !.clang-format
>  !.cocciconfig
>  !.editorconfig
> 
> ---
> base-commit: 4305092314bbfbc90cb26f9ec8c6bf78c4513f04
> change-id: 20260826-b4-setup-9a776f3efccd
> 
> Best regards,
> --  
> Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
> 

-- 
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.



More information about the Devel mailing list