Commit Graph

2345 Commits

Author SHA1 Message Date
Greg Neagle 8d5472633d Beginning of changes for Apple update nagging support on Apple Silicon 2021-05-24 11:28:15 -07:00
Greg Neagle dc8ec590a1 Bumping version for future release; changes so far are more than simple bug fixes 2021-05-14 14:27:35 -07:00
np5 f741ac3f26 Use keychain certificates for mTLS (#1077) 2021-05-11 13:49:48 -07:00
Greg Neagle c2ee59b20e Bumping version for future release 2021-05-04 10:52:35 -07:00
Greg Neagle 9ab1e5fb79 Avoid calling now-removed plistlib.readPlist in cliutils.py Fixes 'manifestutil version' 2021-05-04 10:51:25 -07:00
Greg Neagle e5dc248159 Bumping version for future release 2021-04-26 09:00:21 -07:00
Greg Neagle 851cfc3041 Record Apple update history seperately. Workaround for 'disapparing/reappearing' macOS updates seen in Big Sur 2021-04-26 08:12:47 -07:00
Greg Neagle 870660c3ac New --arch option for munkiimport and makepkginfo 2021-04-09 13:32:14 -07:00
Greg Neagle 91467f6548 Merge branch 'universal2' into Munki5dev 2021-03-30 08:36:46 -07:00
Greg Neagle c91a17c022 Experiment in having managedsoftwareupdate call 'networksetup -detectnewhardware' at the beginning of a boootstrapping session 2021-03-19 14:39:48 -07:00
Greg Neagle de4e82eb5b Bumping version for new release 2021-03-10 08:41:25 -08:00
Greg Neagle 1abae70c40 Merge branch 'main' into universal2 2021-03-05 09:56:40 -08:00
Greg Neagle 7087bc22ef Quiet warnings about metadata for MSU_UPDATE_s 2021-03-05 09:55:55 -08:00
Greg Neagle c6c5b1a958 Merge branch 'main' into universal2 2021-03-05 09:36:37 -08:00
Greg Neagle 8a0a2345da Yet another fix for --show-config for items that are forced False on Apple silicon 2021-03-05 09:34:32 -08:00
Greg Neagle b2fedc79ab Merge branch 'main' into universal2 2021-03-04 09:36:05 -08:00
Elliot Jordan 1e3bb8a8a9 Minor spelling fixes (#1080)
* Fix "criteria" spelling in function name

* Fix "supervisory" spelling in docstring
2021-03-04 09:35:09 -08:00
Klaus Wik 51a1ab0c92 Change false to False in prefs.py (#1074)
line 310 had value = false which of course fails ;)
2021-02-24 08:07:49 -08:00
Greg Neagle d51592b5eb Merge branch 'Munki5dev' into universal2 2021-02-20 09:13:04 -08:00
Greg Neagle 9a6610a74c Update copyright dates 2021-02-20 09:09:53 -08:00
Greg Neagle 9d3e265cb8 Update copyright dates 2021-02-20 09:05:58 -08:00
Greg Neagle f2f1504a6f Don't crash for --show-config on Apple silicon 2021-02-16 15:16:30 -08:00
Greg Neagle bf0de64713 Merge branch 'Munki5dev' into universal2 2021-02-09 14:11:42 -08:00
Greg Neagle 998586a630 Force Apple softwareupdate prefs to false on Apple Silicon 2021-02-09 14:10:47 -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 5650a22885 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:20:39 -08:00
Greg Neagle 88a69af408 Bump version for upcoming release 2021-02-05 10:18:07 -08:00
Greg Neagle 613101480f Merge branch 'Munki5dev' into universal2 2021-02-05 09:12:49 -08:00
Greg Neagle 5f680b9862 Python 3 fixes for IOPlatform and sysctl functions ported from Python 2 :-( 2021-02-05 09:12:10 -08:00
Greg Neagle a9756cef8e Merge branch 'Munki5dev' into universal2 2021-02-05 08:09:40 -08:00
Greg Neagle 0f6d817850 In info.py, get the hardware model without calling system_profiler 2021-02-05 08:09:20 -08:00
Greg Neagle 0de132711f Merge branch 'Munki5dev' into universal2 2021-02-04 16:58:28 -08:00
Greg Neagle c8b9554d77 Get machine serial number without calling system_profiler. Works around manifest resolution issue when system_profiler times out or otherwise misbehaves. 2021-02-04 16:57:59 -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 d26c8b5861 app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:06:55 -08:00
Greg Neagle 1ba3fe3551 Merge branch 'main' into universal2 2020-12-15 08:16:02 -08:00
Greg Neagle 8b9de80131 Merge branch 'main' into Munki5dev 2020-12-15 08:15:26 -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 c9f74aed6d Merge branch 'main' into universal2 2020-12-14 14:34:18 -08:00
Greg Neagle 40779023ad Merge branch 'main' into Munki5dev 2020-12-14 14:33:51 -08:00
Greg Neagle 49625ed975 Fix for Software Update catalog issue with 11.1 2020-12-14 14:33:23 -08:00
Greg Neagle 97d57a09c9 Merge branch 'Munki5dev' into universal2 2020-12-07 10:56:46 -08:00
Noah cdc3b40561 Adding managed_updates support for local manifest (#1027)
* 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

* Revert "Support repo-based makecatalogs (#1012)" (#1013)

This reverts commit 98a31e802e.

* Adding managed_updates support for local manifest

Co-authored-by: Taylor Boyko <taylorboyko@gmail.com>
Co-authored-by: Greg Neagle <Gregneagle@mac.com>
Co-authored-by: Noah.Anderson <noah.anderson@target.com>
2020-12-07 10:56:00 -08:00
Greg Neagle c2d9578a16 Bump version in version.plist for future release. 2020-12-02 16:44:07 -08:00
Greg Neagle 53feeab1dc Merge branch 'main' into universal2 2020-12-02 16:40:49 -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
Greg Neagle 0ae0d5c609 Changes for Universal2 builds including Python 3.9.1rc1 and PyObjC 7.0 2020-11-29 16:18:29 -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