Closed Bug 435858 Opened 16 years ago Closed 16 years ago

Add auto update support

Categories

(Other Applications Graveyard :: McCoy, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mossop, Assigned: mossop)

Details

Attachments

(1 file)

To facilitate the delivery of bugfix releases mainly it would be good to get auto updating working for McCoy.
Assignee: nobody → dtownsend
Attached patch patch rev 1Splinter Review
Nick, don't know if you are happy reviewing this, let me know if not and I can pass on to someone else.

This does a few bits and pieces necessary to support auto updating of McCoy.

Sets appropriate preferences for checking for updates (currently checks my server, it seems the community aus server isn't really ready for random projects to use for now).
Creates a unique build id for each mccoy build rather than using the SDK build id.
Adds update channel prefs file.
Adds check for updates to the help menu (code cribbed from Firefox).

As a side issue it also adds access to about:config to the menus.

I've tested the results of this on Linux, Mac and Windows (using complete mars, test binaries at http://www.oxymoronical.com/mccoy/test/1.0pre0/). All successfully update. Linux has an oddity in that it does not display the progress UI during update however I believe that is because the update is too fast, the code automatically doesn't display UI if the update completes more than 50% in half a second.

There needs to be some work on making it easy to generate the mars but that does not need to be completed till the next next release.
Attachment #323244 - Flags: review?
Attachment #323244 - Flags: review? → review?(nrthomas)
Comment on attachment 323244 [details] [diff] [review]
patch rev 1

I have no claim to expertise here but looks plenty good to me. eg you've thought about the use cases for McCoy and making sure the update request is made. Happy to provide pointers for partial mar creation.

>diff --git a/app/application.ini b/app/application.ini
> Copyright=Copyright (c) 2007 Mozilla.org

2008 now :-)
Attachment #323244 - Flags: review?(nrthomas)
Commited in r14448
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: