1 |
efrain |
1 |
Description of phpCAS import into Moodle
|
|
|
2 |
|
|
|
3 |
Last release can be found at https://github.com/apereo/phpCAS/releases
|
|
|
4 |
|
|
|
5 |
NOTICE:
|
|
|
6 |
* Before running composer command, make sure you have the composer version updated.
|
|
|
7 |
* Composer version 2.2.4 2022-01-08 12:30:42
|
|
|
8 |
|
|
|
9 |
STEPS:
|
|
|
10 |
* Make sure you're using the lowest supported PHP version for the given release (e.g. PHP 7.4 for Moodle 4.1)
|
|
|
11 |
* Create a temporary folder outside your Moodle installation
|
|
|
12 |
* Execute 'composer require apereo/phpcas:VERSION'
|
|
|
13 |
* Check any new libraries that have been added and make sure they do not exist in Moodle already.
|
|
|
14 |
* Remove the old 'vendor' directory in auth/cas/CAS/
|
|
|
15 |
* Copy contents of 'vendor' directory
|
|
|
16 |
* Create a commit with only the library changes.
|
|
|
17 |
- Note: Make sure to check the list of unversioned files and add any new files to the staging area.
|
|
|
18 |
* Update auth/cas/thirdpartylibs.xml
|
|
|
19 |
* Apply the modifications described in the CHANGES section
|
|
|
20 |
* Create another commit with the previous two steps of changes
|
|
|
21 |
|
|
|
22 |
CHANGES:
|
|
|
23 |
* Remove all the hidden folders and files in vendor/apereo/phpcas/ (find . -name ".*"):
|
|
|
24 |
- .codecov.yml
|
|
|
25 |
- .gitattributes
|
|
|
26 |
- .github
|