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 #1740 (closed defect: fixed)

Opened 2013-03-26T10:07:54-05:00

Last modified 2013-06-13T13:02:41-05:00

Support Dropbox-backed update sites better

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

Description

At the moment, Dropbox does not support HTTP HEAD requests. As a consequence, our updater fails to obtain a timestamp and will never notify the user about updates on Dropbox-backed update sites.

What we need to do is detect that the HEAD request failed because it is unsupported and either write a TIMESTAMP file to the same update site or download the db.xml.gz file and inspect its contents to find the newest timestamp it contains (although the latter is fragile, e.g. when a file has been made obsolete).

Change History

comment:1 Changed 2013-03-27T09:46:36-05:00 by dscho

  • Milestone changed from imagej2-unscheduled to imagej2-b8-analysis

comment:2 Changed 2013-06-13T13:02:41-05:00 by dscho

  • Status changed from new to closed
  • Resolution set to fixed

DropBox made it harder for us by leaking information about the implementation details through the URLs. So while we added workarounds (d7d1629afd89aba53a74bdf72bcb8db5b16acf47 and later commits), using DropBox for update sites is seriously discouraged.

We have personal update sites at  http://sites.imagej.net/ now.