Contributing code - new NullUI

Suggestions and discussion of future versions
Post Reply
ido
New User
New User
Posts: 4
Joined: Sat Sep 20, 2008 6:56 pm

Contributing code - new NullUI

Post 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.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Contributing code - new NullUI

Post 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.
ido
New User
New User
Posts: 4
Joined: Sat Sep 20, 2008 6:56 pm

Re: Contributing code - new NullUI

Post by ido »

here it is, as a patch file.
I've named it 'null2' so it won't interfere with the current 'null' ui,
Attachments
deluge-null2.zip
patch (-p1) for null2 ui
(7.97 KiB) Downloaded 421 times
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Contributing code - new NullUI

Post 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.
dev: webui, core, labels | irc:vonck7 |
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Contributing code - new NullUI

Post 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.
ido
New User
New User
Posts: 4
Joined: Sat Sep 20, 2008 6:56 pm

Re: Contributing code - new NullUI

Post by ido »

I'm willing to put an effort in this. sign me up :)
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Contributing code - new NullUI

Post 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.
Post Reply