[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] bash completion for duplicity
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] bash completion for duplicity |
Date: |
Mon, 25 Jun 2018 11:28:49 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
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
- [Duplicity-talk] bash completion for duplicity, Jozef Riha, 2018/06/25
- Re: [Duplicity-talk] bash completion for duplicity,
edgar . soldin <=
- Re: [Duplicity-talk] bash completion for duplicity, Kenneth Loafman, 2018/06/26
- Re: [Duplicity-talk] bash completion for duplicity, Aaron, 2018/06/26
- Re: [Duplicity-talk] bash completion for duplicity, edgar . soldin, 2018/06/26
- Re: [Duplicity-talk] bash completion for duplicity, Kenneth Loafman, 2018/06/26
- Re: [Duplicity-talk] bash completion for duplicity, edgar . soldin, 2018/06/27
- Re: [Duplicity-talk] bash completion for duplicity, Jose Riha, 2018/06/29
- Re: [Duplicity-talk] bash completion for duplicity, Kenneth Loafman, 2018/06/29