Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-06

FPC & Lazarus moving to gitlab

10 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Hello All,

The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage their source code and issue reports.

In order to lower maintenance of their own infrastructure, a hosted solution has been chosen, and an open source license was granted to the teams.

You can see the current progress at:

https://gitlab.com/freepascal.org

2 subgroups have been made:

https://gitlab.com/freepascal.org/fpc
https://gitlab.com/freepascal.org/lazarus-ide

Several testconversions of the SVN history to a Git repository have been done, with ever improving results. All repositories will be switched to git.

A program has been written to convert Mantis bug reports to Gitlab issues; it is very complete, and all available info will be converted. You can see (partial) conversion results on the above projects.

The date for the final conversion has been established as the weekend of 17/18 july. People that wish to report bugs after that will have to create a gitlab account in order to do so. (Those with a github account can normally also use that account to log in with gitlab, see the gitlab login page.)

The conversion program will attempt to convert existing bugs using the account of the new gitlab user. To map your gitlab user name (or ID) to the mantis user, we ask that you file an issue in the mantis project of the current bugtracker, assign it the category gitlab, and set the summary of the bugreport to your gitlab account name or ID number (not both!).

All accounts that can be collected in this manner by 17 july will be used in the final conversion.

All necessary information to connect to gitlab will be collected in the FPC & Lazarus Wiki. Several pages have already been set up:

https://wiki.freepascal.org/FPC_git
https://wiki.freepascal.org/FPC_git_concepts
https://wiki.freepascal.org/SVN_to_GIT_Cheatsheet

These pages will be updated with the correct URLS when the final conversion happens. The FPC & Lazarus websites will also be adapted with new instructions.

For the FPC & Lazarus teams,

Michael.

Reply by email

fpc-devel
to Michael Van Canneyt
Michael Van Canneyt wrote 18 lines
Hello All, The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage their source code and issue reports. In order to lower maintenance of their own infrastructure, a hosted solution has been chosen, and an open source license was granted to the teams. You can see the current progress at: https://gitlab.com/freepascal.org 2 subgroups have been made: https://gitlab.com/freepascal.org/fpc https://gitlab.com/freepascal.org/lazarus-ide

snip

Graeme will be happy finally :)

Keep up the good work guys!

AB

Reply by email

Bo Berglund
to Michael Van Canneyt: The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage…
Michael Van Canneyt wrote
The Free Pascal and Lazarus teams are in the process of switching to Gitlab to manage their source code and issue reports.

Does this mean that the sources will disappear from SVN?

I am using scripts to install FPC and Lazarus on new systems and these use svn co commands towards:
https://svn.freepascal.org/svn/fpc/tags/
https://svn.freepascal.org/svn/lazarus/tags/

where I pick up the released code based on the tag value and build off of them.

Will that have to change to git now?

(I don't use GIT anywhere and am unfamiliar with its commands and general behaviour....).

Bo Berglund Developer in Sweden

Reply by email

Martin Frb
to Bo Berglund
Bo Berglund wrote
Does this mean that the sources will disappear from SVN?

From the current svn => yes. afaik

Show quoted text 9 lines
I am using scripts to install FPC and Lazarus on new systems and these use svn co commands towards: https://svn.freepascal.org/svn/fpc/tags/ https://svn.freepascal.org/svn/lazarus/tags/ where I pick up the released code based on the tag value and build off of them. Will that have to change to git now?

Can you spot the tag name in the below?
The rest of the url will change once it is no longer a "test conversion"

https://gitlab.com/freepascal.org/lazarus/lazarus_test_conversion_2/-/archive/lazarus_2_0_12/lazarus_test_conversion_2-lazarus_2_0_12.tar.gz Also avail as zip.

No guarantees, but I expect that to keep working.
Of course you need to know the tag names.

There are 2 pages helping with using git.
Choose either one and stick with it. (if you try to use both, it will get confusing)
By the FPC team:  https://wiki.lazarus.freepascal.org/FPC_git By me:  https://wiki.lazarus.freepascal.org/SVN_to_GIT_Cheatsheet

I recommend on the long run to switch to git.

Reply by email

Bo Berglund
to Graeme Geldenhuys
Graeme Geldenhuys wrote 5 lines
On 04/07/2021 9:12 pm, Martin Frb via fpc-pascal wrote: > I recommend on the long run to switch to git. Once you switch, you'll never want to go back. ;-)

In fpc/lazaus I only ever use the svn repositories to *retrieve* the respective sources when installing the systems.

My question was really about the two source repositories: Will they be abandoned now and the only source retrieval is by way of GIT?

I am not intending ever to contribute, too low skill level for that, so no commit possibilities needed.

Bo Berglund Developer in Sweden

Reply by email

Michael Van Canneyt
to Bo Berglund
Bo Berglund wrote 14 lines
On Mon, 5 Jul 2021 19:17:35 +0100, Graeme Geldenhuys via fpc-pascal wrote: > On 04/07/2021 9:12 pm, Martin Frb via fpc-pascal wrote: >> I recommend on the long run to switch to git. > > Once you switch, you'll never want to go back. ;-) > In fpc/lazaus I only ever use the svn repositories to *retrieve* the respective sources when installing the systems. My question was really about the two source repositories: Will they be abandoned now and the only source retrieval is by way of GIT?

Yes.
If you only retrieve, there is little that will change.

Michael.

Reply by email

Sven Barth
to Florian Klämpfl
Florian Klämpfl wrote 5 lines
There is a third conversion of the FPF repository meanwhile (from June): https://gitlab.com/freepascal.org/fpc/testconversion3 <https://gitlab.com/freepascal.org/fpc/testconversion3> Please check and report any problems, this is most likely the last chance to get things fixed before the final conversion.

One thing I noticed while looking for something in the ancient history of FPC is that older user names don't seem to be matched up with the correct GitLab users, especially those that still commit today, like you, Florian (e.g. here
https://gitlab.com/freepascal.org/fpc/testconversion3/-/commit/454799c1bdbc6192cbce4b3eb01da6068da664b5 ), Jonas (e.g. here
https://gitlab.com/freepascal.org/fpc/testconversion3/-/commit/d840a1e2ef35266924c2acfb6c0a5e897c929e25 ) and some others. Would be nice if these would be matched correctly as well. :)

Regards,
Sven

Reply by email