Commit Graph

453 Commits

Author SHA1 Message Date
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
c56cfa5244 Update help text for managedsoftwareupdate --auto 2025-09-18 15:42:42 -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
2a4f2ffbec Changes to get rid of supervisor 2025-09-10 15:51:19 -07:00
Greg Neagle
5748e687b3 Fix for 'manifestutil version' to print full version number 2025-09-05 14:46:32 -07:00
Greg Neagle
cfd481f278 Explictly set RPATHs for command line tools so libswift_Concurrency.dylib is found on pre-macOS 12 2025-09-04 16:45:45 -07:00
Greg Neagle
bad5e1ed75 Don't inject com.apple.security.get-task-allow entitlement when building for release, so code can be notarized 2025-09-04 13:47:07 -07:00
Elliot Jordan
41e6d38cc5 Spelling fixes for Munki 7 branch (#1263)
* Fix SidebarViewController.swift file name

* Fix spelling in comments

* Fix spelling in strings and output

* Fix spelling in variables and key names

* One more pass at spelling fixes
2025-08-27 12:27:12 -07:00
Greg Neagle
395ab2a08d Fix forceLogoutNow logic 2025-08-25 14:02:29 -07:00
Greg Neagle
b66ef898cb Fix for forced logout warning alerts not appearing 2025-08-25 10:03:00 -07:00
Greg Neagle
a49189d39a Address unhandled objc error when runCLIAsync can't launch a script due to a missing script interpreter 2025-08-25 09:29:45 -07:00
Greg Neagle
475b436775 Update Swift code to match chnage in Python code in commit a04b455 and commit 522ee66 2025-08-15 10:50:32 -07:00
Greg Neagle
2f4c1c3c39 Simplify the posix_spawn wrapper 2025-07-28 07:43:52 -05:00
Greg Neagle
f112ce8b7c Fix for running CLI editor during interactive munkiimport 2025-07-27 22:47:15 -05:00
Greg Neagle
ddded786b3 Fix for installer_choices_xml for pkg installs 2025-07-26 09:58:29 -07:00
Greg Neagle
8fd09d9369 Use a different method to determine if a script is executable; previous method did not work well with sudo 2025-07-11 17:23:28 -07:00
Greg Neagle
9d6ad57d0d Improve error messages when custom admin scripts fail to run 2025-07-11 17:22:00 -07:00
Greg Neagle
6fe6bf9425 More useful error message when an admin-provided conditions script fails 2025-07-11 09:48:06 -07:00
Greg Neagle
26562eb764 Don't prompt to open pkginfo in an editor if the editor preference is an empty string. Matches Munki 6 behavior 2025-07-10 14:17:54 -07:00
Greg Neagle
69f4e741c0 Address an issue when package_path is defined in a pkginfo where an incomplete path to the package was passwd to /usr/sbin/installer 2025-07-08 16:45:43 -07:00
Greg Neagle
8ae093973f Fix some typos in some comments 2025-07-08 16:44:13 -07:00
Greg Neagle
2ccf2be85f Change long options for drag-n-drop items to match those in Munki 6 and earlier 2025-07-07 10:04:02 -07:00
Greg Neagle
c6695aa55b supervisor: fix for build issues on macOS 26/Xcode 26 2025-06-27 10:03:28 -07:00
Greg Neagle
7eaba0edf2 Getting rid of some calls to listItemsOfKind() 2025-06-10 14:43:47 -07:00
Greg Neagle
6010373a56 update comment 2025-06-10 14:40:34 -07:00
Greg Neagle
29dc02747e Make listFilesRecursively() faster by removing an lstat call for most directory items 2025-06-09 21:59:42 -07:00
Greg Neagle
4c1c9e697b Quiet a compiler warning 2025-06-09 09:00:26 -07:00
Greg Neagle
db47ccec28 Update comment 2025-06-09 08:29:46 -07:00
Greg Neagle
40864980e6 New listFilesRecursively function needs to handle filenames with non-ASCII chars 2025-06-08 20:57:30 -07:00
Greg Neagle
84ba6fa5ff More updated comments 2025-06-08 19:56:34 -07:00
Greg Neagle
112e0a74a4 swiftformat update; add some notes 2025-06-08 19:44:35 -07:00
Greg Neagle
7038cae715 Much faster algorithm for getting a recursive list of files 2025-06-08 16:44:58 -07:00
Greg Neagle
b27bdd1f07 New implementation for getting a recursive list of files 2025-06-07 16:06:01 -07:00
Greg Neagle
0fa92d7390 Add tab-completion for 'help' command in interactive mode 2025-06-03 11:59:31 -07:00
Greg Neagle
6a40cc8010 more comments 2025-06-03 10:55:42 -07:00
Greg Neagle
16e15bdef4 swiftformat changes 2025-06-03 10:03:15 -07:00
Greg Neagle
842e5af453 swiftformat changes 2025-06-03 10:01:46 -07:00
Greg Neagle
b2ede3cdab swiftformat changes 2025-06-03 10:01:04 -07:00
Greg Neagle
d5b8fc6549 Add tab-completion for 'find' command; swiftformat changes 2025-06-03 10:00:07 -07:00
Greg Neagle
66bec6c0ad Fix typo 2025-06-03 09:58:19 -07:00
Greg Neagle
b4f6f57cfc Add support for interactive mode for manifestutil; support tab-completion 2025-06-03 09:02:14 -07:00
Greg Neagle
1b2614a4fb More robust PEM parsing. Thanks to Scott Blake. 2025-05-31 08:11:33 -07:00