Commit Graph

401 Commits

Author SHA1 Message Date
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 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 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 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 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
Greg Neagle ae09bef69e Fix makecatalogs warnings/error messages 2025-05-05 09:49:11 -07:00
Greg Neagle a0ef7a3c9e munkiimport: Fix for multiple catalogs specified interactively 2025-05-05 08:34:38 -07:00
Greg Neagle 1ea946823d Fix issues with --requires and --blocking_applications options in makepkginfo and munkiimport 2025-05-05 08:12:54 -07:00
Greg Neagle 81299a7297 Fix issue with munkiimport --configure and munkiimport --version if repoURL not yet defined in preferences 2025-05-05 08:12:00 -07:00
Greg Neagle 639109b8c6 more tests 2025-05-04 18:51:57 -07:00
Greg Neagle 199c9d3660 Add more tests 2025-05-04 17:36:00 -07:00
Greg Neagle b5b7ef5c41 Add some tests for predicates 2025-05-04 17:10:36 -07:00
Greg Neagle d44bc867c1 Silence a warning about a deprecated symbol 2025-05-04 15:25:45 -07:00
Greg Neagle 77727ac318 Silence a warning about unused return value 2025-05-04 15:25:02 -07:00
Greg Neagle 153d4ffc54 Add some tests 2025-05-04 15:09:57 -07:00
Greg Neagle f37656f7ee Attempt to handle pkg-ref file:/// references; adjust regex for nameAndVersion 2025-05-04 15:08:55 -07:00
Greg Neagle 87f89ab585 Fix a comment 2025-05-04 15:06:22 -07:00
Greg Neagle a0ff92290b Silence a name change warning 2025-05-04 15:05:02 -07:00
Greg Neagle f57cb9a59d More changes to minimize unnecessary source code dependencies 2025-05-02 16:54:25 -07:00