Hi,

Quoting Pirate Praveen (2020-01-13 10:55:07)
> Building for backports and experimental is a widely used feature and 
> providing easy defaults for these will be helpful for a lot of people.
> 
> Currently we have to create some scripts to automate this,
> 
> I use these options,
> 
> sbuild --extra-repository='deb http://deb.debian.org/debian 
> experimental main' --build-dep-resolver=aptitude
> 
> sbuild -s --force-orig-source --extra-repository='deb 
> http://deb.debian.org/debian buster-backports main' 
> --build-dep-resolver=aptitude --no-run-lintian (new uploads usually go 
> to backports-new and source should be included, also lintian is usually 
> not relevant here)
> 
> Can this be supported with options like sbuild --experimental, sbuild 
> --backports or similar?

this is already possible by using:

SBUILD_CONFIG=~/.sbuildrc.experimental sbuild

or

SBUILD_CONFIG=~/.sbuildrc.backports sbuild

Where ~/.sbuildrc.experimental and ~/.sbuildrc.backports contain the settings
you want for experimental and backport builds, respectively.

I agree that this is harder to type than --experimental or --backports but I
doubt that we will find a set of configurations that will satisfy everybody for
these options, so soon we might get another bug report about changing the
defaults. Thus I think it might be best to let each user pick the settings they
want.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to