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

stackage sandbox verify [SNAPSHOT] #12

Open
DanBurton opened this issue Apr 5, 2015 · 0 comments
Open

stackage sandbox verify [SNAPSHOT] #12

DanBurton opened this issue Apr 5, 2015 · 0 comments
Assignees

Comments

@DanBurton
Copy link
Contributor

If no snapshot is provided, this means "verify this project's use of a sandbox"

  • Determine the current snapshot from cabal.config
  • Make sure this matches the expected sandbox directory
  • ghc-pkg list, make sure versions match the cabal.config constraints

If snapshot is provided, this means "verify this snapshot" regardless of current directory.

  • download the corresponding cabal.config to a temp file
  • ghc-pkg list, make sure versions match the cabal.config constraints

The verify command has potential to do more careful verification, but I think this is a good start.

@DanBurton DanBurton self-assigned this Apr 21, 2015
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

No branches or pull requests

1 participant