Commit Graph

1792 Commits

Author SHA1 Message Date
Greg Neagle b0dd20018f Move the last function out of munkicommon/__init__.py 2016-12-15 13:43:11 -08:00
Greg Neagle dcedb3a418 Make munkicommon.stopRequested() work in all run modes 2016-12-15 08:40:35 -08:00
Greg Neagle f46c04307f Replace all references to 'Managed Software Update.app' with 'Managed Software Center.app' 2016-12-14 17:02:14 -08:00
Greg Neagle bbd34966ca Always send status updates so MSC.app can display them if it is open. 2016-12-14 16:59:54 -08:00
Greg Neagle ddf1940bf6 Move authrestart module out of munkicommon to root of munkilib 2016-12-14 15:48:40 -08:00
Greg Neagle 38f1176194 Change string formatting in authrestart.py to match that of the rest of Munki code 2016-12-14 15:39:31 -08:00
Greg Neagle 61120839db Set global verbose and munkistatusoutput variables via munkicommon.display module 2016-12-14 15:17:17 -08:00
Greg Neagle b63531bd8a munkicommon __init.py__ almost free of functions... 2016-12-14 15:07:38 -08:00
Ryan Yu 1b01fd4b89 fix refactoring for make catalogs 2016-12-14 14:52:00 -08:00
Ryan Yu 0c475075e4 Refactored iconimporter, makecatalogs, manifestutil, iconutils Repo methods to Repo/FileRepo to support custom plugin functionality 2016-12-14 13:31:48 -08:00
Greg Neagle 705e4d5239 Move functions that get process info into processes module 2016-12-14 11:54:01 -08:00
Greg Neagle 7b8aa53833 Move information-gathering functions into info module; move constants into constants module 2016-12-14 11:38:14 -08:00
Greg Neagle 67feb23d69 in dmgutils, replace all print >>sys.stderr output with display_error() 2016-12-14 10:56:18 -08:00
Greg Neagle 3a3b801566 Move package/receipt utilities into their own module 2016-12-14 10:50:30 -08:00
Greg Neagle 0cb4636cf3 Add initial osutils module; update authrestart 2016-12-14 10:16:09 -08:00
Greg Neagle 932e4269d3 Move authrestart functions into their own module; remove abandoned munkicommon.py and munkiprefs.py 2016-12-14 10:07:40 -08:00
Greg Neagle 04e6483f7e Start of munkicommon refactor. 2016-12-14 09:55:05 -08:00
Greg Neagle 4566764a90 Move preferences functions and classes into munkiprefs.py 2016-12-13 15:57:12 -08:00
Greg Neagle a28d492399 Instead of using nasty module global variables, cache config_profile_info's results in a function arribute 2016-12-13 15:13:26 -08:00
Greg Neagle ac003c8db4 Use memoize decorators to cache results of expensive functions without nasty module globals 2016-12-13 15:01:20 -08:00
Greg Neagle 74aed49f22 Reorganize exceptions reported by fetch.py (especially getResourceIfChangedAtomically and friends); updatecheck.checkServer rewritten to use fetch/gurl functions for the check (therefore using system proxies); exit updatecheck if there is a failure to retrieve any manifest (included_manifests as well). Addresses #560. Addresses issue reported on Slack with reaching repos hosted in the cloud from behind a web proxy. 2016-12-13 13:46:56 -08:00
Ryan Yu af966ad2de Changed NewLine Differences and added 2 new imports. Fixed import class to use full path 2016-12-12 15:32:11 -08:00
Greg Neagle f8205be609 Simplify manifest retrieval logic 2016-12-12 15:21:04 -08:00
Greg Neagle 4030c6b52f Doc string fix for fetch.get_url() 2016-12-12 14:14:53 -08:00
Ryan Yu aa3f89c8e4 -Refactor Repo methods into FileRepo and Repo
-added plugin option and configure for custom imports
-Updated munkiimport to latest version
2016-12-12 13:59:06 -08:00
Greg Neagle 4125dcc196 Now that checking and downloading Apple Software Updates have been combined into a single action, change the status text 2016-12-12 10:28:46 -08:00
Greg Neagle 4f45a6a683 Merge branch 'master' of https://github.com/munki/munki 2016-12-12 10:27:13 -08:00
Greg Neagle b4dbbe27a4 Add receipts to the list of key values to hash if an item's uninstall_method is 'removepackages'. We need a complete list of receipt IDs that may have been installed in order to do a good job of uninstalling. This largely affects Office2011_updates, which have unique pkgids for each update. Sigh. 2016-12-12 10:27:03 -08:00
Wesley Whetstone 1163fbb3d2 readding changes to manasoftwareupdate 2016-12-01 10:40:10 -08:00
Wesley Whetstone ef6627b74e readding changes to munkicommon 2016-12-01 10:38:23 -08:00
Greg Neagle 5ae397eee4 Merge branch 'fv-auth-restart' 2016-11-28 10:44:33 -08:00
Greg Neagle 069810a1ad Fixes for NetFS share mounting under 10.8.x 2016-10-31 13:54:18 -07:00
Greg Neagle 0518e4048e Make sure there is a repo_url before attempting to mount a fileshare in munkiimport and manifestutil 2016-10-24 16:18:37 -07:00
Greg Neagle 7c0a437f6c PyLint clean-ups 2016-10-24 08:26:30 -07:00
Greg Neagle a8fb9feede Recursive indented printing of included manifests for manifestutil expand-included-manifests 2016-10-21 16:34:05 -07:00
Greg Neagle 7013581371 Really fix the fileshare mounting code in manifestutil 2016-10-21 15:58:25 -07:00
eholtam 69af0bae02 Added subcommand refresh-cache 2016-10-21 17:49:18 -05:00
Greg Neagle 4c8ed8f161 Merge branch 'master' of https://github.com/munki/munki 2016-10-21 15:39:18 -07:00
Greg Neagle e9bdb65ade Add new Sierra-compatible fileshare mounting code to manifestutil. 2016-10-21 15:38:58 -07:00
Greg Neagle cccfec15b8 Merge pull request #665 from cwindus/master
manifestutil: expand-included-manifests
2016-10-21 15:15:16 -07:00
Greg Neagle 260418b7dd Merge pull request #667 from gmarnin/patch-2
makecatalogs, change the path separator
2016-10-18 14:56:54 -07:00
Greg Neagle f3ee1d83e4 Some attempts to remove possible unicode issues 2016-10-17 10:49:43 -07:00
Greg Neagle 834796e967 Attempt #2 to catch KeyError exception when attempting to import NetFS's NetFSMountURLSync function. 2016-10-17 09:57:35 -07:00
Greg Neagle 8fa668edb6 Catch KeyError exception when attempting to import NetFS's NetFSMountURLSync function. 2016-10-14 14:27:04 -07:00
Greg Neagle 84271f6bb8 Bumping version.plist to 2.8.2 for upcoming bug-fix release 2016-10-12 16:34:06 -07:00
Greg Neagle 4aab802442 PyLint cleanups for munkiimport 2016-10-12 15:19:32 -07:00
Greg Neagle 78d58b58a5 Restore default text input in munkiimport under 10.6 2016-10-12 15:00:01 -07:00
Greg Neagle 0269b1a89c Fix for 'ImportError: cannot import name kCFNetworkProxiesHTTPSEnable' on older versions of OS X 2016-10-12 10:34:50 -07:00
Greg Neagle 778d66b08c Merge branch 'master' of https://github.com/munki/munki 2016-10-12 10:26:48 -07:00
Greg Neagle 23672ca187 Fix for ImportError: No module named NetFS error with munkiimport under OS X < 10.8 2016-10-12 10:26:34 -07:00