Commit Graph

2478 Commits

Author SHA1 Message Date
Greg Neagle
bd42ba7dea Restore the sleep time to 5 seconds after triggering munki-notifier 2023-11-16 18:05:10 -08:00
Greg Neagle
a03b3ba425 Bump version for future release 2023-11-16 14:24:20 -08:00
Greg Neagle
2f5286aabb Work around an issue where munki-notifier is not always triggered when it should be.
A specific instance is when MSC.app is already open and in the background; for some reason
the launchagent takes longer to actually launch munki-notifier.
2023-11-16 14:12:55 -08:00
Greg Neagle
efeca8e0fc Change 'touch' operation to use binary flag for consistency 2023-11-16 14:10:28 -08:00
Greg Neagle
9e6da575c3 pylint cleanups 2023-11-10 14:08:27 -08:00
Greg Neagle
6cf8c03d98 Ensure the list of applications to check if running does not include any None items 2023-11-10 13:28:12 -08:00
Greg Neagle
4a1a4849f5 Bump version.plist for future release 2023-11-02 16:01:59 -07:00
Greg Neagle
54a85fbd61 Check for valid _package_ extension (not installer item extension) when attempting to get metadata for a package. 2023-09-15 14:00:34 -07:00
Greg Neagle
bb77913dbf makepkginfo help message tweaks 2023-08-18 09:26:22 -07:00
Greg Neagle
d3c9eb4ffc Bumping version for future release 2023-08-01 16:44:10 -07:00
Shea Craig
3172d5dbb2 Fix #1183 (#1184)
* Use PyObjC recommended pattern to call superclass init to fix #1183

