Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 1... Línea 1...
1
Instructions to import/update guzzle library into Moodle:
1
Instructions to import/update guzzle library into Moodle:
Línea 2... Línea 2...
2
 
2
 
3
Update guzzle promises library
-
 
4
1. Download the latest guzzle promises library from https://github.com/guzzle/promises
-
 
5
2. Copy the src directory to lib/guzzlehttp/promises folder
-
 
Línea -... Línea 3...
-
 
3
Update Guzzle and associated libraries.
6
3. Copy the associated files LICENCE, README.md etc. to promises directory
4
 
7
 
-
 
8
Update guzzle http library
5
```
9
1. Download the latest guzzlehttp library from https://github.com/guzzle/guzzle
6
installdir=`mktemp -d`
Línea -... Línea 7...
-
 
7
cd "$installdir"
-
 
8
composer require guzzlehttp/guzzle kevinrob/guzzle-cache-middleware
10
2. Copy the src directory to lib/guzzlehttp/guzzle folder
9
 
11
3. Copy the associated files LICENCE, README.md etc. to guzzle directory
10
cd -
12
 
11
rm -rf lib/guzzlehttp/guzzle lib/guzzlehttp/psr7 lib/guzzlehttp/promises lib/guzzlehttp/kevinrob/guzzlecache
13
Update guzzle psr-7 message implementation library
12
cp -rf "$installdir"/vendor/guzzlehttp/guzzle lib/guzzlehttp/guzzle
-
 
13
cp -rf "$installdir"/vendor/guzzlehttp/psr7 lib/guzzlehttp/psr7
Línea 14... Línea 14...
14
1. Download the latest psr-7 library from https://github.com/guzzle/psr7
14
cp -rf "$installdir"/vendor/guzzlehttp/promises lib/guzzlehttp/promises
15
2. Copy the src directory to lib/guzzlehttp/psr-7 folder
15
cp -rf "$installdir"/vendor/kevinrob/guzzle-cache-middleware lib/guzzlehttp/kevinrob/guzzlecache
-
 
16
rm -rf lib/guzzlehttp/kevinrob/guzzlecache/*.png
16
3. Copy the associated files LICENCE, README.md etc. to psr-7 directory
17
 
17
 
18
echo "See instructions in lib/guzzlehttp/readme_moodle.md" > lib/guzzlehttp/guzzle/readme_moodle.txt
-
 
19
echo "See instructions in lib/guzzlehttp/readme_moodle.md" > lib/guzzlehttp/promises/readme_moodle.txt
-
 
20
echo "See instructions in lib/guzzlehttp/readme_moodle.md" > lib/guzzlehttp/psr7/readme_moodle.txt
-
 
21
echo "See instructions in lib/guzzlehttp/readme_moodle.md" > lib/guzzlehttp/kevinrob/guzzlecache/readme_moodle.txt