1414 Commits

Author SHA1 Message Date
Greg Neagle
859b3a623f Forcing calculated git build number to bump v1.0.0.1896.0 2015-03-10 15:57:40 -07:00
Greg Neagle
0992d3c737 Forcing calculated git build number to bump 2015-03-10 15:57:22 -07:00
Greg Neagle
355bf7b153 Forcing calculated git build number to bump 2015-03-10 15:57:14 -07:00
Greg Neagle
b809caa272 Forcing calculated git build number to bump 2015-03-10 15:56:53 -07:00
Greg Neagle
cfe00f00df Forcing calculated git build number to bump 2015-03-10 15:56:45 -07:00
Greg Neagle
e3a3df605a Forcing calculated git build number to bump 2015-03-10 15:56:31 -07:00
Greg Neagle
63cb09b3c7 Forcing calculated git build number to bump 2015-03-10 15:56:15 -07:00
Greg Neagle
4654fb5b2e Avoid requesting unexpected URLs by processing SelfService removals the same way we process SelfService installs 2015-03-10 14:54:56 -07:00
Greg Neagle
d94b8cfdf1 makepkginfo: if -i/--item is specified, don't try to guess if a dmg contains an Adobe installer 2014-09-02 22:38:31 -07:00
Greg Neagle
977e960d6c If Munki is configured to check and install AppleSoftwareUpdatesOnly, update the LastCheckDate and LastCheckResult 2014-08-12 22:46:39 -07:00
Greg Neagle
a683ab40c2 manifestutil's interactive mode can now be cleanly exited via Control-D as suggested by Ryan Manly 2014-07-25 15:21:57 -07:00
Greg Neagle
8ad7864d17 Fix traceback that occurs if 'hdiutil info' has error output in munkicommon.hdiutilInfo() 2014-07-14 14:11:13 -07:00
Arjen van Bochoven
f6ac0878e9 Show manifest name for primary manifest
This helps a lot when debugging clients remotely
2014-06-29 11:32:46 -07:00
Arjen van Bochoven
2af6c13f87 Renamed VERBOSE to MUNKI_VERBOSITY_LEVEL 2014-06-25 00:23:32 +02:00
Arjen van Bochoven
62986bac54 Store verbosity level in environment variable
Pre- and post-flight scripts can use verbosity level from managedinstall
2014-06-23 23:33:04 +02:00
Greg Neagle
b431eb4d18 Workaround for non-ASCII characters in version strings. 2014-05-30 15:00:02 -07:00
Justin McWilliams
35ed6c7ad0 In munkicommon.comparePlistVersion, protect against a plist parsing as NSCFString, not NSCFDictionary as expected, avoiding the following traceback:
File "/usr/local/munki/managedsoftwareupdate", line 664, in main
   updatecheckresult = updatecheck.check(client_id=options.id)
 File "/usr/local/munki/munkilib/updatecheck.py", line 2777, in check
   installinfo)
 File "/usr/local/munki/munkilib/updatecheck.py", line 2071, in processManifestForKey
   processOptionalInstall(item, cataloglist, installinfo)
 File "/usr/local/munki/munkilib/updatecheck.py", line 1565, in processOptionalInstall
   iteminfo['installed'] = someVersionInstalled(item_pl)
 File "/usr/local/munki/munkilib/updatecheck.py", line 1281, in someVersionInstalled
   if compareItemVersion(item) == 0:
 File "/usr/local/munki/munkilib/updatecheck.py", line 645, in compareItemVersion
   return compareApplicationVersion(item)
 File "/usr/local/munki/munkilib/updatecheck.py", line 400, in compareApplicationVersion
   return compareBundleVersion(app)
 File "/usr/local/munki/munkilib/updatecheck.py", line 517, in compareBundleVersion
   compare_result = comparePlistVersion(item)
 File "/usr/local/munki/munkilib/updatecheck.py", line 562, in comparePlistVersion
   installedvers = munkicommon.getVersionString(plist)
 File "/usr/local/munki/munkilib/munkicommon.py", line 1345, in getVersionString
   if plist.get(key):
  AttributeError: '__NSCFString' object has no attribute 'get'
