Ticket #1740 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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 6 years ago by dscho

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

comment:2 Changed 6 years ago 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.

Note: See TracTickets for help on using tickets.