mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 14:28:54 -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
@@ -9,6 +9,7 @@ from collections.abc import Sequence
|
||||
from dataclasses import dataclass, field
|
||||
|
||||
from core import upstream
|
||||
from core import forgehttp
|
||||
from profiling.reports import ProfileReport, report_to_dict, triage_state
|
||||
from profiling.versionbasis import version_repo, version_tags
|
||||
from profiling.versions import VersionReport, check_version
|
||||
@@ -173,7 +174,7 @@ def _score(
|
||||
source.repo, source.path, source.pin, args.cache_dir, args.offline,
|
||||
head=source.head,
|
||||
)
|
||||
except upstream.UpstreamError as exc:
|
||||
except forgehttp.UpstreamError as exc:
|
||||
# One forge refusing a request (Eden's answers 403 to commit
|
||||
# lookups) leaves this profile unscored, not the whole ranking.
|
||||
refused = "commit history unreachable"
|
||||
|
||||
Reference in new issue
Block a user