[fpc-devel] Plain tarballs

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Oct 13 22:44:36 CEST 2009


On 13/10/2009, Neil Graham <Lerc at screamingduck.com> wrote:
> Would it be possible to get plain tarballs of freepascal hosted on the
>  website?

You can get .tgz or .zip files from the Git mirror.

  http://github.com/graemeg/freepascal/downloads

Alternatively (seeing that I did not tag the 2.2 and 2.2.4 releases),
you can clone the Git repository (only needed once). You can then get
updates as you need them (git compresses all updates before they go
over the wire, so downloading updates are really small). You can then
ask git to generate _clean_ archives of your local git repository. Any
revision, any branch or any tag. Git generates plain tar files
(default archive format of 'git archive' command), but also supports
zip or tar.gz etc.. Here are a few examples of creating such archives:

generate a archive of the v2.0.2 tag (you can specify a revision too):

  $ git archive --prefix=fpc-2.0.2/ v2.0.2 --output=fpc-2.0.2.tar

resulting in a file named  fpc-2.0.2.tar. The source code inside the
tar archive will have a "fpc-2.0.2" directory as the root directory.

or

generates a archive of v2.0.2 branch and then gzip it:

  $ git archive --prefix=fpc-2.0.2/ v2.0.2 | gzip > fpc-2.0.2.tar.gz

resulting in a file named  fpc-2.0.2.tar.gz

or

generates a archive of v2.5.1 (trunk) branch and then zip it:

  $ git archive --format=zip --prefix=fpc-2.5.1/ HEAD --output=fpc-trunk.zip


You can then very easily maintain your own plain tarballs, and no need
to download huge archives every so many months.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list