Sunday, 2013-04-21

*** Joins: paulr__ (~IceChat09@cpc5-enfi19-2-0-cust776.20-2.cable.virginmedia.com)01:28
*** Quits: Hans_Henrik (~Hans_Henr@90.149.250.68) (Ping timeout: 258 seconds)02:08
*** Quits: vboctor (~vboctor@c-24-22-166-249.hsd1.wa.comcast.net) (Ping timeout: 255 seconds)03:25
GitHub112[mantisbt] siebrand pushed 1 new commit to master-1.2.x: http://git.io/xo9Lqg05:32
GitHub112mantisbt/master-1.2.x e957627 Siebrand Mazeland: Localisation updates from http://translatewiki.net.05:32
*** Joins: dregad (~dregad@127-233.193-178.cust.bluewin.ch)09:36
*** Joins: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302)10:37
*** Quits: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302) (Quit: jreese)10:43
*** Joins: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302)10:49
jreesetest10:50
jreesemantisbot: bug 1023110:55
mantisbotjreese: sorry, bug 10231 was not found10:55
jreesemantisbot: version10:55
mantisbotjreese: The current (running) version of this Supybot is 0.83.4.1.  The newest version available online is 0.83.4.1.10:55
jreesemantisbot: mantis version10:55
mantisbotjreese: Mantis SOAP API version: 1.2.1510:55
jreesemantisbot: quit10:55
*** Quits: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302) (Quit: jreese)10:55
dregadjreese - playing with the bot ?11:11
jreeseno, never :P11:11
dregadfunny, i was just setting up supybot here for some tests11:11
*** Joins: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302)11:11
dregadin preparation to run the irc logs locally on mantisbt.org11:12
jreesegot bugged when my server had to restart and it broke logging again, and had a short bit of time on my hands11:12
jreeseI haven't set up the actual log parsing stuff yet, so if you want to pick up there once I get the bot finished, by all means :P11:13
jreesemantisbot: bug 1408811:13
dregadhow are you setting things up ?11:13
mantisbotBug 14088 - vboctor - open - confirmed11:13
mantisbotMantis 1.3.0 blocking issues - http://www.mantisbt.org/bugs/view.php?id=1408811:13
jreesethe 'supybot' package is installed on the server, and I'm just running it out of a directory there for the moment, but will set up an upstart job for it soon so it will run automatically when the server boots11:14
dregadgreat11:15
jreesemantisbot: image great success11:15
mantisbothttp://i263.photobucket.com/albums/ii140/freakspazzatazz/GreatSuccess.jpg11:15
* dregad was wondering how to make the bot auto-reconnect to the network / channel if disconnected11:16
dregadjreese - it'd be great if you can send me some notes on the setup once you're done with it, i'll look into it and work on the irc logs setup11:21
jreeseafaik it should reconnect automatically as long as it's one of the core configured channels11:22
dregadand also maybe create a wiki page to document things11:22
jreesenotes: look at ~supybot/mantisbot :P11:22
dregadk11:22
jreesethe rest of it is all down to configuration, unfortunately11:22
paulr__mo11:22
jreesehi paul11:23
dregadwhen i'm ready i'll touch base with you to coordinate switching off your noswap job11:23
paulr__hi11:23
dregadhi paul11:23
jreesesounds good11:23
jreesemy biggest concern atm with the logs is the timestamp format that supybot is using, which is different from what ZNC uses, and since I haven't tested the parser yet with supybot, I don't know if/how it deals with the timestamp11:24
dregadi'm sure that can be configured11:24
jreeseI would hope so, considering the parser is a bunch of Perl :P11:24
dregadwot, no python !11:25
dregad;)11:25
jreeseI didn't write the parser ;)11:25
dregadj/k11:25
jreeseonce we make sure supybot is logging in a parseable format, we just need to figure out a good way to merge all the log files in a way that the parser can deal with, and then duplicate my current cronscript to work with the paths on the new server, and to not need to ssh ofc11:27
jreesebtw, register your user with the bot, and I'll grant it admin rights11:30
jreeseyou know, when you're done playing games with it ;)11:31
dregadlol11:31
jreeseand the roulette game works much better when you grant the bot channel ops so it can kick the user that gets the bullet :P11:31
dregadi never used that plugin so i was wondering what it was for11:32
*** ChanServ sets mode: +o mantisbot11:32
jreesemantisbot: roulette11:33
*** jreese was kicked by mantisbot (BANG!)11:33
*** Joins: jreese (jreese@2600:3c00::f03c:91ff:feae:5a8b)11:33
jreeselike that :)11:33
* dregad laughs his ass off11:33
TerrorBiteinteresting11:33
TerrorBitemantisbot: image I have no idea what I'm doing11:33
mantisbothttp://d10oq7ycfhpb9j.cloudfront.net/pictures/9f975093da0252e2c0ae181d74c90dc6.jpg11:33
jreeseI'm actually surprised I didn't have to run through the entire cylinder to get that effect11:34
dregadthat's just your luck11:34
dregadi guess11:34
*** ChanServ sets mode: -o mantisbot11:34
jreesedregad: take a look at https://github.com/jreese/supybot-mantis and https://github.com/jreese/supybot-plugins when you get a chance; those are the custom plugins I set up for the bot11:36
jreesegonna grab some food, will finish this up later11:38
jreesecheers11:38
dregadok, i registered11:39
dregadenjoy your meal11:39
dregadi'll be away for a bit as well11:39
dregadttyl11:39
GitHub57[mantisbt] rombert pushed 1 new commit to master-1.2.x: http://git.io/UzRyOw12:16
GitHub57mantisbt/master-1.2.x 46564e6 Robert Munteanu: Expand SOAP API documentation...12:16
GitHub23[mantisbt] rombert pushed 1 new commit to master: http://git.io/Ca0EzQ12:17
GitHub23mantisbt/master d5ead81 Robert Munteanu: Expand SOAP API documentation...12:17
* dregad thinks about what jreese said regarding the log2html script being perl12:57
* dregad looks at bottom of http://www.mantisbt.org/irclogs/mantisbt/latest.log.html12:57
dregadGenerated by irclog2html.py <== does not look like perl to me ;)12:58
jreeseLiar :P12:58
* jreese has a terrible memory12:58
dregadwelcome to the club12:59
jreeseBeen a life member for 27 years :P13:00
dregadgot you beat there, kiddo13:00
dregadi'll have the answer to life, the universe and everything in less than 2 months13:01
jreeseLol13:01
dregad(hopefully that will include an upgrade to my brain)13:01
*** Quits: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302) (Quit: jreese)13:30
*** Joins: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302)13:30
jreesedregad: you should have admin status now13:31
dregadjreese do you run the irclog2html on noswap.com then rsync, or do you rsync the logs then run the script on mantisbt.org ?13:31
jreesemy crontab runs genirclogs.sh (which gets uploaded alongside the logs) every 15 minutes, and according to that, it looks like it runs the python script first, and then rsyncs13:33
jreeseand the python script is what actually calls logs2html13:34
dregadlooks like the admin access works (see mantisbt-help)13:37
* dregad looks at the scripts13:37
dregadjreese do you perform some conversion on the filenames resulting from the logger ?14:24
dregadby default it prefixes channel name with #14:24
dregadbut the files you upload don't have that14:24
jreesedregad: yeah, that's what the first part of the python script is doing: copying the logs from my bouncer into the aggregation directory with a new name, mainly because filenames starting with a # aren't easy to specify in a URL :P14:39
dregadi trying to decypher that regex14:40
dregadi guess the file naming from your bouncer is different than that of channellogger14:40
jreesethat's what that regex is on line 13, looking at the log filenames from ZNC, discarding the "default_" prefix, grabbing the channel name next, and then the date14:40
jreeseand yes14:40
jreesejreese@liara ~ ยป ls .znc/users/freenode/moddata/log/*\#mantisbt_201304*14:41
jreese.znc/users/freenode/moddata/log/default_#mantisbt_20130401.log  .znc/users/freenode/moddata/log/default_#mantisbt_20130412.log14:41
jreese.znc/users/freenode/moddata/log/default_#mantisbt_20130402.log  .znc/users/freenode/moddata/log/default_#mantisbt_20130413.log14:41
jreese.znc/users/freenode/moddata/log/default_#mantisbt_20130403.log  .znc/users/freenode/moddata/log/default_#mantisbt_20130414.log14:41
jreese...14:41
dregadok so i just need to adjust the regex basically14:42
dregad(i couldn't figure out where this 'default_' was coming from)14:42
jreeseroot@fluffy ~supybot/mantisbot # ls -1 logs/ChannelLogger/freenode/\#mantisbt/14:43
jreese#mantisbt.2013-04-21.log14:43
jreeseso yeah, changing the regex and paths should get you pretty much all the way there14:44
jreesegoing to test the upstart job...14:59
jreesemantisbot: quit14:59
*** Quits: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302) (Quit: jreese)15:00
*** Joins: mantisbot (supybot@2600:3c00::f03c:91ff:fedf:2302)15:02
jreesemantisbot: whoami15:02
mantisbotjreese15:02
jreeseso mantisbot is now running from upstart, so it will stop/start automatically with the rest of the system services15:03
dregadgreat15:03
dregadthanks15:03
jreesewhich also means you can run `start|stop|restart|status mantisbot` from the shell15:03
dregadawesome15:04
jreeseso cronjobbing the irclogs stuff is all that's left I guess15:04
dregadthink so15:05
dregadi'll take care of that15:05
jreeseI can drop a tarball onto the server if you want a copy of all my raw ZNC logs to start from15:05
jreesethat way you're building a contiguous history15:05
dregadi should have all of these already from the /irclogs directory, no ?15:06
jreesealthough now that I think of it, all the raw logs are already on the server anyways, alongside the .hhtml15:06
jreese^that15:06
dregadyep15:06
jreeseyou probably still want to build the html files outside of the web root, and then rsync them in afterwards, so you don't have to worry about logs2html writing to the html files all the time while apache is trying to serve them15:08
dregadmakes sense15:08
paulr__dregad15:09
dregadnot sure if it's worth the effort, but it may be good to do a kind of yearly archive to avoid processing 1000+ logs everytime15:10
jreeseprobably15:10
jreesebut my server always had plenty of spare cycles so I wasn't worried about it15:10
dregadmaybe a version 2 thing ;)15:10
dregadpaulr__15:10
jreesethough now that I think about it, Linode just announced all their free plan upgrades, so vboctor needs to get our box upgraded so we get double the RAM and CPU cores :P15:11
dregadwhen are you going to remove the trailing "__" from your nick :P15:11
jreesewhen paulr and paulr_ quit freenode :P15:11
dregadever heard of /nickserv register ? :P15:12
jreeseI think he complained about nickserv not being Q from quakenet... :P15:12
paulr__whens dregad gonna do some coding15:16
paulr__dregad: did you see I started on context thing other day?15:26
dregadi saw the discussion on the mailing list but did not look at the code15:27
paulr__in fact, did i do push other day15:27
paulr__answer: no15:27
GitHub26[mantisbt] grangeway pushed 3 new commits to master-2.0.x: http://git.io/d2-PeQ15:28
GitHub26mantisbt/master-2.0.x 4ba772e Paul Richards: Fix typo spotted by atrol15:28
GitHub26mantisbt/master-2.0.x db2c92b Paul Richards: misc fixes for 2.x15:28
GitHub26mantisbt/master-2.0.x b997da9 Paul Richards: Initial work at adding MantisContext class concept...15:28
dregadlol15:28
dregadone day you'll get that git thing right ;)15:28
paulr__dregad: what do you think of b997da915:28
dregadnot sure my brain is in the right state to look at code atm15:29
*** Quits: paulr__ (~IceChat09@cpc5-enfi19-2-0-cust776.20-2.cable.virginmedia.com) (Quit: Some folks are wise, and some otherwise.)15:54
*** Quits: dregad (~dregad@127-233.193-178.cust.bluewin.ch) (Quit: Clap on! , Clap off! Clap@#&$NO CARRIER)17:16
*** Joins: kirillka (~Miranda@195.242.142.17)22:00
*** Joins: dregad (~dregad@127-233.193-178.cust.bluewin.ch)23:54

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!