Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Git Migration.

Obsolete:Git Migration: Difference between revisions

From MoodleDocs
(adding tutorials and reference)
Line 29: Line 29:
= Git tutorials and reference =
= Git tutorials and reference =
Here is a list of usefule tutorials and reference links for Git.
Here is a list of usefule tutorials and reference links for Git.
* [http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html gitcvs-migration - git for CVS users]
* [http://www.kernel.org/pub/software/scm/git/docs/gitcvs-migration.html gitcvs-migration - git for CVS users]
* [http://git.or.cz/course/svn.html Git - SVN Crash Course]
* [http://git.or.cz/course/svn.html Git - SVN Crash Course]
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]
* [http://www.kernel.org/pub/software/scm/git/docs/everyday.html Everyday GIT With 20 Commands Or So]
* [http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html gittutorial - A tutorial introduction to git]
* [http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html gittutorial - A tutorial introduction to git]
* [http://www.kernel.org/pub/software/scm/git/docs/user-manual.html Git User's Manual]
* [http://www.kernel.org/pub/software/scm/git/docs/user-manual.html Git User's Manual]
* [http://www.kernel.org/pub/software/scm/git/docs/howto-index.html GIT Howto Index]
* [http://www.kernel.org/pub/software/scm/git/docs/howto-index.html GIT Howto Index]


= Other interesting links =
= Other interesting links =

Revision as of 07:40, 26 June 2008

Proposal to move Moodle development from CVS to Git

There have been discussions to abandon CVS as the main version tracking system, to move to a distributed system instead. Many developers have expressed their interest for Git. A discussion is taking place in moodle.org forums about a possible move to Git and contains a lot of information.

Some other systems have also been mentioned, such as Mercurial.

Git and human usage

  • A lot of people need an easy interface to the revision system. Most of them are currently using TortoiseCVS (a lot of translators, it seems). There is no tool (as of late June 2008) for Git that is equivalent in ease of use to TortoiseCVS, though qgit (said to be running flawlessly on Windows) and git-cola are improving. In the meantime, people could use a CVS gateway, which would need to work both ways (read & write), to give people time to change over once proper tools become available.
  • Developers using Eclipse, NetBeans, and most other major IDEs need to wait for plugins. There is a proposal, which is aiming to provide a pure-Java implementation along with an Eclipse plugin and should lead to support at least in the Java-based IDEs, but this is still not ready for prime time (June 2008).
  • VCSCommand plugin for Vim now supports Git.
  • Some users are using CVS mirrors to deploy (and update) their site. Can't break this. A read-only CVS gateway could be a good working solution to this.

Git and server-side tool integration

The way to go for developers who want it now

It's possible to use Git right now, to track

  • Follow instructions on the "Tracking Moodle CVS with git" page
  • Use git-cvsexportcommit to commit to Moodle CVS
  • Wait until the next refresh (5h30 am, New Zealand time) to get the patch back into your local Git repository

Git tutorials and reference

Here is a list of usefule tutorials and reference links for Git.

Other interesting links