Closed Bug 890065 Opened 12 years ago Closed 12 years ago

Add a flag for optionally disabling sources.xml

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: diego, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Patch in github coming up
Attached file Pull request (obsolete) —
Attachment #772717 - Flags: review?(mvines)
What problem is this fixing?
(besides the core manifest problem that Diego is trying to address, an option to disable sources.xml is also nice as that build step runs very slowly on my machine sometimes, 5minutes!, and we don't use it in any way)
Re: core manifest problem. |make sources.xml| does not know how to parse certain manifests. For example: it fails to interpret <remove-project> elements. We could try to patch it. But I think the problem resides on the fact that it tries to parse manifests using its own script. This is IMO *very* error prone and hard to maintain. The patch serves as a quick stopgap, and as m1 mentioned, we don't need this for some builds anyway. FWIW I think |make sources.xml| needs to be revamped to use |repo manifest -o|. This may not be trivial.
Attachment #772717 - Flags: review?(mwu)
Agreed on using repo manifest. We also have automation which depends on sources.xml which may make things trickier if we do try to switch over. m1, does repo manifest run faster on your machine? It appears to take about a second here. If that's fast enough we can avoid adding another build knob.
Comment on attachment 772717 [details] Pull request I don't mind adding this as a stop gap, though I generally do not like adding more build variables to fiddle with since they're not particularly easy to discover.
Attachment #772717 - Flags: review?(mwu) → review+
Running |repo manifest -r| is also a dog run my machine, maybe I don't git-gc often enough or something.
Attachment #772717 - Flags: review?(mvines)
First try didn't stick. Trying again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file Pull request - v2
Attachment #772717 - Attachment is obsolete: true
Attachment #791398 - Flags: review?(mvines)
Attachment #791398 - Flags: review?(mvines) → review+
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: