It's not working correctly.
Running it ends with:
- Code: Select all
error: The requested URL returned error: 403
fatal: Couldn't find remote ref master
Here you have the full output:
- Code: Select all
redi:~/ojs/source/versions# ./checkout.sh marcbria ojs ojs-2.4-redi-trad-v02
Initialized empty Git repository in /home/ojs/source/versions/ojs-2.4-redi-trad-v02/.git/
Enter passphrase for key '/root/.ssh/id_rsa':
remote: Counting objects: 168174, done.
remote: Compressing objects: 100% (29951/29951), done.
remote: Total 168174 (delta 119367), reused 166527 (delta 118126)
Receiving objects: 100% (168174/168174), 45.17 MiB | 259 KiB/s, done.
Resolving deltas: 100% (119367/119367), done.
Checking out files: 100% (5943/5943), done.
Initializing submodules...
Submodule 'lib/pkp' (git@github.com:marcbria/pkp-lib.git) registered for path 'lib/pkp'
Submodule 'plugins/importexport/duracloud/lib/DuraCloud-PHP' (git@github.com:asmecher/DuraCloud-PHP) registered for path 'plugins/importexport/duracloud/lib/DuraCloud-PHP'
Initialized empty Git repository in /home/ojs/source/versions/ojs-2.4-redi-trad-v02/lib/pkp/.git/
Enter passphrase for key '/root/.ssh/id_rsa':
remote: Counting objects: 43937, done.
remote: Compressing objects: 100% (11928/11928), done.
remote: Total 43937 (delta 30742), reused 43433 (delta 30291)
Receiving objects: 100% (43937/43937), 14.32 MiB | 175 KiB/s, done.
Resolving deltas: 100% (30742/30742), done.
Enter passphrase for key '/root/.ssh/id_rsa':
Submodule path 'lib/pkp': checked out '24934a2300644b319492a449b231a88aad07a166'
Initialized empty Git repository in /home/ojs/source/versions/ojs-2.4-redi-trad-v02/plugins/importexport/duracloud/lib/DuraCloud-PHP/.git/
Enter passphrase for key '/root/.ssh/id_rsa':
remote: Counting objects: 63, done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 63 (delta 28), reused 6 (delta 2)
Receiving objects: 100% (63/63), 24.29 KiB, done.
Resolving deltas: 100% (28/28), done.
Enter passphrase for key '/root/.ssh/id_rsa':
Submodule path 'plugins/importexport/duracloud/lib/DuraCloud-PHP': checked out '31a1192887b7ff70a058ead1353f49be7246dccf'
patching file .gitmodules
Configuring submodule remote...
Switched to branch "master"
error: The requested URL returned error: 403
fatal: Couldn't find remote ref master
Meanwhile, I tried to get the code directly with:
1) At github, branch OJS and PKP-LIB repos
2) Then to checkout the OJS 2.4 stable branch locally:
- Code: Select all
$ git clone git@github.com:marcbria/ojs.git
$ git checkout origin/ojs-stable-2_4
$ cd lib/pkp
$ git clone git@github.com:marcbria/pkp-lib.git
$ git checkout origin/ojs-stable-2_4
Alec, do you think this is enough to get the last stable OJS release?
Thanks for your help,
m.
