On Thu, 9 Feb 2023 11:50:25 +0100, John Landmesser via lazarus <lazarus@lists.lazarus-ide.org> wrote:
> > ' old svn code: > > # svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > > new code ( git needs to be installed ) > > git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus > Thanks, I have been doing this: svn co https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER svn co https://svn.freepascal.org/svn/lazarus/tags/$LAZTAG/ $LAZVER where the variables have been preset to for example FPCTAG=release_3_2_0 FPCVER=3.2.0 LAZTAG=lazarus_2_0_12 LAZVER=2.0.12 I have made sure that only tagged (stable) releases are used in my script. This could also be formulated like this to disconnect from the source repository: svn export https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER My problem with git clone is that it will pull way to much from the repository, basically *all* that has happened up until today and it would also get me the live development sources, which I do not want. git clone makes the local store contain everything past and present, right? Is there a way use git to: - Only get a specific release tag (how do I find which tag to use) - Only get the actual sources without the overhead (AKA export) I have not used GIT for anything myself, we are on Subversion.... -- Bo Berglund Developer in Sweden -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus