Greg Neagle
36769cdbbc
Revert "Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken)"
...
This reverts commit fdec07b615 .
2024-02-23 10:49:00 -08:00
Greg Neagle
fdec07b615
Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken)
2024-02-23 09:05:16 -08:00
Greg Neagle
2b327569b4
Update copyright dates
2024-01-30 16:14:29 -08:00
Shea Craig
3172d5dbb2
Fix #1183 ( #1184 )
...
* Use PyObjC recommended pattern to call superclass init to fix #1183
* Use the pylint comments from gurl.
2023-07-26 14:07:38 -07:00
Greg Neagle
767f64b12a
Update copyright info
2023-02-22 09:59:22 -08:00
Greg Neagle
5ee0f5928a
Update copyright dates
2022-05-10 16:09:38 -07:00
Greg Neagle
d6e40549e3
Make sure all values for app_dict are defined before attempting to return them from getInfoDictForApp_()
2021-10-19 14:17:34 -07:00
Greg Neagle
9d3e265cb8
Update copyright dates
2021-02-20 09:05:58 -08:00
Greg Neagle
b1df42ab13
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:15 -08:00
Greg Neagle
9f733b6341
app_usage_monitor: don't let app_version be undefined if app_path is falsish
2021-02-03 15:07:49 -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