Skip to content

Correct the determinism section of the snapshot spec - #46

Open
Maximilian-Nesslauer wants to merge 1 commit into
mainfrom
snapshot-determinism
Open

Correct the determinism section of the snapshot spec#46
Maximilian-Nesslauer wants to merge 1 commit into
mainfrom
snapshot-determinism

Conversation

@Maximilian-Nesslauer

Copy link
Copy Markdown
Member

The section promised that an unchanged index keeps its ETag, and neither half of that held.
sources carries the two commit SHAs, so a commit that changes nothing the snapshot carries still moves the bytes, which is what the "no wall-clock field" rule exists to prevent.
And writing the same bytes does not keep an ETag by itself, because publishing is a deployment and a deployment issues a new one either way.

States both halves instead, and adds the rule that the provenance follows the content rather than the clock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:client the manager application itself area:index index hosting, distribution, mirrors

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants