Last Comment Bug 609439 - Migrate from Net::IRC to POE::Component::IRC
: Migrate from Net::IRC to POE::Component::IRC
Status: NEW
:
Product: Webtools
Classification: Server Software
Component: Mozbot (show other bugs)
: Trunk
: All All
: P1 major (vote)
: 2.7
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on: 531785
Blocks: 538396
  Show dependency treegraph
 
Reported: 2010-11-03 16:38 PDT by Wolf [:wolf]
Modified: 2014-05-31 16:59 PDT (History)
4 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Wolf [:wolf] 2010-11-03 16:38:08 PDT
Basic rationale is in Bug 538396 (Comments 0, 4 and 9). Net::IRC is unmaintained and we need to move away from it.
Comment 1 Hinrik Örn Sigurðsson 2010-11-03 22:04:44 PDT
In 538396, Wolf asked:
>What areas have you seen that would be improved for us? You mentioned the 
>amount of code that could be eliminated, trying to get an idea where, as i'm 
>not familar with what is different between the two modules.

These are some of the things you are implementing on top of Net::IRC which POE::Component::IRC would handle for you:

* Joining channels automatically (on connect, rejoining after kick, etc)
* Reconnecting to servers (optionally withserver list to cycle through)
* Automatic CTCP replies (VERSION, TIME, etc)
* Flood protection / message queueing
* Parsing user and channel mode changes
* Changing to a temporary nickname when needed (e.g. user -> user_) and reclaiming the desired nickname when possible

It also sports a sophisticated plugin system, which you may or may not want to use for the bot modules.
Comment 2 Jesper Hansen 2010-11-03 22:57:26 PDT
#(In reply to comment #1)
> It also sports a sophisticated plugin system, which you may or may not want to
> use for the bot modules.

I'd like to see the existing module system staying or at least provide legacy support for them.
Comment 3 Tanner M. Young [:tmyoung] 2010-11-04 09:23:38 PDT
Wolf: How will this impact Bug 531785?  Should finish the work in there and then move to this, or scrap that work and redo it after we've made this transition?
Comment 4 Wolf [:wolf] 2010-11-04 14:22:53 PDT
(In reply to comment #3)
> Wolf: How will this impact Bug 531785?  Should finish the work in there and
> then move to this, or scrap that work and redo it after we've made this
> transition?

If possible, finish that work first, particularly if its reasonably close to being able to land.
This is a priority for 2.8, but not critical enough to trample over other work in progress.

Note You need to log in before you can comment on or make changes to this bug.