Bug 3200

Summary: Refactor hig.py into individual components
Product: [Build System, Metadata & Runtime] Hob Reporter: Bogdan Marinescu <bogdan.a.marinescu>
Component: hobAssignee: Bogdan Marinescu <bogdan.a.marinescu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: andreea.b.proca, bluelightning, cristian.iorga, poky.bs.watcher, poky.watcher, richard.purdie, sgw, valentin.popa
Version: 1.4   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Bogdan Marinescu 2012-10-01 10:19:44 UTC
Currently, bitbake/lib/bb/ui/crumbs/hig.py is a large conglomerate of various UI dialogs stuffed together in the same file that keeps on growing. Besides being wrong from a design standpoint, this is starting to lead to issues (failed git merges, for examples) and it's becoming a bit of a maintenance problem. I'd like to refactor this: make 'hig' a separate package in bitbake/lib/bb/ui/crumbs/hig/ and split the original hig.py into separate files for each of its classes. I already talked to Paul and he said that this should be OK as long as we schedule it for 1.4. 
Note that this is only an implementation-side change; it doesn't change functionality in any way, it just refactors existing code. It should however make Hob a bit more maintainable.
Comment 1 Bogdan Marinescu 2013-01-09 16:29:45 UTC
Almost ready to be uploaded.
Comment 2 Bogdan Marinescu 2013-01-10 11:21:30 UTC
Patch sent to bitbake-devel (hig.py: refactor into individual components)
Comment 3 Bogdan Marinescu 2013-01-22 09:22:00 UTC
Patch merged.
Comment 4 Andreea Brandusa Proca 2013-04-10 07:47:26 UTC
Verified in fe336b149552b1f4f24d979c40302653298b98cc.