Friday, 2010-07-30

../irclogs/#mantishelp.2010-07-30.log
--- scribe started ---00:00
Ca11um_Is there a IRC module for Mantis I can download anywhere, where a bot connects to an IRC channel you specify, and outputs any changes?01:07
Ca11um_I found http://mtasa-blue.googlecode.com/svn/trunk/irc/mantisbot/ but it's all in .h and .c files so I got no idea how to execute it.01:07
nuclear_eclipseCa11um_: it doesn't output *any* changes, but http://github.com/jreese/supybot-mantis is a partial solution01:08
nuclear_eclipseI'm running that on foobot right now, and it will do things like give info when you mention bug 1019801:08
foobotBug 10198 - kekc - duplicate - closed01:09
foobotgpc_isset() for date custom field always return "" (empty string) - http://www.mantisbt.org/bugs/view.php?id=1019801:09
nuclear_eclipseit also has an option to announce when new issues are opened01:09
nuclear_eclipsebut I don't have that enabled01:09
Ca11um_Cool, pretty much what I want, thanks01:09
Ca11um_And where do these files go>01:09
Ca11um_?*01:09
Ca11um_in the mantis root folder?01:09
nuclear_eclipseno01:09
nuclear_eclipseit's a separate application01:10
Ca11um_Just on a web server?01:10
nuclear_eclipseyou need to install and setup "supybot"01:10
Ca11um_install?01:10
Ca11um_How do I install it?01:10
Ca11um_I've never used .py files01:10
nuclear_eclipsewhat I linked you to is just a plugin for supybot01:10
Ca11um_Oh01:10
nuclear_eclipseit uses the SOAP API from Mantis to gather information rather than having mantis talk to the bot/channel01:11
Ca11um_And so where does supybot go? Anywhere?01:12
nuclear_eclipseI created a separate user account on my webserver that runs supybot01:12
Ca11um_supybot is a bunch of scripts or an acutal program?01:13
Ca11um_Because my web server is ran by a company, so of course, I'm restricted to everything but cPanel and FTP01:14
nuclear_eclipseit's a set of python scripts that run an IRC bot01:14
nuclear_eclipseit doesn't need to run on the same server as your Mantis install, it just needs to be able to access the SOAP API01:15
Callum_Sorry, Internet flipped...01:18
nuclear_eclipsenp01:18
Callum_I read all upto about it being python scripts that use the SOAP API01:18
nuclear_eclipse21:15 < nuclear_eclipse> it doesn't need to run on the same server as your Mantis install, it just needs to01:18
nuclear_eclipse      be able to access the SOAP API01:18
Callum_Yea01:18
Callum_wow, it was that long01:18
Callum_Is supybot installation manually changing files or web page?01:21
nuclear_eclipseit's a separate package from mantis, you need to have Python installed so you can execute the scripts01:22
Callum_aw ffs, my web server doesn't even have Python installed01:24
Callum_It just displays as text01:24
Callum_So it only needs to be able to connect to the mantis?01:24
nuclear_eclipseright01:24
Callum_I can just use 000webhost or some terrible service that has Python01:24
nuclear_eclipseit's not going to run as a web application though01:25
nuclear_eclipseit's something you have to run from a command line01:25
Callum_:/01:25
Callum_How does that work?01:25
nuclear_eclipseit's complicated if you've never done anything like that before01:26
nuclear_eclipseCallum_: http://sourceforge.net/projects/supybot/01:28
Callum_I've got that01:28
Callum_I uploaded them to teh web serve01:28
Callum_lol, 000webhost doesn't use python either01:29
Callum_Is there any free web host that has Python?01:30
nuclear_eclipseI don't know - I've always done all my own hosting and system administration01:30
nuclear_eclipseit's usually not as simple as just uploading files with python01:30
Callum_Ok01:32
Callum_I locally installed Python01:32
Callum_now I take it I need to use cmd to use the script?01:32
nuclear_eclipseyou should be able to follow the instructions in supybot's INSTALL file01:33
Callum_It makes no sence, I should run python.exe from the python installation path, exit it, cd %un-zipped supybot path%, then use python.exe on it, which I cannot as I have used cd and changed directory01:37
nuclear_eclipsesetting the PATH variable allows the command line to find the python.exe01:38
Callum_Ok, now what?01:40
Callum_That's where the file ends01:40
nuclear_eclipsedid you run the supybot-wizard that the install file mentioned? that will walk you through setting up the initial bot configuration01:41
nuclear_eclipsethen you can run the actual bot01:41
nuclear_eclipseand from that point, there is plenty of documentation in the supybot release's "docs" directory that you should be able to read about all the details01:42
Callum_I have C:\Python27\Scripts\supybot-wizard01:42
Callum_But it has no file extension01:42
nuclear_eclipsethat's because you run `python.exe supybot-wizard` instead of running the file itself01:44
Callum_Ok, I've gone through setup...01:47
Callum_But it's asked me nothing about my mantis installation01:47
nuclear_eclipsethat's because you need to install the plugin and configure it manually01:48
Callum_http://github.com/jreese/supybot-mantis01:50
Callum_That?01:50
nuclear_eclipseyep01:50
Callum_Ok, 2 more questions, 1. How do I start the bot on Windows, and 2. Where do these plugin files go now?01:52
nuclear_eclipse2) they go in your supybot/plugins folder, which you may need to create01:53
nuclear_eclipse1) python.exe supybot should start the bot up01:54
Callum_C:\Python27>python spybot01:55
Callum_python: can't open file 'spybot': [Errno 2] No such file or directory01:55
nuclear_eclipseyou need to be cd'd into the place where you extracted supybot01:55
nuclear_eclipseand it's `python.exe supybot`01:55
nuclear_eclipsenot spybot ;)01:56
Callum_Oh, not my Python directory01:56
Callum_I thought I was using \scripts01:56
Callum_C:\Users\Callum\Desktop\Mantis Bot Supybot\Supybot-0.83.4.1>python.exe supybot02:00
Callum_python.exe: can't open file 'supybot': [Errno 2] No such file or directory02:00
nuclear_eclipseCallum_: sorry, I gotta leave for the evening, best I can say at this point is to read as much of the supybot documentation as you can; maybe it will answer your questions02:01
nuclear_eclipseunfortunately for you, I don't use Windows, so I'm not very familiar with how to use Python on it02:01
Callum_k, thanks for the help02:02
nuclear_eclipseyou're welcome02:02
nuclear_eclipsegood night02:03
Callum_g'night02:03
kirillkadhx_m: ping06:31
CrimsonBlueI changed my password for the database, how do I update it via mantis....07:21
CrimsonBluewhich file or...07:21
mantisbt_20337hi08:23
mantisbt_20337anyone can help me08:23
mantisbt_20337please08:23
killefizmantisbt_20337: see topic08:25
mantisbt_20337hi killefiz08:27
mantisbt_20337is it possible to remove this Copyright © 2000 - 2010 MantisBT Group in all page.php?08:29
killefizyou can edit the file that contains the notice if you want to - but why would you want to do that?08:32
mantisbt_20337just want to know the location of the php file which contains this08:39
mantisbt_20337please mention which php file08:40
mantisbt_20337just want to remove that08:47
mantisbt_20337plz help me08:47
killefizmantisbt_20337: if you're un unix use grep to search the files, if you're on windows use a text-editor that can search multiple files08:54
killefizI'm not going to do your work, sorry08:54
mantisbt_67968hi anyone can help me09:33
mantisbt_67968how to remove or disable manage plugin column from manage button09:34
paulrlo09:46
nuclear_eclipsehowdy paulr11:37
nuclear_eclipsebtw, re qwebirc, the team lead decided to just run his own ircd-seven with atheme services, and set up the webirc link with that... /facepalm11:38
kirillkanuclear_eclipse: mo12:09
kirillkaany specs of php: how I can remove all html tags, except needed?12:11
nuclear_eclipsehttp://php.net/manual/en/function.strip-tags.php12:13
kirillkanuclear_eclipse: thanks...12:14
davidinc"Send Reminder" link doesn't upper on the view page after an issue is resolved for developer access level?12:20
davidincFor administrators it there.12:20
davidincIs it possible to allow developer access level to Send Reminder after issue status is resolved12:22
davidincfrom Manage configuration page12:22
nuclear_eclipsedavidinc: that's because of the read-only thresholds; ie, for anyone lower than an admin, hte issue is read only, so they can't send a reminder about it12:48
dhx_mhi12:50
davidincdhx_m: Hi12:51
davidincnuclear_eclipse: Is it configurable12:52
nuclear_eclipseyes, you can configure both the threshold of what status triggers readonly, and what access level is exempt from the readonly status12:53
nuclear_eclipsehi dhx_m12:53
dhx_mnuclear_eclipse: nice work with the release :)12:53
nuclear_eclipsethanks12:53
nuclear_eclipsehad a bit of a misfire because the first tarballs I uploaded didn't have the manuals built...12:54
davidincCongrats on the release of mantis-1.2.212:55
nuclear_eclipsethanks12:55
davidincnuclear_eclipse: I try to set "reminder_receive_threshold"  -> integer -> 25 from manage configuration  page so that anyone who have access level greater than VIEWER can "Send a Reminder" after issue is Resolved13:01
davidincit doesn't seam working13:01
nuclear_eclipsedavidinc: the two thresholds you need to deal with are:13:02
nuclear_eclipse$g_bug_readonly_status_threshold = RESOLVED;13:02
nuclear_eclipse$g_update_readonly_bug_threshold = MANAGER;13:02
davidinccool tnx13:02
davidincBut this will affect all the fields.13:04
nuclear_eclipseyes13:04
nuclear_eclipsethat's the only option without changing the core behavior13:04
davidincWhat I want is similar permission with "Jump to Notes" or "Issue History" links.13:05
nuclear_eclipsethose aren't based on permissions13:06
davidincoops13:06
davidincproblem13:06
davidincso I have to touch the mantis code to allow that13:06
nuclear_eclipseyep13:07
davidincBut what do you think it would be nice if we create his own permission for  "Send a Reminder".13:08
davidincOr there are some region not to do that.13:09
nuclear_eclipsedavidinc: there are multiple thresholds relating to reminders; Mantis just considers that a write action against the issue because it allows you to add a bugnote, so when a bug is read only, mantis doesn't allow you to send reminders13:10
davidincOk now I understand but to make it more flexible it should have some access level configuration only for send reminder13:14
nuclear_eclipsedavidinc: you're free to create and submit a patch as a feature request on the tracker at mantisbt.org13:20
davidincOk13:22
davidincDo you check the LDAPAutocomplete plugin13:22
davidincI thought it's cool idea to use autocomplete on mantis custom field!!!!!.13:23
nuclear_eclipseno, I don't use LDAP13:23
davidincHooo ok13:23
arslanalihi13:59
arslanalii am integrating svn and mantis14:00
arslanalii want to set bug status as feedback and also assign it to one specific user14:00
arslanaliplease guide me how can i do this14:00
nuclear_eclipsearslanali: if you use Mantis 1.2.2 and the Source Integration pulign, you can configure it to do that based on a specific message pattern14:04
nuclear_eclipsehttp://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/14:05
arslanalinuclear_eclipse: it will also assign issue back to some user asking for its feedback ?14:06
nuclear_eclipsenot by default, but you can configure it to do that14:09
arslanalii had customized custom_function_default_checkin function and now issue gets into feedback to some specific user15:42
paulr<nuclear_eclipse> btw, re qwebirc, the team lead decided to just run his own ircd-seven with atheme services, and set up the webirc link with that... /facepalm17:13
paulrwhat was that on?17:13
* paulr pokes dhx_m20:41

Generated by irclog2html.py