Commit Graph

422 Commits

Author SHA1 Message Date
Justin McWilliams
bf8cb1b7eb Package SHA-256 Hash verification
git-svn-id: http://munki.googlecode.com/svn/branches/pkg-hash-verification@699 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-31 15:15:47 +00:00
Greg Neagle
88df333959 Replaced code that removed already-removed-items from the SelfServeManifest's managed_uninstalls list with a Python list comphrension.
git-svn-id: http://munki.googlecode.com/svn/trunk@697 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-27 18:08:56 +00:00
Greg Neagle
8fad18788c Remove item from SelfServeManifest's managed_uninstalls list if it is not currently installed; this fixes an issue where after using Munki to remove an optional install item, the same item is manually installed. Previously, munki would attempt to remove it again because it retained the item in the managed_uninstalls list in the SelfServeManifest.
git-svn-id: http://munki.googlecode.com/svn/trunk@696 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-27 17:55:03 +00:00
Greg Neagle
f9d3675c42 New preference -- SuppressStopButtonOnInstall
Hides the Stop button in the Managed Software Update status window during an install/removal session.

git-svn-id: http://munki.googlecode.com/svn/trunk@695 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-27 16:10:03 +00:00
Greg Neagle
86cbaee5da If the user clicks the Stop button during an update check, don't check for Apple Software Updates.
git-svn-id: http://munki.googlecode.com/svn/trunk@694 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-27 15:11:02 +00:00
Greg Neagle
c40e49aa8c Updated FoundationPlist.py to same version in /usr/local/munki/munkilib/
Minor NIB/XIB tweaks.

