Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/77687


Change subject: Change for pywikipediabot migration to Git/Gerrit
......................................................................

Change for pywikipediabot migration to Git/Gerrit

Change-Id: Ibfa24880e7e1c66bc30ee2380ef11b589c46e5f1
---
M REPOCONF
M bin/repocommit
M bin/repocreate
M bin/repoupdate
4 files changed, 4 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/87/77687/1

diff --git a/REPOCONF b/REPOCONF
index 1ee683e..e351d7d 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -31,7 +31,7 @@
 
REPO_OPENIMAGES=https://scm.mmbase.org/openimages/trunk/src/main/native2ascii/eu/openimages
 REPO_OSM=git://git.openstreetmap.org/rails.git
 REPO_POTLATCH2=git://github.com/systemed/potlatch2.git
-REPO_PYWIKIPEDIA=https://svn.wikimedia.org/svnroot/pywikipedia/branches/rewrite/scripts/i18n
+REPO_PYWIKIPEDIA=https://gerrit.wikimedia.org/r/p//pywikibot/i18n.git
 REPO_SHAPADO=git://gitorious.org/shapado/shapado.git
 REPO_TOOLSERVER=git://github.com/Krinkle/TsIntuition.git
 REPO_VICUNA=git://github.com/yarl/vicuna.git
diff --git a/bin/repocommit b/bin/repocommit
index 65a4d73..2f60308 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -40,6 +40,7 @@
 kiwix \
 mantis \
 mifos \
+pywikipedia \
 shapado \
 toolserver \
 vicuna \
@@ -179,13 +180,6 @@
        git add .
        git commit -m "$COMMITMSG"
        git push
-       cd ..
-
-elif [ "$PROJECT" = "pywikipedia" ]
-then
-       cd $PROJECT
-       svn propset -q svn:eol-style native *.py
-       svn commit --message "$COMMITMSG"
        cd ..
 
 elif [ "$PROJECT" = "wikiblame" ]
diff --git a/bin/repocreate b/bin/repocreate
index 2633938..3a32028 100755
--- a/bin/repocreate
+++ b/bin/repocreate
@@ -262,7 +262,7 @@
        if [ -z "$REPO_PYWIKIPEDIA" ]
        then echo "Add REPO_PYWIKIPEDIA to REPOCONF"; exit 1
        fi
-       svn checkout "$REPO_PYWIKIPEDIA" $PROJECT
+       git clone "$REPO_PYWIKIPEDIA" $PROJECT
 
 elif [ "$PROJECT" = "shapado" ]
 then
diff --git a/bin/repoupdate b/bin/repoupdate
index 6e345e2..ac1e868 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -35,6 +35,7 @@
 jquery.uls \
 kiwix \
 mifos \
+pywikipedia \
 shapado \
 toolserver \
 vicuna \
@@ -250,10 +251,6 @@
 then
        gitupdate "$PROJECT"
        gitupdate "potlatch2"
-
-elif [ "$PROJECT" = "pywikipedia" ]
-then
-       svn up $PROJECT
 
 elif [ "$PROJECT" = "wikia" ]
 then

-- 
To view, visit https://gerrit.wikimedia.org/r/77687
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfa24880e7e1c66bc30ee2380ef11b589c46e5f1
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to