← Back to team overview

kicad-developers team mailing list archive

Re: Can the -rc tar be made available on launchpad?

 

Am 01.06.18 um 21:18 schrieb Steven A. Falco:
I am starting to look at packaging KiCad 5.0.0 for Fedora.  I can
download source tars from the 4.X series using URLs like: >
https://code.launchpad.net/kicad/4.0/4.0.0-rc2/+download/kicad-4.0.0-rc2.tar.xz

However, if I try this with 5.0, I get an error:

https://code.launchpad.net/kicad/5.0/5.0.0-rc2/+download/kicad-5.0.0-rc2.tar.xz

Is there a way to download the -rc2 tar?  I know I can clone the
master branch, but I'm looking for a way to grab the tar, since that
is what the Fedora build process tends to want.
git-archive is your friend so no need to wait an anything

$ git config --global tar.tar.xz.command "xz -c"
$ git archive --format=tar.xz --output ~/Downloads/kicad-5.0.0-rc2.tar.xz 5.0.0-rc2

That's all.

--
Regards
Carsten


References