Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commenter: snapshot-diff #6404

Merged
merged 1 commit into from
Jan 14, 2022
Merged

commenter: snapshot-diff #6404

merged 1 commit into from
Jan 14, 2022

Conversation

bergmark
Copy link
Member

Example output: #6217 (comment)

From CURATORS.md:

Diffing snapshots / Inspecting changes

To diff existing snapshots, or to evaluate changes before they end up
in a snapshot you can run:

commenter diff-snapshot <old-snapshot.yaml> <new-snapshot.yaml>

Existing snapshots can be retrieved from https://github.com/commercialhaskell/stackage-snapshots. Preliminary snapshots can be generated by running relevant parts of automated/build.sh, at the time of writing:

TARGET=nightly-2021-01-14 \ # the date doesn't matter
  curator update && \
  curator constraints --target $TARGET && \
  curator snapshot-incomplete --target $TARGET && \
  curator snapshot

@bergmark
Copy link
Member Author

In hindsight, there is definitely code for this somewhere already, probably in stackage-server? Anyway, parsing snapshot files is very simple.

@bergmark bergmark merged commit b38fb53 into master Jan 14, 2022
@bergmark bergmark deleted the snapshot-diff branch January 14, 2022 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant