On Sun, Jul 29, 2018 at 02:16:38PM +0800, Sean Whitton wrote: > git-deborig will only output .orig.tar files to the parent directory. > So if you want to use git-deborig and dgit when you have a build > products dir other than .. configured, you have to manually move the > .orig.tar from .. into the build products dir before you can build. > This is inconvenient. git-deborig was designed for dgit workflows, so > this is something of a regression. > > One possibility is to have git-deborig read dgit's configuration. But > dgit permits the user to configure a different build products dir for > each distribution (e.g. Debian & Ubuntu), and if git-deborig wants to > ask dgit which build products dir is appropriate for the current repo, > dgit has to make a network connection to canonicalise the suite, which > is slow and might be privacy-infringing.
I agree, it's not appropriate to connect to the internet in a tool that is supposed to be a glorified `git archive`. Would just using dgit.default.build-products-dir only too inconvenient? I can't imagine many users using different directories for different distributions (I do… but also different for each suite/arch so it's kind of a mess already and I don't really need all tools to cope with such configuration). I would find it a sufficient compromise until somebody figures something better. Thinking of my own workflow: I have .orig.tar files in .. *and also* in the "build products dir" when needed. I wonder if git-deborig should still create the tarball in .. and only copy it in the other dir. Not sure. > Ian and I talked about this and wonder if we should establish a `debian` > git configuration namespace which could contain a key for the > build products dir which would be respected by both dgit and > git-deborig. We think that if this is done, the devscripts package > should own the namespace. This sounds quite overengineered for me. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature