Commit Graph

3240 Commits

Author SHA1 Message Date
Greg Neagle
957c3c38b3 Change version.plist to reflect intended next release version 2020-02-26 15:43:00 -08:00
Greg Neagle
d13f9efb98 Update installedsize for Mojave and Catalina installers to current worst-case Apple requirements 2020-02-26 14:42:50 -08:00
Greg Neagle
307a9c1d38 Disable the delayed authrestart stuff in osinstaller.py for now 2020-02-26 14:23:41 -08:00
Greg Neagle
c871268eeb Revert univeral_newliness stuff for launchd's subprocess call 2020-02-26 14:19:29 -08:00
Greg Neagle
e2d6f99857 Fix bad format string 2020-02-19 14:57:31 -08:00
Greg Neagle
91eb8b0c21 Fix broken prefs import 2020-02-19 14:53:14 -08:00
Greg Neagle
8b2ffa3fb3 Add more useful info to munkilib.autorestart.client.test() 2020-02-19 14:46:10 -08:00
Greg Neagle
4c42d69782 More fixes for parsing startosinstall output 2020-02-19 08:44:08 -08:00
Greg Neagle
fc7f65ddb6 Fix for reading error output from launchd when using universalnewlines 2020-02-19 08:43:26 -08:00
Greg Neagle
d88a0a729f Improved attempts to parse Catalina installer progress messages 2020-02-18 15:28:37 -08:00
Greg Neagle
5bbc657b87 Attempt to deal with Catalina's startosinstall output formatting 2020-02-18 14:23:18 -08:00
Greg Neagle
db92cc0e1b Make sure IAQuitInsteadOfReboot preference is NOT set if we're going to let startosinstall handle the reboot 2020-02-18 14:22:06 -08:00
Greg Neagle
58936f9d52 Clean up logging messages around macOS install and delayed auth restarts 2020-02-13 14:25:25 -08:00
Greg Neagle
dcb9b17e31 Bump version for future release 2020-02-13 11:07:11 -08:00
Greg Neagle
ac189e4942 refactor the delayed authrestart code in osinstaller 2020-02-13 11:06:29 -08:00
Greg Neagle
ee7391c69a Add capability to set up a delayed authrestart on 10.12+. When running startosinstall set up a delayed authrestart if possible. 2020-02-13 08:38:07 -08:00
Greg Neagle
c6a029d613 Update version.plist for future release versioning 2020-02-10 08:57:04 -08:00
Greg Neagle
f57336eb3c More protection against badly-defined LoggingLevel in Munki's prefs 2020-02-06 16:06:49 -08:00
Greg Neagle
5fdc5f809b When removing existing destination items before copying from a dmg, properly handle symlinks and regular files. 2020-02-06 15:08:13 -08:00
Greg Neagle
002b40f62c Line length and continued indentation fixes 2020-01-28 21:44:54 -08:00
macmule
2c659b146e Update repoclean (#976)
* Update repoclean

Added --auto flag

* Update repoclean

added missed recommended changes
2020-01-28 21:38:31 -08:00
Greg Neagle
1f3ac5f2eb When parsing old-style .info files, first attempt to decode as MacRoman before trying UTF-8 2020-01-23 11:42:46 -08:00
Greg Neagle
0c622922df Parse old-style .info files in Python 3 without crashing when encountering non-ASCII characters. 2020-01-23 09:51:00 -08:00
Greg Neagle
75d8f7ff07 When recursively removing the com.apple.quarantine xattr when copying from a dmg, do not follow symlinks. 2020-01-14 16:21:56 -08:00
Greg Neagle
8555afc8b7 Properly convert Adobe installsize into an integer. Addresses #974 2020-01-14 09:34:29 -08:00
Greg Neagle
3bd988ffdc Catch exceptions if we can't read a file to generate a hash 2020-01-13 22:24:31 -08:00
Nate Walck
e7ffb40518 Pass pkginfo through to middleware so additional context is available (#966)
* Pass pkginfo through to middleware so additional context is available

* fix typo

* Add pkginfo to get_url()
2020-01-12 12:41:45 -08:00
Greg Neagle
8e0ffe1b56 Bumping version for future development work 2020-01-07 15:37:56 -08:00
Greg Neagle
b96c516a96 Merge branch 'master' into Munki4dev 2020-01-07 15:36:49 -08:00
William Theaker
e2d88c0091 Indicate default option y/n choices (#970)
* Indicate default option for repoclean

* Indicate default choice
2020-01-07 15:35:44 -08:00
pranavshenoy
7024c7721b adding quotes to avoid build script failure (#965) 2020-01-07 15:31:19 -08:00
Greg Neagle
72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Elliot Jordan
21766484f7 Only attempt decode if xattr_hash exists (#969)
Resolves #968
2020-01-01 08:34:19 -08:00
Greg Neagle
264470e7eb Remove Command-Q shortcut for Quit to prevent using that to quit the MunkiStatus app at/over the loginwindow. 2019-12-20 15:44:13 -08:00
Greg Neagle
25f7af52d6 Be more careful when attempting to get stored SHA hash of downloaded icons 2019-12-20 09:58:43 -08:00
Greg Neagle
a87ac53c1c Attempt to convert 'LoggingLevel' to int to avoid Python 3 raising an exception when comparing a string and an int. Addresses #963 2019-12-10 11:45:31 -08:00
Greg Neagle
7e1eed59cd Bump version for future release 2019-12-10 11:43:41 -08:00
Greg Neagle
0b56fe752d Remove pyobjc versions of the GUI apps from the code repo. 2019-12-10 08:53:58 -08:00
Greg Neagle
9ddc5a063a Added python component pkgs to make_munki_mpkg_DEP.sh 2019-12-06 15:24:12 -08:00
Greg Neagle
cc142bec47 make_munki_mpkg.sh now builds the Python.framework if no framework is found -or- the -p option is given.
This helps the make_munki_mpkg_from_git.sh script actually work usefully.
2019-11-19 16:45:12 -08:00
Greg Neagle
4b94579586 Bumping version to 4.0.0 for future release 2019-11-15 09:00:30 -08:00
Greg Neagle
a827e6cfd2 Import division from __future__ to make pylint --py3k happier 2019-11-14 10:03:03 -08:00
Greg Neagle
aec2ef7014 Raise better exceptions/errors when a filepath given to makepkginfo doesn't exist or can't be read. Addresses #960. 2019-11-14 09:57:00 -08:00
Greg Neagle
91f6087751 Handle bytestring output from fdesetup if it returns non-zero. Addresses #959. 2019-11-07 11:55:13 -08:00
Greg Neagle
e20a7c7e63 When getting available license seats in Python 3, make sure data passed to FoundationPlist.readPlistFromString is a byte array. Addresses #957. 2019-11-03 22:44:08 -08:00
Greg Neagle
8065ab94c3 build_python_framework.sh properly handle paths with spaces when calculating root directory of Munki git repo. Addresses #956 2019-11-03 22:37:00 -08:00
Greg Neagle
ebdefe4fc0 Attempt to autodetect repo url if repo URL is undefined _or_ is the insecure default. Addresses an issue in 3.6.3 release where autodetect was skipped. 2019-10-14 09:05:43 -07:00
Greg Neagle
c2eb49e025 Properly decode outout from Adobe install tool in Python 3. 2019-10-11 15:47:53 -07:00
Greg Neagle
174184336b Add timestamp back to MSC logging entries 2019-09-18 10:43:24 -07:00
Greg Neagle
343bf9ae80 Replace overlooked 'MSU' tags with 'MSC' for msc logging 2019-09-18 10:08:07 -07:00