Thursday, 2009-04-30

../irclogs/#mantishelp.2009-04-30.log
--- scribe started ---00:00
harpreet_singhhi00:04
cudellhi all.02:19
cudelli'm curious on the mantis release timetable for rc/final for the 1.2 version. any ideas on when it's launching?02:21
nuclear_eclipsewhen it' sready02:22
nuclear_eclipse;)02:22
cudellof course. i really like some of the features in it, but the alpha install we have is not quite stable enough for our production use.02:22
nuclear_eclipsecudell: have you tried running from latest git and/or nightly builds?02:23
cudelli especially like the customization possible on the 'view issues'' screen02:23
cudelli haven't. would you say they are more or less stable than the 1.2.0a3 build on the public site?02:24
nuclear_eclipsethey are probably both more stable and more featureful :)02:26
nuclear_eclipsethe official tracker is actually running rode from about 5 days ago, if that helps02:26
cudellthat's great to hear. i'm usually reluctant to run nightly builds for a lot of OSS as they can be kinds of rocky.02:27
cudelli'll get my server admin to install the nightly build tomorrow, hopefully.02:27
cudellthanks for your time and courtesy.02:27
nuclear_eclipsewell, it can be kind of rocky with us too, but generally it's stable enough, and if anything, that's why we keep multiple old builds on there02:27
nuclear_eclipseyou're welcome :)02:28
cudelli'm about to try connecting our mantis to our SVN server too... any tips/snafus I should be aware of going into it?02:28
nuclear_eclipseare you using the source-integration plugins for that?02:29
cudellhaven't even really looked into it yet... was just getting started with some google searches02:29
nuclear_eclipsehttp://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/02:31
nuclear_eclipsethat's the system we use on mantisbt.org for tracking our repository02:32
nuclear_eclipseand if you have any questions about it or feature requests, let me know :)02:32
cudellthx!02:33
cudelloh, wow... so 1.2 is needed for the SVN integration with the method you showed. ok. thx!02:35
nuclear_eclipseyou also need to use a nightly build of mantisbt because of the new events that it uses02:36
nuclear_eclipseanywho, I gotta go eat; if you ever have a questio, just ping me here and I'll respond whenever I can02:36
nuclear_eclipsecheers02:37
cudellthx! have a nice eve.02:37
dhx_mone thing I noticed recently is that custom_constants.php does not overrule /core/constant_inc.php02:58
dhx_mie. if you define something in both places, the constant from /core/constant_inc.php is used in preference02:59
blacknred0hi guys,03:12
blacknred0just wanted to say that i just recently downloaded mantis and love it.  plus, i would like to help the community in whatever i can.03:13
dhx_mhi :)03:23
dhx_mcheck out mantisforge.org if you'd like to contribute code03:23
blacknred0dhx_m, thnx.  i am more like a guys who helps in bugs and translating and helping the community to answer questions03:25
dhx_m:)03:25
dhx_mthere is a translatewiki somewhere03:25
dhx_mand there is are some forums where people ask questions :)03:25
blacknred0dhx_m, thnx. i will be subscribing myself later into all of those03:27
twolfyhi08:01
twolfyyes I know, I've vactations - but I can't do nothing08:02
twolfy:)08:02
giallutwolfy, looking for something to do? we have plenty...08:40
twolfyI'm allready on it :)08:41
twolfyworking on smarty integration :)08:41
gialluis it smarty alive, still?08:42
twolfygiallu, do you know since when the plugin system is implemented in mantis?08:42
giallu1.208:42
giallubut a guy made one for the 1.0/1.1 serie08:43
gialluof course those are incompatible...08:43
twolfyI started a week ago or so08:43
twolfyhmm, I've an idea to make this system VERY flexible :)08:44
gialluwhich system?08:44
twolfythis comes because of smarty - the plugin-system08:44
twolfyI got the idea a few minutes ago :)08:44
twolfyit should be implemented in a couple of days08:45
* giallu was never fond of the "let's bring in smarty" idea 08:45
gialluprobably just becasue of ignorance...08:46
twolfyright - I'm not a mantis-core-dev - so I started a branch08:46
twolfyso it isn't sure to get smarty integrated08:46
twolfybut I'll provide an example of how it could work08:47
dhx_mis this yours: http://git.mantisforge.org/w/mantisbt/milliams.git?a=shortlog;h=refs/heads/smarty08:47
dhx_m?08:47
twolfyno08:47
twolfyI'm on github08:47
twolfyhttp://github.com/twolfy/mbtoo/tree/master08:47
dhx_mah, was just wondering because that branch sounds similar to what you're doing08:47
twolfyyes, right08:47
gialludhx_m, milliams talked to us about smarty08:47
twolfyyes08:47
dhx_mwhat did he say? :)08:47
twolfybut he decided to not use smarty08:48
dhx_mI assume it was negative because he stopped?08:48
twolfyin the end :)08:48
giallubut was quickly convinced to pick a lighter-weight approach based on php08:48
dhx_mie. no templates?08:48
gialluAFAIK, yes, templates, but based on a small class he wrote08:49
gialluyou know, php was born to provide "templating" to plaing html08:49
twolfyI allready wrote a class which extends smarty to fit the mantis-needs08:49
twolfyand started to convert html_api.php08:50
twolfynow I looked at the event/plugin-system and got the idea, that I can extend the smarty-class with "callbacks on input/output"08:51
twolfyso a plugin can register itself to a specific input/output (one or more) and get called when the input/output apears08:52
dhx_mhmmm08:52
dhx_mwouldn't it normally work in this way:08:52
dhx_mah I think I get what you mean08:53
dhx_mnm08:53
dhx_meffectively there is a plugin hook on the start and end of each use of a template?08:53
twolfyexample: the bug-id should be printed (no matter where, RSS / HTML / ...) and this has the id "mantis_bug_id" - the plugin could register his function like this: $g_output->register('mantis_bug_id', 'myFunction')08:55
twolfyso if the $g_output was called to assign 'mantis_bug_id' it calls myFunction with the content of mantis_bug_id08:55
twolfythis is template/output-independed08:56
twolfyso it also works on email/RSS/HTML/...-output08:57
twolfyand you won't have to modify your plugin or module08:57
twolfy(page)08:57
twolfyalso the module (page) doesn't matter about modifications and the plugin doesn't matter from where the content comes08:58
twolfyand doesn't matter where the content goes :)08:58
twolfythis way it is also very easy to disable plugins for a specific URL09:00
twolfylike http://mantis/page.php?disablePlugin=myPlugin09:00
twolfyif this would required/requested09:00
twolfyI think this would be very easy...09:01
twolfybrb09:01
twolfyre09:05
twolfyalso it would be possible to disable/enable installed plugins per user09:06
twolfyand it is very cheap to get it09:06
harpreet_singhhi all09:15
twolfyso here we go with an API-example: http://preview.tinyurl.com/d8qf5409:37
twolfyit's untested and not ready now...09:38
twolfyjust a preview of how it could work09:38
harpreet_singhhi09:38
twolfyhi harpreet_singh09:38
harpreet_singhI am trying to install mantis on redhat 509:38
harpreet_singhwhen I tried to click on http://mantis.ctl.creaf.com/mantis/admin/install.php09:39
harpreet_singhI am getting a blank page only09:39
twolfythe you have a php-error check your apache-log-files09:39
harpreet_singhsorrry to say.. where I can find them09:40
mantisbotNew bug: Bug 10436 - aysha - open - new09:41
mantisbotNew bug: on install.php i am getting error - http://www.mantisbt.org/bugs/view.php?id=1043609:41
twolfyyou need to look at /var/log/apache2/09:42
twolfyor apache/ if you're using apache 1.3.x09:42
gialluon RHEL is /var/log/httpd09:44
harpreet_singhit is empty09:44
gialluwhere did you install it (the full path)?09:45
harpreet_singha09:46
harpreet_singha09:47
harpreet_singh'/usr/local/apache209:47
harpreet_singhand php in /usr/local/php09:47
giallu??? aren't you using the RHEL apacha and php?09:47
harpreet_singhno i have downloaded and installed09:48
harpreet_singhtill the page http://mantis.ctl.creaf.com/mantis/admin/ I am able to see the index of /mantis/admin09:48
gialluwell. I have a "slight" chance of being able to help if you use the provided RPMs. With this kind of set up, I really can't guess anything09:50
harpreet_singhoh...09:51
harpreet_singhcan we try to use the default one.09:52
gialluI guess so. for the records. I pushed the dev team to keep mantis compatible with php 5.1.609:53
gialluthat's what RHEL/Centos 5 provide09:53
harpreet_singhIt is Red Hat Enterprise Linux Server release 5.1 (Tikanga)09:53
gialluyeah09:54
harpreet_singhand httpd-2.2.1109:54
giallugood09:54
harpreet_singhand php-5.2.909:54
gialluuhm09:54
gialluwhree 5.2.9 comes from?09:54
harpreet_singhthe same I have tested in Redhat 4 and it is working09:54
giallu"rpm -q php"09:54
gialluremi collect maybe?09:54
harpreet_singhI have downloaded and installed it09:55
gialluharpreet_singh, not that I am supposed to dispute your business choices, I'd just like to make sure you understand the implications. You are paying Red Hat to provide you security and stability updates to your system, by installing a 3rd party RPM took somewhere on the net you're exposing yourself to more risks than the average business wants... what if that 3rd party inserted malicious code into the php package? what if a php security issue is discove10:10
giallured and fixed?10:10
harpreet_singhhi10:23
harpreet_singhthis server is not in the support and no further updates will be appled on this server.10:24
harpreet_singhthis server is a departmental server. So only within the department (devlopment team) has access to this server.10:25
harpreet_singhby the way I am trying to export the data from mantis v.017 to ver 1.1.710:29
gialludid you convert the DB to version 1.0 first?10:31
twolfyhmm, is there a mailinglist for commit-messages - so if something happend in master I got a mail?10:41
twolfyI'm allready subcribed to dev-ml10:42
giallutwolfy, yes there is10:43
gialluit's still called mantisbt-cvs10:43
twolfyah thx10:43
giallubut gets the git commits10:43
twolfyokay, that's exactly what I'm looking for :)10:44
harpreet_singhno I did not.10:48
nuclear_eclipsetwolfy: git commits are announced on channel as well courtesy of CIA.vc12:07
twolfyah okay, but if I'm not here I won't be notified this way - so ml may be better for me12:08
dhx_mI've been trying to ignore harpreet_singh for days now... no offence :)12:10
dhx_mI tried helping him and he'd ignore everything I said, ignore my pointing him to the manual, etc12:10
nuclear_eclipsedhx_m: twolfy seemed to have a fruitful conversation with him the other day, if you consider 60+ minutes to install Mantsi fruitful :P12:29
nuclear_eclipsehe was at least listening to twolfy....12:29
dhx_mhaha12:30
twolfyit goes ~2:30h :)12:30
dhx_mI remember at one stage I said "Read the manual at ......" four times in a row12:30
twolfy:)12:31
dhx_mand each time it was as if my comments got blocked by his firewall that blocks nasty words liek RTFM12:31
twolfymay be he sets some irc-filters :)12:31
dhx_m:)12:36
slestakhey guys.  is mantisforge the spot to get current design info for mantis?  I noticed the gitstats over their arenet getting updated so i wasnt sure if it was still in use12:47
nuclear_eclipseslestak: yell at paulr if things aren't working12:49
slestaknuclear_eclipse: thanks.  i am trying to get up to speed on git and mantis12:53
nuclear_eclipseslestak: most of mantisforge is there for the purpose of unofficial development stuff :P12:56
twolfyokay, I'm off for the rest of the day... commited new changes to github13:13
twolfyso bye bye13:14
twolfy:)13:14
sdjfklnuclear_eclipse: did you have a look at whatever i asked you to look at?14:52
slestakpaulr: sometime today can we look at that sso patch?15:01
sdjfklslestak: http://mantis.pastebin.com/m553982a915:14
sdjfkl^ I think that's what I use here to do something similar15:14
slestaksdjfkl: thx, i will look at that.  did you apply this against 1.1.[6|7]?15:17
slestakkerberos is issuing me a ticket, i just havent seen a way to get mantis to suppress the login page and refer me to the default main page.15:21
slestaksdjfkl: looks like your andling that between lines 7-17 of your paste.  I will try that, thx.15:30
qballis it possible to get an url that points to the roadman but also to a fixed project?15:42
qball*roadmap15:42
mantisbotNew bug: Bug 10437 - damien_b - open - new15:53
mantisbotNew bug: APPLICATION WARNING #403: Database field "description" not found. - http://www.mantisbt.org/bugs/view.php?id=1043715:53
paulrmo17:24
paulrgiallu: we should really test with E_ALL17:24
paulrsiebrand: lo?17:32
giallupaulr, E_ALL for tests, main mantis code or both?17:58
paulrtests18:00
* paulr also growls at giallu for breaking tests18:00
gialluhow do you use them?18:01
gialluor try to...18:01
paulrvia cruisecontrol ;)18:02
paulrgonna try and fix ;p18:02
giallu???18:02
* nuclear_eclipse growls at paulr for never finishing dates work18:02
paulrnuclear_eclipse: I'm waiting for daryn :P18:02
paulri think daryn said he thought he ended up with 1's in db18:02
paulrinstead of correct data18:02
paulrgiallu: you saw the start of my automated build stuff right?18:03
paulrgiallu: aka http://www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics18:03
giallupaulr, sorry if I broke it18:04
paulryou might have broken it in a good way18:04
slestakwww.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics18:04
* paulr checking :)18:04
slestaksorry, errant paste18:05
giallupaulr, anyway, I'm doing some more work there18:05
paulrdont do *too* much or at least18:05
paulrwrite new tests18:05
paulrbut not too much in terms of running em18:05
gialluI'm moving the non phunit ones18:05
paulrcool18:05
paulrthat's fine18:06
paulrI just know I need to come up with an automated way to do the tests18:06
paulr(e.g. soap tests need a db)18:06
giallusoap tests are tricky18:06
gialluthey also have an hardcoded mantis address18:06
paulrwell yes/no18:06
paulrin theory18:06
paulrtests.config18:06
paulrwith settings for various db's18:07
paulre.g.18:07
paulr[db1]18:07
paulrtype=pgsql18:07
paulruser=foo18:07
paulrpass=bar18:07
paulr[db2]18:07
giallusure. but very good testes should be self contained18:07
paulrtype=mysql18:07
paulruser=foo18:07
paulrpass=bar18:07
paulror something18:07
paulrwe could have a test18:07
paulrthat runs all db queries18:08
paulrjust to detect syntax erros on one db platform18:08
paulrbrb going outt o dinner ofr abit18:08
gialluanyway, I don't know what you are running there, but you should be able to just perform a subset of the tests18:09
giallulater....18:09
paulrgiallu: i'll run all hopefully18:09
* paulr wants to do automated stuff18:10
slestakin this line, the check for AUTH_TYPE is commented out right?  if ( isset($_SERVER['REMOTE_USER'])) { #  $_SERVER['AUTH_TYPE'] == 'Negotiate' )18:21
slestakanyone feel like debugging?19:34
gialluslestak, I think so19:57
* giallu hates if statements on a single line...19:58
slestaki am workign with the IWA sso patch from the mantisbt wiki20:02
slestaki have been placing echo statements ecerywhere to get the lay of the land.20:02
slestakmy apache is authing, i have a kerb ticket.  but i cannot get mantis to skip past the login screen20:03
slestakeven with http auth, should I still get a mantis login screen?20:04
slestakI have also looked at pauls NTLM_AUTH mod from http://mantis.pastebin.com/m553982a9 for inspiration as well20:06
slestakhere is what I have in my login.php  http://pastebin.com/f55ea4f8620:10
slestaki updated it with my touches to core/authentication_api.php as well20:12
slestakgiallu: I am using 1.1.6 on ubuntu with apache2 and mod_auth_kerb20:13
slestakmy echo statements are showing AUTH_TYPE = Negotiate and REMOTE_USER = myprincipalnamefromkerb and AUTH_USER is empty20:15
gialluslestak, I know too little about kerberos to be of much help there20:15
slestaki think kerberos is working, in bash, klist shows that I have a ticket assigned to me.  i think it is the mantis part that I have goofed up.20:15
slestakis it reasonable to expect that HTTP_AUTH shouldnt prompt me with a mantis login screen?20:16
slestaki am kinda new to webapps, so if that is not a correct assumption...20:16
slestakpaulr: does your ntlm auth prompt for login with apache or from mantis (or neither?)20:18
slestaki may restore my modded files and try just straight mantis ldap and forego sso20:25
paulrslestak: I use IIS20:39
slestakpaulr: your login.php entry at line 51, the ACCESS_DENIED message, in teh 1.1.6 code, line 51 seems to place that condition within a HTTP_AUTH condition20:42
slestaklooking at http://mantis.pastebin.com/m553982a9 in case you dont have ut near20:43
paulrtbh, that might be be 'what I use in 1.1.6' -> it's dated 200820:46
paulrthe point was more to give you a bit of an idea of something that works :)20:46
paulri.e. where to hook20:46
slestakappreaciate it guys.  i have backups and time.  your project looks really cool, cannot wait to get it ready for my team20:47
paulrare you looking at using mantis in a company or opensource type project?20:47
slestakin a company20:47
paulrI could probably help you get 1.1.6 working20:48
paulrhowever, slightly less interested in that then 1.220:48
slestaklet me try regular AD auth (sans sso).  sso would be nice, but not fully necessary.20:50
paulrsiebrand: lurking yet?20:57
siebrandpaulr: always and never21:00
paulrsiebrand: lang_get('charset')21:00
paulr== can remove?21:00
siebrandpaulr: yeah, well. I think I agree with your line of thought. If UTF-8 is all there is, there's little reason for querying a character set :)21:01
paulrcool21:01
paulrso you agree with the chnages in http://git.mantisforge.org/w/mantisbt/paul.git /21:01
siebrandchecking21:02
siebrandthere's nothing recent.21:02
paulr24 hours ago21:02
siebrand46 hours ago Paul Richards Add checks to check.php to check that database is set...21:03
paulrhttp://git.mantisforge.org/w/mantisbt/paul.git?a=shortlog;h=refs/heads/master221:03
siebrandah, there's 2 more :)21:03
siebrandpaulr: hmm: http://git.mantisforge.org/w/mantisbt/paul.git?a=commitdiff;h=fd1d1e651ae18f8553a345587a4eaeccc20dd7e721:04
siebrandpaulr: why?21:04
paulr" -> '21:04
siebrandpaulr: out export routine works like it was. If single quotes are in the message, we double quote them to avoid escaping.21:04
siebrandour export routine, even.21:04
siebrandlooks prettier, and afik there's no drawback.21:04
paulr'foo' is quicker to parse then "foo"21:04
siebrandok, well, does not really matter. Anyway, that's why you may see differences in quoting in the translatewiki.net exports, if any.21:05
siebrandpaulr: last 2 commit are fine too, then.21:06
paulri'm trying to make test_langs.php work sensibly for testing language files21:07
paulrhopefully without messing up your stuff :)21:07
paulrbut in php "foo" is slower than 'foo' imo ;)21:07
paulrso therefore we should use 'foo :)21:08
siebrandpaulr: what's the time difference?21:09
paulrmm?21:09
siebrandwell, parsing "" vs '' with nothing special in it...21:10
paulr0.110466003418  vs 0.0737252235413 for 100,000 calls21:11
paulrin fact, on a rerun it's same21:12
paulror more, sometimes "" comes up as faster21:13
paulrI think however that '' is quicker21:13
paulr(that would stand to reason as "" has to look for php stuff21:13
siebrandwell, it's negligable, I think. Feel free to fix where you think appropriate, though.21:16
paulrso the question is21:17
paulronce I push that branch to trunk21:17
paulrwhat else do we need to cover21:17
paulrfor utf821:17
paulr(btw, did you see my checks for utf8 in db ?)21:17
* siebrand nods.22:05

Generated by irclog2html.py