Siebrand has uploaded a new change for review. https://gerrit.wikimedia.org/r/120798
Change subject: Revive NOCC. Yay! ...................................................................... Revive NOCC. Yay! Change-Id: I7127f088c91563139e9144bb189266eb16c5e19e --- M REPOCONF M REPOCONF.siebrand M bin/EXTERNAL-PROJECTS M bin/repocommit M bin/repocreate M bin/repoexport M bin/repoupdate R groups/Nocc/Nocc.yaml R groups/Nocc/README 9 files changed, 26 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/98/120798/1 diff --git a/REPOCONF b/REPOCONF index f9272bc..f4a2aea 100644 --- a/REPOCONF +++ b/REPOCONF @@ -26,6 +26,7 @@ REPO_MIFOS=git://github.com/openMF/community-app.git REPO_MWLIB=git://github.com/pediapress/mwlib.git REPO_MWLIBRL=git://github.com/pediapress/mwlib.rl.git +REPO_NOCC=https://svn.code.sf.net/p/nocc/code/trunk REPO_OKAWIX=svn://svn.code.sf.net/p/okawix/code/trunk/okawix/chrome/locale REPO_OPENIMAGES=https://scm.mmbase.org/openimages/trunk/src/main/native2ascii/eu/openimages REPO_OSM=git://git.openstreetmap.org/rails.git diff --git a/REPOCONF.siebrand b/REPOCONF.siebrand index de52795..7044332 100644 --- a/REPOCONF.siebrand +++ b/REPOCONF.siebrand @@ -27,6 +27,7 @@ [email protected]:openMF/community-app.git [email protected]:pediapress/mwlib.git [email protected]:pediapress/mwlib.rl.git +REPO_NOCC=svn+ssh://[email protected]/p/nocc/code/trunk REPO_OKAWIX=svn+ssh://[email protected]/p/okawix/code/trunk/okawix/chrome/locale REPO_OSM=ssh://[email protected]/var/lib/git/rails.git [email protected]:systemed/potlatch2.git diff --git a/bin/EXTERNAL-PROJECTS b/bin/EXTERNAL-PROJECTS index 2c4d14a..01bafe1 100644 --- a/bin/EXTERNAL-PROJECTS +++ b/bin/EXTERNAL-PROJECTS @@ -16,6 +16,7 @@ mathjax mifos mwlib +nocc okawix osm vicuna diff --git a/bin/repocommit b/bin/repocommit index 88f6f43..54a785c 100755 --- a/bin/repocommit +++ b/bin/repocommit @@ -174,6 +174,13 @@ svn commit --message "$COMMITMSG" cd .. +elif [ "$PROJECT" = "nocc" ] +then + cd $PROJECT + svn add --force * --auto-props --parents --depth infinity -q + svn commit --message "$COMMITMSG" + cd .. + elif [ "$PROJECT" = "openimages" ] then cd $PROJECT diff --git a/bin/repocreate b/bin/repocreate index a3316b2..b749577 100755 --- a/bin/repocreate +++ b/bin/repocreate @@ -199,6 +199,13 @@ fi git clone "$REPO_MWLIBRL" mwlib.rl +elif [ "$PROJECT" = "nocc" ] +then + if [ -z "$REPO_NOCC" ] + then echo "Add $REPO_NOCC to REPOCONF"; exit 1 + fi + svn checkout "$REPO_NOCC" $PROJECT + elif [ "$PROJECT" = "okawix" ] then if [ -z "$REPO_OKAWIX" ] diff --git a/bin/repoexport b/bin/repoexport index 41de8fd..9db7bb7 100755 --- a/bin/repoexport +++ b/bin/repoexport @@ -134,6 +134,11 @@ export PYTHONPATH=/usr/local/lib/python:$DIR/mwlib/ echo $CODES | xargs -n1 python make_messages.py +elif [ "$PROJECT" = "nocc" ] +then + php "$EXPORTER" --target . --group=out-nocc-* --lang '*' --skip en,qqq $THRESHOLD + php "$EXPORTER" --target . --group=out-nocc-* --lang qqq + elif [ "$PROJECT" = "okawix" ] then php "$EXPORTER" --target . --group=out-okawix-* --lang '*' --skip en,qqq $THRESHOLD diff --git a/bin/repoupdate b/bin/repoupdate index b867455..58930f8 100755 --- a/bin/repoupdate +++ b/bin/repoupdate @@ -210,6 +210,10 @@ gitupdate "mwlib.rl" +elif [ "$PROJECT" = "nocc" ] +then + svn up -q $PROJECT + elif [ "$PROJECT" = "okawix" ] then svn up -q $PROJECT diff --git a/groups/archive/Nocc/Nocc.yaml b/groups/Nocc/Nocc.yaml similarity index 100% rename from groups/archive/Nocc/Nocc.yaml rename to groups/Nocc/Nocc.yaml diff --git a/groups/archive/Nocc/README b/groups/Nocc/README similarity index 100% rename from groups/archive/Nocc/README rename to groups/Nocc/README -- To view, visit https://gerrit.wikimedia.org/r/120798 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7127f088c91563139e9144bb189266eb16c5e19e Gerrit-PatchSet: 1 Gerrit-Project: translatewiki Gerrit-Branch: master Gerrit-Owner: Siebrand <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
