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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: diego, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
Patch in github coming up
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Comment 2•12 years ago
|
||
Attachment #772717 -
Flags: review?(mvines)
Comment 3•12 years ago
|
||
What problem is this fixing?
Comment 4•12 years ago
|
||
(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)
| Reporter | ||
Comment 5•12 years ago
|
||
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.
| Reporter | ||
Updated•12 years ago
|
Attachment #772717 -
Flags: review?(mwu)
Comment 6•12 years ago
|
||
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 7•12 years ago
|
||
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+
Comment 8•12 years ago
|
||
Running |repo manifest -r| is also a dog run my machine, maybe I don't git-gc often enough or something.
Updated•12 years ago
|
Attachment #772717 -
Flags: review?(mvines)
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•12 years ago
|
||
First try didn't stick. Trying again.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 11•12 years ago
|
||
Attachment #772717 -
Attachment is obsolete: true
Attachment #791398 -
Flags: review?(mvines)
Updated•12 years ago
|
Attachment #791398 -
Flags: review?(mvines) → review+
Comment 12•12 years ago
|
||
https://github.com/mozilla-b2g/gonk-misc/commit/8b697d27f243272a0ff0567def8be3eb466d6396
letshopethisfinallysticks!
Updated•12 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•