Difference between revisions of "Mediawiki subversion (SVN) to git migration"
From Biowikifarm Metawiki
(59 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ''' | + | '''The history of this page contains the details of the migration from mediawiki 1.18 svn to 1.20 git. The permanently relevant information has now been migrated to '''[[Mediawiki installation]]''' and '''[[Mediawiki maintenance]]'''. |
+ | |||
+ | ---- | ||
How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/ | How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/ | ||
− | + | Useful resources for understanding git checkout, head, detached head, --track: | |
− | + | * http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html | |
− | + | * http://developer.imagej.net/using-git | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ==Finding tags and branches== | |
− | + | HINT: to see available branches/tags: | |
+ | <syntaxhighlight lang="bash"> | ||
+ | git branch -r | sort --version-sort | ||
+ | git tag -l | sort --version-sort | ||
+ | </syntaxhighlight> | ||
− | + | OR: Example "Thanks" extension: | |
− | + | * https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=heads | |
− | + | * https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=tags | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ---- | |
− | + | ||
− | + | ||
− | + | <!-- internal memo: the command shell 1-line update loop was: | |
− | cd / | + | cd /usr/share/mediawiki20; sudo git pull; cd extensions; (for f in *; do cd "$f" && sudo git pull origin/master && cd ..; done); /usr/bin/svn update; |
− | + | --> |
Latest revision as of 06:05, 15 April 2013
The history of this page contains the details of the migration from mediawiki 1.18 svn to 1.20 git. The permanently relevant information has now been migrated to Mediawiki installation and Mediawiki maintenance.
How-to is here: https://www.mediawiki.org/wiki/Download_from_Git . Checking extensions: Which extensions previously obtained from WMF-Subversion (i.e. excluding those we have in local SVN) are Not in the following list of git-migrated mediawiki extensions? https://gerrit.wikimedia.org/r/#/admin/projects/
Useful resources for understanding git checkout, head, detached head, --track:
- http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html
- http://developer.imagej.net/using-git
Finding tags and branches
HINT: to see available branches/tags:
git branch -r | sort --version-sort
git tag -l | sort --version-sort
OR: Example "Thanks" extension:
- https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=heads
- https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Thanks.git;a=tags