* Use the pylint comments from gurl.
2023-07-26 14:07:38 -07:00
Nick McSpadden
2d64dcd17a Munkiimport puts supported architecture into pkginfo filename (#1185)
* Munkiimport now puts arch into pkginfo filename
2023-07-24 11:36:39 -07:00
Scott Blake
b697f04f4b Set consoleuser and thisuser to lowercase (#1182) 2023-07-17 09:13:03 -07:00
Greg Neagle
6591df346f Add Sonoma CatalogURL 2023-06-27 11:45:55 -07:00
Greg Neagle
8dbcecd61e minor pylint tweaks 2023-06-27 11:45:17 -07:00
Greg Neagle
d1db45e6bc Fix for issue #1179 2023-06-27 11:22:20 -07:00
Greg Neagle
213cc35add Remove distutils.version dependency from MunkiLooseVersion 2023-05-04 10:26:23 -07:00
Greg Neagle
a8494ab662 Step one of addressing distutils.version deprecation in Python 3.10 2023-05-04 09:17:32 -07:00
Greg Neagle
c1d57a637b Bump version.plist for future release 2023-05-02 11:38:49 -07:00
Greg Neagle
2ed2e216f9 Make it clearer on the command-line that Munki itself will not install (certain) Apple updates 2023-05-02 11:38:15 -07:00
Greg Neagle
b6155af3dd Bump version for future release 2023-05-02 09:00:12 -07:00
Greg Neagle
495e0e31b4 Reduce error messages caused by absent AppleUpdates.plist 2023-04-28 13:26:23 -07:00
Greg Neagle
8e323382d3 Update some messages to refer to 'managedsoftwareupdate' instead of '.managedsoftwareupdate.py' 2023-04-26 14:54:09 -07:00
Greg Neagle
fafca468ca Address issue with items marked for autoremoval that also need an update. See #1172 2023-04-18 16:47:41 -07:00
Greg Neagle
e75b25f4d8 Rename supervisor.py back to supervisor 2023-03-13 13:12:55 -07:00
Greg Neagle
fb5a49eb90 Merge branch 'Munki6dev' into munkishim 2023-02-23 08:23:32 -08:00
Greg Neagle
1db146ffaa Better detection of macOS updates (so we can filter out those that are upgrades) 2023-02-23 08:23:12 -08:00
Greg Neagle
c98153e1c9 Merge branch 'Munki6dev' into munkishim 2023-02-22 10:00:16 -08:00
Greg Neagle
767f64b12a Update copyright info 2023-02-22 09:59:22 -08:00
Greg Neagle
e46bb0a66c Merge branch 'Munki6dev' into munkishim 2023-02-22 09:38:46 -08:00
Greg Neagle
139e2d3f56 Add 'AppleSoftwareUpdatesIncludeMajorOSUpdates' to the list of DEFAULT_PREFS so it will be shown in the output of 'managedsoftwareupdate --show-config' 2023-02-22 09:38:20 -08:00
Greg Neagle
36acee5cde Update make_munki_mpkg.sh to build munkishim and build core tools with the shim in place of managedsoftwareupdate and supervisor 2023-02-10 15:22:11 -08:00
Greg Neagle
d4450fb24f Bump version for future release 2023-02-10 14:30:04 -08:00
Greg Neagle
57f74d5cf5 When calling /usr/sbin/installer, use subprocess instead of launchd so the responsible process ends up being /usr/local/munki/managedsoftwareupdate 2023-02-10 14:28:41 -08:00
Greg Neagle
c262ad35a4 Add minimum_munki_version of 6.2 when using new uninstall_package uninstall method 2023-01-31 15:37:38 -08:00
Greg Neagle
b1af8137e8 Merge uninstall_pkg branch; bump version for future release 2023-01-31 10:04:12 -08:00
Greg Neagle
05e40a173d Fix dictionary update error that broke makepkginfo/munkiimport when importing an Adobe pkg 2023-01-20 13:42:31 -08:00
Greg Neagle
13cae46158 Add general support for uninstaller_package to munkiimport/makepkginfo; default to 'normal' Apple package install for Adobe CCP/Admin Console packages 2023-01-18 16:21:10 -08:00
Greg Neagle
7ed49cebe3 Add support for uninstall_method of type 'uninstall_package' 2023-01-18 14:39:05 -08:00
Greg Neagle
4c4c46132c when running startosinstall, if we get a SIGUSR1, assume we can restart no matter the exit code from the tool. Addresses an issue when installing Ventura from macOS 12.6.2. Thanks to @poundbangbash 2023-01-13 10:52:42 -08:00
Greg Neagle
f4ffb95903 Merge branch 'Munki6dev' of https://github.com/munki/munki into Munki6dev 2023-01-10 13:55:38 -08:00
Jim Zajkowski
b0cfd6a789 Fix issue with receiptinfo having a null product_version (#1166)
* Fix issue with receiptinfo having a null `product_version`

* More pythonic
2023-01-10 13:49:55 -08:00
Greg Neagle
2799d46b1d Merge branch 'default_installs' 2023-01-09 15:40:04 -08:00
Greg Neagle
158b39983c Bump version for future release 2023-01-09 15:32:40 -08:00
Greg Neagle
b930624b2a By default, filter out Apple softwareupdates that are major OS upgrades (like Ventura upgrades when running Monterey) 2023-01-09 15:29:33 -08:00
Greg Neagle
dc7c9eeb81 Fix test for Deferred Apple updates 2023-01-06 13:12:20 -08:00
Greg Neagle
a8f6c6d2f6 Add support for 'default_installs': items that are installed by default, but then under user control 2022-12-09 10:25:46 -08:00
Greg Neagle
21a6a4d3a5 makepkginfo: Make use of Product version info if available in a package Distribution file 2022-12-06 14:36:10 -08:00
Greg Neagle
51cad91a31 When running startosinstall, better handle the case where SharedSupport.dmg doesn't mount for whatever reason. Addresses #1165 2022-12-06 08:39:21 -08:00
Greg Neagle
929a7e9991 munkiimport: Catch more Exceptions when processesing catalogs 2022-11-01 14:27:11 -07:00