Commit Graph

46 Commits

Author SHA1 Message Date
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
Carl Windus 5d3521c3d7 Changed display-included-manifests to expand-included-manifests 2016-09-29 13:26:35 +10:00
Carl Windus 196eaaccf0 Added display_included_manifest() 2016-09-29 10:18:23 +10:00
eholtam 0fe3f8d0bf Added 'rename-manifest' subcommand to manifestutil 2016-08-12 22:14:22 -05:00
Greg Neagle b5b9166125 manifestutil now uses CFPreferences methods to read/write configuration if they are available, falling back to plistlib if they are not. Closes #347. 2016-07-15 18:46:54 -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 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 19c88f76a3 Use sys.stdin.encoding and sys.stdout.encoding to convert to/from unicode 2016-04-03 09:40:16 -07:00
Greg Neagle 29c455ada6 Lots of pylint cleanup 2016-04-02 22:18:39 -07:00
Greg Neagle e9f5d1955b For --configure, insert editable text with the current values for each prompt 2016-04-01 16:47:08 -07:00
Greg Neagle 424660b3c0 Don't print usage twice when <subcommand> --help is given non-interactively 2016-03-31 09:53:26 -07:00
Greg Neagle 9834f801e1 Using the --help option on subcommands no longer exits the pseudo shell 2016-03-31 09:39:30 -07:00
Greg Neagle 12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
eholtam ad3be75da2 Cleaned up tabs on 888 and 889
Cleaned up tab
2016-01-07 10:47:30 -06:00
eholtam 4b261a6d47 Revert "Cleaned up tabbing"
This reverts commit fdc031ef83.
2016-01-07 10:46:12 -06:00
eholtam fdc031ef83 Cleaned up tabbing
Cleaned up tabbing.
2016-01-07 10:45:34 -06:00
eholtam 36514fc748 Fixed manifestutil traceback if no subcommands are given
In manifestutil if no subcommands are given manifestutil exits with a
trackback.  I added a check to see if the number of subcommands is < 1
and to list the available subcommands if so.
2016-01-07 10:44:35 -06: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
eholtam a663844ccf Update manifestutil find() output verbiage
Changed "items" to "matches" to better reflect what 'find' finds.
2015-09-01 11:01:31 -05:00
eholtam 5e9978f711 Remove find() breaks
Removing the breaks in the find function to allow multiple matches per section per manifest.
Addresses issue https://github.com/munki/munki/issues/512
2015-09-01 10:24:14 -05:00
Justin L R Graham da85ea032b Sort catalog and manifest lists in manifestutil. 2014-10-16 13:06:25 -05:00
Greg Neagle bb4fd416f8 manifestutil's interactive mode can now be cleanly exited via Control-D as suggested by Ryan Manly 2014-07-25 15:20:56 -07:00
Greg Neagle e183d94ad7 Remove trailing whitespace from all lines in manifestutil (code style issue) 2014-07-22 10:16:26 -07:00
Greg Neagle fddd138000 Bumping version to 1.0.0. Updated copyright dates. 2014-01-10 08:20:15 -08:00
Greg Neagle 396e3e5d79 Fix manifestutil remove-catalog usage message. 2013-04-05 13:41:57 -07:00
Greg Neagle 4b71ace130 Updated copyright info on all files with copyright info. 2013-01-28 11:55:09 -08:00
Greg Neagle 62d433aed2 Updated usage and help for all manifestutil subcommands. 2012-05-15 10:52:23 -07:00
Greg Neagle e363485fd9 manifestutil: don't try to mount the repo if all we are asked to do is display help for a subcommand. 2012-05-15 10:03:35 -07:00
Greg Neagle ee07c2be86 When makecatalogs and manifestutil recurse into repo directories, don't enter directories whose names start with a period. Prevents looking into .git and .svn directories. 2012-02-23 15:18:06 -08:00
Greg Neagle 2a6ce0af1f Quick and dirty fixes for processing manifests with conditional_items. Needs a better long term fix. 2012-01-06 11:42:27 -08:00
Greg Neagle c01eb685a9 Spacing fix in managedsoftwareupdate; try/except in manifestutil so a bad manifest doesn't cause an unhandled exception. 2011-12-05 09:45:59 -08:00
Greg Neagle 25a9315cba mount_nfs fix for munkiimport and manifestutil 2011-09-13 15:14:32 -07:00
Lars Fronius e45f31fe07 Why shouldn't manifestutil and munkiimport use nfs, and why shouldn't it be the same function for both? 2011-09-05 15:08:26 +02:00
Greg Neagle d821429830 Change sample munki repo URLs to use example.com in keeping with RFC 2606: http://tools.ietf.org/html/rfc2606 2011-08-26 17:12:14 -07:00
Greg Neagle c95c6f9fb8 Update license and copyright info on manifstutil.
git-svn-id: http://munki.googlecode.com/svn/trunk@1202 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-26 22:28:16 +00:00
Greg Neagle e7945ec94c manifestutil now ignores manifests whose name begins with a "."
git-svn-id: http://munki.googlecode.com/svn/trunk@1193 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-24 17:44:32 +00:00
Greg Neagle c31343d0ff Initial commit of manifestutil
git-svn-id: http://munki.googlecode.com/svn/trunk@1192 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-24 17:25:53 +00:00