Closed Bug 684782 Opened 13 years ago Closed 13 years ago

Readd support for the explicit $topsrcdir/mozconfig location (but error if mozconfig and .mozconfig are both present)

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla9

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Bug 675691 removed support for a slew of bizarre locations implicitly probed for a mozconfig for sourcing Mozilla build options.  That's good: explicit is better than implicit, and all that.

Yet I think this removal went slightly too far in removing support for $topsrcdir/mozconfig.  This useful alternative to .mozconfig was good precisely because it is explicit: it shows up in directory listings, and in folder views and the like, where .mozconfig does not.

I understand there have been "multiple requests to add [$topsrcdir/mozconfig support] back".  Reading bug 675691, the reason I see for not doing this is worry about having "a fair bit of additional complexity" from allowing two different locations and it not being clear which would be used.  I'm happy to take on that complexity (which seems to be only a few lines) if that's what it takes to preserve the explicit, visible-in-directories non-dotted mozconfig name.

So could we readd support for $topsrcdir/mozconfig, please?
Attachment #558371 - Flags: review?(ted.mielczarek)
Yeah, this makes sense.
Attachment #558371 - Flags: review?(ted.mielczarek) → review+
Comment on attachment 558371 [details] [diff] [review]
Patch

Jeff, [or sid] when this lands on m-c can you possibly land an exact copy of this patch to c-c?
Attachment #558371 - Flags: feedback+
Just pushed to inbound. Will try to push to comm-central when it will be green on inbound. Otherwise, would be great that the merger does it.
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/c7e4e6e380ba
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Whiteboard: [inbound]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: