Commit Graph

270 Commits

Author SHA1 Message Date
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 fddd138000 Bumping version to 1.0.0. Updated copyright dates. 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
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 3ba29fb128 Log the download speed for all package downloads. 2013-11-25 12:22:11 -05: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
Arjen van Bochoven ca07f73d92 Expanded license_info_url check to if statement 2013-10-21 21:30:55 +02:00
Arjen van Bochoven fcb7181830 Change query character to ampersand if the license_info_url contains an question mark. 2013-10-21 20:43:09 +02:00
Greg Neagle eb3c5e120c PyLint fixes: remove spaces before EOLs 2013-10-04 12:10:21 -07:00
Greg Neagle df4f7f2661 Make sure makePredicateInfoObject() doesn't throw an exception if munkicommon.report['StartTime'] is not defined. 2013-10-04 11:55:56 -07:00
Greg Neagle 1a891393c6 pkginfo items must now have an 'licensed_seat_info_available' attribute to cause managedsoftwareupdate to check for available licensed seats for optional installs 2013-08-13 08:10:47 -07:00
Justin McWilliams b6fdd3a25f Merge branch 'master' of https://code.google.com/p/munki 2013-08-12 16:03:00 -04:00
Justin McWilliams ceede8f4f5 ManagedInstallReport.plist includes error message details (from curl) for failed downloads. 2013-08-12 16:02:07 -04:00
Greg Neagle 86d0f7465a Adjust error messages; convert munkicommon.display_foo() calls to use extra args instead of % interpolation 2013-07-22 09:36:18 -07:00
ogle 4e3261b95f Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard. 2013-07-22 16:09:05 +00:00
Justin McWilliams 7c4eeb2d7b s/munki\./munkicommon./g to fix display_error calls added in rf8c46ec3eb955cef6a2aefcc52be090234ac3705 2013-07-18 16:48:33 -04:00
Greg Neagle fe2a402202 Merge branch 'master' of https://code.google.com/p/munki 2013-07-16 15:21:43 -07:00
Greg Neagle 97d0d34f9b Initial support for checking for available licensed seats for uninstalled optional_installs 2013-07-16 15:21:29 -07:00
Justin McWilliams f8c46ec3eb If self-serve/etc. manifests are corrupt, log and pass instead of crashing. 2013-06-21 10:59:43 -04:00
Greg Neagle 5aff95e9cd Support for installing AAMEE/CCP packages that include updates. 2013-05-17 10:20:28 -07:00
Greg Neagle fc8c36d1fa Change apple_item logic in updatecheck.processRemoval to match that in updatecheck.processInstall. Specifically, allow admin to override detection of apple_item by explictly setting it in the pkginfo. 2013-04-11 14:28:40 -07:00
Greg Neagle 699decfe00 Use consistent format when an item's version cannot be determined and is noted as '(newer than ...)' 2013-03-11 15:46:29 -07:00
Greg Neagle 1ac91e8b44 Patch from rmiddleton for updatecheck.isItemInstallInfo() -- fixes issue with multiple updates with the same name (but different versions) that need to be applied in a single session. 2013-03-11 08:18:08 -07:00
Heig Gregorian ed9a8b0913 Renamed updatecheck.getAppleUpdateMetaData to updatecheck.getPrimaryManifestCatalogs to reflect actual function; added function parameter to specify whether or not the primary client manifest and catalogs should be re-downloaded before parsing for apple_update_metadata
Additionally, ensure that MACHINE dict is populated regardless of the
runtype as it may impact how a primary manifest is discovered.
2013-02-22 15:29:15 -08:00
Heig Gregorian cd3c69b5a2 'unattended_install' and 'force_install_after_date' actions for Apple update are honored. Overall, functions were add/modified to support this effort. 2013-02-15 18:34:28 -08:00
Heig Gregorian e59555ff76 Minor clean-up; removed custom argument for updatecheck.getItemDetail, unusued self.apple_md variable removed from appleupdates 2013-02-13 16:00:38 -08:00
Heig Gregorian e2005a696b Significant changes to how Apple update items are matched to metadata; new function in updatecheck specifically created to handle collection of catalog data by appleupdates; new function created for applying metadata
Of note, 'copyUpdateMetadata' function uses a list of whitelisted
metadata keys as well as appropriate logic to determine if a particular
'RestartAction' should be applied.
2013-02-13 13:22:07 -08:00
Heig Gregorian 9f8cd3a975 Initial commit adding client-side support for 'apple_update_metadata'
Provided that 'AppleSoftwareUpdatesOnly' preference is False, primary
client manifest's catalogs are parsed for matching
'apple_update_metadata' and applied to pending Apple updates.