git-svn-id: http://munki.googlecode.com/svn/trunk@693 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 21:33:42 +00:00
Greg Neagle
f8cf2fb9d0 MSU.app: munki.py cleanup to make pylint happier.
git-svn-id: http://munki.googlecode.com/svn/trunk@691 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 15:03:17 +00:00
Greg Neagle
92942c7d17 Managed Software Update version 3.0.3: status window is now resizable, and the stop button no longer can be activated via the space bar. Removed commented-out code in munki.py.
git-svn-id: http://munki.googlecode.com/svn/trunk@690 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 14:36:38 +00:00
Greg Neagle
77cd4ad543 Removed --scripts reference in packagemaker invocation
git-svn-id: http://munki.googlecode.com/svn/trunk@689 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 14:09:47 +00:00
Greg Neagle
bdefc367b3 Fix so an empty receipts array doesn't cause an unhandled exception
git-svn-id: http://munki.googlecode.com/svn/trunk@674 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-25 15:05:05 +00:00
Greg Neagle
7dfac4190e Convert pid to integer before passing it to os.kill()
git-svn-id: http://munki.googlecode.com/svn/trunk@673 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-24 21:07:08 +00:00
Greg Neagle
889ce233bd Changes to installing Adobe CS5 AAMEE packages at the loginwindow so that Adobe AIR apps get installed.
git-svn-id: http://munki.googlecode.com/svn/trunk@672 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-24 18:58:04 +00:00
Greg Neagle
255271ed6e Fixed use of new munki pref "SuppressUserNotification" in managedsoftwareupdate
git-svn-id: http://munki.googlecode.com/svn/trunk@664 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-14 18:22:46 +00:00
Greg Neagle
e5c160b86f Changes to progress info on Adobe installs/uninstalls; fix so completed payloads are not repeated in ManagedSoftwareUpdate.log
git-svn-id: http://munki.googlecode.com/svn/trunk@661 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-05 17:38:27 +00:00
Greg Neagle
235ce74b25 Better exception handling.
git-svn-id: http://munki.googlecode.com/svn/trunk@660 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:08:55 +00:00
Greg Neagle
3b32e199de New FoundationPlistException base class; NSPropertyListSerializationException and NSPropertyListWriteException now inherit from FoundationPlistException
git-svn-id: http://munki.googlecode.com/svn/trunk@659 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:08:25 +00:00
Greg Neagle
c3188102e7 Improved exception handling
git-svn-id: http://munki.googlecode.com/svn/trunk@658 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:07:18 +00:00
Greg Neagle
981afa2e3a Improved exception handling
git-svn-id: http://munki.googlecode.com/svn/trunk@657 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:06:54 +00:00
Greg Neagle
aa07c5a726 pylint cleanup
git-svn-id: http://munki.googlecode.com/svn/trunk@656 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:05:05 +00:00
Greg Neagle
c05fd84372 pylint cleanup
git-svn-id: http://munki.googlecode.com/svn/trunk@655 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 23:03:26 +00:00
Greg Neagle
915679291f Move getmd5hash to munkicommon.
git-svn-id: http://munki.googlecode.com/svn/trunk@654 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 22:49:05 +00:00
Greg Neagle
6776f3f4c1 pylint cleanups.
git-svn-id: http://munki.googlecode.com/svn/trunk@653 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 22:38:56 +00:00
Greg Neagle
ba8d9448cc Changed unmountdmg back to using subprocess.Popen from an earlier change to subprocess.call so that we can capture the output instead of it going to stdout.
git-svn-id: http://munki.googlecode.com/svn/trunk@652 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 17:24:25 +00:00
Greg Neagle
e7ad493e61 pylint cleanups.
git-svn-id: http://munki.googlecode.com/svn/trunk@651 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 17:20:00 +00:00
Greg Neagle
ec778c94c2 pylint cleanup.
git-svn-id: http://munki.googlecode.com/svn/trunk@650 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 06:26:49 +00:00
Greg Neagle
49775e2194 pylint cleanup.
git-svn-id: http://munki.googlecode.com/svn/trunk@649 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 06:07:24 +00:00
Greg Neagle
4344b472c8 pylint cleanups
git-svn-id: http://munki.googlecode.com/svn/trunk@648 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 04:03:06 +00:00
Greg Neagle
fdacc775b1 pylint cleanups
git-svn-id: http://munki.googlecode.com/svn/trunk@647 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-04 03:39:45 +00:00
Greg Neagle
dcac138517 pylint cleanups
git-svn-id: http://munki.googlecode.com/svn/trunk@646 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-03 23:59:07 +00:00
Greg Neagle
ba1f9f823f pylint cleanups
git-svn-id: http://munki.googlecode.com/svn/trunk@645 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-03 23:42:09 +00:00
Greg Neagle
74bc912929 New comment.
git-svn-id: http://munki.googlecode.com/svn/trunk@644 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-03 22:06:22 +00:00
Greg Neagle
9de06a2b75 Cleaned up/simplified the Adobe log processing used to generate progress info.
git-svn-id: http://munki.googlecode.com/svn/trunk@643 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-03 21:26:27 +00:00
Greg Neagle
7c539c00ac Explicitly copy "$munkiroot"/code/client/munkilib/*.py ./usr/local/munki/munkilib/
git-svn-id: http://munki.googlecode.com/svn/trunk@642 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-02 20:47:36 +00:00
Greg Neagle
d36e29927f Updated build number for get_version
git-svn-id: http://munki.googlecode.com/svn/trunk@640 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-02 20:17:41 +00:00
Greg Neagle
867675fb8c Updated build number in get_version
git-svn-id: http://munki.googlecode.com/svn/trunk@639 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-02 20:17:09 +00:00
Greg Neagle
33c986b226 Updated help text for makepkginfo.
git-svn-id: http://munki.googlecode.com/svn/trunk@637 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-02 18:48:03 +00:00
Greg Neagle
92c8b8c458 pylint-inspired cleanups.
Pull some restart logic from adobeutils.py (where it was getting lost) back into this module.

git-svn-id: http://munki.googlecode.com/svn/trunk@633 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 22:08:53 +00:00
Greg Neagle
b36f12b36c pylint inspired cleanups.
git-svn-id: http://munki.googlecode.com/svn/trunk@632 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 22:07:15 +00:00
Greg Neagle
a2e227d18f Move restart logic out of this module and back into installer.py
When building installs items for use with makepkginfo, skip Language Packs.

git-svn-id: http://munki.googlecode.com/svn/trunk@631 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 22:06:10 +00:00
Greg Neagle
7c6102dd5d pylint-inspired cleanup.
Add support for copy_local key in pkginfo/installinfo so adobeutils can work around AdobePatchInstaller issues.

git-svn-id: http://munki.googlecode.com/svn/trunk@629 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 00:04:17 +00:00
Greg Neagle
6e9cc3d21e Since adobeutils.py can now sometimes delete the diskimage file before it returns to installer.py, add a check to make sure the diskimage file exists before we try to remove it.
git-svn-id: http://munki.googlecode.com/svn/trunk@628 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 00:02:41 +00:00
Greg Neagle
d017f8be80 runAdobeCS5PatchInstaller can now optionally copy the dmg contents to the local disk before install to work around a bug in the AdobePatchInstaller.
add
<key>copy_local</key>
<true/>

to the relevant pkginfo.

git-svn-id: http://munki.googlecode.com/svn/trunk@627 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-30 00:01:10 +00:00
Greg Neagle
13d151847b Reorganization and minor edits to make pylint a bit happier.
git-svn-id: http://munki.googlecode.com/svn/trunk@626 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 23:58:13 +00:00
Greg Neagle
88e2969d95 adobeutils.getAdobeCatalogInfo (used my makepkginfo) now generates installs items for CS5 updates, based on payload information.
git-svn-id: http://munki.googlecode.com/svn/trunk@624 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 19:41:08 +00:00
Greg Neagle
e95ce9d3b3 Various minor edits to make pylint happier.
git-svn-id: http://munki.googlecode.com/svn/trunk@622 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 17:36:38 +00:00
Greg Neagle
4f7de426a0 Assign maxversion before using it in a comparison.
Fix typo: 'cadir' should be 'capath'

git-svn-id: http://munki.googlecode.com/svn/trunk@620 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 14:26:26 +00:00
Greg Neagle
de4d656bca Replaced (old) use of 'pkgname' a few places with (new) options.pkgname.
git-svn-id: http://munki.googlecode.com/svn/trunk@619 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 14:20:03 +00:00
Greg Neagle
7b03fdf353 Eliminate variables named "version" in a few places as they were conflicting with distutils.version...
git-svn-id: http://munki.googlecode.com/svn/trunk@615 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-29 05:18:01 +00:00
Greg Neagle
03cd5fd55c Removed --installxml, --uninstallxml and --serialnumber options from makepkginfo since we're no longer supporting CS5 installs that aren't processed with AAMEE.
git-svn-id: http://munki.googlecode.com/svn/trunk@614 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-28 23:57:34 +00:00
Greg Neagle
f7595cb979 Added support for installing Adobe CS5 products packaged with AAMEE tool. Removed support for "naked" (unpackaged) CS5 installs.
-appdmg flag to makepkginfo causes it to make old-style appdmg info if appropriate.

git-svn-id: http://munki.googlecode.com/svn/trunk@613 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-28 23:54:38 +00:00