Commit Graph

158 Commits

Author SHA1 Message Date
Greg Neagle e1b5d505bc Revert "Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)""
IOW, restore the rename of "/usr/local/munki/python" symlink to "munki-python" (#997)

This reverts commit b9f9fffccc.
2020-09-15 16:46:34 -07:00
Greg Neagle aa66b4cda5 Don't do any attempted cleanup of the Python framework so that Munki-driven updates of Munki don't crash mid-upgrade 2020-09-15 14:54:37 -07:00
Greg Neagle b9f9fffccc Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)"
This change is still a good future goal, but is causing problems that are too difficult to work around right now and is delaying the vital release of Munki 5.1 for Big Sur compatibility.

This reverts commit 3bb91cabca.
2020-09-15 09:04:47 -07:00
eholtam 0e14dccdb1 Removed detection of absolute path (#1016)
* Removed detection of absolute path. It paths wrong if the supplied file is not in the cwd.

* Convert supplied config file to an absolute path and use that variable for all references to the file.

Co-authored-by: eholtam <(none)>
2020-09-03 15:48:02 -07:00
Greg Neagle 85dde11196 Better processing of addditional options to make_munki_mpkg.sh 2020-08-25 08:40:32 -07:00
Greg Neagle 1399cfa839 Merge branch 'newbuildscript' of https://github.com/munki/munki into newbuildscript 2020-08-24 21:06:30 -07:00
Marnin ee755fe295 Fixed minor typos (#1015)
* Fixed minor typo

* Fixed minor typo
2020-08-24 19:20:20 -07:00
Greg Neagle 45ec30f7b9 Fix for default output dir 2020-08-24 13:43:22 -07:00
Greg Neagle aa91e5a7a7 Tweak help text 2020-08-24 08:54:16 -07:00
Greg Neagle d5474f9271 Tweak help text 2020-08-23 18:49:06 -07:00
Greg Neagle 631095fc78 Tweak help text 2020-08-23 18:34:01 -07:00
Greg Neagle b39b5b8c20 Update make_munki_mpkg_from_git.sh to reflect changes in make_munki_mpkg.sh 2020-08-23 18:32:41 -07:00
Greg Neagle e7b688dc66 Add support for building a config pkg from a preferences plist 2020-08-23 18:31:51 -07:00
Greg Neagle a7d097291e Remove unsupported make_munki_mpkg_DEP.sh script. 2020-08-23 14:13:31 -07:00
Greg Neagle ff9b98d783 Add support for bootstrap pkg 2020-08-23 14:12:21 -07:00
Greg Neagle 03c822ece2 Move pkg scripts into code/tools/pkgresources 2020-08-22 15:33:38 -07:00
Greg Neagle 1a54a675e0 Missed a pkg naming format change 2020-08-22 15:11:27 -07:00
Greg Neagle 37fc16bfdf Simplify some of the pkg creation tasks in make_munki_mpkg.sh; add git revision count to python pkg version 2020-08-22 13:41:41 -07:00
Greg Neagle b573ee66cb Incorporate 'DEP' functionality into make_munki_mpkg.sh 2020-08-22 11:32:34 -07:00
Greg Neagle 19b5555d7e Add postinstall script to Python pkg that removes older versions from the framework and ensures the python symlink is removed. Addresses #1010" 2020-08-10 10:41:17 -07:00
Greg Neagle 347908b3aa Bump Python version to 3.8.5 2020-08-04 20:42:14 -07:00
Greg Neagle 2a12d3d452 Update munki-python symlink to use Python.framework/Versions/Current/bin/python3 path 2020-07-08 14:49:27 -07:00
Greg Neagle 37e81f8aaf Update Python framework to Python 3.8.3 and PyObjC to 6.2.2 2020-07-08 13:21:08 -07:00
David Aguilar 3bb91cabca munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)
Avoid masking the system /usr/bin/python by calling our symlink
"munki-python" instead of "python".

Closes #996
2020-07-07 13:58:34 -07:00
Greg Neagle eadced8bc1 make_munki_mpkg_from_git.sh: change default branch to 'main' 2020-06-15 14:52:43 -07:00
Greg Neagle f500b68418 Add repoclean to the admin tools pkg 2020-03-25 19:16:36 -07:00
pranavshenoy 7024c7721b adding quotes to avoid build script failure (#965) 2020-01-07 15:31:19 -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 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
eholtam 61e75f7e49 Updated DEP creation script to allow signing the app and added runtime hardening for notarization support. (#939) 2019-09-04 08:21:59 -07:00
Greg Neagle 330774ddcc Add --options runtime to the signing option for the apps to make notarization easier in the future. 2019-09-04 08:15:28 -07:00
Greg Neagle df35986f23 New tooling to create the Python 3 framework 2019-08-16 14:32:17 -07:00
Greg Neagle 9bd7a14a18 System python optional component pkg in the distribution pkg 2019-07-25 16:38:06 -07:00
Greg Neagle ec7424f9b7 Update make_munki_mpkg.sh script to build Python component pkg 2019-07-16 22:16:13 -07:00
Elliot Jordan 2ad27ff411 Align except clauses with PEP 3110 (#933)
This should work for Python 2.6+, including 3.
https://www.python.org/dev/peps/pep-3110/#compatibility-issues
2019-05-03 15:05:13 -07:00
Elliot Jordan d14c4304ea Various typo fixes and spelling corrections (#907)
* Fixed "No Comment" typo in strings files

* Fix "problem updates" typo

* Fix "caught" typo

* Fix "pseudo" typo

* Fix "instantiated" typo

* Fix "explicitly" typo

* Fix "osascript" typo

* Spelling fixes and various other corrections

* Fix two more instances of "Logput"

* Fixed a few remaining spelling issues in python files

* Fix "because" typo

PR also submitted upstream to the Murky project for the same correction.

* Fix name of associated app

* Additional spelling corrections in comments/docstrings
2019-02-14 08:30:43 -08:00
Greg Neagle e941952d60 volume-check in pkg distribution files now prevents install on volumes with macOS version < 10.10 2019-01-30 09:01:22 -08:00
Tom Bridge 099451e068 adds line to remove the app status package receipt (#898)
* adds line to remove the app status package receipt

* adds line feed to end of script
2019-01-15 09:02:46 -08:00
Greg Neagle 54721574e9 Update pkg title in Distribution file to mention macOS instead of OS X 2019-01-02 10:45:18 -08:00
Greg Neagle 321383030e Move Swift versions of the apps out to code/apps; move pyobjc versions into code/apps/pyobjc; revise .gitignore files; update make_munki_mpkg scripts 2018-12-04 18:06:59 -08:00
Greg Neagle bf89fa7d9f Merge branch 'master' into Munki3dev 2018-10-04 09:00:19 +02:00
Greg Neagle ce5ed7563b fix BOOTSTRAPMODE comparison in make_munki_mpkg_DEP.sh 2018-10-04 08:59:57 +02:00
Greg Neagle 7abfc2cb2f Merge branch 'master' into Munki3dev 2018-09-18 15:30:26 -07:00
Greg Neagle 11ec1535a1 Add option to sign MSC.app (and its subcomponents) 2018-09-18 09:33:33 -07:00
Greg Neagle 0c03c28b05 precaching changes
Added precache_agent and code to run it at the end of a Munki updatecheck. Updated make_munki_mpkg* scripts to include
the new precache_agent in the core package.
2018-07-18 14:21:33 -07:00
Greg Neagle 83b3429fad Fix owner and group for /private/etc/paths.d/munki 2018-05-09 08:18:23 -07:00
Greg Neagle bd46420907 Properly set ownership for LaunchAgent in app_usage pkg 2018-05-09 06:52:02 -07:00
Greg Neagle 62dd7700fd Refactor app_usage_monitor into user-level agent and privileged daemon. 2018-04-07 19:10:16 -07:00
Greg Neagle 293a707eff Add product id to distribution packages. product id is needed by other tools 2017-11-08 09:15:12 -08:00