Commit Graph

169 Commits

Author SHA1 Message Date
Greg Neagle
b6f3444d2c munkistatus output tweak.
git-svn-id: http://munki.googlecode.com/svn/trunk@300 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-30 15:29:40 +00:00
Greg Neagle
8d82225f84 Added support for a new 'update_for' key in pkginfo, so a package can be marked as an update for one or more seemingly unrelated packages.
git-svn-id: http://munki.googlecode.com/svn/trunk@299 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-30 15:28:56 +00:00
Greg Neagle
b2ef8d288f Minor bug fixes and code cleanup.
git-svn-id: http://munki.googlecode.com/svn/trunk@298 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-30 15:27:43 +00:00
Greg Neagle
13cdb31c28 Changes to output for better progress indication when there are multiple items to be installed or removed.
git-svn-id: http://munki.googlecode.com/svn/trunk@297 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-30 15:27:04 +00:00
Greg Neagle
fce4f6fab2 Added a check for diskimages with Software License Agreements. These cannot be automatically mounted by hdiutil, so they are useless to munki.
git-svn-id: http://munki.googlecode.com/svn/trunk@295 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-23 22:58:56 +00:00
Greg Neagle
2141e264ee Fixed issue with removals in included manifests that don't have their own catalog lists, but instead rely on the parent's catalog list.
git-svn-id: http://munki.googlecode.com/svn/trunk@294 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-23 17:46:18 +00:00
Greg Neagle
660a8a8e98 Added support for "appdmg" package type. This is a dmg that contains a single application at the root of the mounted dmg, which is then copied to /Applications (for install) or simply rm -rf /Applications/appname (for removal).
makepkginfo generates pkginfo files for this package type, and updatecheck.py and installer.py have the appropriate additions.

git-svn-id: http://munki.googlecode.com/svn/trunk@279 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-22 21:42:57 +00:00
Greg Neagle
15cc60e8fe Bumped to version 1.3.1.
Fixed a bug when there are items to be removed causing them not to be displayed.
Added a restart status field at the bottom of the window to be more like Apple Software Update.

git-svn-id: http://munki.googlecode.com/svn/trunk@278 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-22 21:39:41 +00:00
Greg Neagle
83e10ef4b6 Updated adobeutils.getAdobeUpdateInfo() to handle update DMGs with multiple payloads.
Removed makeadobepkinfo, as its functionality has been merged into makepkginfo


git-svn-id: http://munki.googlecode.com/svn/trunk@277 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-21 22:04:49 +00:00
Greg Neagle
ebaf5ded27 Added getAdobeUpdateInfo() to parse Adobe update DMGs for pkginfo.
git-svn-id: http://munki.googlecode.com/svn/trunk@276 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-21 18:56:26 +00:00
Greg Neagle
c88108f207 Merged makeadobepkginfo and makepkginfo.
git-svn-id: http://munki.googlecode.com/svn/trunk@275 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-21 18:55:21 +00:00
Greg Neagle
f8b28a05fb makepkginfo can now be called with only -f arguments, and no actual install item. This generates a list of filesystem items which can by manually added to the 'installs' key of a pkginfo item.
git-svn-id: http://munki.googlecode.com/svn/trunk@266 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-20 23:37:46 +00:00
Greg Neagle
dd711731f9 Support for AdobeUberInstaller packages like those from CS4 Deployment Toolkit and Adobe Update packages.
Includes new makeadobepkginfo tool, which eventually will be merged with makepkginfo...

