Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Switching Moodle main code repository to Git: Difference between revisions

From MoodleDocs
No edit summary
Line 2: Line 2:
# stop automatic weekly tagging and daily version commits in CVS
# stop automatic weekly tagging and daily version commits in CVS
# take aways all CVS write access from main CVS moodle module at cvs.moodle.org (keep all contrib and lang modules unchanged)
# take aways all CVS write access from main CVS moodle module at cvs.moodle.org (keep all contrib and lang modules unchanged)
# sync git cvshead with CVS HEAD - override CVS checkout with files from current cvshead Git branch, wait for update and fix any potential problems
# stop automatic cvs.moodle.org --> git.moodle.org sync
# stop automatic cvs.moodle.org --> git.moodle.org sync
# make binary git snapshot from git cvshead to CVS HEAD - override CVS checkout with files from current cvshead Git branch
# branch MOODLE_20_STABLE from CVS HEAD
# branch MOODLE_20_STABLE from CVS HEAD
# tag 2.0 in CVS
# tag 2.0 in CVS

Revision as of 06:56, 24 November 2010

Changes on moodle.org servers

  1. stop automatic weekly tagging and daily version commits in CVS
  2. take aways all CVS write access from main CVS moodle module at cvs.moodle.org (keep all contrib and lang modules unchanged)
  3. stop automatic cvs.moodle.org --> git.moodle.org sync
  4. make binary git snapshot from git cvshead to CVS HEAD - override CVS checkout with files from current cvshead Git branch
  5. branch MOODLE_20_STABLE from CVS HEAD
  6. tag 2.0 in CVS
  7. create new master branch from cvshead in git.moodle.org
  8. create new MOODLE_20_STABLE branch form master
  9. tag 2.0 in Git repo
  10. delete old cvshead branch in Git (the master is the correct name now)
  11. set up git commit hooks that push mirrors to Github and Gitorious (all 4 branches, we need to set up keys for the moodlerobot)
  12. set up git commit hook that triggers export to CVS commit mirror (all 4 branches)