docs: remove references to anything outside this repository
This repository is public and stands alone. Comments and prose no longer describe another repository, its documents, hosts, network or runner sizing; each one states its own reason or is gone. - Workflow headers keep the conclusions (disposable runner with no outside secret, the if: guard is not a boundary, no fork pull requests, the image build's memory cap) and drop the description. - Isolation lines are worded as a property of this repository. - The denied image namespace stays in check_image_versions.py, described only as a namespace this repository's CI must not use. - CLAUDE.md and CONTRIBUTING.md gain the standing rule and the search to run when bringing content in from another repository. - ci image 0.2.29 -> 0.2.30: .pre-commit-config.yaml and requirements-dev.txt are image inputs. The ADR 0004 pointers, the README Roadmap, the skills-source mentions and released changelog entries stay as they are. Closes #108 Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
This commit is contained in:
1 parent
ef0a1010f3
commit
3384ff2836
19 files changed
+83
-71
No files matched your search
@@ -12,9 +12,8 @@ cannot make a tag immutable), so an image whose content changes under an unchang
|
||||
version is pushed as sha-*/latest only, and a hand-pasted <version>@<new digest> pin
|
||||
would pair a tag with a digest it does not point to.
|
||||
|
||||
pins No file under .gitea/workflows may mention `git.rkdr.net/defame1297/`: the production
|
||||
image set of the environment repo never belongs in this CI (the `mortis` side is the
|
||||
untrusted one, ADR 0004 Runner isolation).
|
||||
pins No file under .gitea/workflows may mention `git.rkdr.net/defame1297/`: an image
|
||||
namespace this repository's CI must not use (ADR 0004 Runner isolation).
|
||||
Every `git.rkdr.net/mortis/<name>:<version>@sha256:<digest>` in the consumer
|
||||
workflows must name an image of the matrix, with a well-formed digest and a
|
||||
version that is not newer than the matrix (a pin lags the matrix between the PR
|
||||
@@ -80,7 +79,7 @@ ANY_PIN_RE = re.compile(
|
||||
r"""(?:[:@][^\s,)\]}'"]*)?""",
|
||||
re.IGNORECASE,
|
||||
)
|
||||
# The production image namespace of the environment repo; any spelling of the host's case.
|
||||
# An image namespace this repository's CI must not use; any spelling of the host's case.
|
||||
FOREIGN_RE = re.compile(r"git\.rkdr\.net(?::[0-9]+)?/defame1297/", re.IGNORECASE)
|
||||
WORKFLOW_DIR = ".gitea/workflows"
|
||||
# Semver 2.0.0: no leading zeros in numeric identifiers (core or prerelease).
|
||||
@@ -644,10 +643,10 @@ def changed_images(head_matrix, changed, read_head_file):
|
||||
|
||||
|
||||
def check_foreign_images(workflow_texts):
|
||||
"""Errors for each workflow file that mentions the production image namespace, comments included."""
|
||||
"""Errors for each workflow file that mentions the denied image namespace, comments included."""
|
||||
return [
|
||||
f"{fname}: mentions git.rkdr.net/defame1297/, the production image set; the Collection's CI "
|
||||
"must never use or name it"
|
||||
f"{fname}: mentions git.rkdr.net/defame1297/, an image namespace this repository's CI "
|
||||
"must not use or name"
|
||||
for fname, text in sorted(workflow_texts.items())
|
||||
if FOREIGN_RE.search(text)
|
||||
]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
"""Run `reuse lint`, tolerating only unused licence texts.
|
||||
|
||||
LICENSES/ carries the texts docs/licensing.md lists (GPL-3.0-only, Apache-2.0, MIT,
|
||||
LICENSES/ carries licence texts (GPL-3.0-only, Apache-2.0, MIT,
|
||||
EUPL-1.2) before the roles that use them exist; reuse >= 6 reports those as
|
||||
non-compliant. Every other finding still fails. Once the extraction waves have brought
|
||||
in files for all of them, delete UNUSED_ALLOWED and call `reuse lint` directly.
|
||||
|
||||
Reference in new issue
Block a user