Development:Switching Moodle main code repository to Git: Difference between revisions
From MoodleDocs
Line 1: | Line 1: | ||
== | ==Necessary changes on moodle.org servers== | ||
# stop automatic weekly tagging and daily version commits in CVS | # stop automatic weekly tagging and daily version commits in CVS | ||
# stop automatic cvs.moodle.org --> git.moodle.org export | # stop automatic cvs.moodle.org --> git.moodle.org export | ||
Line 12: | Line 12: | ||
# set up git commit hooks that push mirrors to Github and Gitorious from git.moodle.org (all 4 branches, we need to set up keys for the moodlerobot) | # set up git commit hooks that push mirrors to Github and Gitorious from git.moodle.org (all 4 branches, we need to set up keys for the moodlerobot) | ||
# set up git commit hook that triggers export to CVS commit mirror (all 4 branches, we need to tweak the PHP script and keys for CVS commit access) | # set up git commit hook that triggers export to CVS commit mirror (all 4 branches, we need to tweak the PHP script and keys for CVS commit access) | ||
# give git write access to sam, eloy, martin and skodak | # give git write access to sam, eloy, martin and skodak on git.moodle.org/moodle.git | ||
==Next steps== | |||
# set up QA git repo at git.moodle.org/qamoodle.git | |||
# give git write access to sam, eloy, martin and skodak on git.moodle.org/qamoodle.git |
Revision as of 07:30, 24 November 2010
Necessary changes on moodle.org servers
- stop automatic weekly tagging and daily version commits in CVS
- stop automatic cvs.moodle.org --> git.moodle.org export
- take away all CVS write access from main CVS moodle module at cvs.moodle.org (keep all contrib and lang modules unchanged) - only moodlerobot will have access
- make binary snapshot from git cvshead to CVS HEAD - override CVS checkout with files from current cvshead Git branch
- branch MOODLE_20_STABLE from HEAD in CVS
- tag 2.0 in CVS
- create new master branch from cvshead in git.moodle.org
- create new MOODLE_20_STABLE branch form master in git.moodle.org
- tag 2.0 in git.moodle.org
- delete old cvshead branch in Git (the master is the correct name now)
- set up git commit hooks that push mirrors to Github and Gitorious from git.moodle.org (all 4 branches, we need to set up keys for the moodlerobot)
- set up git commit hook that triggers export to CVS commit mirror (all 4 branches, we need to tweak the PHP script and keys for CVS commit access)
- give git write access to sam, eloy, martin and skodak on git.moodle.org/moodle.git
Next steps
- set up QA git repo at git.moodle.org/qamoodle.git
- give git write access to sam, eloy, martin and skodak on git.moodle.org/qamoodle.git