git-svn-id: http://munki.googlecode.com/svn/trunk@265 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-20 23:36:04 +00:00
Greg Neagle
b947daf2f9 Added Apache 2 license info.
git-svn-id: http://munki.googlecode.com/svn/trunk@264 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-16 23:58:44 +00:00
Greg Neagle
bc84138b11 First attempt at support for installing Adobe CS4 stuff using their Uber tools.
git-svn-id: http://munki.googlecode.com/svn/trunk@263 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-16 23:58:05 +00:00
Greg Neagle
c4ed70e9f1 Fixes to Apple Update logic.
git-svn-id: http://munki.googlecode.com/svn/trunk@261 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-14 22:14:51 +00:00
Greg Neagle
da4b3cd5b6 Apple Software Updates logic fixes.
git-svn-id: http://munki.googlecode.com/svn/trunk@260 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-14 22:13:17 +00:00
Greg Neagle
a2c387d657 Various regression fixes.
git-svn-id: http://munki.googlecode.com/svn/trunk@259 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-14 22:12:41 +00:00
Greg Neagle
54e92711e9 Unicode text handling fixes.
git-svn-id: http://munki.googlecode.com/svn/trunk@258 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-14 22:10:50 +00:00
Greg Neagle
80515793f5 Fixed errors in getSoftwareUpdateInfo()
git-svn-id: http://munki.googlecode.com/svn/trunk@257 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 23:34:30 +00:00
Greg Neagle
4dc3cc93cb Minor output tweak in log info for dependencies.
git-svn-id: http://munki.googlecode.com/svn/trunk@256 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 23:33:20 +00:00
Greg Neagle
28da312e9a Removed code that does the actual restart. This has been moved to managedsoftwareupdate.
git-svn-id: http://munki.googlecode.com/svn/trunk@255 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 23:32:11 +00:00
Greg Neagle
dce3cd1bb5 Added missing import time.
git-svn-id: http://munki.googlecode.com/svn/trunk@254 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 23:31:16 +00:00
Greg Neagle
83404f25e7 Changed display of updates from Apple Software Update so they appear first, and only show a restart required if indeed a restart is required.
git-svn-id: http://munki.googlecode.com/svn/trunk@253 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 23:26:05 +00:00
Greg Neagle
e3c4198db3 Added support for hiding and showing the main MunkiStatus window.
git-svn-id: http://munki.googlecode.com/svn/trunk@252 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 22:07:26 +00:00
Greg Neagle
19edc0df5d Managed Software Update.app
Fixed typo in "Logout Recommended" message
Made sure if AppleUpdates required a restart that logout was required.

git-svn-id: http://munki.googlecode.com/svn/trunk@251 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 22:06:31 +00:00
Greg Neagle
2412154c7a Changes to munkistatus.py:
Looks for an existing running version of MunkiStatus before trying to launch MunkiStatus.
New hide() and show() functions to hide and show the MunkiStatus window.

git-svn-id: http://munki.googlecode.com/svn/trunk@250 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 22:03:37 +00:00
Greg Neagle
fdaa8f0f2a Added appleupdates.py, which contains functions for working with Apple's Software Update.
Changes to managedsoftwareupdate, munkicommon/py and installer.py to deal with Apple Software Update.

