docs: drop the upstream remote from CONTRIBUTING

profile_sync.py finds and fetches the project's main by itself. The
documented --base upstream/main failed in any clone without that remote,
where the same command without --base passes.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 03:28:36 +01:00
1 parent 4581a54882
commit f1f2254be8
5 files changed
+16 -13

No files matched your search

+5 -1
View File
@@ -6017,7 +6017,11 @@ class TestBranchCheckIsWired(unittest.TestCase):
import generate_readme # noqa: PLC0415
text = generate_readme.generate_contributing()
self.assertIn("profile_sync.py --added --base upstream/main --strict", text)
self.assertIn("profile_sync.py --added --strict", text)
# The default base is fetched by the tool: a documented upstream
# remote failed every clone that had origin alone.
self.assertNotIn("--base upstream/main", text)
self.assertNotIn("remote add upstream", text)
self.assertNotIn("--emulator NAME --strict", text)
workflow = (root / ".github" / "workflows" / "validate.yml").read_text()
self.assertIn("profile_sync.py --added --base", workflow)