Archive creation scripts for new software update system

RESOLVED FIXED in mozilla1.8beta3

Status

()

Core
Build Config
--
major
RESOLVED FIXED
13 years ago
12 years ago

People

(Reporter: Darin Fisher, Assigned: Darin Fisher)

Tracking

Trunk
mozilla1.8beta3
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

6.21 KB, patch
Benjamin Smedberg
: review+
Details | Diff | Splinter Review
(Assignee)

Description

13 years ago
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.
(Assignee)

Updated

13 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta3
(Assignee)

Comment 1

13 years ago
Created attachment 185095 [details] [diff] [review]
v1 patch
Attachment #185095 - Flags: review?(benjamin)

Comment 2

13 years ago
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+
(Assignee)

Comment 3

13 years ago
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.
(Assignee)

Comment 4

13 years ago
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.