0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

fix bootstrap-without-vcs.patch

This commit is contained in:
Malte Jürgens 2023-03-15 17:42:35 +01:00
parent 2a64d2e22e
commit 9801c02821
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 19 additions and 4 deletions

View file

@ -76,15 +76,30 @@
--- a/third_party/python/mozilla_repo_urls/mozilla_repo_urls/parser.py
+++ b/third_party/python/mozilla_repo_urls/mozilla_repo_urls/parser.py
@@ -9,7 +9,7 @@ for i, platform in enumerate(ADDITIONAL_PLATFORMS):
@@ -9,22 +9,7 @@ for i, platform in enumerate(ADDITIONAL_PLATFORMS):
giturlparse.platforms.PLATFORMS.insert(i, platform)
-_SUPPORTED_PLATFORMS = ("hgmo", "github")
+_SUPPORTED_PLATFORMS = ("hgmo", "github", "gitlab")
-
-
-SUPPORTED_HOSTS = tuple(
- sorted(
- [
- host
- for domains in [
- platform[1].DOMAINS
- for platform in giturlparse.platforms.PLATFORMS
- if platform[0] in _SUPPORTED_PLATFORMS
- ]
- for host in domains
- ]
- )
-)
+SUPPORTED_HOSTS = ("hg.mozilla.org", "github.com", "gitlab.com")
SUPPORTED_HOSTS = tuple(
def parse(url_string):
--- a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
+++ b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
@@ -495,6 +495,64 @@ class GitRepository(Repository):

View file

@ -1 +1 @@
1
2