git-svn-id: http://munki.googlecode.com/svn/trunk@249 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-13 22:01:28 +00:00
Greg Neagle
68c78c0ebe Fixed a typo in the new support for 'maximum_os_version'
git-svn-id: http://munki.googlecode.com/svn/trunk@247 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-02 23:13:51 +00:00
Greg Neagle
20f97877fd updatecheck.py: Added support for "maximum_os_version" key in pkginfo
git-svn-id: http://munki.googlecode.com/svn/trunk@246 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-02 23:07:29 +00:00
Greg Neagle
516d7d75f3 Add filepath to exception raised in readPlist when it's a bad plist file.
git-svn-id: http://munki.googlecode.com/svn/trunk@245 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-02 22:02:40 +00:00
Greg Neagle
96251a968e Fix in special-case processing of Microsoft Office 2008 packages on Snow Leopard.
git-svn-id: http://munki.googlecode.com/svn/trunk@244 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-02 22:01:14 +00:00
Greg Neagle
9bcc50a325 Smarter handling of malformed Info.plists in packages. Instead of throwing an exception, return pkginfo describing the problem.
git-svn-id: http://munki.googlecode.com/svn/trunk@243 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-02 22:00:17 +00:00
Greg Neagle
33e0d69436 Fixed bug in munkicommon.getExtendedVersion() that could return None instead of "0.0.0.0.0".
git-svn-id: http://munki.googlecode.com/svn/trunk@242 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-10-01 23:49:20 +00:00
Greg Neagle
491345a1c0 MunkiStatus.app: Fixed stupid typo when loading /System/Library/CoreServices/DefaultDesktop.jpg and added a little more error handling around this. This bug caused MunkiStatus to not appear over the loginwindow if a custom loginwindow background picture had not been set. Bumped version to 2.0.1.
git-svn-id: http://munki.googlecode.com/svn/trunk@241 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-29 19:48:59 +00:00
Greg Neagle
c200650623 Tweaked munkistatus output.
git-svn-id: http://munki.googlecode.com/svn/trunk@240 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-29 17:51:27 +00:00
Greg Neagle
c61024cba0 Another tweak to improve visual behavior when activating the main window.
git-svn-id: http://munki.googlecode.com/svn/trunk@239 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-29 17:32:06 +00:00
Greg Neagle
1d6996c38f More tweaks to the code that runs managedsoftwareupdate --manual to do a manual check for updates when the user launches the app. Bumped version to 1.2.
git-svn-id: http://munki.googlecode.com/svn/trunk@238 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-29 17:18:20 +00:00
Greg Neagle
080ba42ca5 managedsoftwareupdate now records the date and result of the last check in /Library/Preferences/ManagedInstalls.plist. This is used by Managed Software Update.app.
git-svn-id: http://munki.googlecode.com/svn/trunk@237 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-29 17:17:09 +00:00
Greg Neagle
299abe4f1c Flipped the order receipts are checked: we were checking the legacy /Library/Receipts first, then asking pkgutil. Now we go the other way.
git-svn-id: http://munki.googlecode.com/svn/trunk@236 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-28 23:00:01 +00:00
Greg Neagle
b3edba0a7a Fixed unicode handling when sending messages to MunkiStatus.app
git-svn-id: http://munki.googlecode.com/svn/trunk@235 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-28 22:58:38 +00:00
Greg Neagle
5ddacb31ff Revised the logic when running managedsoftwareupdate --manual to get "better" behavior when checking for updates manually.
git-svn-id: http://munki.googlecode.com/svn/trunk@232 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-28 17:24:32 +00:00
Greg Neagle
5b438a55b7 Replaced installer image in MunkiStatus window with the MunkStatus icon; appearance tweaks; removed minimize button from the MunkiStatus window.
git-svn-id: http://munki.googlecode.com/svn/trunk@231 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 23:56:11 +00:00
Greg Neagle
5a471d591b Removed some temporary testing code.
git-svn-id: http://munki.googlecode.com/svn/trunk@230 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 22:48:34 +00:00
Greg Neagle
f746a280ac Updated copyright and licensing info for Apache 2.0 license.
git-svn-id: http://munki.googlecode.com/svn/trunk@229 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 22:30:27 +00:00
Greg Neagle
0a22ae7370 Yet another try to get rid of obsolete directories and files... Grr.
Also changes to these:
managedsoftwareupdate
   - Changed osascript call to munkicommon
munkilib/installer.py
   - Changed osascript call to munkicommon
   - Changed GUI restart notifcation to use the new munkistatus.restartAlert() call.
munkilib/munkicommon.py
   - Moved osascript function from munkistatus to munkicommon.
munkilib/munkistatus.py
   - Complete rewrite to go with the new MunkiStatus.app 
?\127


git-svn-id: http://munki.googlecode.com/svn/trunk@228 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 22:25:45 +00:00
Greg Neagle
2ef39d8d79 Still trying to get all these changes uploaded...
git-svn-id: http://munki.googlecode.com/svn/trunk@227 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 22:22:52 +00:00
Greg Neagle
00680f71dc git-svn-id: http://munki.googlecode.com/svn/trunk@226 a4e17f2e-e282-11dd-95e1-755cbddbdd66 2009-09-25 22:12:24 +00:00
Greg Neagle
045ead22d4 Rewrite of MunkiStatus.app as Cocoa-Python app.
git-svn-id: http://munki.googlecode.com/svn/trunk@225 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-25 22:09:21 +00:00
Greg Neagle
635895a3b3 Changed processManifestForInstalls() to take an optional list of catalogs to search if the manifest has no list of catalogs.
git-svn-id: http://munki.googlecode.com/svn/trunk@220 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2009-09-23 19:02:04 +00:00