[katello-devel] Syntax check & code quality

Lukas Zapletal lzap at redhat.com
Mon Jul 11 09:48:22 UTC 2011


Hello,

I have slightly extended our hudson job and moved our syntax checking 
from the katello spec in here. The script now checks for syntax errors 
in our:

python (CLI) code
ruby code (src)
HAML code (views) - its also much faster now

Also some code quality reports are run:

rake routes command
roodi static code analysis
flay code similarity analysis
flog code complexity analysis

We also generate nice syntax highlighted code for all our code:

ruby rails code
javascript code
python cli code

More details here:

https://engineering.redhat.com/trac/kalpana/wiki/CQReports

I would like to ask our QAs to configure this checkstyle job to scream 
on us when it fails (= syntax error in ruby/python/haml).

Thanks!

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list