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

Change subject: Allow uppercase in diffusion repo names
......................................................................


Allow uppercase in diffusion repo names

The prior assumption that repo names will only ever be in lower case is
invalid. See https://phabricator.wikimedia.org/diffusion/LTZB/ as an
example.

Bug: T151409
Change-Id: I44f0701330e40b7ea1ec8ba31746e8d0da2429be
---
M striker/tools/urls.py
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/striker/tools/urls.py b/striker/tools/urls.py
index 2ceaf90..9062c3d 100644
--- a/striker/tools/urls.py
+++ b/striker/tools/urls.py
@@ -22,7 +22,7 @@
 
 
 TOOL = r'(?P<tool>[_a-z][-0-9_a-z]*)'
-REPO = r'(?P<repo>[_a-z][-0-9_a-z]*)'
+REPO = r'(?P<repo>[_a-zA-Z][-0-9_a-zA-Z]*)'
 
 urlpatterns = [
     urls.url(r'^$', 'striker.tools.views.index', name='index'),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I44f0701330e40b7ea1ec8ba31746e8d0da2429be
Gerrit-PatchSet: 1
Gerrit-Project: labs/striker
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>
Gerrit-Reviewer: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to