Le Thu, 13 Jan 2011 23:48:28 +0100,
Cédric Krier <[email protected]> a écrit :

> On 13/01/11 23:18 +0100, Bertrand Chenal wrote:
> > 
> > 
> > Hi everyone,
> > 
> > I started a script to enable bash-completion with trytond here:
> > 
> > http://codereview.appspot.com/3997041/
> > 
> > You have to source this file to make it work.
> > What it provides:
> > 
> > - completion of all flag
> > 
> > - completion of module names when using the --update flag: search
> > them in "path_to_executable/../trytond/modules", is there a better
> > way to find them?
> 
> Using the PYTHONPATH to find modules: trytond.modules.* ?

Maybe the best is a mix of both use PYTHONPATH if it exist, if not
fallback to the current method.

> > 
> > - database completion with --database: currently only posqtgresql
> >   databases and only if bash-completion for psql already exist and
> > is enabled (https://launchpad.net/bugs/164772).
> > 
> > Another question is that currently, this file is in repo_path/etc,
> > is this the best place and is the name ok?
> 
> I think it is a tool and then it could go to
> http://hg.tryton.org/tryton-tools/
> 
> 



-- 

Bertrand Chenal

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: [email protected]
Website: http://www.b2ck.com/

-- 
[email protected] mailing list

Reply via email to