taskWeeChat - Tasks: task #12209, Generate alternative nicknames...

 
 

task #12209: Generate alternative nicknames dynamically instead of disconnecting

Submitted by:  None
Submitted on:  Mon 20 Aug 2012 05:48:39 AM UTC  
 
Category:  irc plugin Should Start On:  Tue 21 Aug 2012 10:00:00 PM UTC
Should be Finished on:  Tue 21 Aug 2012 10:00:00 PM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed Planned Release:  0.3.9
IRC nick: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Aug 2012 05:45:58 PM UTC, comment #2:

Done.

If you want to test, I added new option called "nickused" in weercd.py (in git: test/weercd.py).
You can test with this command line:

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Mon 20 Aug 2012 05:48:39 AM UTC, comment #1:

This item has been reassigned from the project WeeChat bugs tracker to your tracker.

The original report is still available at bugs #37147

Following are the information included in the original report:

[field #0] Item ID: 37147
[field #1] Group ID: 4783
[field #2] Open/Closed: Open
[field #3] Severity: 3 - Normal
[field #4] Privacy: Public
[field #7] : Unknown bugs Field Display Type
[field #8] : Unknown bugs Field Display Type
[field #9] Category: irc plugin
[field #10] Submitted by: None
[field #11] Assigned to: None
[field #12] Submitted on: dim. 19 août 2012 23:26:52 CEST
[field #13] Summary: Generate alternative nicknames dynamically instead of disconnecting
[field #14] Original Submission: When the list of configured nicknames is exhausted, generate new alternatives based on the primary nickname. An algorithm based on irssi would work: keep appending an underscore until the nickname is at least 9 characters long, then truncate to 9 characters and overwrite a number at the end of the nickname.

e.g. irc.server_default.nicks = "abc,def,ghi,jkl"
Try:
abc
def
ghi
jkl
abc_
abc__
abc___
abc____
abc_____
abc______
abc_____1
abc_____2
...
abc____99

Reconnecting repeatedly just because there are no more nicknames to try isn't appropriate behaviour.
[field #16] Item Group: irc protocol
[field #17] Status: None
[field #18] Component Version: None
[field #19] Operating System: None
[field #20] Reproducibility: None
[field #21] Size (loc): None
[field #22] Fixed Release: None
[field #23] Planned Release: None
[field #24] Effort: 0.00
[field #28] Priority: 5 - Normal
[field #31] Percent Complete: 0%
[field #33] Release: 0.3.8
[field #35] Originator Name: Simon
[field #36] Originator Email: bugs.weechat.simon@arlott.org
[field #58] Custom Select Box #1: None
[field #59] Custom Select Box #2: None
[field #60] Custom Select Box #3: None
[field #61] Custom Select Box #4: None
[field #62] Custom Select Box #5: None
[field #63] Custom Select Box #6: None
[field #64] Custom Select Box #7: None
[field #65] Custom Select Box #8: None
[field #66] Custom Select Box #9: None
[field #67] Custom Select Box #10: None

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Mon 20 Aug 2012 05:48:39 AM UTC, original submission:

When the list of configured nicknames is exhausted, generate new alternatives based on the primary nickname. An algorithm based on irssi would work: keep appending an underscore until the nickname is at least 9 characters long, then truncate to 9 characters and overwrite a number at the end of the nickname.

e.g. irc.server_default.nicks = "abc,def,ghi,jkl"
Try:
abc
def
ghi
jkl
abc_
abc__
abc___
abc____
abc_____
abc______
abc_____1
abc_____2
...
abc____99

Reconnecting repeatedly just because there are no more nicknames to try isn't appropriate behaviour.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen => Closed
    2012-08-22 flashcode CategoryNone => irc plugin
        Should Start On- => 2012-08-21
        Should be Finished on- => 2012-08-21
        StatusNone => Done
        Percent Complete0% => 100%
        Assigned toNone => flashcode
        Originator Name => None
        Planned ReleaseNone => 0.3.9
    2012-08-20 flashcode Reassign itemWeeChat, bug #37147 => WeeChat, task #12209

    Back to the top


    Powered by Savane 3.4