mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
chore: point every in-tree reference at ai-job-search-dev/ai-job-search (#776)
The repository is moving from the MadsLorentzen personal account to the ai-job-search-dev organization. GitHub redirects the old slug, but the upstream-watch guard compares github.repository against the literal slug and would start running the fork-only triage job on upstream itself, and the upstream-check tool and its tests pin the slug too. README, CONTRIBUTING, SECURITY, SETUP, the CI workflow, the issue-template config and the CHANGELOG links follow. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
e16acee3ab
commit
7f9edf54c1
18 files changed
+94
-86
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ import os
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
UPSTREAM = "MadsLorentzen/ai-job-search"
|
||||
UPSTREAM = "ai-job-search-dev/ai-job-search"
|
||||
|
||||
REPO = Path(__file__).resolve().parent.parent
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ from pathlib import Path
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
SCRIPT = REPO_ROOT / "tools" / "check_upstream_updates.py"
|
||||
|
||||
TEMPLATE_URL = "https://github.com/MadsLorentzen/ai-job-search.git"
|
||||
TEMPLATE_URL = "https://github.com/ai-job-search-dev/ai-job-search.git"
|
||||
FORK_URL = "https://github.com/octocat/ai-job-search.git"
|
||||
|
||||
FRAMEWORK_FILES = [
|
||||
|
||||
@@ -158,7 +158,7 @@ class ToolsWriteUtf8(unittest.TestCase):
|
||||
subprocess.run(["git", "init", "-b", "master"], cwd=repo, check=True, capture_output=True)
|
||||
subprocess.run(["git", "config", "user.name", "Test"], cwd=repo, check=True, capture_output=True)
|
||||
subprocess.run(["git", "config", "user.email", "test@example.com"], cwd=repo, check=True, capture_output=True)
|
||||
subprocess.run(["git", "remote", "add", "upstream", "https://github.com/MadsLorentzen/ai-job-search.git"], cwd=repo, check=True, capture_output=True)
|
||||
subprocess.run(["git", "remote", "add", "upstream", "https://github.com/ai-job-search-dev/ai-job-search.git"], cwd=repo, check=True, capture_output=True)
|
||||
(repo / "file.txt").write_text("hello\n", encoding="utf-8")
|
||||
subprocess.run(["git", "add", "file.txt"], cwd=repo, check=True, capture_output=True)
|
||||
subprocess.run(["git", "commit", "-m", "init"], cwd=repo, check=True, capture_output=True)
|
||||
|
||||
@@ -16,7 +16,7 @@ except ImportError: # `python -m unittest discover -s tests` imports test modul
|
||||
import _upstream
|
||||
from _upstream import is_upstream_checkout
|
||||
|
||||
UPSTREAM = "MadsLorentzen/ai-job-search"
|
||||
UPSTREAM = "ai-job-search-dev/ai-job-search"
|
||||
|
||||
|
||||
def _no_github_env(testcase):
|
||||
@@ -81,16 +81,16 @@ class UpstreamCheckoutTests(unittest.TestCase):
|
||||
|
||||
def test_origin_url_forms(self):
|
||||
cases = [
|
||||
("https://github.com/MadsLorentzen/ai-job-search", True),
|
||||
("https://github.com/MadsLorentzen/ai-job-search.git", True),
|
||||
("git@github.com:MadsLorentzen/ai-job-search", True),
|
||||
("git@github.com:MadsLorentzen/ai-job-search.git", True),
|
||||
("ssh://git@github.com/MadsLorentzen/ai-job-search.git", True),
|
||||
("ssh://git@github.com/MadsLorentzen/ai-job-search", True),
|
||||
("https://github.com/ai-job-search-dev/ai-job-search", True),
|
||||
("https://github.com/ai-job-search-dev/ai-job-search.git", True),
|
||||
("git@github.com:ai-job-search-dev/ai-job-search", True),
|
||||
("git@github.com:ai-job-search-dev/ai-job-search.git", True),
|
||||
("ssh://git@github.com/ai-job-search-dev/ai-job-search.git", True),
|
||||
("ssh://git@github.com/ai-job-search-dev/ai-job-search", True),
|
||||
("ssh://git@github.com/someone-else/ai-job-search.git", False),
|
||||
("https://github.com/someone-else/ai-job-search.git", False),
|
||||
("git@github.com:someone-else/ai-job-search", False),
|
||||
("https://gitlab.com/MadsLorentzen/ai-job-search.git", False),
|
||||
("https://gitlab.com/ai-job-search-dev/ai-job-search.git", False),
|
||||
]
|
||||
for url, expected in cases:
|
||||
with self.subTest(url=url):
|
||||
|
||||
@@ -9,7 +9,7 @@ from pathlib import Path
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
SCRIPT = REPO_ROOT / "tools" / "upstream_triage.py"
|
||||
WORKFLOW = REPO_ROOT / ".github" / "workflows" / "upstream-watch.yml"
|
||||
UPSTREAM_SLUG = "MadsLorentzen/ai-job-search"
|
||||
UPSTREAM_SLUG = "ai-job-search-dev/ai-job-search"
|
||||
|
||||
|
||||
def git(root: Path, *args: str) -> str:
|
||||
|
||||
Reference in new issue
Block a user