jenkins-bot has submitted this change and it was merged.

Change subject: Add commit hook when cloning an RW repo for pywikipedia
......................................................................


Add commit hook when cloning an RW repo for pywikipedia

Change-Id: I12fa47cdea99a2ea56082b7157f05a8c02b189e1
---
M bin/repocreate
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/repocreate b/bin/repocreate
index 3a32028..624dcf8 100755
--- a/bin/repocreate
+++ b/bin/repocreate
@@ -263,6 +263,13 @@
        then echo "Add REPO_PYWIKIPEDIA to REPOCONF"; exit 1
        fi
        git clone "$REPO_PYWIKIPEDIA" $PROJECT
+       if [ "$REPO_RW" = "yes" ]
+       then
+               git config user.name 'Translation updater bot'
+               git config user.email '[email protected]'
+               git config gitreview.username 'l10n-bot'
+               git review -s
+       fi
 
 elif [ "$PROJECT" = "shapado" ]
 then

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I12fa47cdea99a2ea56082b7157f05a8c02b189e1
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to