mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
refactor: split core.upstream by subject
HTTP to the forges moves to core.forgehttp, comparisons, trees and clone history to core.upstreamtree. core.upstream keeps repositories, the cache and revisions.
This commit is contained in:
1 parent
ce92eff0aa
commit
263a64c0e0
65 files changed
+1417
-1337
No files matched your search
+4
-3
@@ -680,9 +680,10 @@ under `.cache/upstream/`, addressed by commit sha, so `--offline` replays a
|
||||
previous run. GitHub, GitLab and Forgejo upstreams are supported, other
|
||||
hosts are reported as skipped.
|
||||
|
||||
The forge side lives in `core/upstream.py`: it resolves a revision, fetches a
|
||||
file at a given sha, and compares trees, for the forge families the
|
||||
profiles point at. It knows nothing about profile structure, so anchoring
|
||||
The forge side lives in `core/upstream.py`, which resolves a revision and
|
||||
fetches a file at a given sha, `core/upstreamtree.py`, which compares two
|
||||
revisions and lists trees, and `core/forgehttp.py`, which sends the requests,
|
||||
for the forge families the profiles point at. It knows nothing about profile structure, so anchoring
|
||||
logic and repository access stay testable apart.
|
||||
|
||||
### resolve/validation.py
|
||||
|
||||
Reference in new issue
Block a user