Giter Site home page Giter Site logo

Library review about go-ircevent HOT 3 OPEN

millerlogic avatar millerlogic commented on September 18, 2024
Library review

from go-ircevent.

Comments (3)

slingamn avatar slingamn commented on September 18, 2024

I addressed most of this in my fork: https://github.com/goshuirc/irc-go/tree/master/ircevent

  1. Fixed issue with capability negotiation on reconnection
  2. Fixed synchronization of nickcurrent, AcknowledgedCaps, etc.
  3. Fixed callback ID reuse
  4. Fixed the context cancellation issue by removing support for callback timeouts and concurrent execution of callbacks (my thinking was that it's not safe for callbacks to take macroscopic time anyway --- slow handlers should be moved to separate goroutines, either with go or with a queue system)
  5. CTCP support: not fixed (I disabled CTCP support by default; however, I would consider making the change described above)
  6. Encoding support was removed (the new API exposes raw bytes only)

Some additional changes:

  1. Support for parsing 005 RPL_ISUPPORT
  2. Support for IRCv3 CAP version 302, including parsing capability values
  3. Support for IRCv3 batch and labeled-response
  4. Fixed the deadlock from #131
  5. Fixed the injection issues from #127 (the message library is now very aggressive about refusing to emit invalid IRC lines; escaping/replacing is still left up to the caller though)

from go-ircevent.

IceflowRE avatar IceflowRE commented on September 18, 2024

Maybe do some PRs regarding some issues to this library?

from go-ircevent.

slingamn avatar slingamn commented on September 18, 2024

Apart from the issues that were covered by #132, I don't think I can. I rewrote parts of the library line-by-line, changed the API, integrated the other irc-go libraries (in particular the message parser/assembler) and in general made incompatible changes.

I understand that this might be a breach of etiquette, but for most use cases I would recommend that people simply switch to using the fork. The issues with the original codebase are fairly deep and it's challenging to fix them "in place" with a series of scope-limited patches.

from go-ircevent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.