4914 Commits

Author SHA1 Message Date
Greg Neagle
83accce636 Merge branch 'Munki7dev' 2025-12-02 09:38:09 -08:00
Elliot Jordan
4f4ae55c39 Custom environment should be set if present (#1292) v7.0.4 2025-11-26 09:17:10 -08:00
Greg Neagle
ad77ae8813 Improved parsing of filepaths for several makepkginfo/munkiimport options. Addresses #1291 2025-11-20 17:09:51 -08:00
Greg Neagle
775f700a52 swiftformat tweaks 2025-11-20 11:13:25 -08:00
Greg Neagle
5f37590fc8 Address issue with empty installs arrays and determining if some version is installed, or there's any evidence something is installed 2025-11-20 11:11:33 -08:00
Greg Neagle
3ee1118aee When checking installation state, ignore empty installs arrays 2025-11-20 11:01:51 -08:00
Greg Neagle
dfce4ae91a Add more installation state tests: identifies an issue with empty installs array 2025-11-20 10:56:22 -08:00
Greg Neagle
9aac35be6e makepkginfo/munkimport: Don't fail silently if we can't read a script file 2025-11-20 10:55:26 -08:00
Greg Neagle
7b27823cde Bump version for future release 2025-11-15 08:48:49 -08:00
Greg Neagle
b99be14db4 When downloading icons, instead of checking for the existence of any filename extension, check for an extension in a list of supported extensions. Addresses #1290 2025-11-15 08:47:29 -08:00
Greg Neagle
26ee757c76 Remove functions for generating startosinstall pkginfo 2025-11-13 11:21:56 -08:00
Greg Neagle
d26c99a9e3 Remove 'startosinstall' as a supported value for --installer-type 2025-11-13 11:14:41 -08:00
Greg Neagle
e2bb5dd0b8 Update warning message when there are startosinstall items in the managed_installs 2025-11-13 11:07:33 -08:00
Greg Neagle
6c7cc11d87 Update debug message to indicate startosinstall items will not be installed 2025-11-13 11:06:14 -08:00
Greg Neagle
e9e6d6f61a Remove code to create startosinstall items 2025-11-13 11:04:24 -08:00
Greg Neagle
bdcf4ad2d7 Update list of no-longer-supported installer_types in installItem function to current list 2025-11-13 10:50:14 -08:00
Greg Neagle
a74402356b Typo fix 2025-11-13 10:44:42 -08:00
Greg Neagle
d02ebb3ecc Update issue templates 2025-11-13 08:06:00 -08:00
Greg Neagle
a0d12ce973 Update issue templates 2025-11-13 08:05:30 -08:00
Greg Neagle
18e23e1c7d Update issue templates 2025-11-13 08:04:39 -08:00
Greg Neagle
5b3a9e596c Update issue templates 2025-11-13 08:03:10 -08:00
Greg Neagle
3ba509a35d Update issue templates 2025-11-13 07:26:33 -08:00
Greg Neagle
1a13d0a4e1 When logging LastNotifiedDate, use RFC 3339 date format. Addresses #1289 2025-11-12 20:05:22 -08:00
Greg Neagle
3aaa055737 Merge branch 'Munki7dev' 2025-11-11 08:12:42 -08:00
Per Olofsson
80754b57a7 Use a clock unaffected by system sleep for script timeouts (#1286) v7.0.3 2025-11-10 13:26:55 -08:00
Per Olofsson
82f9aec923 Use a clock unaffected by system sleep for script timeouts (#1286) 2025-11-10 13:24:16 -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
Greg Neagle
ea71d8c93b Merge branch 'Munki7dev' 2025-10-28 10:42:25 -07:00
Alex Jones
7c4a87670e Fix bug in installhelper logic (#1284)
Don't unload all Munki launchd jobs if appusage jobs are not currently loaded.
v7.0.2
2025-10-27 13:24:55 -07:00
Alex Jones
1842c15882 Fix bug in installhelper logic (#1284)
Don't unload all Munki launchd jobs if appusage jobs are not currently loaded.
2025-10-27 13:22:42 -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
272afe5135 Merge branch 'Munki7dev' 2025-10-14 14:37:27 -07:00
Greg Neagle
e6f49cf6e7 Fix an issue with the recording of 'ItemsToInstall' and
'ItemsToRemove' in ManagedInstallReport.plist. Addresses #1275
v7.0.1
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