summaryrefslogtreecommitdiff
path: root/app-admin/scout/files/scout-0.5.0-git-subdomain.patch
blob: 6bed34f0f8ab4fcba27e892b5933dca37002bb57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- a/etc/hedronfire.conf.example
+++ b/etc/hedronfire.conf.example
@@ -5,5 +5,5 @@
 location = /var/db/repos/hedronfire
 auto-sync = yes
 sync-type = git
-sync-uri = https://www.hedronfire.com/git/hedronfire.git
+sync-uri = https://git.hedronfire.com/hedronfire.git
 priority = 15
--- a/etc/srcux.conf.example
+++ b/etc/srcux.conf.example
@@ -5,5 +5,5 @@
 location = /var/db/repos/srcux
 auto-sync = yes
 sync-type = git
-sync-uri = https://www.srcux.com/git/srcux.git
+sync-uri = https://git.hedronfire.com/srcux.git
 priority = 15
--- a/src/aerie/migrate.py
+++ b/src/aerie/migrate.py
@@ -374,5 +374,5 @@
 
 def migrate_srcux(**kwargs) -> dict:
     """Resume the original migration contract, including its URL and receipts."""
-    kwargs.setdefault("url", "https://www.srcux.com/git/srcux.git")
+    kwargs.setdefault("url", "https://git.hedronfire.com/srcux.git")
     return migrate_distribution("srcux", **kwargs)
--- a/src/aerie/onboarding.py
+++ b/src/aerie/onboarding.py
@@ -11,7 +11,7 @@
 from .config import AerieError, iter_repos_conf, read_program_config, read_repo_config
 
 
-DEFAULT_URL = "https://www.hedronfire.com/git/hedronfire.git"
+DEFAULT_URL = "https://git.hedronfire.com/hedronfire.git"
 
 
 def configured_repository(config: Path):
--- a/src/aerie/scout.py
+++ b/src/aerie/scout.py
@@ -170,7 +170,7 @@
             from .onboarding import DEFAULT_URL
             if not args.url and args.distribution not in {"srcux", "hedronfire"}:
                 raise AerieError("--url is required for this distribution")
-            default_url = "https://www.srcux.com/git/srcux.git" if args.distribution == "srcux" else DEFAULT_URL
+            default_url = "https://git.hedronfire.com/srcux.git" if args.distribution == "srcux" else DEFAULT_URL
             payload = migrate_distribution(args.distribution, config=config, output_config=args.config or DEFAULT_SCOUT_CONFIG,
                                     repos_conf=args.repos_conf, location=args.location,
                                     url=args.url or default_url, check_only=args.check,