[Monotone-devel] Re: bash completion

2010-11-18 Thread Richard Levitte
Heh, thanks :-)

I've been thinking along the same line of thoughts, and will probably
do something like that within a few days.

BTW, it almost sounds like you'd like it to become a part of the
regular distribution rather than a contrib thingy...

Cheers,
Richard

In message 4ce463bc.8010...@thomaskeller.biz on Thu, 18 Nov 2010 00:22:36 
+0100, Thomas Keller m...@thomaskeller.biz said:

me 
me Hi Richard!
me 
me The bash completion script in 1b315e96fc1f933325d5fb9942aef563a683467c
me is really awesome and I wonder if we could make it just a bit simpler to
me use?
me 
me I.e. what about adding a separate Makefile target for it and placing the
me other (replaceable) contents into completion/, e.g. as
me completion/monotone.bash_completion-template together with the script to
me create it? And once the file is properly compiled, one could even check
me the existance of `/etc/bash_completion.d` and copy the final file there
me on success.
me 
me The downside of this is of course that the non-dynamic parts of the
me completion script then could be determined to have some kind of first
me level support once we install them by default... (we're already have
me the old version in the tarball, right?)
me 
me Thomas.
me 
me -- 
me GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
me Please note that according to the EU law on data retention, information
me on every electronic information exchange might be retained for a period
me of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
me 

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish

___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Re: bash completion

2010-11-18 Thread Thomas Keller
Am 18.11.2010 11:14, schrieb Richard Levitte:
 Heh, thanks :-)
 
 I've been thinking along the same line of thoughts, and will probably
 do something like that within a few days.
 
 BTW, it almost sounds like you'd like it to become a part of the
 regular distribution rather than a contrib thingy...

Yes, because I think we have lots of useful things hidden in contrib/
people don't really know of and some of these things are so useful that
we should even try to install them by default if detected.

This also pushes us to constantly improve these things (compatibility
and functionality-wise) and not overgo / ignore them because hey,
they're just in contrib. Of course we cannot support every little lua
hook script use case, but the most important ones (mail notification is
one for example) should really just be dropped somewhere and work out of
the box. (Debian's monotone-server package would probably benefit from
that.)

Thomas.

-- 
GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en




signature.asc
Description: OpenPGP digital signature
___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] Re: bash completion

2010-11-18 Thread Richard Levitte
In message 4ce53b8e.9030...@thomaskeller.biz on Thu, 18 Nov 2010 15:43:26 
+0100, Thomas Keller m...@thomaskeller.biz said:

me Am 18.11.2010 11:14, schrieb Richard Levitte:
me  Heh, thanks :-)
me  
me  I've been thinking along the same line of thoughts, and will probably
me  do something like that within a few days.
me  
me  BTW, it almost sounds like you'd like it to become a part of the
me  regular distribution rather than a contrib thingy...
me 
me Yes, because I think we have lots of useful things hidden in contrib/
me people don't really know of and some of these things are so useful that
me we should even try to install them by default if detected.
me 
me This also pushes us to constantly improve these things (compatibility
me and functionality-wise) and not overgo / ignore them because hey,
me they're just in contrib. Of course we cannot support every little lua
me hook script use case, but the most important ones (mail notification is
me one for example) should really just be dropped somewhere and work out of
me the box. (Debian's monotone-server package would probably benefit from
me that.)

The trouble is to write good tests for them...  I'm sure it can be
done, but it still needs doing.  In any case, I agree, and I'm trying
to work my way through the contrib directory to see what can be good
for supported inclusion.

Cheers,
Richard

-- 
Richard Levitte rich...@levitte.org
http://richard.levitte.org/

Life is a tremendous celebration - and I'm invited!
-- from a friend's blog, translated from Swedish

___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


[Monotone-devel] Re: bash completion

2010-11-18 Thread Lapo Luchini
Thomas Keller wrote:
 Yes, because I think we have lots of useful things hidden in contrib/
 people don't really know of and some of these things are so useful that
 we should even try to install them by default if detected.

FWIW I've been long including zsh completion in FreeBSD Port already. =)

-- 
Lapo Luchini - http://lapo.it/


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel