Commit Graph

4330 Commits

Author SHA1 Message Date
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
Greg Neagle 5fb027ffba Change managedsoftwareupdate --auto behavior to print output unless --quiet is specified 2025-05-29 18:01:38 -07:00
Greg Neagle 4fa5baaa30 Update some option descriptions 2025-05-29 18:00:28 -07:00
Greg Neagle bdf298c56a Set macOS deployment target for installhelper to macOS 10.15 2025-05-29 09:41:17 -07:00
Greg Neagle d0b18a48e5 Update project settings 2025-05-29 09:40:37 -07:00
Greg Neagle 0ae17479c7 Update project settings 2025-05-29 09:38:58 -07:00
Greg Neagle d534f753c5 A couple more ParsableCommand -> AsyncParsableCommand fixes 2025-05-28 14:53:09 -07:00
Greg Neagle 4e31fc73c5 Another missed ParsableCommand -> AsyncParsableCommand 2025-05-28 12:52:18 -07:00
Greg Neagle 41fcd9a6bc Another missed ParsableCommand -> AsyncParsableCommand 2025-05-28 09:50:42 -07:00
Greg Neagle 9cf373d889 Add SVN magic number to build number for MWA2API Repo plugin pkg version 2025-05-27 08:27:09 -07:00
Greg Neagle e15d51a267 Add productKey to Apple update items so that Managed Software Center will display them; add some tests for the new code here 2025-05-24 21:55:27 -07:00
Greg Neagle e649c4a803 Default installer_type for diskimages containing an Install macOS app is now stage_os_installer 2025-05-22 16:59:50 -07:00
Greg Neagle 750cca4520 Use a singleton class to load middleware so we don't reload the dylib for each and every request 2025-05-21 14:06:17 -07:00
Greg Neagle 830e69f2a3 Remove never-used pkginfo paramter in the various fetch/download calls, and in the middleware protocol 2025-05-21 09:05:56 -07:00
Greg Neagle c339748c51 Change pkginfo type notation to [String:Any]? so plugin projects don't need even more dependencies 2025-05-20 13:44:25 -07:00
Greg Neagle 8a6902550d Change pkginfo in middleware request to a 'let' declaration since it should not be changed by the middleware 2025-05-20 13:41:01 -07:00
Greg Neagle 4e310609f6 Add optional pkginfo to middleware requests to match existing Python implementation 2025-05-20 13:37:37 -07:00
Greg Neagle 760780493e More makepkginfo tests 2025-05-20 13:31:39 -07:00
Greg Neagle 9cbf25693c Add some tests for some keychain.swift functions 2025-05-20 13:29:56 -07:00
Greg Neagle 153ceb9fb1 Script to build and package the MWA2APIRepo plugin 2025-05-19 22:13:04 -07:00
Greg Neagle 04b2ccb7c3 Update version.swift and make_swift_munki_pkg.sh so that build number is in the command-line tools version output 2025-05-19 13:16:54 -07:00
Greg Neagle 873fda98a9 Update tests with #requires 2025-05-18 20:00:53 -07:00
Greg Neagle f2b73566b4 Merge branch 'Munki6dev' into swift-cli 2025-05-18 07:56:01 -07:00
Christopher Grande 8657425bcc NoDisplaySleepAssertion if Bootstrapping at LoginWindow (#1215)
If in Bootstrap mode, on AC power or Battery over 30% for Apple Silicon, 50% for Intel the Display will be kept awake while MunkiStatus is running.

If a NoDisplaySleep assertion is created it is automatically released when MunkiStatus quits.

Move Release Logic to releaseDisplaySleepAssertion from AppDelegate
2025-05-18 07:52:17 -07:00
Greg Neagle 4aedb6cff4 Rename the middleware and repo plugin directories 2025-05-15 15:09:43 -07:00
Greg Neagle 119e277ec8 A big messy commit. Sorry about that 2025-05-15 14:28:47 -07:00
Greg Neagle 73abde1414 update .gitignores 2025-05-15 14:26:14 -07:00
Greg Neagle 861743bbe9 Allow tools to load plugins from other developers 2025-05-15 14:25:07 -07:00
Greg Neagle ffdd3b0d2a Add MWA2APIRepo 2025-05-09 22:11:28 -07:00
Greg Neagle 21114c19ff Support for Repo plugins 2025-05-09 16:52:46 -07:00
Greg Neagle edf5b96986 manifestutil: Fixes due to making Repo protocol methods async 2025-05-09 16:52:07 -07:00
Greg Neagle e15768882b Add tests for new makepkginfolin function 2025-05-09 13:34:48 -07:00
Greg Neagle 8c7570e0e0 Make many Repo methods async, which then requires lots of async/await changes in the rest of the code 2025-05-09 09:18:22 -07:00
Greg Neagle c31ca3d412 Some refactoring 2025-05-08 10:32:42 -07:00
Greg Neagle b50a25e519 try to generate the correct item location if item was imported from inside the munki repo 2025-05-06 17:36:30 -07:00
Greg Neagle 4b1b6a9fe6 Update a comment 2025-05-06 17:35:48 -07:00
Greg Neagle a496498765 Adjust logging levels for new logging API 2025-05-06 15:56:09 -07:00
Greg Neagle 685fdaefcb Changing munkilog functions to be more flexible and add logging to signal handlers in managedsoftwareupdate 2025-05-06 11:46:36 -07:00
Greg Neagle 10a7251ded Logging and display code changes for authrestartd (and eventually the rest of the code) 2025-05-06 07:05:23 -07:00
Greg Neagle 5f72f59f30 munkiimport: install signal handlers earlier so we can Control-C out of a --configure session 2025-05-05 15:57:50 -07:00
Greg Neagle b82d0111d8 Fix for version generation for Python libs (munkilib) pkg 2025-05-05 14:18:06 -07:00
Greg Neagle 915ab3f075 Leave off timezone when printing forceInstallAfterDate 2025-05-05 14:12:08 -07:00
Greg Neagle fb618d7334 Update repoclean with CatalogsMaker changes 2025-05-05 10:11:09 -07:00
Greg Neagle 002a78783c Add some xattr tests 2025-05-05 09:52:55 -07:00