Closed Bug 71991 Opened 23 years ago Closed 23 years ago

Compute archive size for insertion in config.ini at build time

Categories

(SeaMonkey :: Build Config, defect, P3)

PowerPC
Mac System 8.6

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9.1

People

(Reporter: samir_bugzilla, Assigned: jj.enser)

References

Details

Attachments

(1 file)

We need to add a new parameter to the Component sections that reflects the
component's .xpi archive size.

We can use the following format:
[Component???]
...
Archive Size=<#componentName_archiveSize>

So, for example XPCOM may look like:
[Component0]
...
Archive Size=<#xpcom_archiveSize>

The build automation will need to parse for and substitute the values of all the
archive sizes.  This will be used in two places in the installer:
1> when calculating required disk space before download
2> in making a unified download progress bar that will reflect the progress of
all xpis being download with a singe total max summation of all their sizes.
r=sgehani
fixed.
checked in: mozilla/xpinstall/wizard/mac/macbuild/config.ini_tmpl
            ns/xpinstall/wizard/mac/config.ini_tmpl     
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Samir, I think you're the person who should verify this bug since the changes 
were made for the new progress bar model you're working on.
Archive sizes are now in both ns and moz installer config.inis.  Small nit that
will have an impact on download progress UI: it looks like the archive size is
calculated in KB by dividing by 1000 instead of by 1024.  Please change this
calculation to divide by a factor of 1024.  Reopening for this nit.  (Thanks for
getting the Archive Size key implemented expediently.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: --- → mozilla0.9.1
changing QA contact to sgehani per jj's comments.

jj's out til 5/1, so leaving target as 0.9.1.
QA Contact: granrose → sgehani
Severity: normal → minor
Priority: -- → P3
The new donwload UI will be dependent on this.  If the new download UI will go
in for nsbeta1 (which it is currently scheduled for per bug 77979) then we need
this too.  Hence, nominating for good measure.  
Keywords: nsbeta1
Blocks: 77979
plussing since this is a required subtask of an already-plussed bug
Keywords: nsbeta1nsbeta1+
Oops, this one slipped through the craks. Just fixed.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: