| ../irclogs/#mantishelp.2009-04-30.log | ||
| --- scribe started --- | 00:00 | |
| harpreet_singh | hi | 00:04 |
|---|---|---|
| cudell | hi all. | 02:19 |
| cudell | i'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_eclipse | when it' sready | 02:22 |
| nuclear_eclipse | ;) | 02:22 |
| cudell | of 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_eclipse | cudell: have you tried running from latest git and/or nightly builds? | 02:23 |
| cudell | i especially like the customization possible on the 'view issues'' screen | 02:23 |
| cudell | i haven't. would you say they are more or less stable than the 1.2.0a3 build on the public site? | 02:24 |
| nuclear_eclipse | they are probably both more stable and more featureful :) | 02:26 |
| nuclear_eclipse | the official tracker is actually running rode from about 5 days ago, if that helps | 02:26 |
| cudell | that'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 |
| cudell | i'll get my server admin to install the nightly build tomorrow, hopefully. | 02:27 |
| cudell | thanks for your time and courtesy. | 02:27 |
| nuclear_eclipse | well, 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 there | 02:27 |
| nuclear_eclipse | you're welcome :) | 02:28 |
| cudell | i'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_eclipse | are you using the source-integration plugins for that? | 02:29 |
| cudell | haven't even really looked into it yet... was just getting started with some google searches | 02:29 |
| nuclear_eclipse | http://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/ | 02:31 |
| nuclear_eclipse | that's the system we use on mantisbt.org for tracking our repository | 02:32 |
| nuclear_eclipse | and if you have any questions about it or feature requests, let me know :) | 02:32 |
| cudell | thx! | 02:33 |
| cudell | oh, wow... so 1.2 is needed for the SVN integration with the method you showed. ok. thx! | 02:35 |
| nuclear_eclipse | you also need to use a nightly build of mantisbt because of the new events that it uses | 02:36 |
| nuclear_eclipse | anywho, I gotta go eat; if you ever have a questio, just ping me here and I'll respond whenever I can | 02:36 |
| nuclear_eclipse | cheers | 02:37 |
| cudell | thx! have a nice eve. | 02:37 |
| dhx_m | one thing I noticed recently is that custom_constants.php does not overrule /core/constant_inc.php | 02:58 |
| dhx_m | ie. if you define something in both places, the constant from /core/constant_inc.php is used in preference | 02:59 |
| blacknred0 | hi guys, | 03:12 |
| blacknred0 | just 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_m | hi :) | 03:23 |
| dhx_m | check out mantisforge.org if you'd like to contribute code | 03:23 |
| blacknred0 | dhx_m, thnx. i am more like a guys who helps in bugs and translating and helping the community to answer questions | 03:25 |
| dhx_m | :) | 03:25 |
| dhx_m | there is a translatewiki somewhere | 03:25 |
| dhx_m | and there is are some forums where people ask questions :) | 03:25 |
| blacknred0 | dhx_m, thnx. i will be subscribing myself later into all of those | 03:27 |
| twolfy | hi | 08:01 |
| twolfy | yes I know, I've vactations - but I can't do nothing | 08:02 |
| twolfy | :) | 08:02 |
| giallu | twolfy, looking for something to do? we have plenty... | 08:40 |
| twolfy | I'm allready on it :) | 08:41 |
| twolfy | working on smarty integration :) | 08:41 |
| giallu | is it smarty alive, still? | 08:42 |
| twolfy | giallu, do you know since when the plugin system is implemented in mantis? | 08:42 |
| giallu | 1.2 | 08:42 |
| giallu | but a guy made one for the 1.0/1.1 serie | 08:43 |
| giallu | of course those are incompatible... | 08:43 |
| twolfy | I started a week ago or so | 08:43 |
| twolfy | hmm, I've an idea to make this system VERY flexible :) | 08:44 |
| giallu | which system? | 08:44 |
| twolfy | this comes because of smarty - the plugin-system | 08:44 |
| twolfy | I got the idea a few minutes ago :) | 08:44 |
| twolfy | it should be implemented in a couple of days | 08:45 |
| * giallu was never fond of the "let's bring in smarty" idea | 08:45 | |
| giallu | probably just becasue of ignorance... | 08:46 |
| twolfy | right - I'm not a mantis-core-dev - so I started a branch | 08:46 |
| twolfy | so it isn't sure to get smarty integrated | 08:46 |
| twolfy | but I'll provide an example of how it could work | 08:47 |
| dhx_m | is this yours: http://git.mantisforge.org/w/mantisbt/milliams.git?a=shortlog;h=refs/heads/smarty | 08:47 |
| dhx_m | ? | 08:47 |
| twolfy | no | 08:47 |
| twolfy | I'm on github | 08:47 |
| twolfy | http://github.com/twolfy/mbtoo/tree/master | 08:47 |
| dhx_m | ah, was just wondering because that branch sounds similar to what you're doing | 08:47 |
| twolfy | yes, right | 08:47 |
| giallu | dhx_m, milliams talked to us about smarty | 08:47 |
| twolfy | yes | 08:47 |
| dhx_m | what did he say? :) | 08:47 |
| twolfy | but he decided to not use smarty | 08:48 |
| dhx_m | I assume it was negative because he stopped? | 08:48 |
| twolfy | in the end :) | 08:48 |
| giallu | but was quickly convinced to pick a lighter-weight approach based on php | 08:48 |
| dhx_m | ie. no templates? | 08:48 |
| giallu | AFAIK, yes, templates, but based on a small class he wrote | 08:49 |
| giallu | you know, php was born to provide "templating" to plaing html | 08:49 |
| twolfy | I allready wrote a class which extends smarty to fit the mantis-needs | 08:49 |
| twolfy | and started to convert html_api.php | 08:50 |
| twolfy | now 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 |
| twolfy | so a plugin can register itself to a specific input/output (one or more) and get called when the input/output apears | 08:52 |
| dhx_m | hmmm | 08:52 |
| dhx_m | wouldn't it normally work in this way: | 08:52 |
| dhx_m | ah I think I get what you mean | 08:53 |
| dhx_m | nm | 08:53 |
| dhx_m | effectively there is a plugin hook on the start and end of each use of a template? | 08:53 |
| twolfy | example: 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 |
| twolfy | so if the $g_output was called to assign 'mantis_bug_id' it calls myFunction with the content of mantis_bug_id | 08:55 |
| twolfy | this is template/output-independed | 08:56 |
| twolfy | so it also works on email/RSS/HTML/...-output | 08:57 |
| twolfy | and you won't have to modify your plugin or module | 08:57 |
| twolfy | (page) | 08:57 |
| twolfy | also the module (page) doesn't matter about modifications and the plugin doesn't matter from where the content comes | 08:58 |
| twolfy | and doesn't matter where the content goes :) | 08:58 |
| twolfy | this way it is also very easy to disable plugins for a specific URL | 09:00 |
| twolfy | like http://mantis/page.php?disablePlugin=myPlugin | 09:00 |
| twolfy | if this would required/requested | 09:00 |
| twolfy | I think this would be very easy... | 09:01 |
| twolfy | brb | 09:01 |
| twolfy | re | 09:05 |
| twolfy | also it would be possible to disable/enable installed plugins per user | 09:06 |
| twolfy | and it is very cheap to get it | 09:06 |
| harpreet_singh | hi all | 09:15 |
| twolfy | so here we go with an API-example: http://preview.tinyurl.com/d8qf54 | 09:37 |
| twolfy | it's untested and not ready now... | 09:38 |
| twolfy | just a preview of how it could work | 09:38 |
| harpreet_singh | hi | 09:38 |
| twolfy | hi harpreet_singh | 09:38 |
| harpreet_singh | I am trying to install mantis on redhat 5 | 09:38 |
| harpreet_singh | when I tried to click on http://mantis.ctl.creaf.com/mantis/admin/install.php | 09:39 |
| harpreet_singh | I am getting a blank page only | 09:39 |
| twolfy | the you have a php-error check your apache-log-files | 09:39 |
| harpreet_singh | sorrry to say.. where I can find them | 09:40 |
| mantisbot | New bug: Bug 10436 - aysha - open - new | 09:41 |
| mantisbot | New bug: on install.php i am getting error - http://www.mantisbt.org/bugs/view.php?id=10436 | 09:41 |
| twolfy | you need to look at /var/log/apache2/ | 09:42 |
| twolfy | or apache/ if you're using apache 1.3.x | 09:42 |
| giallu | on RHEL is /var/log/httpd | 09:44 |
| harpreet_singh | it is empty | 09:44 |
| giallu | where did you install it (the full path)? | 09:45 |
| harpreet_singh | a | 09:46 |
| harpreet_singh | a | 09:47 |
| harpreet_singh | '/usr/local/apache2 | 09:47 |
| harpreet_singh | and php in /usr/local/php | 09:47 |
| giallu | ??? aren't you using the RHEL apacha and php? | 09:47 |
| harpreet_singh | no i have downloaded and installed | 09:48 |
| harpreet_singh | till the page http://mantis.ctl.creaf.com/mantis/admin/ I am able to see the index of /mantis/admin | 09:48 |
| giallu | well. 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 anything | 09:50 |
| harpreet_singh | oh... | 09:51 |
| harpreet_singh | can we try to use the default one. | 09:52 |
| giallu | I guess so. for the records. I pushed the dev team to keep mantis compatible with php 5.1.6 | 09:53 |
| giallu | that's what RHEL/Centos 5 provide | 09:53 |
| harpreet_singh | It is Red Hat Enterprise Linux Server release 5.1 (Tikanga) | 09:53 |
| giallu | yeah | 09:54 |
| harpreet_singh | and httpd-2.2.11 | 09:54 |
| giallu | good | 09:54 |
| harpreet_singh | and php-5.2.9 | 09:54 |
| giallu | uhm | 09:54 |
| giallu | whree 5.2.9 comes from? | 09:54 |
| harpreet_singh | the same I have tested in Redhat 4 and it is working | 09:54 |
| giallu | "rpm -q php" | 09:54 |
| giallu | remi collect maybe? | 09:54 |
| harpreet_singh | I have downloaded and installed it | 09:55 |
| giallu | harpreet_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 discove | 10:10 |
| giallu | red and fixed? | 10:10 |
| harpreet_singh | hi | 10:23 |
| harpreet_singh | this server is not in the support and no further updates will be appled on this server. | 10:24 |
| harpreet_singh | this server is a departmental server. So only within the department (devlopment team) has access to this server. | 10:25 |
| harpreet_singh | by the way I am trying to export the data from mantis v.017 to ver 1.1.7 | 10:29 |
| giallu | did you convert the DB to version 1.0 first? | 10:31 |
| twolfy | hmm, is there a mailinglist for commit-messages - so if something happend in master I got a mail? | 10:41 |
| twolfy | I'm allready subcribed to dev-ml | 10:42 |
| giallu | twolfy, yes there is | 10:43 |
| giallu | it's still called mantisbt-cvs | 10:43 |
| twolfy | ah thx | 10:43 |
| giallu | but gets the git commits | 10:43 |
| twolfy | okay, that's exactly what I'm looking for :) | 10:44 |
| harpreet_singh | no I did not. | 10:48 |
| nuclear_eclipse | twolfy: git commits are announced on channel as well courtesy of CIA.vc | 12:07 |
| twolfy | ah okay, but if I'm not here I won't be notified this way - so ml may be better for me | 12:08 |
| dhx_m | I've been trying to ignore harpreet_singh for days now... no offence :) | 12:10 |
| dhx_m | I tried helping him and he'd ignore everything I said, ignore my pointing him to the manual, etc | 12:10 |
| nuclear_eclipse | dhx_m: twolfy seemed to have a fruitful conversation with him the other day, if you consider 60+ minutes to install Mantsi fruitful :P | 12:29 |
| nuclear_eclipse | he was at least listening to twolfy.... | 12:29 |
| dhx_m | haha | 12:30 |
| twolfy | it goes ~2:30h :) | 12:30 |
| dhx_m | I remember at one stage I said "Read the manual at ......" four times in a row | 12:30 |
| twolfy | :) | 12:31 |
| dhx_m | and each time it was as if my comments got blocked by his firewall that blocks nasty words liek RTFM | 12:31 |
| twolfy | may be he sets some irc-filters :) | 12:31 |
| dhx_m | :) | 12:36 |
| slestak | hey 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 use | 12:47 |
| nuclear_eclipse | slestak: yell at paulr if things aren't working | 12:49 |
| slestak | nuclear_eclipse: thanks. i am trying to get up to speed on git and mantis | 12:53 |
| nuclear_eclipse | slestak: most of mantisforge is there for the purpose of unofficial development stuff :P | 12:56 |
| twolfy | okay, I'm off for the rest of the day... commited new changes to github | 13:13 |
| twolfy | so bye bye | 13:14 |
| twolfy | :) | 13:14 |
| sdjfkl | nuclear_eclipse: did you have a look at whatever i asked you to look at? | 14:52 |
| slestak | paulr: sometime today can we look at that sso patch? | 15:01 |
| sdjfkl | slestak: http://mantis.pastebin.com/m553982a9 | 15:14 |
| sdjfkl | ^ I think that's what I use here to do something similar | 15:14 |
| slestak | sdjfkl: thx, i will look at that. did you apply this against 1.1.[6|7]? | 15:17 |
| slestak | kerberos 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 |
| slestak | sdjfkl: looks like your andling that between lines 7-17 of your paste. I will try that, thx. | 15:30 |
| qball | is it possible to get an url that points to the roadman but also to a fixed project? | 15:42 |
| qball | *roadmap | 15:42 |
| mantisbot | New bug: Bug 10437 - damien_b - open - new | 15:53 |
| mantisbot | New bug: APPLICATION WARNING #403: Database field "description" not found. - http://www.mantisbt.org/bugs/view.php?id=10437 | 15:53 |
| paulr | mo | 17:24 |
| paulr | giallu: we should really test with E_ALL | 17:24 |
| paulr | siebrand: lo? | 17:32 |
| giallu | paulr, E_ALL for tests, main mantis code or both? | 17:58 |
| paulr | tests | 18:00 |
| * paulr also growls at giallu for breaking tests | 18:00 | |
| giallu | how do you use them? | 18:01 |
| giallu | or try to... | 18:01 |
| paulr | via cruisecontrol ;) | 18:02 |
| paulr | gonna try and fix ;p | 18:02 |
| giallu | ??? | 18:02 |
| * nuclear_eclipse growls at paulr for never finishing dates work | 18:02 | |
| paulr | nuclear_eclipse: I'm waiting for daryn :P | 18:02 |
| paulr | i think daryn said he thought he ended up with 1's in db | 18:02 |
| paulr | instead of correct data | 18:02 |
| paulr | giallu: you saw the start of my automated build stuff right? | 18:03 |
| paulr | giallu: aka http://www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics | 18:03 |
| giallu | paulr, sorry if I broke it | 18:04 |
| paulr | you might have broken it in a good way | 18:04 |
| slestak | www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics | 18:04 |
| * paulr checking :) | 18:04 | |
| slestak | sorry, errant paste | 18:05 |
| giallu | paulr, anyway, I'm doing some more work there | 18:05 |
| paulr | dont do *too* much or at least | 18:05 |
| paulr | write new tests | 18:05 |
| paulr | but not too much in terms of running em | 18:05 |
| giallu | I'm moving the non phunit ones | 18:05 |
| paulr | cool | 18:05 |
| paulr | that's fine | 18:06 |
| paulr | I just know I need to come up with an automated way to do the tests | 18:06 |
| paulr | (e.g. soap tests need a db) | 18:06 |
| giallu | soap tests are tricky | 18:06 |
| giallu | they also have an hardcoded mantis address | 18:06 |
| paulr | well yes/no | 18:06 |
| paulr | in theory | 18:06 |
| paulr | tests.config | 18:06 |
| paulr | with settings for various db's | 18:07 |
| paulr | e.g. | 18:07 |
| paulr | [db1] | 18:07 |
| paulr | type=pgsql | 18:07 |
| paulr | user=foo | 18:07 |
| paulr | pass=bar | 18:07 |
| paulr | [db2] | 18:07 |
| giallu | sure. but very good testes should be self contained | 18:07 |
| paulr | type=mysql | 18:07 |
| paulr | user=foo | 18:07 |
| paulr | pass=bar | 18:07 |
| paulr | or something | 18:07 |
| paulr | we could have a test | 18:07 |
| paulr | that runs all db queries | 18:08 |
| paulr | just to detect syntax erros on one db platform | 18:08 |
| paulr | brb going outt o dinner ofr abit | 18:08 |
| giallu | anyway, I don't know what you are running there, but you should be able to just perform a subset of the tests | 18:09 |
| giallu | later.... | 18:09 |
| paulr | giallu: i'll run all hopefully | 18:09 |
| * paulr wants to do automated stuff | 18:10 | |
| slestak | in this line, the check for AUTH_TYPE is commented out right? if ( isset($_SERVER['REMOTE_USER'])) { # $_SERVER['AUTH_TYPE'] == 'Negotiate' ) | 18:21 |
| slestak | anyone feel like debugging? | 19:34 |
| giallu | slestak, I think so | 19:57 |
| * giallu hates if statements on a single line... | 19:58 | |
| slestak | i am workign with the IWA sso patch from the mantisbt wiki | 20:02 |
| slestak | i have been placing echo statements ecerywhere to get the lay of the land. | 20:02 |
| slestak | my apache is authing, i have a kerb ticket. but i cannot get mantis to skip past the login screen | 20:03 |
| slestak | even with http auth, should I still get a mantis login screen? | 20:04 |
| slestak | I have also looked at pauls NTLM_AUTH mod from http://mantis.pastebin.com/m553982a9 for inspiration as well | 20:06 |
| slestak | here is what I have in my login.php http://pastebin.com/f55ea4f86 | 20:10 |
| slestak | i updated it with my touches to core/authentication_api.php as well | 20:12 |
| slestak | giallu: I am using 1.1.6 on ubuntu with apache2 and mod_auth_kerb | 20:13 |
| slestak | my echo statements are showing AUTH_TYPE = Negotiate and REMOTE_USER = myprincipalnamefromkerb and AUTH_USER is empty | 20:15 |
| giallu | slestak, I know too little about kerberos to be of much help there | 20:15 |
| slestak | i 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 |
| slestak | is it reasonable to expect that HTTP_AUTH shouldnt prompt me with a mantis login screen? | 20:16 |
| slestak | i am kinda new to webapps, so if that is not a correct assumption... | 20:16 |
| slestak | paulr: does your ntlm auth prompt for login with apache or from mantis (or neither?) | 20:18 |
| slestak | i may restore my modded files and try just straight mantis ldap and forego sso | 20:25 |
| paulr | slestak: I use IIS | 20:39 |
| slestak | paulr: 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 condition | 20:42 |
| slestak | looking at http://mantis.pastebin.com/m553982a9 in case you dont have ut near | 20:43 |
| paulr | tbh, that might be be 'what I use in 1.1.6' -> it's dated 2008 | 20:46 |
| paulr | the point was more to give you a bit of an idea of something that works :) | 20:46 |
| paulr | i.e. where to hook | 20:46 |
| slestak | appreaciate it guys. i have backups and time. your project looks really cool, cannot wait to get it ready for my team | 20:47 |
| paulr | are you looking at using mantis in a company or opensource type project? | 20:47 |
| slestak | in a company | 20:47 |
| paulr | I could probably help you get 1.1.6 working | 20:48 |
| paulr | however, slightly less interested in that then 1.2 | 20:48 |
| slestak | let me try regular AD auth (sans sso). sso would be nice, but not fully necessary. | 20:50 |
| paulr | siebrand: lurking yet? | 20:57 |
| siebrand | paulr: always and never | 21:00 |
| paulr | siebrand: lang_get('charset') | 21:00 |
| paulr | == can remove? | 21:00 |
| siebrand | paulr: 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 |
| paulr | cool | 21:01 |
| paulr | so you agree with the chnages in http://git.mantisforge.org/w/mantisbt/paul.git / | 21:01 |
| siebrand | checking | 21:02 |
| siebrand | there's nothing recent. | 21:02 |
| paulr | 24 hours ago | 21:02 |
| siebrand | 46 hours ago Paul Richards Add checks to check.php to check that database is set... | 21:03 |
| paulr | http://git.mantisforge.org/w/mantisbt/paul.git?a=shortlog;h=refs/heads/master2 | 21:03 |
| siebrand | ah, there's 2 more :) | 21:03 |
| siebrand | paulr: hmm: http://git.mantisforge.org/w/mantisbt/paul.git?a=commitdiff;h=fd1d1e651ae18f8553a345587a4eaeccc20dd7e7 | 21:04 |
| siebrand | paulr: why? | 21:04 |
| paulr | " -> ' | 21:04 |
| siebrand | paulr: out export routine works like it was. If single quotes are in the message, we double quote them to avoid escaping. | 21:04 |
| siebrand | our export routine, even. | 21:04 |
| siebrand | looks prettier, and afik there's no drawback. | 21:04 |
| paulr | 'foo' is quicker to parse then "foo" | 21:04 |
| siebrand | ok, well, does not really matter. Anyway, that's why you may see differences in quoting in the translatewiki.net exports, if any. | 21:05 |
| siebrand | paulr: last 2 commit are fine too, then. | 21:06 |
| paulr | i'm trying to make test_langs.php work sensibly for testing language files | 21:07 |
| paulr | hopefully without messing up your stuff :) | 21:07 |
| paulr | but in php "foo" is slower than 'foo' imo ;) | 21:07 |
| paulr | so therefore we should use 'foo :) | 21:08 |
| siebrand | paulr: what's the time difference? | 21:09 |
| paulr | mm? | 21:09 |
| siebrand | well, parsing "" vs '' with nothing special in it... | 21:10 |
| paulr | 0.110466003418 vs 0.0737252235413 for 100,000 calls | 21:11 |
| paulr | in fact, on a rerun it's same | 21:12 |
| paulr | or more, sometimes "" comes up as faster | 21:13 |
| paulr | I think however that '' is quicker | 21:13 |
| paulr | (that would stand to reason as "" has to look for php stuff | 21:13 |
| siebrand | well, it's negligable, I think. Feel free to fix where you think appropriate, though. | 21:16 |
| paulr | so the question is | 21:17 |
| paulr | once I push that branch to trunk | 21:17 |
| paulr | what else do we need to cover | 21:17 |
| paulr | for utf8 | 21:17 |
| paulr | (btw, did you see my checks for utf8 in db ?) | 21:17 |
| * siebrand nods. | 22:05 | |
Generated by irclog2html.py