Commit Graph

2500 Commits

Author SHA1 Message Date
Greg Neagle
691e399afe osinstaller: add minimum_munki_version to generated pkginfo 2017-04-04 10:55:29 -07:00
Greg Neagle
292bc808c6 - Groundwork for installing from locally-installed app instead of dmg
- Run some finishing tasks including postflight script when signalled by startosinstall that it's ready to restart
- launchd.py extended to optionally _not_ cleanup a launchd job on exit so that startosinstall isn't killed prematurely and can live on after managedsoftwareupdate's untimely death
2017-04-04 10:49:15 -07:00
Greg Neagle
dfffb65ee9 osinstaller: run startosinstall in a seperate launchd job 2017-04-03 14:03:30 -07:00
Greg Neagle
bf2c2332b3 osinstaller: generated pkginfo now contains installed_size 2017-04-02 23:00:54 -07:00
Greg Neagle
2219f13621 Add macOS install support to managedsoftwareupdate 2017-04-01 21:28:48 -07:00
Greg Neagle
ed341229a1 Start adding support for startosinstall items to updatecheck 2017-04-01 12:34:23 -07:00
Greg Neagle
a64b1d7ab3 Add 'startosinstall' support to iconimporter, makepkginfo, and munkiimport 2017-04-01 12:33:35 -07:00
Greg Neagle
accc63e8ca More output parsing cleanup 2017-04-01 09:32:15 -07:00
Greg Neagle
794af35a02 Filter out some more startosinstall output when displaying progress feedback. 2017-04-01 09:21:07 -07:00
Greg Neagle
96fac18287 Mount installer dmg under /Volumes to work around validation issue; better validation of successful run of startosinstall 2017-04-01 08:31:57 -07:00
Greg Neagle
4c693512b2 Fix for MunkiStatus displaying percent done 2017-04-01 08:29:24 -07:00
Greg Neagle
f579515633 dmgutils.mountdmg can now optionally mount a dmg under /Volumes; adobeutils.mount_adobe_dmg now just calls dmgutils.mountdmg 2017-04-01 08:28:38 -07:00
Greg Neagle
61424cd356 AppleUpdates._run_softwareupdate(): properly find the local ptyexec tool 2017-03-30 22:46:41 -07:00
Greg Neagle
41b7f58815 Add new osinstaller module 2017-03-30 21:51:02 -07:00
Greg Neagle
de288f6460 Added changed xib since previous commit had references to these changes as well 2017-03-28 12:19:12 -07:00
Greg Neagle
85ec11068f Attempt to address #738 -- Unneeded Additional updates alert 2017-03-28 12:17:44 -07:00
Greg Neagle
2448771479 Update build targets to 10.8; change forward/back controls from deprecated 'textured rounded' to 'textured square' 2017-03-24 15:16:20 -07:00
Greg Neagle
e171a251c8 # This is a combination of 4 commits.
# The first commit's message is:
Update build targets to 10.8; change forward/back controls from deprecated 'textured rounded' to 'textured square'

# This is the 2nd commit message:

MunkiStatus: update build targets to 10.8

# This is the 3rd commit message:

munki-notifier: set deployment target to 10.8

# This is the 4th commit message:

MunkiStatus: tweak MainMenu.xib to built for deployment target
2017-03-24 15:14:47 -07:00
Greg Neagle
dca0608aab Revert "Munki3: Update project settings to Xcode 8.2, deployment target 10.8 (#736)"
This reverts commit a60cff69b8.
2017-03-24 14:35:58 -07:00
Timothy Sutton
a60cff69b8 Munki3: Update project settings to Xcode 8.2, deployment target 10.8 (#736)
* Updates for Xcode 8

- applied recommended settings (mostly Clang-related)
- Fixed Deployment Target to 10.8 for all projects
- set macOS SDK explicitly to 10.12
- switch textured rounded to textured square for MSC toolbar navigation UI element

* macOS 10.12 SDK -> macOS current

* Revert height property change within MSC Log window
2017-03-24 14:18:49 -07:00
Greg Neagle
ba681b0172 Do not play a sound with Notification Center notifications. 2017-03-24 09:07:35 -07:00
Greg Neagle
a8c20eabf8 Better method of excluding directories when getting a list of repo items 2017-03-21 15:52:42 -07:00
Greg Neagle
d0cc21d37f Add Finnish localization for 'Featured/Featured items' labels 2017-03-21 09:19:50 -07:00
Arjen van Bochoven
5c16e6a0c4 Translation for Featured items 2017-03-21 16:00:25 +01:00
Greg Neagle
c6d63dcfcf repoclean: more refactoring cleanup 2017-03-17 19:15:47 -07:00
Greg Neagle
45baab0b7f Refactor of repoclean 2017-03-17 10:14:17 -07:00
Greg Neagle
da49899417 FileRepo: properly raise a RepoError when a share mount fails 2017-03-17 06:11:29 -07:00
Greg Neagle
95e1a192fe repoclean: Suppress makecatalogs stdout as we did previously 2017-03-16 14:27:17 -07:00
Greg Neagle
398edd3248 repoclean: Attempt to add support for deleting uninstaller_items as well 2017-03-16 10:14:29 -07:00
Greg Neagle
3bdcab5451 repoclean: take 2 on properly removing pkginfo items 2017-03-16 09:24:17 -07:00
Greg Neagle
727636f184 repoclean: Fix for deleting pkginfo items 2017-03-16 08:33:46 -07:00
Greg Neagle
fa3a5b4e5d FileRepo: add IOError to the except clause for all file operations 2017-03-16 08:27:20 -07:00
Greg Neagle
96d2bfcdf0 Update repoclean to work with repo plugins 2017-03-15 16:36:27 -07:00
Erik Gomez
7859066b57 Add munki3 logic to make_munki_mpkg_dep.sh (#729)
* remove whitespace on make_munki_mpkg.sh

* add munki3 items to make_munki_mpkg_dep.sh
2017-03-15 14:14:43 -07:00
Greg Neagle
e697441de4 munkiimport: If plugin is not given at the CLI or available via preferences, set options.plugin to 'FileRepo' so it is properly forwarded to makecatalogs 2017-03-15 08:59:08 -07:00
Greg Neagle
aa437f7895 munkiimport: special case handling of FileRepo (and children) when 'importing' a pkg already in the repo's pkgs directory 2017-03-15 08:46:10 -07:00
Greg Neagle
16e3dc0220 Properly determine expected self.root for fileshare repos 2017-03-14 10:49:07 -07:00
Greg Neagle
70f2800170 munkiimport: Minor wording change when printing warnings/errors at the end of a makecatalogs run 2017-03-14 07:12:22 -07:00
Greg Neagle
790db4f9ae In cli admin tools, fix for clearing a preference; previously it would be ignored 2017-03-14 07:11:16 -07:00
Greg Neagle
fa08572205 Merge pull request #723 from RichardLafontaine/master
Updated French localization
2017-03-13 16:25:03 -07:00
Greg Neagle
0742ce4360 Merge branch 'Munki3' into new_repo_abstraction 2017-03-13 10:24:32 -07:00
Greg Neagle
6d8a20f1c8 Updated Danish localization by Thomas Tvegaard 2017-03-13 10:24:06 -07:00
Greg Neagle
88cb641319 Merge pull request #725 from fridomac/Munki3
Added "Featured" to german translation
2017-03-13 10:18:17 -07:00
Greg Neagle
e042a2c8d5 Move many functions shared by the various cli tools to munkilib/cliutils.py 2017-03-13 08:03:23 -07:00
fridomac
a262f08210 Added "Featured" to german translation 2017-03-12 10:53:01 +01:00
Greg Neagle
553eb503e9 munkiimport: Add a TODO 2017-03-11 19:40:21 -08:00
Greg Neagle
a9f1bf672c For an API repo, munkiimport can now forward the repo.authtoken to makecatalogs 2017-03-11 18:59:22 -08:00
Greg Neagle
31c9b661b8 remove uneeded osutils.cleanUpTmpDir() calls 2017-03-11 18:58:35 -08:00
Greg Neagle
d1d3f5dcd2 Move code that uses FileRepo as a default if no repo is specified to munkilib/munkirepo/__init__.py 2017-03-11 09:06:09 -08:00
Greg Neagle
a5a9c9e73d Get rid of global variables; improve handling of options that could be defined in prefs or via cli options 2017-03-11 08:55:49 -08:00