Greg Neagle
9d618d828f
For staged os installers, handle both intended or newer OS already installed _and_ staged installer presence (or not)
2022-08-24 16:48:17 -07:00
Greg Neagle
b23a0c535e
Use the correct pkginfo dict when recording info about a staged macOS installer
2022-08-24 15:47:05 -07:00
Greg Neagle
3a9731e973
Fix parsing of StagedOSInstaller.plist; consume stderr (and stdout) of startosinstall --usage so it doesn't get barfed into the output of managedsoftwareupdate
2022-08-24 15:45:56 -07:00
Greg Neagle
e2ac949124
Initial commit of changes around staging macOS installers and helping users manually launch them
2022-08-24 14:52:11 -07:00
Greg Neagle
513f311039
PyLint cleanups
2022-08-12 17:20:37 -07:00
Greg Neagle
5c2fbda46c
PyLint cleanups; fix an issue with appleupdates.installableUpdates()
2022-08-12 17:15:29 -07:00
Greg Neagle
a56401687f
Bump version for future release
2022-08-10 11:26:12 -07:00
Greg Neagle
aed1b2b0ce
Merge branch 'main' into Munki5dev
2022-08-10 11:23:15 -07:00
Jim Zajkowski
48632f3905
Change to detecting laptop/desktop by identifying if the system has a battery ( #1153 )
...
* flip machine_type to checking for a battery power source
primary author: @gregneagle, on Slack
* move battery detector to powermgr
2022-08-10 11:22:32 -07:00
Greg Neagle
3a41be24a7
Changes to how Munki works with softwareupdate to attempt to improve reliability
2022-08-04 16:28:56 -07:00
eholtam
701f6bcbb3
Update make_munki_mpkg_from_git flags to match the changes in make_muinki_mpkg.sh. ( #1144 )
...
Authored-by: eholtam <(none)>
2022-06-16 11:56:24 -07:00
danhutchings
3cc0cbb320
Add raised exception to manifest retrieval output ( #1143 )
...
When running `managedsoftwareupdate` without an internet connection, the below error will happen:
```
ERROR: Could not retrieve managed install primary manifest.
```
This is a rare, but possible situation. Other Munki libraries add the raised exception to the output (ex: download.py). This PR includes a change that will add the raised exception to the manifest retrieval in `core.py`. Below is an example of the output could look like with these changes:
```
ERROR: Could not retrieve managed install primary manifest.: (-1009, "The Internet connection appears to be offline.")
```
For Munki administrators, this will be helpful when trying to diagnose why a system was unable to retrieve the manifest via log files.
2022-06-15 16:38:35 -07:00
Greg Neagle
3f4be7ed80
Increase error detail when copying items from a dmg fails
2022-06-15 16:37:46 -07:00
Greg Neagle
1c521c466b
Bumping version for future release
2022-06-15 16:36:45 -07:00
Greg Neagle
516f4ec61d
MSC.app should attempt to open the new Software Updates view in the new System Settings application in macOS 13 Ventura beta
2022-06-08 13:56:17 -07:00
Greg Neagle
d834d45e1a
Add macOS 13 sucatalog URL
2022-06-08 11:07:38 -07:00
Greg Neagle
8329c6f67b
Bumping versions for future release
2022-06-07 11:51:58 -07:00
Christopher Grande
42334f6fec
Hide baseline separator on < 10.15 ( #1140 )
...
Remove line in updates only mode & full window mode
2022-06-07 11:48:55 -07:00
forvitinn
4748ed7bb8
add PlistReadError to except ( #1142 )
2022-06-07 11:44:23 -07:00
Greg Neagle
0be0e419da
Bump version for future release; tweak logging text when checking for Apple updates
2022-06-07 08:52:13 -07:00
Greg Neagle
d353d56d75
Adjust some 'softwareupdate -l' logic for Big Sur+ and Apple silicon to (hopefully) more reliably get list of available Apple updates. This has been such a moving target for so long...
2022-06-02 14:18:52 -07:00
Greg Neagle
9dbc161dc6
Fix dumb mistake around displaying Apple updates in MSC.app
2022-05-25 09:51:24 -07:00
Greg Neagle
10263a76d1
Pylint fixes
2022-05-24 11:56:41 -07:00
Greg Neagle
be4f0262d2
Pylint cleanups
2022-05-24 11:36:52 -07:00
Greg Neagle
f6c618a243
Better UI around Apple updates that don't require a restart on Apple silicon
2022-05-24 11:22:37 -07:00
Greg Neagle
450294be76
Fix for too-aggressive clean up of download cache directory that also deleted partial downloads in some cases
2022-05-24 10:45:40 -07:00
Greg Neagle
60cfd69bb7
Build a Python 3.9.13 framework instead of 3.10.x to avoid issue #1136
2022-05-20 09:00:56 -07:00
Greg Neagle
5ee0f5928a
Update copyright dates
2022-05-10 16:09:38 -07:00
Greg Neagle
270ac4a65d
Update some comments and code formatting
2022-05-10 13:41:44 -07:00
Greg Neagle
84f3c6f3fe
Reduce included PyObjC modules to reduce build time, installation size, and maintenance tasks
2022-05-10 13:34:27 -07:00
Greg Neagle
b01794b2e4
Method signature fixes in gurl.py for PyObjC 8.5 and macOS Mojave. Thanks to @pudquick.
2022-05-10 13:32:41 -07:00
Greg Neagle
2d9b174ceb
in cliutils.py, replace some usage of plistlib functions with those in wrappers.py to be compatible with Python 3
2022-05-05 11:41:13 -07:00
Greg Neagle
8a2f4d191b
update the list of PyObjC modules to be a superset of what is part of the 5.6.4 release
2022-05-04 16:08:04 -07:00
Greg Neagle
01568e15d2
Bump PyObjC version to 8.5; don't attempt to build pyobjc-framework-ScreenCaptureKit (not needed by Munki; errors on attempt)
2022-05-04 14:33:29 -07:00
Greg Neagle
878484e81b
Restore restart postinstall-action for 'standalone' launchd pkg
2022-05-03 09:15:46 -07:00
Greg Neagle
bf78ccd971
Update pkg build script to build a single package that should work for both MDM-style and most non-MDM scenarios
2022-05-02 21:24:05 -07:00
Greg Neagle
876060448b
Update Munki uninstall script to reflect current install
2022-05-02 21:16:16 -07:00
Greg Neagle
1c19f97928
Update Python cleanup script to remove version 3.9 from the framework if it's still there
2022-04-28 19:12:33 -07:00
Greg Neagle
f323f12174
make_munki_mpkg.sh: Add support for triggering a managedsoftwareupdate --auto run immediately after install
2022-04-28 19:11:25 -07:00
Greg Neagle
7ce973787b
Address an issue with munki-notifier, 'obnoxious mode', and multiple spaces (See https://github.com/munki/munki/issues/1108 )
2022-04-26 10:44:44 -07:00
Greg Neagle
b84124f6f0
Update MSC.app to call munki-notifier.app to clear delivered notifications
2022-04-25 12:44:15 -07:00
Greg Neagle
e7538beebf
Update munki-notifier to no longer spoof the 'com.googlecode.munki.ManagedSoftwareCenter' bundle id
2022-04-25 12:40:53 -07:00
Greg Neagle
d91d694ce5
repoclean: when analyzing receipts across items, sort the receipts for better comparison
2022-04-11 11:13:19 -07:00
Greg Neagle
2c614e972e
Bump Python version to 3.10.4 and PyObjC to 8.2
2022-04-06 09:41:45 -07:00
Greg Neagle
747f6e2439
Bumping version for future release
2022-04-06 09:00:06 -07:00
Greg Neagle
1a7ab81e14
Attempt to use softwareudpdate product 'Deferred' info if available
2022-04-06 08:59:17 -07:00
Greg Neagle
1f695d5054
Merge branch 'main' into Munki5dev
2022-03-23 16:06:22 -07:00
Greg Neagle
7708340a3a
Fix bytes vs string issue in installer/rmpkgs.py used by the removepackages tool
2022-03-23 16:06:01 -07:00
Greg Neagle
d734c2ce9e
Fix for issue where a given optional install might appear in both Pending Updates and Available Updates
2022-02-28 14:33:43 -08:00
Greg Neagle
d2505b2653
Bump version for future release.
2022-01-28 08:53:02 -08:00