"compare build" doesn't work
Bug #894270 reported by
Fathi Boudra
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I tried to compare 2 hwpacks (20111122-1 and 20111124-0) using "compare build" feature.
https:/
The comparison report isn't generated.
Note: it makes sense to check rootfs comparison as well. I'm pretty sure it doesn't work and isn't specific to hwpack.
[OT] Is there an API to get the report, instead of going through the web UI?
no longer affects: | linaro-offspring |
To post a comment you must log in.
This fails because Offspring expects to find at least one file matching 'images/ */*.manifest' under the build's directory, as we can see on the snippet below:
try:
base_ manifestPath = glob.glob( base_build. result_ directory + '/images/ */*.manifest' )[0]
target_ manifestPath = glob.glob( target_ build.result_ directory + '/images/ */*.manifest' )[0]
except:
return rc.NOT_HERE
However, for hwpack builds the manifest file ends in .txt, so the code above doesn't match anything and we get a KeyError. Similarly, for the rootfs builds, it won't work because there doesn't seem to be a manifest at all.
Unless there's a good reason for having the hwpack manifest end in .txt, I think we should just change linaro- hwpack- create to drop the .txt from it.