Update by port maintainer for devel/gitsh. User-facing changes[1]:
- Expand ~ in the gitsh.historyFile setting. - Support %g and %G in the prompt format to show the current Git command - Complete tab completion rewrite, replacing naive options with a context-aware system o Tab complete the names of gitsh and git-config variables o Tab complete command options (e.g. push --force-<tab> expands to push --force-with-lease) o Tab complete more than one command on the same line (e.g. commit && pus --force-<tab>) o Define custom tab completion options for aliases and custom commands in a ~/.gitsh_completions file - Tab completion of commands is now compatible with Git 2.20 --- In a prior update there was a reply I didn't understand[2] about ${MODRUBY_ARCH} in the PLIST. I took a guess and deleted those two lines this time around. Should I have done something else? [1]: https://github.com/thoughtbot/gitsh/releases/tag/v0.13 [2]: https://marc.info/?l=openbsd-ports&m=151791243408496&w=2 --- Index: Makefile =================================================================== RCS file: /cvs/ports/devel/gitsh/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- Makefile 26 Oct 2018 16:16:24 -0000 1.9 +++ Makefile 11 Jan 2019 22:01:10 -0000 @@ -1,6 +1,6 @@ # $OpenBSD: Makefile,v 1.9 2018/10/26 16:16:24 jeremy Exp $ -VERSION = 0.12 +VERSION = 0.13 COMMENT = interactive shell for git Index: distinfo =================================================================== RCS file: /cvs/ports/devel/gitsh/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 2 Feb 2018 21:08:09 -0000 1.5 +++ distinfo 11 Jan 2019 22:01:10 -0000 @@ -1,2 +1,2 @@ -SHA256 (gitsh-0.12.tar.gz) = c9glH2b0Ow4sHrzIBH8w1AXSRfU/o1yp7ZbP4L6tlRA= -SIZE (gitsh-0.12.tar.gz) = 1152133 +SHA256 (gitsh-0.13.tar.gz) = bDjbU4d/LESEAg8GgaRPEaKc5NHh2ssGK65JwvLDoqA= +SIZE (gitsh-0.13.tar.gz) = 1180908 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/gitsh/pkg/PLIST,v retrieving revision 1.6 diff -u -p -r1.6 PLIST --- pkg/PLIST 6 Feb 2018 10:15:05 -0000 1.6 +++ pkg/PLIST 11 Jan 2019 22:01:10 -0000 @@ -1,6 +1,7 @@ @comment $OpenBSD: PLIST,v 1.6 2018/02/06 10:15:05 sthen Exp $ @bin bin/gitsh @man man/man1/gitsh.1 +@man man/man5/gitsh_completions.5 share/gitsh/ share/gitsh/ruby/ share/gitsh/ruby/gitsh.rb @@ -23,12 +24,11 @@ share/gitsh/ruby/lib/gitsh/commands/inte share/gitsh/ruby/lib/gitsh/commands/noop.rb share/gitsh/ruby/lib/gitsh/commands/shell_command.rb share/gitsh/ruby/lib/gitsh/commands/tree.rb -share/gitsh/ruby/lib/gitsh/completer.rb -share/gitsh/ruby/lib/gitsh/completion_escaper.rb share/gitsh/ruby/lib/gitsh/environment.rb share/gitsh/ruby/lib/gitsh/error.rb share/gitsh/ruby/lib/gitsh/exit_statuses.rb share/gitsh/ruby/lib/gitsh/file_runner.rb +share/gitsh/ruby/lib/gitsh/git_command_list.rb share/gitsh/ruby/lib/gitsh/git_repository/ share/gitsh/ruby/lib/gitsh/git_repository.rb share/gitsh/ruby/lib/gitsh/git_repository/status.rb @@ -51,6 +51,39 @@ share/gitsh/ruby/lib/gitsh/prompt_color. share/gitsh/ruby/lib/gitsh/prompter.rb share/gitsh/ruby/lib/gitsh/quote_detector.rb share/gitsh/ruby/lib/gitsh/shell_command_runner.rb +share/gitsh/ruby/lib/gitsh/tab_completion/ +share/gitsh/ruby/lib/gitsh/tab_completion/automaton.rb +share/gitsh/ruby/lib/gitsh/tab_completion/automaton_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/command_completer.rb +share/gitsh/ruby/lib/gitsh/tab_completion/context.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/ +share/gitsh/ruby/lib/gitsh/tab_completion/dsl.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/choice_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/concatenation_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/lexer.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/maybe_operation_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/null_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/option_transition_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/parser.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/plus_operation_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/rule_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/rule_set_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/star_operation_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/text_transition_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/dsl/variable_transition_factory.rb +share/gitsh/ruby/lib/gitsh/tab_completion/escaper.rb +share/gitsh/ruby/lib/gitsh/tab_completion/facade.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/ +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/anything_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/base_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/command_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/path_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/remote_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/revision_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/text_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/matchers/unknown_option_matcher.rb +share/gitsh/ruby/lib/gitsh/tab_completion/variable_completer.rb +share/gitsh/ruby/lib/gitsh/tab_completion/visualization.rb share/gitsh/ruby/lib/gitsh/terminal.rb share/gitsh/ruby/lib/gitsh/version.rb share/gitsh/vendor/ @@ -135,7 +168,7 @@ share/gitsh/vendor/gems/ffi-1.9.17/ext/f share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/configure.ac share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/configure.host share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/depcomp -share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/doc/ +@info share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/doc/ @info share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/doc/libffi.info share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/doc/libffi.texi share/gitsh/vendor/gems/ffi-1.9.17/ext/ffi_c/libffi/doc/stamp-vti @@ -494,8 +527,6 @@ share/gitsh/vendor/gems/ffi-1.9.17/lib/f share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-linux/types.conf share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-netbsd/ share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-netbsd/types.conf -share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-openbsd/ -share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-openbsd/types.conf share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-solaris/ share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-solaris/types.conf share/gitsh/vendor/gems/ffi-1.9.17/lib/ffi/platform/x86_64-windows/