Commit Graph

1521 Commits

Author SHA1 Message Date
eholtam
0fe3f8d0bf Added 'rename-manifest' subcommand to manifestutil 2016-08-12 22:14:22 -05:00
Greg Neagle
906400ded4 Merge pull request #641 from munki/adobe-hyperdrive
Add support for `makepkginfo` and new Adobe installers
2016-08-12 09:11:17 -07:00
Timothy Sutton
7a7fa3d47d lint fixes 2016-08-12 11:45:46 -04:00
Timothy Sutton
6481335929 Also retrieve BaseVersion and version from Application.json
- may be helpful to have more data available if needed later
2016-08-12 11:39:41 -04:00
Timothy Sutton
0e942ce45f Filter out non-HD installers when searching for prodVersion metadata 2016-08-12 11:39:02 -04:00
Timothy Sutton
aabc0ea205 Retrieve SAPCode key in optionXML.xml for both RIBS and HD
- so that we have this key regardless of RIBS and HD installers
- fixes #649
2016-08-12 09:56:23 -04:00
Greg Neagle
93baecaffb Merge branch 'master' of https://github.com/munki/munki 2016-08-11 21:33:00 -07:00
Greg Neagle
748767055a Bump version for next round of development and testing 2016-08-11 07:17:46 -07:00
verycarefully
293a5aa832 Fix another lint error pep8 didn't catch. 2016-08-08 14:27:40 -04:00
verycarefully
9eda5213c0 Fix up more lint errors. 2016-08-08 14:23:58 -04:00
verycarefully
66d02caeaf Fix lint warnings. 2016-08-08 12:25:41 -04:00
verycarefully
3ba5dbf23f Opt-in behavior to ignore system proxies. 2016-08-08 12:09:38 -04:00
Timothy Sutton
1cfb4249bc Fix wrong uninstallXML info generated for new "updated" HD installers
- Use `prodVersion` from optionXML.xml instead of `ProductVersion` from Application.json
2016-08-04 16:58:26 -04:00
Greg Neagle
97957434d5 installer.py: fix call to install() that had incorrect parameters. Addresses #645 2016-08-04 10:40:09 -07:00
Timothy Sutton
c03bb70f7e Fix PEP8 errors for #641 2016-08-03 10:54:52 -04:00
Greg Neagle
40309f5706 Add/update doc strings for munkicommon.ManagedInstallsPreferences and munkicommon.SecureManagedInstallsPreferences to better explain their actual behavior, which may not be obvious/intuitive at first glance. 2016-07-29 07:28:43 -07:00
Greg Neagle
49457d5aa2 Revert "Fix SecureManagedInstallsPreferences implementation so it does not write to root's ByHost preferences."
This reverts commit 93b0d079e7.
2016-07-29 07:03:51 -07:00
Timothy Sutton
4c9b1e5c86 Always define 'installs' for Adobe CS/CC packages
- fix crash importing a CCP pkg containing only Acrobat Pro DC, which doesn't currently generate any installs items
2016-07-27 20:28:33 -04:00
Timothy Sutton
07476adaf2 Set display_name and version pkginfo keys for Adobe HD if appropriate
- if we have a CCP package with one HD app, set its `version` and `display_name`keys since we've already extracted these
2016-07-27 20:28:33 -04:00
Timothy Sutton
879339a7ad Don't assume all CC HD packages have a 'Type' key 2016-07-27 20:28:33 -04:00
Timothy Sutton
ff374b176e Generate installs items for RIBS and HD in the same code section
- we need to create an installs array for either installs type but we can have any combination of the two, so create it up front so ordering doesn't matter
2016-07-27 20:28:33 -04:00
Timothy Sutton
c665a243f6 Don't assume 'MediaType' key for each product in parsed optionXML.xml 2016-07-27 20:28:33 -04:00
Timothy Sutton
2d664a6b33 Initial support for creating .pimx installs items for HD installers 2016-07-27 20:28:33 -04:00
Greg Neagle
143fb90af4 When looking for a receipt id in the old /Library/Receipts location, make sure /Library/Receipts actually exists! 2016-07-22 19:29:42 -07:00
Greg Neagle
00922bf76a Make sure value from 'IFPkgFlagInstalledSize' in bundle package info is converted to integer before writing to plist to avoid 'L' character getting written inside the integer tags. Fixes #640. 2016-07-21 14:18:54 -07:00
Greg Neagle
a6aa65b52b More tweaks to avoid changing the CatalogURL in 10.11+ 2016-07-21 09:05:22 -07:00
Greg Neagle
03cce8efa9 No longer just warn under El Capitan+ if SoftwareUpdateServerURL is set -- instead, warn and _ignore_ the value. 2016-07-21 08:56:05 -07:00
Greg Neagle
b3f1982d98 Bumping version.plist to 2.8.0 for new release candidate 2016-07-18 09:51:25 -07:00
Greg Neagle
b5b9166125 manifestutil now uses CFPreferences methods to read/write configuration if they are available, falling back to plistlib if they are not. Closes #347. 2016-07-15 18:46:54 -07:00
Greg Neagle
8522d4793d iconimporter now uses CFPreferences methods to read configuration; PyLint cleanups 2016-07-15 16:52:37 -07:00
Greg Neagle
874f89ea96 munkiimport now uses CFPreferences methods to read and write its preferences. 2016-07-15 16:34:36 -07:00
Greg Neagle
f7748dc1df When importing a new version of an existing pkg, prefer the display_name of the previous version to any detected from the item being imported. Closes #483. 2016-07-15 16:11:33 -07:00
Greg Neagle
5cf1d4f6a0 Remove munkicommon.getInstallerPkgInfo() and replace its functionality elsewhere. Fixes #624. 2016-07-15 14:55:20 -07:00
Greg Neagle
93b0d079e7 Fix SecureManagedInstallsPreferences implementation so it does not write to root's ByHost preferences. Fixes #617. 2016-07-15 11:42:16 -07:00
Nick McSpadden
ce774e14a4 Typo! 2016-07-08 15:16:35 -07:00
Greg Neagle
5f19717a34 Apple updates: if a distribution file does not define suDisabledGroupID for a product, use the productKey as the identifier. Addresses issue described here: https://groups.google.com/d/msg/munki-dev/R90NsdIFKeM/tlr4fNW6AgAJ 2016-07-05 11:37:33 -07:00
Greg Neagle
e7e7e83fb0 Merge pull request #623 from munki/ipv6addresses
ipv6_address fact
2016-07-05 07:19:14 -07:00
Arjen van Bochoven
b5ac9de944 Add version to failed installs
Add version_to_install to failed installs so that the version is recorded for reporting purposes
2016-07-03 21:28:13 +02:00
Greg Neagle
fa8895429e After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all) 2016-06-29 17:05:23 -04:00
Samuel Keeley
dd2da74390 ipv6_addresses fact 2016-06-24 12:09:30 -07:00
Greg Neagle
465c60b5f8 Merge branch 'localized-apple-updates' 2016-06-16 13:25:14 -07:00
Greg Neagle
9b174ff730 Add missing comma! 2016-06-14 14:25:49 -07:00
Greg Neagle
32bee3dbf0 Add macOS Sierra softwareupdate default CatalogURL 2016-06-14 13:53:31 -07:00
Greg Neagle
811a22fd37 When calling softwareupdate use --verbose flag instead of -v flag for maximum OS compatibility 2016-06-13 13:59:22 -07:00
Greg Neagle
096dd5b036 Bumping version in preparation for a 2.7.1 release 2016-06-08 08:25:11 -07:00
Greg Neagle
9aef9c9c89 Safer parsing of dists; new logic to make sure at least one pkg is downloaded for each product before adding it to the list of available Apple updates 2016-06-07 16:55:31 -07:00
Greg Neagle
a584d36e34 Use the Apple catalog in Munki's preferences, if set, when downloading. 2016-06-07 11:27:44 -07:00
Greg Neagle
e83331d9ae Make PyLint complain less 2016-06-07 10:56:48 -07:00
Greg Neagle
89475ed3e1 Some changes to get more accurate version numbers. Hard to believe it's necessary, but... 2016-06-07 09:01:43 -07:00
Greg Neagle
043c7eb24b Fix undefined 'fileurl' variable 2016-06-03 20:03:01 -07:00