2014-04-29 15:51:12 -04:00
Greg Neagle
e90cfccc6f Add options for --category, --developer, and --icon-name to munkiimport for future use in Munki 2 2014-03-26 16:37:44 -07:00
Greg Neagle
1dc5f33eda Add some Munki 2 pkginfo fields to munkiimport. 2014-03-25 14:05:06 -07:00
Claude PERRIN
e1c01a281d French Translation fix typo & add more translations strings from underlying command-line tools 2014-03-25 08:29:18 +01:00
Greg Neagle
06cbcd9249 Don't raise an exception when processing removals and a manifest refers to a non-existent catalog 2014-03-22 09:16:23 -07:00
Greg Neagle
e45a64cc53 Fix typo for 'Mandatory Updates Pending' alert 2014-02-27 13:55:54 -08:00
Greg Neagle
3bc78d53a2 Make sure the need to restart is not lost when Munki updates need a restart but Apple updates do not. 2014-02-21 08:35:11 -08:00
Justin McWilliams
bde50a7dca In addition to ManagedSoftwareUpdate.log, also log to /var/log/system.log when 'LogToSyslog' configuration is True. 2014-02-06 18:04:07 -05:00
Justin McWilliams
65dbbc5768 Log when removing temporary directory causes OSError or IOError 2014-02-06 17:22:19 -05:00
Claude PERRIN
5d7cdf7f73 French translation update fixing some mistakes 2014-01-28 09:44:44 +01:00
Greg Neagle
ae6bd497a3 Rename some name/display_name variables in processRemovals to better reflect their actual contents and purpose 2014-01-24 15:02:18 -08:00
Greg Neagle
8ea6dc51c6 Record item name and not display_name for name key in the report's 'RemovalResults'. Enables correct update of optional_installs installation status. 2014-01-24 14:42:20 -08:00
Greg Neagle
60b5bdd1a9 Change format of munkicommon.report['RemovalResults'] to a list of dictionaries instead of a list of strings. This may affect reporting products that use this info. InstallInfo.plist is now always rewritten to disk after an install session instead of being deleted in some cases. 2014-01-24 12:00:13 -08:00
Greg Neagle
1a2eb15100 Include installer_item_size and installed_size with optional_installs items that are installed. 2014-01-13 10:14:21 -08:00
Greg Neagle
77d686a213 urlquote hostname before using it as a ClientIdentifier. See issue 276. 2014-01-11 09:03:39 -08:00
Greg Neagle
84e482285e Missed some copyright info updates 2014-01-10 14:18:48 -08:00
Greg Neagle
fddd138000 Bumping version to 1.0.0. Updated copyright dates. v1.0.0.1864.0 2014-01-10 08:20:15 -08:00
Greg Neagle
01e649084f Code formatting style cleanup in updatecheck.py 2013-12-17 09:56:10 -08:00
Justin McWilliams
b5006d2345 Revert Revision dcbfaa74bc, which randomized installs/removals order. This breaks dependencies chains which are baked into the list order. 2013-12-03 11:28:33 -05:00
Justin McWilliams
632c4e2aa0 Merge branch 'master' of https://code.google.com/p/munki 2013-12-03 10:33:57 -05:00
Justin McWilliams
dcbfaa74bc Randomize order of installs and removals, to prevent a single hanging/crashing/etc. package from continually preventing others from being processed. 2013-12-03 10:32:34 -05:00
Greg Neagle
b42f833850 Merge https://code.google.com/r/jessecpeterson-munki
Adding support for supported_architectures x86_64 for 64-bit computers running in i386 mode:
2013-12-01 18:46:31 -08:00
Justin McWilliams
4f67a5d50d Fix "%s downloaded at %d KB/s" string formatting to pass filename and download speed, not just download speed. 2013-11-26 13:10:57 -05:00
Justin McWilliams
3e26ca6ca1 s/munkicommon.log/munkicommon.display_detail/ when displaying package download speed. 2013-11-25 12:27:13 -05:00
Justin McWilliams
ddfedc5e36 Display and log HTTP headers when package downloads fail. 2013-11-25 12:25:56 -05:00
Justin McWilliams
c4dd44ea00 Fix issue where Info.plist CFBundleVersion containing unicode characters breaks Munki. 2013-11-25 12:24:19 -05:00
Justin McWilliams
3ba29fb128 Log the download speed for all package downloads. 2013-11-25 12:22:11 -05:00
Jesse Peterson
78902c68af Syntax fix 2013-11-23 13:22:03 -08:00
Jesse Peterson
21616710a2 supported_architectures x86_64 for 64-bit computers running in i386 mode. re: Munki issue #268 2013-11-23 13:18:44 -08:00
Greg Neagle
6e3555820a Fix for curl buffering headers output in Mavericks, causing progress display not to function. 2013-11-15 12:14:31 -08:00
Michael Lynn
468924f2b3 Allow changing curl path for 10.9 curl client-side cert workaround 2013-11-07 14:21:19 -08:00
Greg Neagle
d6906958c7 Always add catalog info to pkginfo. Fixes issue with --nopkg. Thanks to masonm@the-jci.org. 2013-11-05 15:20:49 -08:00
Greg Neagle
7da8af6700 Added new localized French message. Merci to iceman.grrrr@gmail.com 2013-11-05 15:04:51 -08:00
Greg Neagle
11aa83062f makepkginfo now inserts some user/environment metadata into generated pkginfo files. It stores the metadata under the '_metadata' key. makecatalogs now strips any key starting with _ from pkginfo before adding the pkginfo to a catalog. 2013-11-04 10:43:06 -08:00