buffalo/MunkiFace — Issue #17: Auto-update
Author: buffalo
Created: 2012-03-10 05:22:59+00:00
State: open
Labels: feature request

Since MunkiFace lives on github, it should be possible to implement some logic that checks for a more recent tagged version of MunkiFace than the one currently running. When a more recent version is detected, the update behavior is up for debate. Here are some initial thoughts:

In server-app/Settings.plist, a new set of keys can be added; `check_for_updates` and `update_silently`. Both are boolean keys, the first of which would tell the app if the admin wants MunkiFace to even check for updates at all. The second key allows the admin to tell MunkiFace to update itself silently or to display a prompt in client-app.

Both the server-app and client-app would need to be aware of their own versions. Doing so allows the client-app to poll the server-app periodically to compare versions and present a message to the admin when the client-app needs to reload because the server applied a newer version. This resolves any issues silent-updating might cause where an admin has MunkiFace open for days on end while an update is applied on the server.