Commit Graph

125 Commits

Author SHA1 Message Date
Ryan Yu 3133677958 changed description for munkiimport plugin option prompt/help text 2016-12-20 14:24:59 -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
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
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 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 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 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 23672ca187 Fix for ImportError: No module named NetFS error with munkiimport under OS X < 10.8 2016-10-12 10:26:34 -07:00
Greg Neagle b076916c0b Fix for mounting repos under /Volumes in Sierra. 2016-09-23 16:22:31 -07:00
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 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 0fb08de3f2 Attempt to better handle unicode characters in default text (like from a previous pkginfo) 2016-04-15 14:07:10 -07:00
Greg Neagle 51f6c7a58f Change prompt text when configuring to explain what happens if the editor is set to an empty string. 2016-04-11 09:59:36 -07:00
Greg Neagle 1f82f66ac7 Don't forget the prompt when there's no default text! 2016-04-08 12:22:37 -07:00
Greg Neagle 1288f7a7f2 Safety check in raw_input_with_default 2016-04-08 12:17:33 -07:00
Greg Neagle c8fb394633 More economical determination if readline lib is compiled against libedit 2016-04-03 18:23:30 -07:00
Greg Neagle e3948104e8 Use editable default text for munkiimport prompts. pylint cleanups. 2016-04-03 09:45:25 -07:00
Greg Neagle 53d2b0b5be At long last, munkiimport prompts for values for unattended_install and unattended_uninstall. 2016-03-30 09:49:00 -07:00
Greg Neagle 12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
Greg Neagle 37276f5307 Better determination when munkiimport item is an apple_update_metadata item; fixes bug where 'munkiimport --apple-item' worked but 'munkiimport --apple_item' failed, despite makepkginfo --help indicating both syntaxes should work. 2015-12-02 10:54:43 -08:00
Samuel Keeley 5c12185da4 Replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 2015-11-13 20:35:24 -08:00
Greg Neagle 41de516720 PyLint cleanup 2015-10-23 10:10:26 -07:00
Greg Neagle cc794c9c39 Merge pull request #532 from munki/samuel-munkiimport
Don't offer to create icons for profiles or Apple metadata
2015-10-23 10:05:47 -07:00
Samuel Keeley e0f771ceda Don't offer to create icons for profiles or Apple metadata 2015-10-23 10:02:47 -07:00
Shea Craig ae9cd75dc9 Add mobileconfig to the usage of munkiimport. 2015-10-23 11:32:31 -04:00
Greg Neagle 853fcfdb23 PyLint cleanups on munkiimport 2015-08-12 14:21:14 -07:00
Greg Neagle 416edbc2dc Fix issue when matching receipts when an individual receipts's version number is different from the overall item version number 2015-08-12 13:00:24 -07:00
Greg Neagle ba387f2b7c Convert all command-line arguments to Unicode (assuming utf-8 encoding) to eliminate issues with item paths containing Unicode characters 2015-03-13 12:20:20 -07:00
Greg Neagle c88ce43b65 Don't warn about no receipts or installs array for pkginfo for profiles 2015-01-20 21:34:46 -08:00
Arjen van Bochoven c3577c210a Added support for icon_hash to munkiimport 2015-01-19 22:49:57 +01:00
Greg Neagle a4a0d9d544 Merge config-profile-support into master 2015-01-13 06:55:24 -08:00
Greg Neagle 58d8a07dec Clean up the tmpdir on exit of iconimporter, makepkginfo and munkiimport 2015-01-09 15:08:52 -08:00
Greg Neagle 83fabfb5ce Add support for importing, installing and removing configuration profiles. 2014-12-16 21:57:41 -08:00
Greg Neagle cacb4524fa Merge pull request #415 from jlrgraham/munkiimport_icon
munkiimport: Add argument to specify package icon
2014-12-01 21:43:10 -08:00
Greg Neagle 1f058ffdc3 Don't check installeritem path if we are importing an Apple metadata item. 2014-11-24 19:20:12 -08:00
Greg Neagle a6955fd0d4 Initial explict support for Adobe CCP packages. Use to import a CCP installer and uninstaller. 2014-11-03 14:01:20 -08:00
Greg Neagle 423ec8b790 PyLint cleanup: replace all unused_foo variables with dummy_foo variables to make PyLint happy 2014-10-26 11:42:33 -07:00
Greg Neagle 564e4ac368 Change munkicommon.tmpdir to a function so that importing munkicommon does not create orphaned munki-foo directories in /tmp 2014-10-25 10:06:37 -07:00
Justin L R Graham 5cf8319705 Added command line option to specify an icon file. 2014-10-23 23:41:10 -05:00
Justin L R Graham ce199f9b9d Move common icon installation code to a function. 2014-10-23 23:40:32 -05:00
Greg Neagle 3a23ad2607 Fix for unhandled exception when extracting an icon when munkiimport is called with the -p option 2014-08-01 13:22:18 -07:00
Greg Neagle 143b8af942 Remove trailing whitespace from all lines in munkiimport (code style issue) 2014-07-22 10:18:18 -07:00
Greg Neagle 861a6a3d9d Add missing module name in munkiimport's generate_pngs_from_installer_pkg; fixes a crash when extracting an icon from a pkg item 2014-06-24 14:05:00 -07:00
Greg Neagle b390c7f46f munkiimport now offers to extract and upload product icons 2014-05-21 16:15:38 -07:00
Greg Neagle 77785f589a Remove prompt for icon_name on import; this often leads to undesireable results. 2014-03-25 09:02:06 -07:00
Greg Neagle 64593614de Add support for category, developer and icon_name to munkiimport 2014-03-03 10:38:47 -08:00