On 12-02-25 at 03:50pm, Guido Günther wrote:
> What about this approach:
> 
> * make git-import-dsc (and in fact all other tools too except for
>   git-import-dscs) honor a GBP_CONF_PATH variable, that defaults to the 
>   current hardcoded set in gbp/config.py:
> 
>     
> GBP_CONF_PATH="/etc/git-buildpackage/gbp.conf:~/.gbp.conf:.gbp.conf:debian/gbp.conf:.git/gbp.conf"
> 
> * Add a --no-pkg-config option to git-import-dscs that removes all
>   relative paths from the above list (Relative paths are relative 
>   are relative to the packaging dir not to the current dir)
> 
> This way we wouldn't have to make git-import-dscs aware of all the
> options git-import-dsc understands (having to keep this in sync) and
> we'd also gain the possibility to ignore packaging config in other tools
> too by overriding the env var. Does this make sense?

Sounds perfect!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

Reply via email to