Hi Diederik,

Quoting Diederik de Haas (2024-11-12 19:21:01)
> > Do you have something in mind?
> 
> 1) add support for XDG dirs (which can/should include the possibility
>    that XDG_CONFIG_HOME != ~/.config)
> 2) determine what should be the preferred location, XDG or ~/.sbuildrc
> 3) use the config file from the preferred location and if not present,
>    then use the other location. Do not implement some automatic 'merge'
>    strategy as that is extra work and likely only leads to problems
> 3) Don't do any automatic migration, let that up to the user
> 4) If at some point you want to deprecate an option (I guess that would
>    be ~/.sbuildrc), then print an info/warning message in 3 when the fallback
>    location is used.

sounds good. Here is a MR that implements this:

https://salsa.debian.org/debian/sbuild/-/merge_requests/97

Comments welcome!

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to