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
Greg Neagle
85f87e497d
Major rework of appleupdates.py. More efficent, especially under El Capitan. Adds support for localized names and descriptions of Apple updates.
2016-06-03 19:12:12 -07:00
Greg Neagle
ed70d8b816
munkiimport: When encoding text to be printed, use UTF-8 explictly instead of the current stdout encoding, which could be ASCII. Matches earlier munkiimport behavior.
2016-06-02 13:55:57 -07:00
Greg Neagle
75e0722e8f
makepkginfo now can parse an app's Info.plist's LSMinimumSystemVersionByArchitecture (if it exists) for minimum_os_version information
2016-05-24 14:35:07 -07:00
Greg Neagle
bd3b1aa916
Revert "Attempt to get progress info working again during Apple Software Update installs on El Capitan"
...
This reverts commit d92afeaae9 .
2016-05-23 10:29:33 -07:00
Greg Neagle
827113f3d5
Return to explictly removing the 'com.apple.quarantine' xattr from copied items since we can't trust ditto.
2016-05-23 10:07:23 -07:00
Greg Neagle
769bed76b6
Convert spaces to tabs in recent change to Managed Software Center/Managed Software Center/Managed Software Center-Info.plist
2016-05-23 09:15:56 -07:00
Greg Neagle
bd068281db
Disable App Transport Security in Managed Software Center to enable the use of arbitrary http/https URLs in screen shots and customizations
2016-05-23 08:46:08 -07:00
Greg Neagle
a322efd120
Actually return PKGATA from analyzeInstalledPkgs()
2016-05-20 06:12:23 -07:00
Greg Neagle
f812bbd719
Safer use of the package data structure created by analyzeInstalledPkgs() to avoid referencing its keys if it has not yet been defined
2016-05-15 18:53:06 -07:00
Greg Neagle
d92afeaae9
Attempt to get progress info working again during Apple Software Update installs on El Capitan
2016-05-13 16:33:16 -07:00
Greg Neagle
28cb5f7c66
Better handling of manifest names that include Unicode characters, including handling --id from managedsoftwareupdate at the command-line.
2016-05-11 10:21:15 -07:00
Greg Neagle
5a3e130449
If an item download fails, remove its name from the list of processed items so that it is not considered successfully processed, which can cause future dependency checking to improperly succeed.
2016-04-29 13:51:19 -07:00
Greg Neagle
c769f37fb7
Bump version.plist to 2.7.0 for upcoming release
2016-04-28 09:46:59 -07:00
Greg Neagle
9e9cc23a2d
More localization for MunkiStatus 'Show log' menu item
2016-04-26 12:03:14 -07:00
Greg Neagle
2f417fc05a
More localization for MSC 'Show log' menu item
2016-04-26 11:54:02 -07:00
Greg Neagle
798dddecbd
Localize Show Log menu for German and French
2016-04-25 18:32:52 -07:00
Greg Neagle
820718aaf0
Add log window to Managed Software Center
2016-04-25 18:26:13 -07:00
Greg Neagle
0a2dedb013
Add a debug message
2016-04-25 14:48:43 -07:00
Greg Neagle
3a3dfc60dd
Merge branch 'master' into munkistatus-logwindow
2016-04-25 13:21:32 -07:00
Greg Neagle
9f4a4f198a
PyLint cleanup
2016-04-25 13:21:09 -07:00
Justin McWilliams
b86039d18b
Re-add pylint disable=E0611 around CoreFoundation imports
2016-04-25 13:31:51 -04:00
Justin McWilliams
34d4a0863e
Re-add pylint enable-mgr=E0611, which was a temporary ignore of Foundation modules being unknown
2016-04-25 13:29:57 -04:00
Justin McWilliams
81bc9ddb68
Re-add pylint disable-msg=C0103 to ignore camelCase names
2016-04-25 13:28:12 -04:00
Justin McWilliams
30cea5ac1f
Remove package download no idle sleep assertion.
2016-04-25 13:16:55 -04:00
Greg Neagle
094792196c
Show log menu item localized to German and French
2016-04-25 09:42:37 -07:00
Justin McWilliams
396f05bf50
Create "no idle sleep" assertions while downloading packages.
...
This is especially helpful when downloading large packages and/or while
on slow network connections, avoiding "inactivity" causing machines to sleep
and package downloads to fail.
2016-04-22 17:07:35 -04:00
Greg Neagle
d107b2551d
Merge branch 'master' into munkistatus-logwindow
2016-04-21 17:43:28 -07:00
Greg Neagle
e69a000dc7
Fix improper logging call leading to extra log files when using removepackages to remove items
2016-04-21 17:43:04 -07:00
Greg Neagle
923765c574
Merge branch 'master' into munkistatus-logwindow
2016-04-21 13:41:19 -07:00
Greg Neagle
72bdd0ca23
PyLint formatting cleanups
2016-04-21 11:49:13 -07:00