Skip to content

Use snapshot instead of resolver#369

Merged
chreekat merged 1 commit intocommercialhaskell:masterfrom
menelaos:use-snapshot-everywhere
Apr 16, 2026
Merged

Use snapshot instead of resolver#369
chreekat merged 1 commit intocommercialhaskell:masterfrom
menelaos:use-snapshot-everywhere

Conversation

@menelaos
Copy link
Copy Markdown
Contributor

This fixes #334.

There is one last "resolver" remnant that cannot be changed to "snapshot" because stackage-snapshots still use the resolver field.

<a href=@{StackageDiffR previousSnapName name}>View changes

<p .stack-resolver-yaml><a href="https://docs.haskellstack.org/en/stable/GUIDE/#resolvers-and-changing-your-compiler-version">resolver</a>: #{toPathPiece name}
<p .stack-snapshot-yaml><a href="https://docs.haskellstack.org/en/stable/tutorial/building_your_project/#snapshots-and-ghc-versions">snapshot</a>: #{toPathPiece name}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation underwent a few changes but this link should be closest to the original material.

Here is the series of relevant changes:

@chreekat chreekat enabled auto-merge April 16, 2026 14:18
@chreekat
Copy link
Copy Markdown
Member

Thanks!

@chreekat chreekat merged commit 3de34d6 into commercialhaskell:master Apr 16, 2026
2 checks passed
@chreekat
Copy link
Copy Markdown
Member

I suspect the last resolver is generated from commercialhaskell/curator, but I don't think it's even worth fixing. It's pretty much only an internal name.

@menelaos menelaos deleted the use-snapshot-everywhere branch April 16, 2026 15:34
@menelaos
Copy link
Copy Markdown
Contributor Author

I suspect the last resolver is generated from commercialhaskell/curator, but I don't think it's even worth fixing. It's pretty much only an internal name.

Yes, I think @snoyberg proposed to keep the name for backwards compatibility:

I believe that, for now, we should continue to use resolver when generating these files to keep better backwards compatibility.

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.

Use terminology "snapshot" everywhere

2 participants