Development:Switching Moodle main code repository to Git: Difference between revisions
From MoodleDocs
No edit summary |
|||
Line 6: | Line 6: | ||
# stop automatic cvs.moodle.org --> git.moodle.org export | # stop automatic cvs.moodle.org --> git.moodle.org export | ||
=== | ===Set up git://git.moodle.org/integration.git=== | ||
# | # give write access to Sam, Petr, Eloy and Martin | ||
# configure Pull project to track this repo | |||
===Tweak git://git.moodle.org/moodle.git=== | ===Tweak git://git.moodle.org/moodle.git=== | ||
# give write access to Sam, Petr, Eloy and Martin | # give write access to Sam, Petr, Eloy and Martin | ||
# create new master branch from cvshead | # create new master branch from cvshead | ||
# delete old cvshead branch in Git (the master is the correct name now) | # delete old cvshead branch in Git (the master is the correct name now) | ||
=== | ===Sync CVS with Git=== | ||
# | # make binary snapshot from git cvshead to CVS HEAD - override CVS checkout with files from current cvshead Git branch | ||
===Next steps=== | ===Next steps=== | ||
* branch MOODLE_20_STABLE from HEAD in CVS | * branch MOODLE_20_STABLE from HEAD in CVS | ||
# 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) | |||
* create new MOODLE_20_STABLE branch form master in git | * create new MOODLE_20_STABLE branch form master in git | ||
* set up 3 QA moodle sites on top of the integration git repo | * set up 3 QA moodle sites on top of the integration git repo |
Revision as of 06:18, 14 December 2010
Necessary changes on moodle.org servers
Reconfigure CVS server
- stop automatic weekly tagging and daily version commits in CVS
- take away all CVS write access from main CVS moodle module at cvs.moodle.org (keep all contrib and lang modules unchanged) - only account Petr and Martin can commit manually
- stop automatic cvs.moodle.org --> git.moodle.org export
Set up git://git.moodle.org/integration.git
- give write access to Sam, Petr, Eloy and Martin
- configure Pull project to track this repo
Tweak git://git.moodle.org/moodle.git
- give write access to Sam, Petr, Eloy and Martin
- create new master branch from cvshead
- delete old cvshead branch in Git (the master is the correct name now)
Sync CVS with Git
- make binary snapshot from git cvshead to CVS HEAD - override CVS checkout with files from current cvshead Git branch
Next steps
- branch MOODLE_20_STABLE from HEAD in CVS
- 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)
- create new MOODLE_20_STABLE branch form master in git
- set up 3 QA moodle sites on top of the integration git repo
- create some workflow for amosbot commit requests into /install/xx/
Already done
- create PULL project for requests