Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/404807 )

Change subject: branch.py: Fix all kinds of egregious errors
......................................................................

branch.py: Fix all kinds of egregious errors

Change-Id: I8104d170ecc988aff9c752b63a7051aced18885d
---
M make-release/branch.py
M make-release/make-release.yaml
2 files changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/release 
refs/changes/07/404807/1

diff --git a/make-release/branch.py b/make-release/branch.py
index 53a7733..0112714 100755
--- a/make-release/branch.py
+++ b/make-release/branch.py
@@ -12,7 +12,7 @@
 import sys
 import tempfile
 
-from requests.auth import HTTPDigestAuth
+from requests.auth import HTTPBasicAuth
 from requests.exceptions import HTTPError
 
 import yaml
@@ -27,7 +27,7 @@
     """Get the client for making requests."""
     return GerritRestAPI(
         url=CONFIG['base_url'],
-        auth=HTTPDigestAuth(CONFIG['username'], CONFIG['password']))
+        auth=HTTPBasicAuth(CONFIG['username'], CONFIG['password']))
 
 
 def get_branchpoint(branch, repository, default):
@@ -41,6 +41,7 @@
     """Create a branch for a given repo."""
     # If we've got a sub-submodule we care about, branch it first so we can
     # do some magic stuff
+    repository = 'mediawiki/{}'.format(repository)
     try:
         subrepo = CONFIG['sub_submodules'][repository]
         create_branch(subrepo, branch, revision)
diff --git a/make-release/make-release.yaml b/make-release/make-release.yaml
index 8af0605..c66da15 100644
--- a/make-release/make-release.yaml
+++ b/make-release/make-release.yaml
@@ -1,5 +1,5 @@
 # vim: set et ts=4 sw=4: -*- mode: yaml-mode; yaml-indent-offset: 4 -*-
-clone_base: https://gerrit.wikimedia.org/r/mediawiki
+base_url: https://gerrit.wikimedia.org/r/
 bundles:
     base:
         - extensions/Cite

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8104d170ecc988aff9c752b63a7051aced18885d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/release
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>

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

Reply via email to