Hello, On Fri 06 Sep 2019 at 11:20AM +01, Ian Jackson wrote:
> I have been thinking about this bug. > > Sean: >> Ian suggests that maybe this should be the other way around: when >> you set --build-products-dir foo, dgit will pass >> --git-export-dir=foo to invocations of gbp. > > The problem with this is that this won't affect the user's own > invocations of gbp. > > There is a converse problem with the original idea of dgit asking gbp: > this is all very well for `dgit gbp-build' but what about (say) `dgit > push-source' where dgit doesn't know you're using gbp. > > dgit could ask gbp iff gbp is installed but that would mean that if > you have a ~/.gbp.config specifying export-dir, the behaviour of dgit > would depend on whether gbp was actually installed. Not nice. > > The goal surely is for the user to have to configure the bpd in only > one place. That should affect dgit, gbp, pbuilder, sbuild, > origtargz/git-deborig, etc. (In each case if and when the user users > each of these commands.) > > This ought to work without depending on any of these utilities, and > without depending on git, etc. > > I think this means we need a Debian-wide env var or a config file. I think you're right, but I think we've discussed this before. I was in favour of having that config namespace be controlled by src:devscripts, but the devscripts maintainers are not yet on board with that idea, right? -- Sean Whitton
signature.asc
Description: PGP signature