Hi Raphaël,

Quoting Raphaël Hertzog (2023-10-11 11:08:00)
> it would be nice if sbuild supported the --env=VAR=VALUE command line
> option like autopkgtest:
> 
>        --env=VAR=value
>               Set arbitrary environment variable in the build and test.
>               Can be specified multiple times.
> 
> I know that sbuild keeps the current environment but it does filter it and
> getting rid of the filter requires setting up a configuration file I
> assume. A bit complicated compared to the expressivenes of the above
> command line option that clearly says "yes I want that variable".
> 
> This suggestion is the result of some design work in debusine where
> we want to make it easy for Debian developers to experiment with
> changes that can affect many packages. And we believe that the possibility
> of setting up an arbitrary environment variable is important in that
> context.
> 
> https://salsa.debian.org/freexian-team/debusine/-/issues/180
> 
> Thank you for considering that idea!

this doesn't sound like a bad idea. I will happily review patches that
implement this.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to