Commit Graph

1832 Commits

Author SHA1 Message Date
Clayton Burlison 5e754bc5e7 fix: Remove duplicate --plugin flag (#751)
This removes the duplicate --plugin flag from the help menu of:
* iconimporter
* makecatalogs
* munkiimport
* repoclean
2017-04-22 00:03:43 -05:00
Greg Neagle 1ca9c32e73 profiles.py: Fix a logic error that sometimes caused config_profile_info() to return None instead of an empty dictionary 2017-04-21 13:33:41 -05:00
Greg Neagle cead5a175b Really fix spelling of sendDistribitedNotification() 2017-04-12 09:30:17 -07:00
Greg Neagle 69f788a15a Fix spelling of sendDistribitedNotification() 2017-04-12 09:29:25 -07:00
Clayton Burlison 1f2ab4220c Update managedsoftwareupdate --auto help msg (#739) 2017-04-11 09:29:20 -07:00
Greg Neagle f3c85492c4 Improved debug logging in keychain.py 2017-04-10 16:43:59 -07:00
Greg Neagle 7a78d286fc Code cleanup 2017-04-08 09:24:34 -07:00
Greg Neagle 233c92501e logic cleanup and code de-dupe 2017-04-08 09:23:44 -07:00
Greg Neagle af19af534c PyLint cleanups 2017-04-08 09:06:39 -07:00
Greg Neagle fe3d133d02 Code cleanup 2017-04-08 08:09:45 -07:00
Greg Neagle d13130c4dc PyLint cleanups 2017-04-07 22:12:02 -07:00
Greg Neagle a4eef0f256 PyLint cleanups 2017-04-07 22:05:02 -07:00
Greg Neagle 78383f5980 PyLint cleanups 2017-04-07 21:59:55 -07:00
Greg Neagle d50919f5ae PyLint cleanups 2017-04-07 21:56:13 -07:00
Greg Neagle 8172507fe8 PyLint cleanup 2017-04-07 21:53:07 -07:00
Greg Neagle 7dc510836a PyLint cleanup 2017-04-07 21:51:49 -07:00
Greg Neagle af19f8686f Fix comments entered as doc strings 2017-04-07 21:35:14 -07:00
Greg Neagle 7304a87e87 Refectoring of munkilib/appleupdates and removal of unsued code 2017-04-07 16:43:06 -07:00
Greg Neagle de38380516 Refactring of munkilib/installer/core.py 2017-04-07 16:42:04 -07:00
Greg Neagle 25e42ecdb0 Faster iteration of installed apps when searching for matching apps during updatecheck 2017-04-07 16:41:22 -07:00
Greg Neagle 11e5d79f69 munkilib/appleupdates/dist.py: Refactoring to make PyLint happier. Now with a score of 100! 2017-04-07 12:10:06 -07:00
Greg Neagle 365c739949 makecataogs: Adjusted warning text when items differing only by case are detected. 2017-04-07 11:16:23 -07:00
Greg Neagle 15fb5c56c5 Refactoring in munkilib/installer/dmg.py to make PyLint happier. Now a score of 100! 2017-04-07 10:47:25 -07:00
Greg Neagle b1b79ed51b Fix for Dock update badge not being properly updated, caused by a regression here in commit 292bc808c6 2017-04-07 09:38:10 -07:00
Greg Neagle 254b03ba07 Refactoring in munkilib/installer/pkg.py to make PyLint happier. Now a score of 100! 2017-04-07 09:15:16 -07:00
Greg Neagle 15c26d8ae3 Add support for -allowUntrusted flag for installer packages 2017-04-05 11:35:42 -07:00
Greg Neagle ffbf9242cf osinstaller: When signalled that startosinstall is ready to reboot, rm the diskimage to make more room for the actual install; only return pkginfo for Sierra installers (ignore pre-Sierra OS X installers) 2017-04-05 08:56:18 -07:00
Greg Neagle 39b0d0720c Exit faster/earlier and do less when another instance of managedsoftwareupdate is running. 2017-04-04 13:22:05 -07:00
Greg Neagle 691e399afe osinstaller: add minimum_munki_version to generated pkginfo 2017-04-04 10:55:29 -07:00
Greg Neagle 292bc808c6 - Groundwork for installing from locally-installed app instead of dmg
- Run some finishing tasks including postflight script when signalled by startosinstall that it's ready to restart
- launchd.py extended to optionally _not_ cleanup a launchd job on exit so that startosinstall isn't killed prematurely and can live on after managedsoftwareupdate's untimely death
2017-04-04 10:49:15 -07:00
Greg Neagle dfffb65ee9 osinstaller: run startosinstall in a seperate launchd job 2017-04-03 14:03:30 -07:00
Greg Neagle bf2c2332b3 osinstaller: generated pkginfo now contains installed_size 2017-04-02 23:00:54 -07:00
Greg Neagle 2219f13621 Add macOS install support to managedsoftwareupdate 2017-04-01 21:28:48 -07:00
Greg Neagle ed341229a1 Start adding support for startosinstall items to updatecheck 2017-04-01 12:34:23 -07:00
Greg Neagle a64b1d7ab3 Add 'startosinstall' support to iconimporter, makepkginfo, and munkiimport 2017-04-01 12:33:35 -07:00
Greg Neagle accc63e8ca More output parsing cleanup 2017-04-01 09:32:15 -07:00
Greg Neagle 794af35a02 Filter out some more startosinstall output when displaying progress feedback. 2017-04-01 09:21:07 -07:00
Greg Neagle 96fac18287 Mount installer dmg under /Volumes to work around validation issue; better validation of successful run of startosinstall 2017-04-01 08:31:57 -07:00
Greg Neagle 4c693512b2 Fix for MunkiStatus displaying percent done 2017-04-01 08:29:24 -07:00
Greg Neagle f579515633 dmgutils.mountdmg can now optionally mount a dmg under /Volumes; adobeutils.mount_adobe_dmg now just calls dmgutils.mountdmg 2017-04-01 08:28:38 -07:00
Greg Neagle 61424cd356 AppleUpdates._run_softwareupdate(): properly find the local ptyexec tool 2017-03-30 22:46:41 -07:00
Greg Neagle 41b7f58815 Add new osinstaller module 2017-03-30 21:51:02 -07:00
Greg Neagle a8c20eabf8 Better method of excluding directories when getting a list of repo items 2017-03-21 15:52:42 -07:00
Greg Neagle c6d63dcfcf repoclean: more refactoring cleanup 2017-03-17 19:15:47 -07:00
Greg Neagle 45baab0b7f Refactor of repoclean 2017-03-17 10:14:17 -07:00
Greg Neagle da49899417 FileRepo: properly raise a RepoError when a share mount fails 2017-03-17 06:11:29 -07:00
Greg Neagle 95e1a192fe repoclean: Suppress makecatalogs stdout as we did previously 2017-03-16 14:27:17 -07:00
Greg Neagle 398edd3248 repoclean: Attempt to add support for deleting uninstaller_items as well 2017-03-16 10:14:29 -07:00
Greg Neagle 3bdcab5451 repoclean: take 2 on properly removing pkginfo items 2017-03-16 09:24:17 -07:00
Greg Neagle 727636f184 repoclean: Fix for deleting pkginfo items 2017-03-16 08:33:46 -07:00