Skip to content

Integrate Hackage checks in cabal check #8801

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

Open
3 tasks
ffaf1 opened this issue Feb 23, 2023 · 0 comments
Open
3 tasks

Integrate Hackage checks in cabal check #8801

ffaf1 opened this issue Feb 23, 2023 · 0 comments

Comments

@ffaf1
Copy link
Collaborator

ffaf1 commented Feb 23, 2023

Hackage server performs a number of checks upon upload before accepting the package.

Some of those checks are meaningful only if done by hackage (e.g. Check for an existing x-revision on server, we cannot run that locally in a meaningful way), but others could be integrated into cabal check. Steps:

  • list all the checks done
  • see which one can be translated into cabal check
  • integrate them

For this to be useful #8427 needs to be merged and #8587 too, so users can ignore can ignore some of the checks if they don’t plan to upload to Hackage (i.e.: proprietary license refusal).

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

No branches or pull requests

1 participant