Commit Graph

948 Commits

Author SHA1 Message Date
Nate
c8102cfaf3 Added support for serial numbers 2012-05-21 13:02:10 -04:00
Greg Neagle
065d3c0359 Add support for a 'minimum_munki_version' key for pkginfo items. Munki will not attempt to install an item if the current Munki version is less than the version specified by minimum_munki_version. 2012-05-17 20:06:22 -07:00
Greg Neagle
62d433aed2 Updated usage and help for all manifestutil subcommands. 2012-05-15 10:52:23 -07:00
Greg Neagle
e363485fd9 manifestutil: don't try to mount the repo if all we are asked to do is display help for a subcommand. 2012-05-15 10:03:35 -07:00
Greg Neagle
949a915900 When writing ApplicationInventory.plist, use a try/except block to avoid errors causing an uncaught exception 2012-05-14 22:45:32 -07:00
Greg Neagle
7d16e0aa4b Make sure item version is not None when using system_profiler data for non-bundle apps. 2012-05-14 21:21:35 -07:00
Justin McWilliams
62c85c68e2 The item is no longer an array. 2012-05-14 17:47:43 -07:00
Justin McWilliams
ad7da41e2a Optimize the new getSPApplicationData() functionality.
My machine has 48 non-bundle apps, and 596 dicts in the new SP cmd's _items array, which is 28.6K loop iterations.  This change reduces that down to 1.
2012-05-14 17:39:37 -07:00
Greg Neagle
57736f188a munkicommon.getAppData() now consults system_profiler data for info on non-bundle applications 2012-05-14 15:15:29 -07:00
Greg Neagle
790eac57a9 Print error message when killing /usr/sbin/installer job due to timeout 2012-05-10 08:21:03 -07:00
Greg Neagle
0184652d29 Attempt to add timeout back to installer operation. 2012-05-09 19:59:33 -07:00
Greg Neagle
db76245023 When installing, call /usr/sbin/installer through our launchd.Job() object. Works around issues with recent Microsoft Office 2011 updates. 2012-05-09 16:28:19 -07:00
Greg Neagle
0ed65b7364 Better warning and safer behavior if a pkginfo's catalogs array contains an empty item (<string></string>) 2012-05-07 12:17:32 -07:00
Greg Neagle
076e92318d Merge branch 'master' of https://code.google.com/p/munki 2012-05-07 11:33:55 -07:00
Greg Neagle
3fe3450d7d Fix typo in networkUp() when checking for non-loopback interfaces 2012-05-07 11:33:42 -07:00
Greg Neagle
cbb4284f5a Initial localization support for Finnish courtesy Hannes Juutilainen <hjuutilainen@mac.com> 2012-05-03 09:51:17 -07:00
Greg Neagle
58bada0a5b More localization tweaks. 2012-05-01 14:31:20 -07:00
Greg Neagle
620bb386e9 Adjust button sizes in Managed Software Update.app 2012-05-01 14:13:35 -07:00
Greg Neagle
3814c70c26 Add initial French localization based on Claude Perrin's work 2012-05-01 11:18:18 -07:00
Justin McWilliams
9efc4c7680 Fix ccb5f6b6cc -- move skipdirs into global const that's a prepopulated set of exclusion dirs. 2012-04-27 16:59:15 -04:00
ogle
ccb5f6b6cc Add /private/* to the isExcludedFilesystem skipdirs.
Also, change skipdirs from a list to a set for far faster "in" operator performance.
2012-04-27 20:38:44 +00:00
Greg Neagle
39dcec0c44 Changes in updatecheck to better find installed items that have overlapping receipts with other items in the Munki repo. This specifically makes Munki better able to identify iLife'08 vs. iLife'09 vs. iLife'11, and therefore makes Munki actually capable of removing any of these, which was problematic before. 2012-04-27 10:28:32 -07:00
Greg Neagle
f1f0846e2e Fix for munkicommon.getLSInstalledApplications(): use NSURL instead of FSRef, so no need to call LaunchServices.LSGetApplicationForURL(). Faster and hopefully more reliable. 2012-04-27 10:25:19 -07:00
Greg Neagle
3fcf49ffc4 Fix munkiimport to look in default install location for makecatalogs if makecatalogs is not found in same directory as munkiimport. Thanks to Heig Gregorian 2012-04-27 10:23:45 -07:00
Greg Neagle
b5e9c4e607 Bump version.plist to 0.8.3 for next series of releases 2012-04-27 10:22:12 -07:00
Greg Neagle
2ac635afac add back the return of SoftwareUpdate's return code at the end of AppleUpdates._RunSoftwareUpdate(). Mistakenly removed on Feb 15 2012 in revision 2a1cf963e4 2012-04-13 13:55:46 -07:00
Justin McWilliams
37170e4915 Slow down a potential busy loop if MSU GUI is waiting for a restart alert to be dismissed. 2012-04-13 15:13:56 +05:30
Greg Neagle
fc2b388209 Deprecation warning if install_type 'appdmg' is encountered; display error instead of just logging if we encounter an install_type we don't know how to handle. 2012-04-10 11:46:38 -07:00
Greg Neagle
d67452e56a refactor of copying items from disk image to fix some logic errors. Thanks to raphendyr. 2012-04-10 11:36:07 -07:00
Greg Neagle
069c522bd9 Add CFBundleName definition to English.lproj/InfoPlist.strings 2012-04-10 10:32:21 -07:00
Greg Neagle
a7876a84d1 Merge branch 'master' of https://code.google.com/p/munki 2012-04-03 09:22:37 -07:00
Greg Neagle
d7236fce3a Fix for items marked for forced_install_after_date that also require logout or restart 2012-04-03 09:19:15 -07:00
ogle
6c243e74a0 s/Retreiving/Retrieving/ in 'Retreiving catalog "%s" ...' MSU message.
i before e except after c
2012-03-27 22:08:55 +00:00
Greg Neagle
21079ca718 Skip /.MobileBackups directory when scanning for apps; make sure all Exceptions are converted to strings before sendning to display_error 2012-03-25 19:21:54 -07:00
Greg Neagle
b0e713fdda Fix a call to lookForUpdatesForVersion() with the wrong number of parameters 2012-03-22 14:58:58 -07:00
Greg Neagle
d95481b93e Merge branch 'dev' of http://code.google.com/r/theheig-conditionals 2012-03-13 21:16:32 -07:00
Greg Neagle
97c670bab4 appleupdates.py now generates blocking_applications lists for Apple updates 2012-03-13 17:22:54 -07:00
Heig Gregorian
b42bec7aef Improved print-out for 'Found' updates 2012-03-09 10:43:09 -08:00
Greg Neagle
866c31ecd6 Changes in how we look for updates that have a version number appended 2012-03-08 11:20:20 -08:00
Greg Neagle
991567b262 Removed code/client/conditions as those are examples 2012-03-07 09:14:23 -08:00
Heig Gregorian
9f10a6a520 Better inline documentation and more descriptive key names 2012-03-05 12:09:38 -08:00
Heig Gregorian
2fde9b96d7 Remove Conditions.plist once CONDITIONS has been populated and output CONDITIONS to ManagedInstallReport.plist 2012-03-05 11:12:55 -08:00
Heig Gregorian
ea16bc8e7a Example script clean-up 2012-03-05 11:03:45 -08:00
Heig Gregorian
020864673a Lookup ManagedInstallDir path instead of setting manually 2012-03-05 10:34:56 -08:00
Heig Gregorian
0f79dfc985 Added some additional inline documentation 2012-03-05 10:21:15 -08:00
Heig Gregorian
f02b78b78e Don't process directories within conditions directory. Fixed variable name misspelling 2012-03-05 08:45:17 -08:00
Heig Gregorian
400411113e Basic .gitignore added to exclude test conditional items scripts 2012-03-05 08:30:30 -08:00
Heig Gregorian
e2780c867e Validate plist before including in CONDITIONS dict 2012-03-05 08:13:21 -08:00
Heig Gregorian
c6be815303 Removed changes to predicateEvaluatesAsTrue. Conditional scripts must now write output to ConditionalItems.plist which is then parsed to the CONDITIONS dict for inclusion into the INFO_OBJECT dict 2012-03-05 07:34:59 -08:00
Heig Gregorian
afce440698 Initial commit for conditional items framework extension 2012-03-02 14:10:34 -08:00