Commit Graph

2304 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 ae28a71550 Improved OS version comparisons taking into account new (Big Sur+) versioning 'style' 2020-12-15 08:15:03 -08:00
Greg Neagle 49625ed975 Fix for Software Update catalog issue with 11.1 2020-12-14 14:33:23 -08:00
Greg Neagle c2d9578a16 Bump version in version.plist for future release. 2020-12-02 16:44:07 -08:00
Greg Neagle 7f736a4901 Nasty hack to return native processor arch even when running under Rosetta 2020-12-02 16:39:52 -08:00
Kyle Crawford 975f649239 Keep content-length on network connection error so downloads can resume (#1057)
Gurl requires the expected content length in the xattr data in order to
consider resuming a partial download.

When there is a network connection interruption
URLSession_task_didCompleteWithError_ is called with an error.

Prior to this fix content length was always removed from the xattr data
when URLSession_task_didCompleteWithError_ was called so downloads would
never resume after a connection error.

With this fix, content length is only removed from the xattr data when
there is no error since the download would be complete and resuming
would not be necessary.
2020-11-25 09:45:22 -08:00
Greg Neagle 72cdd10f47 Add EmulateProfileSupport to the list of prefs shown by managedsoftwareupdate --show-config 2020-11-16 14:41:32 -08:00
Greg Neagle c2f358750d Update required disk space for Big Sur upgrades 2020-11-12 09:34:42 -08:00
Greg Neagle 4f56b7f94d Improved logic for non-support of config profiles in Big Sur during the check phase. 2020-10-22 11:39:06 -07:00
Greg Neagle 60672827c0 Merge branch 'bigsur-profiles' into Munki5dev 2020-10-15 14:25:17 -07:00
Greg Neagle d93622b574 Make using LocalMCX to emulate managed preferences profile support opt-in 2020-10-15 14:24:52 -07:00
Greg Neagle c993bee1a8 Clean up comments and doc strings 2020-10-15 13:58:57 -07:00
Greg Neagle 6ed3c484f3 Merge branch 'main' into Munki5dev 2020-10-11 11:00:40 -07:00
Greg Neagle 80bf6d48ad Unicode-normalize item names when looking for item detail. 2020-10-10 11:15:26 -07:00
Greg Neagle a31329f27f Bump version.plist for future release 2020-10-05 16:58:40 -07:00
Greg Neagle c933474bac Merge branch 'main' into bigsur-profiles 2020-09-29 11:47:16 -07:00
Greg Neagle ea28fa1f69 Merge branch 'main' into Munki5dev 2020-09-29 11:46:35 -07:00
Greg Neagle 9c5d984cff Yet another fix for Big Sur softwareupdate percent-complete output 2020-09-29 11:46:12 -07:00
Greg Neagle 29f86e82a5 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-28 15:49:48 -07:00
Greg Neagle f5b14877ce Merge branch 'Munki5dev' into new-msc-design 2020-09-28 15:45:34 -07:00
Greg Neagle d2ed38e3be Better logic for parsing percent-done output from Big Sur's softwareupdate -- this time with the right characters 2020-09-27 14:29:21 -07:00
Greg Neagle aea9ffd3e8 Better logic for parsing percent-done output from Big Sur's softwareupdate 2020-09-27 14:27:33 -07:00
Greg Neagle d14c97ce46 Merge branch 'Munki5dev' into new-msc-design 2020-09-18 16:58:06 -07:00
Greg Neagle 6d43e98130 Tweak percent-done output parsing on Big Sur 2020-09-17 16:15:12 -07:00
Greg Neagle 4328067362 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-16 14:47:07 -07:00
Greg Neagle 2cbc98df7e Merge branch 'Munki5dev' into new-msc-design 2020-09-16 14:46:29 -07:00
Graham Gilbert 401f521f48 Add cleanup scripts (#1025)
* Run cleanup scripts if they're there

* Cleanup script, add to build script

* okay

* I'm all shelled out

* Comment for future greg
2020-09-16 14:05:08 -07: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 fc3836c95e Bump version to 5.2.0 for intended future release version 2020-09-15 09:14:37 -07:00
Greg Neagle d03ef108d7 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-15 09:07:38 -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
Greg Neagle a7b1df2a80 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-04 16:30:10 -07:00
Greg Neagle 696e40ca8a More changes to support softwareupdate in Big Sur 2020-09-04 16:28:53 -07:00
Greg Neagle 9b3240895d Merge branch 'Munki5dev' into bigsur-profiles 2020-09-04 08:28:52 -07:00
Greg Neagle a840bed778 Add default sucatalog for Big Sur 2020-09-04 08:28:15 -07:00
Greg Neagle d1db5af686 Support for Big Sur softwareupdate percent-done feedback 2020-09-04 08:22:43 -07:00
Greg Neagle d2bd952f00 Merge branch 'Munki5dev' into bigsur-profiles 2020-08-24 12:17:14 -07:00
Greg Neagle c346a2833d Add better requirements for 10.15 and 11.0 installs when a pkginfo is generated 2020-08-24 12:16:05 -07:00
Greg Neagle a877889b1c Merge branch 'Munki5dev' into bigsur-profiles 2020-08-18 16:20:04 -07:00
Taylor Boyko b56fb552b4 Support repo-based makecatalogs (#1012)
* if repo plugin has a makecatalogs method defined, use it instead

* pass options and output_fn to repo makecatalogs method
2020-08-18 16:17:12 -07:00
Greg Neagle 0176fef862 Merge branch 'Munki5dev' into bigsur-profiles 2020-08-08 07:47:42 -07:00
Greg Neagle a60e90d5a8 Workaround to reliably get 'real' OS version on Big Sur. Addresses #1009 2020-08-08 07:46:40 -07:00
Greg Neagle b7082c2ac1 Merge branch 'Munki5dev' into bigsur-profiles 2020-08-07 20:19:15 -07:00
Greg Neagle bee2216e8d Remove most subprocess bufsize and open buffering options to instead use defaults. Addresses several RuntimeWarnings when using Python 3.8. 2020-08-06 21:34:43 -07:00
Greg Neagle 6d05eedbee Merge branch 'Munki5dev' into bigsur-profiles 2020-08-04 21:31:16 -07:00
Greg Neagle 5b50b5cab9 Extract OS version from Big Sur installer app 2020-07-24 09:12:37 -07:00
Greg Neagle e161a87952 Update install macos app checks for Big Sur 2020-07-23 16:58:11 -07:00
Greg Neagle 2b9ce4c406 Merge branch 'Munki5dev' into bigsur-profiles 2020-07-13 16:43:36 -07:00
Greg Neagle 3290e519c3 Merge branch 'main' into Munki5dev 2020-07-13 16:42:38 -07:00