chore: move CLI source metadata to Gitea
This commit is contained in:
@@ -21,7 +21,7 @@ def test_stdin_bootstrap_installs_verified_runtime_and_preserves_credentials(tmp
|
||||
content = (source / installer.INSTALL_PATHS[name]).read_text()
|
||||
item = {"name": name, "version": installer.CLI_RELEASE_VERSION,
|
||||
"bytes": len(content.encode()), "sha256": hashlib.sha256(content.encode()).hexdigest(),
|
||||
"source_repo": "https://github.com/napseer/nap-cli", "source_revision": revision,
|
||||
"source_repo": "https://gitea.powc-r.com/napseer/nap-cli", "source_revision": revision,
|
||||
"source_revision_status": "resolved", "contract_version": installer.CLI_DISTRIBUTION_CONTRACT_VERSION,
|
||||
"minimum_contract_version": installer.CLI_MINIMUM_CONTRACT_VERSION,
|
||||
"install_path": installer.INSTALL_PATHS[name], "mode": "0755"}
|
||||
@@ -30,7 +30,7 @@ def test_stdin_bootstrap_installs_verified_runtime_and_preserves_credentials(tmp
|
||||
payloads["/v1/scripts"] = {"schema_version": installer.CLI_BUNDLE_SCHEMA_VERSION,
|
||||
"bundle_id": "synthetic-bootstrap", "release_version": installer.CLI_RELEASE_VERSION,
|
||||
"contract": {"current": installer.CLI_DISTRIBUTION_CONTRACT_VERSION, "minimum_supported": installer.CLI_MINIMUM_CONTRACT_VERSION},
|
||||
"source": {"repo": "https://github.com/napseer/nap-cli", "revision": revision, "revision_status": "resolved"}, "items": items}
|
||||
"source": {"repo": "https://gitea.powc-r.com/napseer/nap-cli", "revision": revision, "revision_status": "resolved"}, "items": items}
|
||||
|
||||
class Provider(BaseHTTPRequestHandler):
|
||||
def log_message(self, *_args):
|
||||
|
||||
Reference in New Issue
Block a user