Bash completion updates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bash completion updates

Julian Foad-5
'./tools/client-side/bash_completion_test' now checks our Bash
completion on all svn-like commands -- svnadmin, svndumpfilter, svnlook,
svnrdump, svnsync -- as well as 'svn' itself, as of r1817491. (Not
svnserve or svnversion, as those have different forms of commands and
help output.)

I updated the completions for 'svn' and 'svnadmin' commands.

Anyone fancy updating the completions for 'svnlook' and 'svnsync' which
are still out of date, and 'svnrdump' which is missing?

- Julian

Reply | Threaded
Open this post in threaded view
|

zsh completion updates (was: Re: Bash completion updates)

Daniel Shahaf-2
Julian Foad wrote on Fri, Dec 08, 2017 at 12:55:02 +0000:
> Anyone fancy updating the completions for 'svnlook' and 'svnsync' which are
> still out of date, and 'svnrdump' which is missing?

I'll take this opportunity to point out that svn* completion for zsh is
maintained in the zsh repository and patches to it would be welcome.  At
least we should add any new-in-1.10 options around the time we release
1.10.0-GA.  (To interested parties: see Completion/Unix/Command/_subversion;
patches should be sent to [hidden email].)

Cheers,

Daniel

P.S. Over in zsh land there is latent interest in solving this "Update the
completions manually" problem once and for all.  My personal favourite approach
is to teach argument parsing libraries (apr_getopt_*, 'import argparse', etc)
to output parseable option parsing specs that *both* bash and zsh can then
consume.