mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 07:07:52 -06:00
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:
1 parent
4581a54882
commit
f1f2254be8
5 files changed
+16
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user