Commit Graph

2320 Commits

Author SHA1 Message Date
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
7087bc22ef Quiet warnings about metadata for MSU_UPDATE_s 2021-03-05 09:55:55 -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
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
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
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
88a69af408 Bump version for upcoming release 2021-02-05 10:18:07 -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
0f6d817850 In info.py, get the hardware model without calling system_profiler 2021-02-05 08:09:20 -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
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
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
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
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