Advertisement
Azure

RISG development notes

Sep 5th, 2012
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. RISG: The Ruby IRC Statistics Generator
  2. =======================================
  3.  
  4. Despite the similar name, this is a completely new project, and not a port of PISG. It may and/or will have very similar functions though. *The name may or may not be temporary.*
  5.  
  6. ## (Rough) Development process
  7.  
  8. *(in order, may change as project progresses):*
  9.  
  10. - single log parser (zcbot-based)
  11. - determine kick/ban/action/message, and group into channels.
  12. - channel whitelist
  13. - spin off single log parser into base logparser and zcbotparser, provide standard attributes
  14. - gem-based loading of third-party parsers via require if not found? (*will look for `risg-logparser-%<parsername>s`?*)
  15. - Error raising; It should bubble up into the client (script or binary) and report errors to the user.
  16. - Parse data provided by log parser
  17. - stats categories (*yelling, attacks*)
  18. - more categories (*swearing, now playing, kicks by nicks, attacks, # of words in capitals*)
  19. - number of lines and words per user
  20. - number of normal messages
  21. - number of actions
  22. - anything else that may be useful (***please suggest them!***)
  23. - Automatic aliasing of nicks by tracking `/nick` and alias only if said nick was in use for a day or more(*?*)
  24. - Basic terminal output of data before moving onto page generation (*for verification*)
  25. - HTML5 page generator
  26. - `<canvas>`-based charts
  27. - fallback?
  28. - page generation options?
  29. - nice design, but should be fairly simple.
  30. - *Alternative stats generation?* (*Do we really need anything but HTML?*)
  31. - Provide a binary that accepts a config file for loading settings; if not, the binary should not run, and provide an error message.
  32. - Config file. (*Custom DSL? That would be super neat.*)
  33. - Global options for parsing and generating the page?
  34. - Channel whitelist (*will only parse channels that are passed in*)
  35. - Multiple log files globally/per-channel (*should be able to merge and sort by date?*)
  36. - Offer switching log parser (zcbot by default)
  37. - Custom user properties (*`url`, `pic`, `email`, `???`*)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement