NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1199 (closed defect: moved)

Opened 2012-05-29T11:14:56-05:00

Last modified 2014-04-29T20:50:48-05:00

Teach the updater to resume interrupted updates

Reported by: dscho Owned by: dscho
Priority: minor Milestone: imagej2-b8-analysis
Component: Updater Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: #1347

Description

When an update is interrupted, the update/ directory is still in place. The Updater therefore would refuse to launch wihtout a restart, and -- what is worse -- a restart of ImageJ would copy the (possibly incomplete) files into place.

Teach the Updater to detect when an update was interrupted and re-checksum the downloaded files, delete the incomplete ones, and continue.

Teach the launcher to ignore incomplete update/ directories (best bet: use a different name until the update is done, similar to the common file system-based locking pattern we already apply for db.xml.gz when uploading).

Change History

comment:1 Changed 2012-05-29T11:17:05-05:00 by dscho

  • Status changed from new to accepted

comment:2 Changed 2012-07-19T21:17:51-05:00 by dscho

  • Blocking 1347 added

comment:3 Changed 2012-08-03T11:58:41-05:00 by dscho

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

Pushing to beta5; this is really not top-priority right now.

comment:4 Changed 2012-12-27T13:51:20-06:00 by curtis

  • Component changed from ij-core to ij-updater

comment:5 Changed 2013-03-07T13:04:44-06:00 by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:6 Changed 2014-04-29T20:50:48-05:00 by curtis

  • Status changed from accepted to closed
  • Resolution set to moved