Loading
Bug 1253436 - Write out a machine readable file with binaries metadata; r=glandium
This will make it easier for binaries only archive generation to consult the list of binaries that are relevant to packaging. This does overlap somewhat with compile databases. Perhaps someday the logic could converge. While I was here, I cleaned up writing of the all-tests.json file to avoid an intermediate string variable. This patch adds to_dict methods on some frontend data types. There is room to improve the serialization of these types. For example, we could use __slots__ to drive the default formatter. We could also leverage a custom JSONEncoder class that knows how to call to_dict() on instances. In the spirit of perfect is the enemy of done, I think this should be deferred to a follow-up bug. MozReview-Commit-ID: XVnKB1MNqu --HG-- extra : source : 4167dfdf10457360c9c94ee6e55b03ef1b92c16d extra : histedit_source : 2f3f10bbb8ef9da8c57b0d85cbf4ea80242eff1a%2C1a5654253181d75eecd5dfaca2c87e353f8126cd