duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] bash completion for duplicity


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] bash completion for duplicity
Date: Tue, 26 Jun 2018 07:34:30 -0500

Hi,

I looked at the website for this project and it's kinda minimal.  Who owns it?  (whois does not help).

Other than that, it sound like a good idea.  Even I forget options when I use duplicity.

...Ken


On Mon, Jun 25, 2018 at 4:28 AM, <address@hidden> wrote:
On 25.06.2018 09:26, Jozef Riha via Duplicity-talk wrote:
> hello list,
>
> i found a bash completion config for duplicity at http://neuling.org/devel/junkcode/duplicity-completion so i wonder whether (if author agrees) this could be added to duplicity.
>

hey Jose,

nice catch. i'd agree to add it provided some enhancements are done.

1.
it contains a regex bash comparision, which is not backward compatible with older bash and would need to be replaced
  [[ "$cur" == -* ]]
.

2.
we would need a license or written approval of the original author to license it preferably under the same license duplicity is currently under.

3.
main issue - maintaining the list of options is tiresome. there should be a way of either asking duplicity for it's options (eg. parsing help) or generating the list during distro build.
if that does not happen the list will become outdated very fast as contributors regularly forget to document their changes. we have to point out update the man page in pretty much every merge request.

if you'd be willing to tackle these points, i'd see no further obstacles so far.

@Ken: what do you think?

.. ede/duply.net


reply via email to

[Prev in Thread] Current Thread [Next in Thread]