GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Document SHA256 package and installer compatibility contract (#2) · PastureStack/.github@cf74789

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • docs
    • REPOSITORY_STANDARD.md
  • standards
    • repository.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ maintenance text belongs in package names and provenance metadata, not in a
1818
new version tag. Existing published tags remain immutable historical records;
1919
see the [release standard](docs/REPOSITORY_STANDARD.md#7-releases-and-packages).
2020

21+
Maintained release packages use SHA256 for archive and installer payload
22+
integrity. The [package compatibility requirements](docs/REPOSITORY_STANDARD.md#package-integrity-and-producerconsumer-compatibility)
23+
also cover inherited Server assets, real consumer verification and fresh-host
24+
registration when that chain changes. Legacy SHA1 metadata is not a fallback
25+
for current installers. These documented requirements are not a claim that every
26+
repository's CI already enforces them.
27+
2128
GitHub applies supported community health files from this repository only when a target repository does not provide its own file of the same type. Repository-specific guidance always takes precedence.
2229

2330
## Important limitations
Collapse file

‎docs/REPOSITORY_STANDARD.md‎

Copy file name to clipboardExpand all lines: docs/REPOSITORY_STANDARD.md
+37-1Lines changed: 37 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Recommended:
8888
Required for maintained releases:
8989

9090
- identify the source commit and build inputs;
91-
- publish checksums for downloadable artifacts;
91+
- publish SHA256 checksums for downloadable artifacts;
9292
- document image names, tags, and digests;
9393
- use only `vMAJOR.MINOR.PATCH` or `MAJOR.MINOR.PATCH` for every new
9494
PastureStack-owned Git tag, GitHub Release, package version, and image tag;
@@ -106,6 +106,42 @@ Required for maintained releases:
106106

107107
Package and container publication remains disabled until the repository has an approved release workflow and ownership policy.
108108

109+
### Package integrity and producer/consumer compatibility
110+
111+
Required when maintaining a release package or changing its installer contract:
112+
113+
- Use SHA256 for both the outer archive and the payload integrity checks consumed
114+
by the installer. A valid outer digest does not prove the contents satisfy the
115+
installer contract, and checksums do not replace trusted release provenance.
116+
- Packages consumed by the shared host installer must contain a single package
117+
root with `SHA256SUMS` and `SHA256SUMSSUM`. Verify the payload and manifest with
118+
the consumer's exact path and working-directory semantics, using safe extraction
119+
confined to the isolated package root. SHA256 values are 64 hexadecimal digits.
120+
- Current installers must reject missing, malformed or mismatching SHA256 data;
121+
never fall back to SHA1 or MD5. Legacy SHA1 manifests may be additional metadata
122+
only for documented older consumers; they do not satisfy current acceptance.
123+
This does not require rewriting Git object identifiers or immutable history.
124+
- Trace the actual producer release through Server's final image, inherited
125+
archives, advertised download endpoint and consumer verifier. Updating source
126+
packaging alone does not update a pinned or inherited release asset. Keep the
127+
affected README, compatibility notes and release coordinates aligned.
128+
- Test the final candidate archive with the actual consumer verifier: accept the
129+
valid package; reject missing manifests, SHA1-only metadata, invalid manifests
130+
and modified payloads. Source markers, filename checks, reconstructed fixtures
131+
and outer checksums alone are not sufficient evidence.
132+
- Changes to this chain, or a confirmed gap in it, require download, installation
133+
and registration in an isolated fresh-host environment without an existing
134+
package cache. Existing-host workloads, `/ping` and unrelated feature tests do
135+
not prove registration. Check direct sibling packages sharing that verifier;
136+
do not rerun registration for unrelated text or layout changes.
137+
- Publish corrected bytes under a new numeric version; never replace a published
138+
asset or ask operators to manufacture missing checksum files. Record a known
139+
incompatibility as unresolved even when other feature tests passed.
140+
141+
The machine-readable policy records these requirements, but does not itself
142+
install or enforce a CI check. Automatic enforcement must be verified in each
143+
affected release workflow before being claimed.
144+
109145
## 8. Migration acceptance
110146

111147
A repository is accepted only when the [migration checklist](MIGRATION_CHECKLIST.md) is complete and evidence is linked from a migration issue. Exceptions must identify the owner, risk, and follow-up deadline.
Collapse file

‎standards/repository.yml‎

Copy file name to clipboardExpand all lines: standards/repository.yml
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,22 @@ release:
6565
regex: '^v?[0-9]+\.[0-9]+\.[0-9]+$'
6666
reuse_upstream_tags_for_rebuilds: false
6767
checksums_required: true
68+
checksum_algorithm: sha256
69+
package_integrity:
70+
outer_archive_and_inner_payload_are_separate: true
71+
current_consumer_legacy_fallback_allowed: false
72+
legacy_sha1_metadata: documented-older-consumers-only
73+
shared_host_installer_manifests:
74+
- SHA256SUMS
75+
- SHA256SUMSSUM
76+
final_candidate_consumer_verification_required: true
77+
inherited_and_downloaded_assets_in_scope: true
78+
negative_cases:
79+
- missing-manifest
80+
- sha1-only
81+
- invalid-manifest
82+
- modified-payload
83+
fresh_registration_required_when: package-installer-chain-changed-or-gap-confirmed
84+
documentation_is_not_ci_enforcement: true
6885
source_commit_required: true
6986
compatibility_notes_required: true

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.