Please note that not ALL keys presented by an apple_update_metadata
item are applied as to not either clobber or complicate the listing of
items provided in 'AppleUpdates.plist'.  The current list of excluded
keys is as follows:

catalogs
installed_size
installer_type
name
version
version_to_install
2013-02-12 13:23:45 -08:00
Greg Neagle b80430753b Changes to allow Munki to check for and install Apple Software Update items in the same session as normal Munki updates. 2013-02-11 08:37:39 -08:00
Greg Neagle a4ff92e4c6 Reset item[path] to original path after calling comparePlistVersion from compareBundleVersion. More debug output. 2013-02-05 10:06:10 -08:00
Greg Neagle e3aef2bd7e Debug output tweaks when doing version comparisons 2013-02-04 15:14:47 -08:00
Greg Neagle 78d9ea6b49 Simplify implementation of compareBundleVersion() by just calling comparePlistVersion() to do the actual version comparison. Don't Repeat Yourself! 2013-02-04 15:00:21 -08:00
Greg Neagle 3c5d707ec1 Key name changes and behavior tweaks to Heig's submission for support for bundle/plist version keys other than CFBundleShortVersionString 2013-02-04 14:20:31 -08:00
Greg Neagle 097c6d8acb Merge branch 'versionkey' of https://code.google.com/r/theheig-conditionals 2013-02-04 10:46:24 -08:00
Greg Neagle 4b71ace130 Updated copyright info on all files with copyright info. 2013-01-28 11:55:09 -08:00
Greg Neagle 6fffa1b025 Change updatecheck.checkServer for IPv6 compatibility. 2013-01-28 09:17:16 -08:00
Justin McWilliams 4784ea762b Cleanup readability of pkgid_table generation in makeCatalogDB(). 2012-12-19 16:53:31 -05:00
Greg Neagle cc67bb8ca1 Add 'date' item to INFO_OBJECT for use in conditional_items. This allows for date-based conditions. 2012-12-18 13:08:13 -08:00
Greg Neagle b959caddb5 Change tsutton's 'predicate_check' pkginfo key to 'installable_condition' 2012-11-16 16:34:57 -08:00
Timothy Sutton ce2abfc967 Rudimentary support for NSPredicate strings to quality a pkginfo via the 'predicate_check' key. 2012-10-24 14:11:20 -04:00
Heig Gregorian ade492ab2f Support added for supplying 'plist_version_key' in an 'installs' item such that arbitrary plist keys can be used for version information instead of the default 'CFBundleShortVersionString' 2012-08-16 19:49:35 -07:00
Greg Neagle 79b5d478d0 Fix spelling of 'Retrieving' 2012-08-15 19:36:10 -07:00
Greg Neagle 167a5ef810 Don't ignore an unattended_install whose RestartAction is explictly 'None'. 2012-07-07 11:52:03 -07:00
Greg Neagle 084a8d76aa Pylint cleanups 2012-07-02 10:45:08 -07:00
Arjen van Bochoven 0b495c7a14 Changed package_less install flag to installer_type=nopkg 2012-07-02 11:57:38 +02:00
Arjen van Bochoven 6f7ddf7b59 Added ! to installer_item to make it less likely someone uses this as filename 2012-07-01 08:19:26 +02:00
Arjen van Bochoven 01ddeb765d Added packageless_install 2012-06-30 22:52:22 +02:00