Closed Bug 296306 Opened 19 years ago Closed 19 years ago

Archive creation scripts for new software update system

Categories

(Firefox Build System :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta3

People

(Reporter: darin.moz, Assigned: darin.moz)

References

Details

Attachments

(1 file)

Archive creation scripts for new software update system

We need to be able to create two types of archives: a full update and a partial
update.

Two scripts will be created with usage as follows:

  $ make_full_update.sh
  Usage: make_full_update.sh [OPTIONS] ARCHIVE DIRECTORY

  $ make_incremental_update.sh
  Usage: make_incremental_update.sh [OPTIONS] ARCHIVE FROMDIR TODIR

These bash shell scripts depend on the following command line utilities:
  mar      (bug 296303)
  mbsdiff  (bug 296295)

bzip2 is also required.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta3
Attached patch v1 patchSplinter Review
Attachment #185095 - Flags: review?(benjamin)
Comment on attachment 185095 [details] [diff] [review]
v1 patch

There are some interesting things I don't understand, like "> $manifest", so if
you want a detailed review you need to find someone else who knows shell
scripting better than I (that's what perl is for!).

My prototype scripts of a similar nature always added ".autoreg" to the update:
is this the correct script to do this? Does the update system preserve mtime on
files, in which case we might need a special "touch" command in the update
manifest itself?
Attachment #185095 - Flags: review?(benjamin) → review+
Shouldn't the change to app/gecko version/build-id be enough to trigger
compreg.dat and xpti.dat to be blown away?  So, maybe adding .autoreg is not needed?

Right now the update system does not preserve mtime on files.  I've often
wondered if it should.
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: