imagej / imagej-updater

The automatic updater for ImageJ
Other
12 stars 15 forks source link

Usage statistics #38

Closed ctrueden closed 10 years ago

ctrueden commented 10 years ago

This branch makes two changes which will be needed by the impending ImageJ usage statistics project:

  1. It adds a boolean official flag to UpdateSite with corresponding API, so that update sites gleaned from the official list of update sites can be flagged as such.
  2. It adds a getUpdateSite(File) method to the UpdateService to identify which update site (if any) yielded a particular file of the ImageJ installation.

I looked into adding an automated test for the new UpdateService method but it would be quite involved, due to the updater's current architecture. I have been using this branch when testing imagej-usage, and the code is working.

dscho commented 10 years ago

Excellent! Thank you!