Closed Bug 1062546 Opened 6 years ago Closed 6 years ago

Upload mozinfo.json to the build directory

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla35

People

(Reporter: ahal, Assigned: ahal)

References

Details

Attachments

(1 file)

We are currently making a tool to monitor manifests in order to tell whether tests have been enabled/disabled for any given platform. In order to do this it needs to know the exact build configuration (as defined in mozinfo.json).

Currently mozinfo.json is tucked away in the tests.zip under 'xpcshell', but this means the tool needs to download the tests.zip of every platform for every revision. This is really unnecessary. Instead we should upload the file alongside the build, I think other tools might be able to make use of it as well.
I realize this bug would be made mostly irrelevant by bug 1059943, but since that is a few months out, and it might be nice to have mozinfo.json directly in the build directory anyway, I'd like to still land it. Ted, are you ok with this?

Here's a working try run:
https://tbpl.mozilla.org/?tree=Try&rev=9e525be647cf

(it doesn't work with emulator builds, but it appears emulator builds don't use packager.mk to begin with. I'm happy to fix this at a later date as needed if you are)
Attachment #8484934 - Flags: review?(ted)
Comment on attachment 8484934 [details] [diff] [review]
upload_mozinfo_json

Review of attachment 8484934 [details] [diff] [review]:
-----------------------------------------------------------------

Seems fine.
Attachment #8484934 - Flags: review?(ted) → review+
https://hg.mozilla.org/mozilla-central/rev/1d13b071c362
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Blocks: 1065071
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.