Re: mrtrix3 is "coming". Howto tests?
On Wed, 05 Sep 2018, Andreas Tille wrote:
> Hi Yaroslav,
> On Tue, Sep 04, 2018 at 07:51:52PM -0400, Yaroslav Halchenko wrote:
> > The interesting aspect is that upstream repo provides git submodule
> > testing/data . It is not that large - just 15 MB compressed but it
> > doesn't change frequently. There is two ways to handle it:
> > - "Lazy" me would love just to wrap it in the mrtrix3 source
> > package (not yet sure what will be "upstream source releases", I
> > am packaging straight from git). It would be super easy thanks to gbp
> > ability to include submodules (I do it for dcm2niix neurodebian pkg)
> > - Debian soul in me says "spend more time and generate one more
> > source/binary package which would be useless of the mrtrix3 context.
> > What do you think?
> I know there is some way to create pristine-tar from plain Git packaging.
> I'd be really happy if you would consider this since it enables other
> team members to rebuild the package with the workflow described in team
> policy.
I do not think pristine-tar would work with git submodules, thus
requiring a delta of the size of the testing/data .
gbp can be used to produce .orig.tar.gz and I have added
https://salsa.debian.org/med-team/mrtrix3/blob/debian/debian/gbp.conf
which instructs to package submodules as well, so anyone could generate
a new .orig.tgz for the new upload, and fetch from packages.d.o for an
existing version.
Is there a better way?
--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: