hgweb: add conduit-testing parent repo (Bug 1673614) r=sheehan
authorZeid Zabaneh <zeid@mozilla.com>
Tue, 27 Oct 2020 14:10:19 +0000
changeset 7627 84ee677ce98684f17b4ee12d068108387211f014
parent 7626 db4a0fb8baa9fe2379ae6502ba230f6d26954e09
child 7628 5f9a821fae878b68e78be5d072f6953439964ffb
push id3804
push userzzabaneh@mozilla.com
push dateTue, 27 Oct 2020 14:26:29 +0000
treeherderversion-control-tools@84ee677ce986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssheehan
bugs1673614
hgweb: add conduit-testing parent repo (Bug 1673614) r=sheehan Differential Revision: https://phabricator.services.mozilla.com/D94836
hgtemplates/gitweb_mozilla/index.tmpl
hgwsgi/conduit-testing/hgweb.config
hgwsgi/conduit-testing/hgweb.wsgi
--- a/hgtemplates/gitweb_mozilla/index.tmpl
+++ b/hgtemplates/gitweb_mozilla/index.tmpl
@@ -46,16 +46,20 @@
         <td><a href="/build">build</a></td>
         <td>Build team projects</td>
     </tr>
     <tr>
         <td><a href="/ci">ci</a></td>
         <td>Firefox CI related repositories</td>
     </tr>
     <tr>
+        <td><a href="/conduit-testing">conduit-testing</a></td>
+        <td>Test repos that integrate with lower environments</td>
+    </tr>
+    <tr>
         <td><a href="/experimental">experimental</a></td>
         <td>Playground for version control wizards</td>
     </tr>
     <tr>
         <td><a href="/hgcustom">hgcustom</a></td>
         <td>Mercurial customizations</td>
     </tr>
     <tr>
new file mode 100644
--- /dev/null
+++ b/hgwsgi/conduit-testing/hgweb.config
@@ -0,0 +1,6 @@
+[web]
+style = gitweb_mozilla
+baseurl = https://hg.mozilla.org/conduit-testing
+
+[paths]
+/ = /repo/hg/mozilla/conduit-testing/*
new file mode 100644
--- /dev/null
+++ b/hgwsgi/conduit-testing/hgweb.wsgi
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+import os
+
+OUR_DIR = os.path.normpath(os.path.dirname(__file__))
+with open(os.path.join(OUR_DIR, '..', 'bootstrap.py')) as f:
+    exec(f.read())
+
+application = make_application(OUR_DIR)