Page 1 of 1

Contributing code - new NullUI

Posted: Sat Sep 20, 2008 7:58 pm
by ido
Hi,

I've just finished rewriting the 'null' UI,

differences between my 'null' ui and the current one:
* tab-completion per command
* automatic discovery of new commands (can be easily changed to allow users to add their own commands in their home directory)
* the ability to work with torrent-filenames instead of internal ids (pause "ubuntu 8.04.iso" instead of pause "fe33ca5a753d214ea75dff7f499faaba4f8a7c1d")
* color templates
* support for optparse options per command.
* ability to use ui commands from the command line

all commands behave similar to the current implementation (with a few modifications)

what is the procedure for contributing the code?
thanks.

Re: Contributing code - new NullUI

Posted: Sat Sep 20, 2008 8:11 pm
by andar
ido wrote:Hi,

I've just finished rewriting the 'null' UI,

differences between my 'null' ui and the current one:
* tab-completion per command
* automatic discovery of new commands (can be easily changed to allow users to add their own commands in their home directory)
* the ability to work with torrent-filenames instead of internal ids (pause "ubuntu 8.04.iso" instead of pause "fe33ca5a753d214ea75dff7f499faaba4f8a7c1d")
* color templates
* support for optparse options per command.
* ability to use ui commands from the command line

all commands behave similar to the current implementation (with a few modifications)

what is the procedure for contributing the code?
thanks.
Supplying me with the patch so that I can review it.

Re: Contributing code - new NullUI

Posted: Sat Sep 20, 2008 9:04 pm
by ido
here it is, as a patch file.
I've named it 'null2' so it won't interfere with the current 'null' ui,

Re: Contributing code - new NullUI

Posted: Sun Sep 21, 2008 6:13 am
by mvoncken
ido wrote:Hi,
* ability to use ui commands from the command line
Haven't looked at your code, but this could be verry usefull.

Re: Contributing code - new NullUI

Posted: Sun Sep 21, 2008 8:55 pm
by andar
If this is something you are willing to maintain, then we could start including it in trunk.. Let me know and we can set you up with svn access.

Re: Contributing code - new NullUI

Posted: Sun Sep 21, 2008 11:30 pm
by ido
I'm willing to put an effort in this. sign me up :)

Re: Contributing code - new NullUI

Posted: Mon Sep 22, 2008 4:44 am
by andar
ido wrote:I'm willing to put an effort in this. sign me up :)
Great.

You can come on irc and talk to us and we'll get you setup.