Commit Graph

2277 Commits

Author SHA1 Message Date
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 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 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 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 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 696e40ca8a More changes to support softwareupdate in Big Sur 2020-09-04 16:28:53 -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 c346a2833d Add better requirements for 10.15 and 11.0 installs when a pkginfo is generated 2020-08-24 12:16:05 -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 a60e90d5a8 Workaround to reliably get 'real' OS version on Big Sur. Addresses #1009 2020-08-08 07:46:40 -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 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 3290e519c3 Merge branch 'main' into Munki5dev 2020-07-13 16:42:38 -07:00
Taylor Boyko f39f98ccf9 do not decode data within _curl() (#1007) 2020-07-13 16:41:52 -07:00
Greg Neagle 5d1cfd6764 Bumping version for future release 2020-07-07 14:21:50 -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 361b18bcc5 Add logging around non-support for profile installation on certain versions of macOS. 2020-07-07 08:12:44 -07:00
Greg Neagle 09af1c23c6 Don't crash when parsing an item name that endds with a hyphen 2020-07-02 13:26:44 -07:00
Greg Neagle 353d542974 Reorder tasks at the end of a managedsoftwareupdate run so the munkistatus session is told it's done before we send a notification of pending updates. 2020-06-30 20:43:06 -07:00
Greg Neagle 6806c5dbed Remove no-longer-used loginwindow import 2020-06-29 11:49:37 -07:00
Greg Neagle 36d8195b54 When MSC.app opens the Software Update preferences pane for a user to initiate a software update, clear all the the loginwindow/startup trigger files so that Munki does not attempt to install updates at the same time Apple Software Update may be installing. 2020-06-29 11:48:02 -07:00
Greg Neagle 5f389c1daa Fix unfortunate typo 2020-06-29 08:57:18 -07:00
Greg Neagle d2d2c14dd5 When /Users/Shared/.com.googlecode.munki.checkandinstallatstartup or /Users/Shared/.com.googlecode.munki.installatstartup are used, skip the run if we are at the loginwindow because of a logout and not because of a restart. 2020-06-26 14:58:56 -07:00
Greg Neagle 0fcea40276 Bump version for future release. 2020-06-26 09:47:31 -07:00
Greg Neagle 959496cb54 Fixes for appleupdates.au.software_updates_available() 2020-06-26 09:35:34 -07:00
Greg Neagle f81fe08056 Don't clear AppleUpdates.plist if we cannot (currently) reach the softwareupdate server. Prevents UpdateNotificationTracking.plist from losing track of Apple updates when an internal softwareupdate replica is not always available (for example, when available only via VPN) 2020-06-26 09:21:44 -07:00
Greg Neagle 4227fff158 another pass at making the softwareupdate check a little more efficient 2020-06-15 14:54:05 -07:00
Greg Neagle c53be5860e Clear bootstrap mode if there are no Munki updates and no Apple updates we can actually install without user help. 2020-05-26 10:46:16 -07:00
Greg Neagle 6851449d5e Bump version to 5.0.0 for future release 2020-05-12 18:46:35 -07:00
Greg Neagle cd4bbe1002 Ignore force_install_after_date keys for Apple updates in macOS 10.14 and later 2020-05-12 10:54:41 -07:00
Greg Neagle acc0f8a038 Add AggressiveUpdateNotificationDays to default prefs and (therefore) output of --show-config 2020-05-11 09:35:51 -07:00
Greg Neagle 9e18c67a1b A far too large commit that extends obnoxious mode to Munki updates that have been pending a long time and to updates that will be forced soon. 2020-05-10 18:35:00 -07:00
Greg Neagle 9273e90730 For launchd jobs that might live past managedsoftwareupdate, don't use the shared tmpdir 2020-05-08 16:25:38 -07:00
Greg Neagle 4ee9fe4fea When the list of apple updates to be installed is filtered to an empty list, return a restart action integer and not False 2020-05-08 09:32:00 -07:00
Greg Neagle b4817c6f3d Split the nvram variable value output on a comma, as originally intended. 2020-05-07 16:11:06 -07:00
Greg Neagle 2d90875f91 Move bridgeos_update_staged() function to osutils; allows osinstaller, appleupdates, and managedsoftwareupdate to call it. 2020-05-07 14:54:49 -07:00
Greg Neagle 1d4030aa44 Check nvram for evidence a BridgeOS update is staged; if so, shutdown instead of restart. 2020-05-07 09:19:23 -07:00
Greg Neagle 63df06dca4 Merge branch 'master' into manualsoftwareupdate 2020-05-04 13:43:57 -07:00