Commit Graph

17 Commits

Author SHA1 Message Date
Greg Neagle
2dda6b7783 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:21:31 -08:00
Greg Neagle
e1cb5ae8fb app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:08:18 -08:00
Greg Neagle
e1b5d505bc Revert "Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)""
IOW, restore the rename of "/usr/local/munki/python" symlink to "munki-python" (#997)

This reverts commit b9f9fffccc.
2020-09-15 16:46:34 -07:00
Greg Neagle
b9f9fffccc Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)"
This change is still a good future goal, but is causing problems that are too difficult to work around right now and is delaying the vital release of Munki 5.1 for Big Sur compatibility.

This reverts commit 3bb91cabca.
2020-09-15 09:04:47 -07:00
David Aguilar
3bb91cabca munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)
Avoid masking the system /usr/bin/python by calling our symlink
"munki-python" instead of "python".

Closes #996
2020-07-07 13:58:34 -07:00
Greg Neagle
d10857d434 Handle AppUsageClientError exception when processing app usage events in app_usage_monitor 2020-04-27 14:56:47 -07:00
Greg Neagle
72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Greg Neagle
af51af5cdd Change all sh-bang lines to #!/usr/local/munki/python 2019-07-16 22:14:47 -07:00
Greg Neagle
60b18c63f2 Add Python3 compatibility to app_usage_monitr 2019-06-16 22:31:42 -07:00
Greg Neagle
df60207145 Add 'from __future__ import absolute_import' to all files to enforce Python3-style imports 2019-05-03 21:34:56 -07:00
Greg Neagle
af1cf640b4 Fix recording of install requests to application_usage.
This has been broken for a year -- since the refactor into user-agent and root-daemon.
2019-04-12 20:39:50 -07:00
Greg Neagle
918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Greg Neagle
62dd7700fd Refactor app_usage_monitor into user-level agent and privileged daemon. 2018-04-07 19:10:16 -07:00
Greg Neagle
1428c40d06 Update copyright notices to include 2018 2018-01-20 08:46:22 -08:00
Greg Neagle
b676a5d894 app_usage_monitor: fix a commet typo - thanks @dre 2017-12-02 09:10:39 -08:00
Greg Neagle
f42265d49e New feature: removal of unused software available via optional_installs 2017-02-19 20:25:02 -08:00
Greg Neagle
157475ec3c Add app_usage_monitor 2017-02-15 11:21:15 -08:00