Commit Graph

4513 Commits

Author SHA1 Message Date
Per Olofsson
80754b57a7 Use a clock unaffected by system sleep for script timeouts (#1286) 2025-11-10 13:26:55 -08:00
Greg Neagle
c37cfd0d30 Bump version for future release 2025-11-10 10:53:22 -08:00
Greg Neagle
f91c63a560 If a stage_os_installer item has already staged the installer in /Applications, do not check if there is enough space to download the installer 2025-11-10 10:51:50 -08:00
Greg Neagle
7ee04f1435 When a Launchd job should not be cleaned up when managedsoftwareupdate exits, do not use a Munki-managed temp directory; use a temp direcotry created under /private/tmp 2025-11-10 10:50:07 -08:00
Greg Neagle
069e7e45da Better warning message if a proposed upload subdirectory is empty 2025-11-10 10:48:14 -08:00
Greg Neagle
b08b5800bd When using libedit/readline to insert a prompt and default response, be more careful to ensure the readline structures are initialized before proceeding 2025-11-10 10:47:12 -08:00
Alex Jones
7c4a87670e Fix bug in installhelper logic (#1284)
Don't unload all Munki launchd jobs if appusage jobs are not currently loaded.
2025-10-27 13:24:55 -07:00
Greg Neagle
61809bf452 Since we've decided we're never going to support installing Apple softwareupdates in Munki 7, simplify some code 2025-10-23 11:54:36 -07:00
Greg Neagle
3864988b16 Since we've decided we're never going to support installing Apple softwareupdates in Munki 7, simplify some logic 2025-10-23 11:53:48 -07:00
Greg Neagle
03993beceb Improved logic for using stored etag or last-modified headers to avoid re-downloading resources 2025-10-23 11:52:51 -07:00
Stephen Boyle
8e5848d9f8 Update fetch.swift (#1281)
modify etag / last-modified logic for http request: last-modified will be used if etag is not present.
2025-10-23 11:22:18 -07:00
Greg Neagle
3a8c03b8bb Address complier warning with simplified logic 2025-10-22 12:07:33 -07:00
Greg Neagle
f02a2959d8 Fix broken test 2025-10-22 12:06:55 -07:00
Greg Neagle
dba4597090 Add new test for changes in fileutils pathIsDirectory() 2025-10-22 12:06:24 -07:00
Greg Neagle
a3b0323110 Support symlinks for repo file: URLs 2025-10-22 11:22:35 -07:00
Greg Neagle
519c1922aa Bump version for future release 2025-10-22 11:21:02 -07:00
Greg Neagle
b862182f5d Explictly add a version_comparison_key of CFBundleVersion to an installs item if the item does not have a CFBundleShortVersionString. Addresses #1277 2025-10-15 09:16:24 -07:00
Greg Neagle
e6f49cf6e7 Fix an issue with the recording of 'ItemsToInstall' and
'ItemsToRemove' in ManagedInstallReport.plist. Addresses #1275
2025-10-13 17:33:27 -05:00
Greg Neagle
3e365ea241 Fix for issue when copying items from a dmg that are not at the dmg root 2025-10-09 20:23:37 -07:00
Greg Neagle
64da9216da Fix for unified logging subsystem naming 2025-10-09 20:22:48 -07:00
Greg Neagle
7ede11a43d swiftlint fix 2025-10-09 20:21:45 -07:00
Greg Neagle
07befda84a Address a compiler warning (no functional change) 2025-10-09 08:22:45 -07:00
Greg Neagle
8d741b5f96 Better handling of d_type field from readdir results, fixing an issue with directory enumeration on macFUSE_sshfs filesystems (and likely other FUSE filesystems. Addresses #1273, which affected makecatalogs (and likely affected manifestutil) 2025-10-09 08:18:19 -07:00
Greg Neagle
e64dca5afd Fix for detection of managedsoftwareupdate not starting or unexpectedly ending 2025-10-08 14:32:56 -07:00
Greg Neagle
068f12ff70 Fix for makepkginfo/munkiimport --blocking-application. Addresses #1274 2025-10-08 08:27:04 -07:00
Greg Neagle
9d6cf5afba Bump version for next release 2025-10-08 08:26:00 -07:00
Greg Neagle
c454bee48b MunkiStatus: if it's been more than 30 seconds since we've gotten an update message from managedsoftwareupdate, check for a running executable named 'managedsoftwareupdate' as well as a Python script 2025-10-06 20:39:46 -07:00
Greg Neagle
d8fe8e55e7 Remove Python command-line tools 2025-10-06 14:45:18 -07:00
Greg Neagle
029bb5ab46 Remove scripts and resources for building and installing Python framework 2025-10-06 14:41:33 -07:00
Greg Neagle
3ab392727c Fix for swiftformat --lint issue. 2025-10-01 14:23:18 +02:00
Greg Neagle
c4674968d5 Update build_swift_munki.sh script to also build repocheck 2025-10-01 10:34:50 +02:00
Greg Neagle
48ccd1121c Initial commit of repocheck 2025-10-01 10:29:47 +02:00
Greg Neagle
7d5b07c33b Display both stdout and stderr when running embedded scripts; capture both stdout and stderr and add to log whena script exits non-zero. Matchs previous (Munki 6.x Python) behavior. 2025-09-26 10:47:37 -07:00
Greg Neagle
9941b0cd39 Fix for makepkginfo processing receipts for payload-free packages. Addresses an issue where empty dicts were added to the receipts array 2025-09-25 10:53:23 -07:00
Greg Neagle
d65b1d1b70 Fix processing of LocalOnlyManifest. Addresses #1270 2025-09-25 09:03:50 -07:00
Greg Neagle
f9dcb96be9 swiftformat re-format 2025-09-24 13:41:45 -07:00
Wesley Whetstone
a7cafd0204 add AssociatedBundleIdentifiers to helper launchds (#1269)
Authored-by: Wesley Whetstone <wesw@stripe.com>
2025-09-24 13:38:39 -07:00
Greg Neagle
93b9c8586c Remove MWA2APIRepo code; moving to another repo. Fix for RepoProtocol definition for consistency 2025-09-23 15:05:10 -07:00
Greg Neagle
e498022578 Addresses #1267 where removals might consider/process the same item multiple times 2025-09-19 13:20:54 -07:00
Greg Neagle
9c3d199ff3 Update autorun pkg postinstall script (simpler now that supervisor has been removed) 2025-09-18 16:11:26 -07:00
Greg Neagle
c56cfa5244 Update help text for managedsoftwareupdate --auto 2025-09-18 15:42:42 -07:00
Greg Neagle
2744cd6fc5 Update sidebar and Dock icon badge with update count at launch when displaying the initial view 2025-09-16 17:17:03 -07:00
Greg Neagle
8b6833edd9 Request authorization from UNUserNotificationCenter to display app icon badges. Addresses #1255 2025-09-16 17:04:02 -07:00
Greg Neagle
67bf008bd9 Restore pre-testing version of make_swift_munki_pkg.sh script 2025-09-15 08:20:56 -07:00
Greg Neagle
cd662dde34 Removing GitHub Actions test script 2025-09-15 08:18:49 -07:00
Greg Neagle
f2eecbf133 Minor update to the app icon 2025-09-13 19:45:55 -07:00
Greg Neagle
dd176b147c Add icons to Navigate menu items in macOS 26 2025-09-12 13:23:26 -07:00
Greg Neagle
fd017d1824 Move Swift runtime library needed on macOS < 12 to /usr/local/munki/lib (previously installed at /usr/local/lib) 2025-09-11 14:38:51 -07:00
Greg Neagle
b19e9e748e Move 'internal' tools to /usr/local/munki/libexec 2025-09-11 14:21:13 -07:00
Greg Neagle
3fe773fe60 Update build scripts to not attempt to build supervisor 2025-09-10 15:55:52 -07:00