Closed
Bug 22062
Opened 25 years ago
Closed 18 years ago
XP install package files need to be decentralized
Categories
(SeaMonkey :: Installer, defect, P2)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: blizzard, Assigned: dveditz)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
The current setup for the XP install files need to be decentralized. Right now
they are in a single place which makes it really hard to keep up to date and
it's really easy to deliver a broken build.
Assignee | ||
Updated•25 years ago
|
Assignee: ssu → dveditz
Target Milestone: M16
Assignee | ||
Comment 1•25 years ago
|
||
Earlier is better, but we can limp along without.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•24 years ago
|
||
He's talking about the package files (I think there is already another bug that
covers this or something similar). If you build without Chatzilla for example,
why should the copy program try to copy Chatzilla files in the main
packages-<platform> list? This will be an especial problem if the release team
ever flips the switch that makes missing files a fatal error rather than a
warning.
A better system would be to have sections of the tree maintain their own
package lists, and export them to a common place (say $(DIST)/install/packages)
with names like mail.win, aim.win or whatever. Then the copying script would
run over all the files that happened to be part of the build.
This could also be done for install script templates and final XPI creation.
The config.ini generation could remain somewhat static since it represents a
decision to ship a certain collection of items (and would be pretty difficult
to generate given the potentially complex inter-dependencies)
This could be made "help wanted", it's not required for shipping Netscape 6 and
I'm not likely to get to it soon. It does need to be done though.
Summary: XP install files need to be decentralized → XP install package files need to be decentralized
At the risk of this bug being futured and helpwanted.
Leaf: Is there anyone who can provide more input, should this bug be given to
cls?
Assignee | ||
Comment 5•24 years ago
|
||
If anyone wants to tackle this please talk to me, I've given it a lot of
thought already that might form a good starting point (or at least someone time
not having to go down blind alleys (-: ). Believe me, this is the highest
priority for the XPInstall team as soon as we ship Netscape 6. We may even get
to it prior to ship on the trunk once N6 has branched.
The XPInstall team desperately wants to get out of the "install writing"
business and stick to the core engine, pushing the actual scripts into the
various components of which there are only going to be more over time.
Comment 6•24 years ago
|
||
I will attach a patch to xpinstall/packager/unix/makejs.pl to
1) remove alot of warnings, done by removin old windows text, and getting the
sub to the beginning
2) work on builddirs. The easiest way was to optionally have an output name
given. This is quite nice for generating install.js files, as the source can
have any name now.
Open issues: not every perl is in /usr/bin. Is it safe to use env?
I can now use makejs.pl in non xpinstall Makefile.ins like this:
$(PERL) $(topsrcdir)/xpinstall/packager/unix/makejs.pl
$(srcdir)/transformiix.jst $(_T_VERSION) . install.js
Axel
Keywords: patch
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Dan,
could you review this patch? I think it's a good pleasure/risk ratio.
Axel
Assignee | ||
Comment 9•24 years ago
|
||
I'd like to defer to Sean and Samir on this one -- could you guys review the
patch?
Comment 10•24 years ago
|
||
Axel,
The patch looks fine. Please run deliver.pl with a srcdir build to make sure
the install script generation is still working. (The release team uses
deliver.pl and hence makejs.pl. Thanks.)
Comment 11•24 years ago
|
||
Hi Samir,
good idea. Found a bug :-(. I had to set the current path to "." for running
in srcdir.
New patch attached.
Axel
Comment 12•24 years ago
|
||
Comment 13•24 years ago
|
||
Axel,
This looks fine. If you have run deliver.pl to produce a successful installer
delivered to mozilla/installer/raw nthen r=sgehani. Thanks for making teh
srcdir fix.
Comment 14•24 years ago
|
||
+$fullProgName =~ /(.*)makejs\.pl$/;
+if ($1){
+ $pathName = $1;
+ } else {
+ $pathName = ".";
+}
The } else { line is overindented.
Other than that, a=brendan@mozilla.org.
/be
Comment 15•24 years ago
|
||
did my homework, reread the keywords spec. Removing patch keyword, should have
been review.
Patch is checked in, bug stays open.
Axel
Keywords: patch
Assignee | ||
Comment 16•24 years ago
|
||
Unsetting missed milestones to aid triage queries.
Target Milestone: M18 → ---
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 18•19 years ago
|
||
have this (and its dependent) have bitrotted?
Assignee | ||
Comment 19•18 years ago
|
||
There's now various mechanisms for doing this. Not quite what this originally envisioned but still workable for optional extensions during build time
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•