Hi,
On Thu, Sep 20, 2018 at 06:17:47PM +0200, Andreas Beckmann wrote:
> Package: git-buildpackage
> Version: 0.9.10
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> in https://salsa.debian.org/anbe/git-buildpackage
> you can find two branches: features and fixes


> 
> In 'features' I've implemented two things:
> * %(version)s substitution for tarball-dir
> * preexport hooks that run before the tarballs get selected from the
>   tarball-dir (the hook can so some magic to bring the tarballs into
>   existence)
> These are at least proof-of-concept implementations, they may lack
> proper documentation etc.
> In 'fixes' are some issues fixed that I noticed while doing and testing
> the above ...

I've pulled in the fixes (cleaning up the commit messages a bit to match
gbp's pattern).

The preexport and version substitution stuff looks good as well and I'm
happy to pull it in if it gets tests and doc updates (as you suggested).
Only thing I'm unsure is if we really want version_to_tag here or just
replace the upstream version verbatim. With version_to_tag the
directories would need to be named like the debian tag instead of the
upsteam version. Was that your intend or was it just simpler to do?
Cheers,
 -- Guido

> 
> Luca and I have tested this a bit on the nvidia-graphics-drivers
> repository (which has large blobs in the tarballs and one component
> tarball per arch, for 3 supported architectures), and it seems to fit
> our wishes.
> 
> (We plan to have a git-lfs backed repository to archive all the
> tarballs, with one subdirectory per upstream version. Since this will
> get insanely large over time, we plan to have a sparsely checked out
> repository where only the upstream versions ever needed locally will be
> available locally. This needs the preexport hook to run a script (or
> just a special target in debian/rules) to fetch missing tarballs for the
> current version.)
> 
> 
> There is another branch 'anbe' that primarily contains the feature "use
> hardlinks instead of symlinks", which maybe should get a configuration
> option ... and a wishlist buf of its own.  (Since I tend to move around
> stuff, absolute symlinks frequently break ... and I usually keep my
> uploads for quite some time ... in an archive location.)
> 
> 
> Andreas
> 

Reply via email to