Commit Graph

1360 Commits

Author SHA1 Message Date
Justin McWilliams
e9b013dbf7 Log warning when "Products" key is not found in filtered Apple Update catalog
Log warning when "Products" key is not found in filtered Apple Update catalog
2015-10-28 12:37:09 -04:00
Greg Neagle
f7f4b70106 Merge pull request #520 from natewalck/master
Added LocalOnlyManifest feature
2015-10-26 14:12:14 -07:00
Greg Neagle
41de516720 PyLint cleanup 2015-10-23 10:10:26 -07:00
Greg Neagle
cc794c9c39 Merge pull request #532 from munki/samuel-munkiimport
Don't offer to create icons for profiles or Apple metadata
2015-10-23 10:05:47 -07:00
Samuel Keeley
e0f771ceda Don't offer to create icons for profiles or Apple metadata 2015-10-23 10:02:47 -07:00
Shea Craig
ae9cd75dc9 Add mobileconfig to the usage of munkiimport. 2015-10-23 11:32:31 -04:00
Greg Neagle
f3904760cd In El Capitan, avoid changing the softwareupdate CatalogURL unless it's set in Munki's preferences. 2015-10-22 09:01:39 -07:00
Greg Neagle
422504e639 Merge branch 'master' of https://github.com/munki/munki 2015-10-14 14:14:29 -07:00
Greg Neagle
69c6398c6e Filter out _mbsetupuser when checking for GUI users at install time. Fix is similar to 0f8a51f9e7, which was for Managed Software Center.app 2015-10-14 14:14:17 -07:00
Nate Walck
b7a361d285 Added LocalOnlyManifest 2015-10-14 11:39:11 -07:00
Justin McWilliams
52009ae9df Edit Fix string concatenation of "No %s in item info" MunkiDownloadError 2015-10-12 12:06:19 -04:00
Justin McWilliams
2e34939a9a Fix string concatenation of MunkiDownloadError("Insufficient disk space to download and install %s") 2015-10-09 17:09:23 -04:00
Greg Neagle
087bed6b72 PyLint cleanups for managedsoftwareupdate 2015-10-09 08:59:26 -07:00
Greg Neagle
3fd17e5587 Rephrase logging about skipping Apple updates when Munki items to install contain Apple items; move code block to clearer place 2015-10-09 07:12:10 -07:00
Pepijn Bruienne
f3e86d2087 Add logging about skipped ASU checks when installing Apple items. 2015-10-09 09:40:09 -04:00
Greg Neagle
b2913d6d7c Bump main version number to 2.3.1 in prep for new release 2015-09-15 13:52:33 -07:00
eholtam
a663844ccf Update manifestutil find() output verbiage
Changed "items" to "matches" to better reflect what 'find' finds.
2015-09-01 11:01:31 -05:00
eholtam
5e9978f711 Remove find() breaks
Removing the breaks in the find function to allow multiple matches per section per manifest.
Addresses issue https://github.com/munki/munki/issues/512
2015-09-01 10:24:14 -05:00
Greg Neagle
c2239c5de8 Merge pull request #507 from erikng/master
preupgrade_alert support
2015-08-19 09:58:48 -07:00
Greg Neagle
891d70c778 Fix help message for managedsoftwareupdate --id 2015-08-19 09:46:04 -07:00
Erik Gomez
0bcf01693e preupgrade_alert support 2015-08-17 09:33:00 -05:00
Greg Neagle
853fcfdb23 PyLint cleanups on munkiimport 2015-08-12 14:21:14 -07:00
Greg Neagle
416edbc2dc Fix issue when matching receipts when an individual receipts's version number is different from the overall item version number 2015-08-12 13:00:24 -07:00
Greg Neagle
fb5d985ba1 Bumping version for 2.3 RC1 2015-08-06 08:39:56 -07:00
Greg Neagle
f39e6b5cd7 Kill stray comma 2015-07-29 15:04:32 -07:00
Greg Neagle
6471f6d2a3 If there is no orignal softwareupdate CatalogURL on 10.11, use --clear-catalog to reset. 2015-07-29 13:42:18 -07:00
Greg Neagle
0ce7846fe5 Make appleupdates_test.py stop complaining 2015-07-29 08:57:12 -07:00
Greg Neagle
9e0deb7540 Some changes to appleupdates.py to work around issues on 10.11 2015-07-29 08:11:03 -07:00
Greg Neagle
1dd8329d66 Inject NSAppTransportSecurity key and value into [NSBundle mainBundle]'s infoDictionary in order to make App Transport Security happy on 10.11 2015-07-29 08:09:39 -07:00
Greg Neagle
441e649288 take out another instance of 'launchctl bsexec' usage under 10.11 2015-07-14 13:44:15 -07:00
Greg Neagle
6f3b65feac Don't use under 10.11 since SIP prevents it from doing what we want 2015-07-14 13:39:49 -07:00
Greg Neagle
fd75be09fa Remove mistaken addition of OnDemand flag to configuration pkginfo in makepkginfo 2015-07-03 15:39:06 -07:00
Greg Neagle
3512f5389b Another attempt to actually accomplish what was intended here: 1e511689d5 -- turns out ClearAppleUpdateInfo() method wasn't actually being called by anything. Sigh. 2015-06-30 18:39:28 -07:00
Greg Neagle
900b34c481 Merge pull request #490 from Multimac/local_manifest_name
Update getmanifest to create unique filename for local copy of manifest
2015-06-29 08:28:31 -07:00
David Symons
3e4935ec9b Changed filename checking in cleanUpManifests to ignore all files named 'SelfServeManifest' 2015-06-25 14:38:04 +10:00
David Symons
cb5117b18d Reworked cleanUpManifests to use os.walk instead of recursion, cleaning it up.
Added better exception handling to manifest folder creation in getmanifest
2015-06-25 14:30:13 +10:00
David Symons
495873e7a1 Added exception for SelfServeManifest to cleanUpManifests 2015-06-23 16:58:15 +10:00
David Symons
d041d90b6f Fixing spelling mistake 2015-06-23 16:46:58 +10:00
David Symons
b1840af0ac Added cleanUpManifests to check over all manifests and remove those which are no longer used 2015-06-23 16:43:24 +10:00
David Symons
d7512980f5 Flattened MANIFESTS, removing unnecessary sub-dictionaries. Also updated variable names to be less confusing 2015-06-23 16:02:22 +10:00
David Symons
96b80d7ce1 Forgot to use addToManifestCache and getFromManifestCache... 2015-06-23 13:42:36 +10:00
David Symons
aecf0191a8 Updated getmanifest to copy the folder structure on the server when storing client-side manifests 2015-06-23 13:14:22 +10:00
David Symons
f1af30de49 Update getmanifest to create unique filename for local copy of manifest 2015-06-22 12:40:19 +10:00
Greg Neagle
a6b4b5be84 Merge pull request #487 from klou/re-enable-makepkginfo-scripts
add arguments check to criteria test
2015-06-10 14:25:15 -07:00
klou
069c8be699 add arguments check to criteria test
Checks for a single argument (installer item) as well as has_valid_install_critieria.  Multiple arguments fail via other checks, zero arguments (script_options) pass for pkginfo generation.
2015-06-10 13:08:24 -07:00
Greg Neagle
b37a514624 When url quoting items, encode as UTF-8 first 2015-06-10 09:01:26 -07:00
Greg Neagle
7b4ddff2ba Add .sutcatalog URL for El Cap 2015-06-10 08:28:28 -07:00
Clay Caviness
06fe9e25ea builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
2015-06-03 12:14:01 -04: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