Consider using shellcheck for deeper linting on scripts

Bug #1292074 reported by Allele Dev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Won't Fix
Undecided
Unassigned

Bug Description

Shellcheck: http://www.shellcheck.net/ ; https://github.com/koalaman/shellcheck

Also available off-line via CLI: http://hackage.haskell.org/package/ShellCheck-0.3.0

* Requires: haskell-platform

* Pros
    - Provides rather thorough error detection on scripts
* Cons
    - Requires a heavy dependency

Examples of (potential) issues discovered with shellcheck: http://paste.openstack.org/show/73412/

Revision history for this message
Dean Troyer (dtroyer) wrote :

We considered this tool and a couple of other ones before investing the time in writing bash8. The Haskell dep here was enough to eliminate it, it just is not worth the overhead for a style checker and we hit 90% of the typical issues fairly quickly.

Changed in devstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.