Add qa/check command #204

Closed
bos opened this Issue May 24, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@bos
Contributor

bos commented May 24, 2012

(Imported from Trac #211, reported by @dcoutts on 2008-01-24)

The current set of QA checks (see #191) will be run automatically before sdist however it would still be useful for developers to be able to run them specifically. It'd also allow adding more expensive checks that would be inappropriate to run for sdist.

Initially just running the existing QA checks would be enough. We can add more expensive ones later. As such, marking this ticket as easy.

What should the command be called? "qa" "check" ?

@bos

This comment has been minimized.

Show comment Hide comment
@bos

bos May 24, 2012

Contributor

(Imported comment by @igloo on 2008-01-24)

"lint" is a common name for this sort of thing. It would also be nice to be able to "cabal lint foo-1.0.tar.gz".

Contributor

bos commented May 24, 2012

(Imported comment by @igloo on 2008-01-24)

"lint" is a common name for this sort of thing. It would also be nice to be able to "cabal lint foo-1.0.tar.gz".

@bos

This comment has been minimized.

Show comment Hide comment
@bos

bos May 24, 2012

Contributor

(Imported comment by @dcoutts on 2008-01-24)

Thu Feb 21 20:48:20 GMT 2008  Lennart Kolmodin <kolmodin@gentoo.org>
- Naive implementation of 'cabal check'
  A naive implementation of 'cabal check'.
  It will list the errors and warnings as implemented by Cabal, yielding them
  in groups of severity. Currently ignores verbosity levels, no additional
  arguments are understood. This addresses ticket #211.
  
It doesn't do "cabal check foo-1.0.tar.gz". If anyone thinks that's important they can file another ticket or just send in a patch.
Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2008-01-24)

Thu Feb 21 20:48:20 GMT 2008  Lennart Kolmodin <kolmodin@gentoo.org>
- Naive implementation of 'cabal check'
  A naive implementation of 'cabal check'.
  It will list the errors and warnings as implemented by Cabal, yielding them
  in groups of severity. Currently ignores verbosity levels, no additional
  arguments are understood. This addresses ticket #211.
  
It doesn't do "cabal check foo-1.0.tar.gz". If anyone thinks that's important they can file another ticket or just send in a patch.

@bos bos closed this May 24, 2012

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