Andrew Pollock <apoll...@debian.org> writes:

> I'm not convinced that will work, but I'll give it a try. The man page
> says

> "Export the current branch head (or the treeish object given via
> --git-export to directory before building."

Yeah, I noticed; the interaction between that and where the built Git
packages end up isn't obvious.  The short version is that git-pbuilder
will be run from within the exported tree, wherever that is, so will
deposit the *.deb files into whatever directory the tree was expanded
into.

>> I don't think I ever considered the possibility that people would want
>> the build-area and the place where the built debs end up to be
>> different.

> I'm not following. The build-area is off in a pbuilder chroot somewhere
> isn't it?

I think part of the confusion may be that I came to all this from
svn-buildpackage, so I carry a bunch of cognitive baggage that isn't
shared by people who came to it directly.

In svn-buildpackage, you always create a directory structure where you
have a set of checkouts of packages and then a tarballs directory and a
build-area directory parallel to those.  svn-buildpackage will find the
tarball in tarballs and then deposit the builds in build-area.  When I
switched to git-buildpackage, I kept the same layout, just dropping the
tarballs directory (due to pristine-tar).  I think I was just assuming
that everyone used it that way.

I see, from actually looking at the documentation now, that this isn't the
default behavior (I'm not sure if it used to be or if I'd just forgotten
the history a long time ago).

Another interesting option may be to change git-pbuilder to stop setting
the directory into which to store the results and change git-buildpackage
to pass in a flag saying to use .. iff --git-export-dir was specified.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to