| Summary: | insane.bbclass: check for bashisms in packaged scripts | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Joshua Watt <JPEWhacker> |
| Component: | core | Assignee: | Joshua Watt <JPEWhacker> |
| Status: | UNCONFIRMED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, randy.macleod, ross.burton, stephano |
| Version: | unspecified | ||
| Target Milestone: | 6.99 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Joshua Watt
2018-03-19 10:23:44 UTC
IMHO, far too invasive/slow to run on every parse. oe-core has verify-bashisms which will run all shell bits in recipes through checkbashisms. Sorry, maybe it wasn't clear, this was intended to be a QA check for on-target installed files, not bitbake metadata scripts (which is what verify-bashisms appears to be checking?). I found https://bugzilla.yoctoproject.org/show_bug.cgi?id=8851 did that also evaluate the performance impact of a QA check (I didn't find anything like that in the comments)? If not, I can do some evaluation to see what the impact would be on the do_package_qa step. Ah, right. Reopening. Bulk move from 4.99 or 0.00 to 5.99 We could put the code in but leave it disabled by default for developers to use as needed. |