Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread LacaK via fpc-pascal






It's like switching car brands from a VW to an Audi or so.
Some buttons are in different places, your key will maybe look
different,
but that's it. It's a car, it brings you from a to b.

It's not switching brands, it's switching the type of the car.
from a passenger i.e. to a bus.
It's still a car, but the concept is a little different.

A file version system manages versions of files.
The actual commands differ a little, but that's it.


The human psychology. There were no particular problems for anyone to 
use SVN.
It worked fine. So for the people it doesn't seem like an obvious 
reason for the change.
The change is not recognized by the brain as a needed change, as a 
cure of some sort.

Instead it's recognized as an unnecessary burden.


I must say that I have similar feelings.
No matter ...
I have related question: in SVN was possible to checkout specific 
sub-directory (for example if I am interested in fcl-db package only I 
checkedout only this sub-directory).
Is it possible with gitlab? Or I must clone whole 
https://gitlab.com/freepascal.org/fpc/source ?

Thanks ...
-Laco.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
On Thu, Aug 12, 2021 at 12:27 AM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> It's like switching car brands from a VW to an Audi or so.
> Some buttons are in different places, your key will maybe look different,
> but that's it. It's a car, it brings you from a to b.
>
It's not switching brands, it's switching the type of the car.
from a passenger i.e. to a bus.
It's still a car, but the concept is a little different.


> A file version system manages versions of files.
> The actual commands differ a little, but that's it.
>

The human psychology. There were no particular problems for anyone to use
SVN.
It worked fine. So for the people it doesn't seem like an obvious reason
for the change.
The change is not recognized by the brain as a needed change, as a cure of
some sort.
Instead it's recognized as an unnecessary burden.
(unlike switching from CVS to SVN)

The same is happening with kids at school. They don't recognize the new
knowledge as something useful.
Instead they still treat the school as a burden.
---
In the software we for some reason prefer to stick to "backwards
compatibility"
No matter how much it affects a project. (it's considered that retaining
backwards compatibility is a positive effect).
However the same concept doesn't apply to the infrastructure for some
reason.

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Michael Van Canneyt via fpc-pascal



On Wed, 11 Aug 2021, Bart via fpc-pascal wrote:


On Wed, Aug 11, 2021 at 11:37 PM Michael Van Canneyt via fpc-pascal
 wrote:


As a programmer, switching version systems should be a no-brainer.


My brain begs to differ...


Well, sorry to say, but I don't understand this.

What's so hard about it ?

It's like switching car brands from a VW to an Audi or so.
Some buttons are in different places, your key will maybe look different,
but that's it. It's a car, it brings you from a to b.

A file version system manages versions of files. 
The actual commands differ a little, but that's it.


Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
On Wed, Aug 11, 2021 at 5:37 PM Michael Van Canneyt via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> > why not to use Github mirror?
> Why not encourage people to go with the times ?
>
it might depend on the use of the version control.
Maybe there's a certain automation involved behind the scenes.
If it used to be configured for SVN then the only allowed kind of change is
the URL address.


> As a programmer, switching version systems should be a no-brainer.
>
amen

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread ezrashumla--- via fpc-pascal
j have a problem with 3.2.2  write and writeln  halts the program
 
 
 
-Original Message-
From: Dmitry Boyarintsev via fpc-pascal 
To: FPC-Pascal users discussions 
Cc: Dmitry Boyarintsev ; Bo Berglund 

Sent: Wed, Aug 11, 2021 11:57 pm
Subject: Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut 
down?

why not to use Github mirror?
svn co https://github.com/fpc/FPCSource/trunk 
or
svn co https://github.com/fpc/FPCSource/tags/$FPCTAG/ 


thanks,
Dmitry___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Bo Berglund via fpc-pascal
On Wed, 11 Aug 2021 23:38:23 +0200, Bart via fpc-pascal
 wrote:

>On Wed, Aug 11, 2021 at 11:37 PM Michael Van Canneyt via fpc-pascal
> wrote:
>
>> As a programmer, switching version systems should be a no-brainer.
>
>My brain begs to differ...

Thanks, then I am not alone


-- 
Bo Berglund
Developer in Sweden

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Bo Berglund via fpc-pascal
On Wed, 11 Aug 2021 22:22:54 +0200 (CEST), Michael Van Canneyt via fpc-pascal
 wrote:

