Commit Graph

1867 Commits

Author SHA1 Message Date
David Symons f1af30de49 Update getmanifest to create unique filename for local copy of manifest 2015-06-22 12:40:19 +10:00
Greg Neagle 64f64dafdf Merge branch 'master' of https://github.com/munki/munki 2015-05-06 09:42:18 -07:00
Greg Neagle 4cec7f7366 Another attempt to fix toolbar display issues on Yosemite 2015-05-06 09:42:09 -07:00
Greg Neagle 743d023037 Merge pull request #477 from dayglojesus/fix_issue_476
fix issue #476
2015-05-05 17:25:23 -07:00
Brian Warsing 23423504fe fix issue #476
makepkginfo was crashing when trying to access non-existent keys in the catinfo
object. Replace `[]` accessor method with `get`.
2015-05-05 15:40:44 -07:00
Greg Neagle e988ba1993 Don't crash if profiles.py functions get called on 10.6.x 2015-05-05 15:05:09 -07:00
Brian Warsing ee1bcac831 follow symlinks when walking pkgs and pkgsinfo
To protect against infinite recursion, `os.walk` will not follow symlinks by
default. However, this safety feature can hamper the utility of makecatalogs if
admins want to symlink-in resources from multiple munki repos, so turn it off.
2015-05-01 11:13:18 -07:00
Greg Neagle 6e977c74ec Replace Updates toolbar image with png in attempt to fix unexpected icon size changes under Yosemite 2015-04-25 19:06:53 -07:00
Greg Neagle 248368ba3a Explictly check that item returned from NSPropertyListSerialization methods is None to distinquish that from perfectly-valid empty objects (empty arrays, dicts, etc) 2015-04-22 11:44:23 -07:00
Greg Neagle 3748463791 Check value of returned object when serializing or deserializing instead of the value of the error 2015-04-16 09:22:25 -07:00
Greg Neagle 5307006ef4 Clear PendingUpdateCount after installing so Dock badge is reset 2015-04-15 14:37:29 -07:00
Greg Neagle 42e2cf17f1 Begin Notification Center support: notifier helper app; docktileplugin, support for NSUserNotificationCenterDelegate methods 2015-04-15 10:44:37 -07:00
Greg Neagle 9d6de2e696 Merge pull request #471 from nmcspadden/master
Fixed indentation issue
2015-04-15 10:21:06 -07:00
Greg Neagle 74112ae2c8 Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin 2015-04-15 10:19:00 -07:00
Nick McSpadden 72e6901cc2 Fixed indentation issue 2015-04-15 09:58:19 -07:00
Greg Neagle 85892be850 Merge branch 'one-time-tasks' 2015-04-15 08:54:50 -07:00
Greg Neagle f3d2bdcbb4 Merge pull request #458 from nmcspadden/master
Added uninstaller_item_location check to makecatalogs
2015-04-13 14:19:42 -07:00
Greg Neagle 1e511689d5 Apple Softwre Update: clear ApplicableUpdates.plist as well as AppleUpdates.plist after installing Apple updates. Addresses an issue where recently installed Apple updates may show as needing to be installed again if the SUS server is not reachable. 2015-04-09 18:37:19 -07:00
Erik Gomez 511d7f596c remove --ondemant_script
:(
2015-03-26 20:41:37 -05:00
Greg Neagle 3817e91907 Merge branch 'master' of https://github.com/munki/munki 2015-03-26 16:30:26 -07:00
Greg Neagle 9ae150a6b7 Don't go crazy if force_install_after_date for an item is not actually a date object. 2015-03-26 16:29:47 -07:00
Greg Neagle a82fc141c1 Merge pull request #464 from erikng/master
60 second network wait
2015-03-25 15:52:40 -07:00
Greg Neagle 7dbbf8f368 Add installer_type == 'apple_update_metadata' to has_valid_install_critieria function so makepkginfo doesn't warn when making pkginfo for apple_update items. 2015-03-25 11:36:51 -07:00
Erik Gomez 5253c5ec9d Add options for --ondemand_script and --OnDemand
Example:

makepkginfo --name RepairPermissions --displayname "Repair Permissions" --description "This tool will repair your disk permissions. This is helpful if you are experiencing issues with your machine." --nopkg --pkgvers=1.0 --unattended_install --ondemand_script="RepairPermissions.sh" --OnDemand
2015-03-23 18:56:18 -05:00
Greg Neagle 9d750e9418 Merge branch 'master' into one-time-tasks 2015-03-22 09:55:43 -07:00
Greg Neagle d0c1c40353 Special case for Office 2011 updaters when building lists of files; install location should be empty string 2015-03-22 09:55:19 -07:00
Greg Neagle 6c30e378d8 Merge branch 'master' into one-time-tasks 2015-03-22 09:09:21 -07:00
Greg Neagle ca355d0289 Special case for Office 2011 updaters when building lists of files 2015-03-22 09:08:44 -07:00
Erik Gomez d102c15cfe Update managedsoftwareupdate 2015-03-21 18:53:24 -05:00
Greg Neagle 66f6cffecf Merge branch 'master' into one-time-tasks 2015-03-20 10:26:48 -07:00
Nick McSpadden 938f50ead9 TABS 2015-03-20 10:26:17 -07:00
Nick McSpadden 6877101604 Better future-proof check for uninstaller_item_location
AdobeCCPUninstaller _must_ have an uninstaller_item_location key. If
uninstaller_item_location is specified, it must be valid.
2015-03-20 10:24:57 -07:00
Greg Neagle 33fd840a76 Bump version to 2.2.4 for release 2015-03-20 10:23:59 -07:00
Nick McSpadden 01c0b5393d Supports AdobeUberUninstaller removal 2015-03-16 10:00:52 -07:00
Greg Neagle 1f06922b70 Merge branch 'master' into one-time-tasks 2015-03-16 09:09:32 -07:00
Nate Walck b767cf999f Added logging so it is easier to determine if updates are installed at login window or a user GUI session 2015-03-16 09:03:04 -07:00
Greg Neagle a3d0c492fe Add support for pkginfo 'OnDemand' key to enable on-demand tasks 2015-03-14 19:29:14 -07:00
Greg Neagle 42a70f284c Tweak makepkginfo's warning message when there is no installation check info 2015-03-14 13:00:49 -07:00
Brian Warsing 79b319fa3e revise warning message and adjust formatting
Revise warning msg to remove ref to missing PayloadIdentifier and clean-up the
multiline string formatting to make it easier to read.
2015-03-14 11:36:56 -07:00
Brian Warsing 45ec79557a update warning to include PayloadIdentifier msg
In the unlikely event a profile with a missing PayloadIdentifier is
successfully parsed, produce a warning.
2015-03-14 09:54:47 -07:00
Brian Warsing eba3458790 add PayloadIdentifier as install criteria
PayloadIdentifiers are used to determine install status. Add this to the list
of acceptable install criteria.

In addition, DRY out the code and supply an explicit return value.
2015-03-14 09:47:10 -07:00
Brian Warsing 2557fd48bd produce a warning when install criteria is missing
Adds a check that produces a warning to stderr when the package being parsed
does not contain:
- a populated installs array
- a populated receipts array
- a populated installcheck_script
2015-03-14 08:24:38 -07:00
Brian Warsing 8a018bbc0d insert new func has_valid_install_critieria
Inspects compiled catalog info dictionary for valid install criteria.
Returns boolean.
2015-03-14 08:05:32 -07:00
Brian Warsing ac663350b0 kill hanging whitespace
Rather than including this in an effective commit, kill this hanging whitespace
in a separate commit on the off-chance it needs to be reverted.
2015-03-14 08:03:29 -07:00
Brian Warsing 13c7e34f6f do not return None when there's no receipts
munkicommon.getPackageMetaData was returning None when the receipts array was
empty. This eventually produced a fatal error and halted makepkginfo. Remove
the early return statement and allow getPackageMetaData to return the empty
list.
2015-03-14 07:54:30 -07:00
Nick McSpadden 34769fb436 Revert "Now works with other "Adobe" uninstaller_types"
This reverts commit a77c42b2a9.
2015-03-13 15:04:18 -07:00
Nick McSpadden a77c42b2a9 Now works with other "Adobe" uninstaller_types 2015-03-13 12:58:07 -07:00
Greg Neagle ba387f2b7c Convert all command-line arguments to Unicode (assuming utf-8 encoding) to eliminate issues with item paths containing Unicode characters 2015-03-13 12:20:20 -07:00
Nick McSpadden 2c140e915a Added uninstaller_item_location check to makecatalogs 2015-03-13 12:12:32 -07:00
Greg Neagle 8701bacf78 Bump version to 2.2.3 for new release 2015-03-12 11:58:09 -07:00