I know the difference between the two. The question was, since in Moodle Docs one is replaced by the other, whether the old one is deprecated. I checked, the old method worked today. The question was, whether it'll work tomorrow.
Visvanath Ratnaweera
Posts made by Visvanath Ratnaweera
I noticed in the documentation starting with Moodle 5.1, the old tracking of branches is gone.
Up to https://docs.moodle.org/500/en/Git_for_Administrators#Obtaining_the_code_from_Git it was
$ cd /path/to/your/webroot $ git clone git://git.moodle.org/moodle.git (1) $ cd moodle $ git branch -a (2) $ git branch --track MOODLE_500_STABLE origin/MOODLE_500_STABLE (3) $ git checkout MOODLE_500_STABLE (4)
Starting from https://docs.moodle.org/501/en/Git_for_Administrators#Obtaining_the_code_from_Git it is:
$ git clone -b v5.1.0 https://github.com/moodle/moodle.git /path/to/your/moodle/storage/area
i.e. tag instead of branch. Here is the edit: https://docs.moodle.org/501/en/index.php?title=Git_for_Administrators&diff=154540&oldid=154295
Does that mean the old tracking of branches is deprecated.
Well, just now got a 5.2 with the old system - it worked. Will it also work in the forseeable future?
Happening regularly:

Posted it changing the browser. Then that browser started getting slower and slower, like 5-10 sec. response time. And finally sent me

Then came back to the original browser. The site is working! (How can I post otherwise?)
I question whether the site administrators write in the forums.
FYI
I had a Moodle 5.1 test installation on a Debian 13 LEMP machine. Ran Git upgrade, dropped and created the database. Next web visit picked up the installation script and the site came up. No symlinks.
Server > Environment reports "Composer installed data not found" and "Router not configured". That was expected. Didn't worry about those fir this quick test. We are still at 4.5 LTS!
Must say that the site is on a domain https://mdl.example.com/, no on a path https://example.com/mdl
I had a Moodle 5.1 test installation on a Debian 13 LEMP machine. Ran Git upgrade, dropped and created the database. Next web visit picked up the installation script and the site came up. No symlinks.
Server > Environment reports "Composer installed data not found" and "Router not configured". That was expected. Didn't worry about those fir this quick test. We are still at 4.5 LTS!
Must say that the site is on a domain https://mdl.example.com/, no on a path https://example.com/mdl
PHP is 8.3? That is the only common PHP for Moodle 4.5 and 5.2.