># Get sources
>git clone https://gitlab.com/freepascal.org/fpc/source.git  $FPCVER
># switch to branch/tag
>cd $FPCVER
>git checkout $FPCTAG
>cd ..

How big a size is the git clone going to pull?

By the looks of it I get the impression that the git clone will download every
single tag/branch/commit etc ever done and then the git checkout activates the
actual tagged file set?
If this is correct then the size on disk will be too big.

Now as I said I have not used git and for my day use cannot switch because we
use properties of svn that are simply not available in git...

I *really* do not want to revert to getting fpc/lazarus from the distro manager
via apt and therefore be stuck with old code decided by someone else.


-- 
Bo Berglund
Developer in Sweden

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Bart via fpc-pascal
On Wed, Aug 11, 2021 at 11:37 PM Michael Van Canneyt via fpc-pascal
 wrote:

> As a programmer, switching version systems should be a no-brainer.

My brain begs to differ...


-- 
Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Michael Van Canneyt via fpc-pascal



On Wed, 11 Aug 2021, Dmitry Boyarintsev via fpc-pascal wrote:


why not to use Github mirror?


Why not encourage people to go with the times ?

Git is not some witchcraft or dark magic. It's only a version system.

As a programmer, switching version systems should be a no-brainer.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Dmitry Boyarintsev via fpc-pascal
why not to use Github mirror?

svn co https://github.com/fpc/FPCSource/trunk
or
svn co https://github.com/fpc/FPCSource/tags/$FPCTAG/



thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Michael Van Canneyt via fpc-pascal



On Wed, 11 Aug 2021, Bo Berglund via fpc-pascal wrote:


I have for many years been using an install script I wrote to install a complete
freepascal/lazarus dev environment on Raspberry Pi devices.

The script uses subversion to get the sources for fpc and lazarus via svn based
on the specific tags.
Then the script installs the needed dependencies and makes the complete
installation on Raspberry Pi boxes.

Now I have this probles:
- The fpc svn server has been shut down so the source retrieval does not work

Please advice how to:
1) Find which is the latest release tag of fpc and lazarus
2) Retrieve the full sources for that tag on the command line from gitlab

(I do not need the sources to be "live", I can use an export that cannot be
updated because I am not participating in developing either tool.
But it must be something that can be incorporated in a script and run
unattended.)




As soon as I have the sources I believe the rest of my script will work just
fine...

I have used these lines in my script to accomplish the retrieval (with script
variables holding target location, tag and version):

echo "Downloading version $FPCVER of FPC"
cd "$FPCDIR"
svn co https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER


# Get sources
git clone https://gitlab.com/freepascal.org/fpc/source.git  $FPCVER
# switch to branch/tag
cd $FPCVER
git checkout $FPCTAG
cd ..



echo "Downloading version $LAZVER of Lazarus"
cd "$LAZDIR"
svn co https://svn.freepascal.org/svn/lazarus/tags/$LAZTAG/ $LAZVER



# Get sources
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git  $LAZVER
# switch to branch/tag
cd $LAZVER
git checkout $LAZTAG
cd ..

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

2021-08-11 Thread Bo Berglund via fpc-pascal
I have for many years been using an install script I wrote to install a complete
freepascal/lazarus dev environment on Raspberry Pi devices.

The script uses subversion to get the sources for fpc and lazarus via svn based
on the specific tags.
Then the script installs the needed dependencies and makes the complete
installation on Raspberry Pi boxes.

Now I have this probles:
- The fpc svn server has been shut down so the source retrieval does not work

Please advice how to:
1) Find which is the latest release tag of fpc and lazarus
2) Retrieve the full sources for that tag on the command line from gitlab

(I do not need the sources to be "live", I can use an export that cannot be
updated because I am not participating in developing either tool.
But it must be something that can be incorporated in a script and run
unattended.)

As soon as I have the sources I believe the rest of my script will work just
fine...

I have used these lines in my script to accomplish the retrieval (with script
variables holding target location, tag and version):

echo "Downloading version $FPCVER of FPC"
cd "$FPCDIR"
svn co https://svn.freepascal.org/svn/fpc/tags/$FPCTAG/ $FPCVER

echo "Downloading version $LAZVER of Lazarus"
cd "$LAZDIR"
svn co https://svn.freepascal.org/svn/lazarus/tags/$LAZTAG/ $LAZVER


What could I replace these svn co (or svn export) calls with?

All of my developing is versioned via subversion so I know next to nothing about
git...


-- 
Bo Berglund
Developer in Sweden

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal