Open
Bug 673102
Opened 13 years ago
Updated 2 years ago
consolidate nsinstall commands
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: joey, Unassigned)
Details
multiple copies of nsinstall.c exist in the sandbox. Would it make sense to refactor sources to have consistent behavior and build the tool into a common directory for general use ? ./config/nsinstall.c ./nsprpub/config/nsinstall.c ./security/coreconf/nsinstall/nsinstall.c ./js/src/config/nsinstall.c
Comment 1•13 years ago
|
||
It's...complicated. NSPR and NSS are standalone upstream projects. js/src functions more-or-less as a standalone project these days.
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to comment #1) > It's...complicated. NSPR and NSS are standalone upstream projects. js/src > functions more-or-less as a standalone project these days. For the upstream projects would the problem be coordination or long term maintenance ? A quick and dirty answer { if upstream owners do not care } might be to patch their makefile so it can either copy the common nsinstall.c in locally for a build or change the makefile nsinstall path so a pre-built binary from bin/obj could be used [ yes this answer is simpler but would introduce a dependency ]. Ummm, ignoring js/ for the moment as there are a few tools in that basket :)
Comment 3•13 years ago
|
||
Coordinating with NSS isn't worth the effort. We can coordinate with NSPR, but since they are all separate build systems it probably isn't worth the effort.
Comment 4•13 years ago
|
||
Note that we could "simply" override the NSINSTALL variable when going in NSPR, NSS and js, to force them to use whatever the main tree uses.
Comment 5•13 years ago
|
||
What problem does that solve?
Comment 6•13 years ago
|
||
That would allow to have a canonical implementation of nsinstall, whatever the other projects want to use. Especially, that'd allow to use nsinstall.py in NSPR and NSS (since aiui, nsinstall.py is mostly ready to be used)
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•