[git-buildpackage] Would it be possible for pristine-tar to not be an absolute path?
Nish Aravamudan
nish.aravamudan at canonical.com
Thu Jan 11 23:57:03 CET 2018
On Sun, Jan 7, 2018 at 11:09 AM, Guido Günther <agx at sigxcpu.org> wrote:
> Hi,
> On Fri, Jan 05, 2018 at 09:55:30PM -0800, Nish Aravamudan wrote:
>> Hi Guido,
>>
>> On Wed, Aug 30, 2017 at 12:47 PM, Guido Günther <agx at sigxcpu.org> wrote:
>>
>> <snip>
>>
>> >> To be clear, we only use gbp for orig tarball handling currently (we
>> >> import-orig the tarballs published for Debian & Ubuntu, and use
>> >> buildpackage (eventually export-orig, once it's available) to get the
>> >> tarballs back out).
>> >
>> > gbp export-orig is already in the versions in experimental. It will gain
>> > some more features in the near future (like checking out arbitrary
>> > versions without having a working copy).
>>
>> Have the parenthetical changes landed yet? Or does both
>> gbp-buildpackage (when using pristine-tar, or not) and gbp-export-orig
>> only extract tarballs for HEAD?
>
> gbp-buildpackge extracts tarballs for the version you're building (I
> think that's the only thing that makes sense). gbp export-orig should
> support exporting any version given a debian revision:
>
> gbp export-orig 10.0.1-1
>
> We could assume '-1' if not given:
>
> gbp export-orig 10.0.1
>
> I should be a simple as fetching the right DebianSource in main() but I
> did not get around to look into that.
I took a quick look at this and DebianSource refers to a GbpVFS
interface. Is that supposed to be GitVfs? So if a version is provided
on the command-line, I would do a lookup from that to a Git tree,
which I can then instantiate the GitVfs object from?
Thanks,
Nish
More information about the git-buildpackage
mailing list