Skip to content

Commit bdd2ebb

Browse files
committed
Update Moodle and update script
1 parent 9f3ca91 commit bdd2ebb

File tree

2 files changed

+116
-1
lines changed

2 files changed

+116
-1
lines changed

update.sh

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
#!/bin/bash
2+
3+
git submodule update --recursive --init
4+
git submodule sync
5+
6+
pushd html/moodle2
7+
git checkout master
8+
git remote set-url origin [email protected]:projectestac/agora_moodle2.git
9+
popd
10+
pushd html/moodle2/auth/googleoauth2
11+
git checkout STABLE_26
12+
git remote set-url origin [email protected]:projectestac/moodle-auth_googleoauth2.git
13+
popd
14+
pushd html/moodle2/blocks/advices
15+
git checkout master
16+
git remote set-url origin [email protected]:projectestac/moodle-block_advices.git
17+
popd
18+
pushd html/moodle2/blocks/rgrade
19+
git checkout master
20+
git remote set-url origin [email protected]:imartel/Rgrade.git
21+
popd
22+
pushd html/moodle2/langpacks
23+
git checkout master
24+
git remote set-url origin [email protected]:projectestac/moodle-langpacks.git
25+
popd
26+
pushd html/moodle2/local/agora
27+
git checkout master
28+
git remote set-url origin [email protected]:projectestac/moodle-local_agora.git
29+
popd
30+
pushd html/moodle2/local/agora/mailer
31+
git checkout master
32+
git remote set-url origin [email protected]:projectestac/mailer.git
33+
popd
34+
pushd html/moodle2/local/bigdata
35+
git checkout master
36+
git remote set-url origin [email protected]:projectestac/moodle-local_bigdata.git
37+
popd
38+
pushd html/moodle2/local/oauth
39+
git checkout master
40+
git remote set-url origin [email protected]:projectestac/moodle-local_oauth.git
41+
popd
42+
pushd html/moodle2/mod/eoicampus
43+
git checkout master
44+
git remote set-url origin [email protected]:projectestac/moodle-mod_eoicampus.git
45+
popd
46+
pushd html/moodle2/mod/geogebra
47+
git checkout master
48+
git remote set-url origin [email protected]:projectestac/moodle-mod_geogebra.git
49+
popd
50+
pushd html/moodle2/mod/hotpot
51+
git checkout master
52+
git remote set-url origin [email protected]:gbateson/moodle-mod_hotpot.git
53+
popd
54+
pushd html/moodle2/mod/jclic
55+
git checkout master
56+
git remote set-url origin [email protected]:projectestac/moodle-mod_jclic.git
57+
popd
58+
pushd html/moodle2/mod/journal
59+
git checkout MOODLE_26_STABLE
60+
git remote set-url origin [email protected]:dmonllao/moodle-mod_journal.git
61+
popd
62+
pushd html/moodle2/mod/questionnaire
63+
git checkout MOODLE_26_STABLE
64+
git remote set-url origin [email protected]:projectestac/moodle-mod_questionnaire.git
65+
popd
66+
pushd html/moodle2/mod/qv
67+
git checkout master
68+
git remote set-url origin [email protected]:projectestac/moodle-mod_qv.git
69+
popd
70+
pushd html/moodle2/question/format/hotpot
71+
git checkout master
72+
git remote set-url origin [email protected]:gbateson/moodle-qformat_hotpot.git
73+
popd
74+
pushd html/moodle2/question/type/ddimageortext
75+
git checkout master
76+
git remote set-url origin [email protected]:moodleou/moodle-qtype_ddimageortext.git
77+
popd
78+
pushd html/moodle2/question/type/ddmarker
79+
git checkout master
80+
git remote set-url origin [email protected]:moodleou/moodle-qtype_ddmarker.git
81+
popd
82+
pushd html/moodle2/question/type/ddwtos
83+
git checkout master
84+
git remote set-url origin [email protected]:moodleou/moodle-qtype_ddwtos.git
85+
popd
86+
pushd html/moodle2/question/type/gapselect
87+
git checkout master
88+
git remote set-url origin [email protected]:moodleou/moodle-qtype_gapselect.git
89+
popd
90+
pushd html/moodle2/report/coursequotas
91+
git checkout master
92+
git remote set-url origin [email protected]:projectestac/moodle-report_coursequotas.git
93+
popd
94+
pushd html/moodle2/theme/xtec2
95+
git checkout master
96+
git remote set-url origin [email protected]:projectestac/moodle-theme_xtec2.git
97+
popd
98+
pushd html/wordpress
99+
git checkout master
100+
git remote set-url origin [email protected]:projectestac/agora_nodes.git
101+
popd
102+
pushd html/zikula2/modules/IWagendas
103+
git checkout master
104+
git remote set-url origin [email protected]:intraweb-modules13/IWagendas.git
105+
popd
106+
pushd html/zikula2/modules/IWdocmanager
107+
git checkout master
108+
git remote set-url origin [email protected]:intraweb-modules13/IWdocmanager.git
109+
popd
110+
pushd html/zikula2/modules/IWgroups
111+
git checkout master
112+
git remote set-url origin [email protected]:intraweb-modules13/IWgroups.git
113+
popd
114+
115+
git submodule foreach --recursive git pull

0 commit comments

Comments
 (0)