Wednesday, 2010-01-13

../irclogs/#mantishelp.2010-01-13.log
--- scribe started ---00:00
alemayogood morning07:02
alemayois there any theme support in mantis ?07:02
kirillkaalemayo: mo. Not.07:03
alemayokirillka: but there are some beginnings to do something like that ? because there are now all this $tpl_ ... variables in the view page and so on ..07:05
kirillkaalemayo: try see bug 1040907:07
kirillkamantisbot: ping07:07
kirillkahttp://www.mantisbt.org/bugs/view.php?id=1040907:07
alemayookay thanks07:23
alemayowhat is that mantisbot for ?07:23
mantisbotBug 10409 - enisseo - open - feedback08:02
mantisbotNew graphic design draft - http://www.mantisbt.org/bugs/view.php?id=1040908:02
mantisbotpong08:02
alemayowhen I am on a plugin's page and switch the project, it seems to jump back to "Main". is that a bug or am I integrating my plugin in a wrong way.08:38
alemayobug 1138909:48
alemayomantisbot: bug 1138909:48
mantisbotBug 11389 - am-gtz - open - new10:57
mantisbot[patch] set_project does not jump properly to a plugin page - http://www.mantisbt.org/bugs/view.php?id=1138910:57
mantisbotBug 11389 - am-gtz - open - new10:57
mantisbot[patch] set_project does not jump properly to a plugin page - http://www.mantisbt.org/bugs/view.php?id=1138910:57
morphium_Good morning :) Is it possible with mantisbt 1.2 to summarize the times for projects / categories, or only per issue at the moment?11:23
dhx_mback12:23
dhx_mmorphium_: times? time tracking information?12:23
dhx_mmorphium_: check out the TimeCard plugin at git.mantisforge.net for a more modern take on time tracking (more features, etc)12:24
morphium_yeah but mantisbt is implementing it now, so I tend to using the built in system12:28
dhx_mthe truth is, the built-in system is likely not going to be there in the future12:28
dhx_mnot for a while...12:28
dhx_mbut the general push is to get a lot of these features into official plugins12:29
dhx_mmuch like MantisGraph, etc12:29
morphium_so why did they even announce & start it in 1.2?12:29
alemayois it possible to define different number ranges for different projects (so that the bug ids look continues for the projects)12:30
dhx_mmorphium_: I'm confused by what you mean there... care to elaborate?12:31
dhx_malemayo: no, it wouldn't make sense from the perspective of copying bugs between projects, etc12:32
alemayodhx_m: I know ... but we will provide one central mantis installation for different departments that would not copy / move between each other --- the stuff is just well seperated.12:35
alemayoanother thing .... I for 1.2.0rc1 I made a hack to allow subcategories (gives you two selection boxes for the category). First you select a master category, i.e. "Hardware" and then the second box is updated to "purchase" , "text" and so on12:52
alemayoI think it is not possible to make that as a plugin as the necessary events are not there ..12:53
alemayobut I could also try to make a patch and add a configure variable like g_subcategories ...12:53
dhx_malemayo: maybe you're better off using different Mantis installations side-by-side if you need to have separate IDs for each project?12:55
dhx_malemayo: feel free to add/request more plugin events... we're really adding them on an as-needed basis12:56
dhx_malemayo: just file a new bug with the event you want, where you want it in the code (when it'll trigger) and a reasoning behind why the event is needed/what it can be used for12:56
alemayodhx_m: I was thinking a central mantis installation is easier to manage -- especially because you already have all those config options on per project base ... but maybe you a rights12:59
dhx_malemayo: well, it is :)13:01
alemayois it :) ?13:01
dhx_malemayo: it's just that having multiple bug IDs (dependent on project) is a little confusing when we want to support moving bugs between projects13:02
dhx_malemayo: we'd have to change the bug ID (not a good idea at all) during move operations13:02
alemayodhx_m: you are right .... my boss wanted that feature not me :-)13:02
dhx_malemayo: it's a commonly requested feature and it sounds great until you start looking into it further :)13:02
alemayodhx_m: or we just block the move operation between such prjects :)13:02
morphium_dhx_m: I mean, why did they introduce it in 1.2 if they don't plan to continue to develop the feature directly in mantisbt?13:04
dhx_malemayo: there was a bug report on the official tracker that I'll never find again, essentially discussing the topic of multiple bug ID counters (per project, etc) in more depth13:04
dhx_mmorphium_: are you talking about SOAP support for time tracking?13:04
alemayodhx_m: ah by the way .. the search function also needs polishing :)13:09
alemayomantisbot: find the bug that dhx_m mentioned13:10
dhx_malemayo: yeah, although proper search functionality is generally outside the scope of what is possible with PHP13:10
dhx_m... or most other web programming languages13:10
alemayodhx_m: despite the moving issue, such multiple bug id scopes should be easy to implement, aren't they ?13:23
dhx_malemayo: I guess13:31
dhx_malemayo: you'd need to have project-specific prefixes13:31
dhx_malemayo: 1{bugid} for project A, 2{bugid} for project B, etc13:32
dhx_mor alphabetical prefixes (A00000001, B00000002, etc)13:32
dhx_mspecifying ranges wouldn't work13:32
dhx_mas you can't really predict what happens when you use all IDs in a range13:33
alemayothe ranges must just be big enough :)13:38
alemayowhat is the differences between custom functions  and plugins ?13:40
alemayobasically I have to overwrite almost all of what is happening in print_category_option_list13:41
alemayoI could maybe make some event that is fired on top of print_category_option_list, and when it returns true, we just do not execute the remaining part of print_category_option_list13:42
alemayoor is that maybe better to be done with some custom function ?13:42
alemayobut I guess custom functions are more or less legacy and will be replaced by plugins soon or later ?13:43
mantisbotalemayo: Error: "find" is not a valid command.14:04
dhx_malemayo: custom functions are deprecated... it essentially was a method you could use to replace parts of Mantis (logic/display) with your own code14:18
dhx_mwell at least I think it's deprecated :)14:19
alemayoalright14:21
alemayoI prefer that plugin stuff anyways ...14:21
alemayodo I have to define new events somewhere ?14:21
alemayoor I just put my <?php event_signal( 'EVENT_CATEGORY_SELECTBOX', array( $f_category_id ) ) ?>14:21
alemayo into the code?14:21
daryncore/events_inc.php ... i think14:23
alemayohttp://www.mantisbt.org/bugs/view.php?id=1139114:24
alemayobut I do not feel so good with my event -- it is somehow hacky :(14:25
daryn:)14:25
darynhave you been chatting with nuclear_eclipse at all?  he's the plugin jedi master14:26
alemayono14:26
alemayoI am chatting with dhx_m most of the time :-))14:26
dhx_malso see previous commit history for when we've added events in the past14:26
nuclear_eclipsealemayo: hello young padawan :P14:26
dhx_mto give you a rough idea of what needs to change when adding events14:26
dhx_mdaryn: hi :)14:26
dhx_mnuclear_eclipse: hi :)14:26
daryngreetings14:26
darynhappy new year everyone...it's been awhile14:27
nuclear_eclipsethank you :)14:27
dhx_mhappy new year to you as well14:27
darynthanks14:28
daryni see lots of commits since i've been on...any closer to 1.2 final?14:29
dhx_mI'm not sure what we're waiting for anymore14:29
nuclear_eclipsewe're waiting on paul_____14:29
nuclear_eclipseas usual it seems14:29
dhx_mfor what bug ids?14:29
dhx_m11153: truncated downloads is the only one open on the roadmap14:30
nuclear_eclipsehe doesn't create bugs for them, as usual :P14:30
dhx_mand I can't even reproduce it14:30
alemayoah by the way ....14:30
darynwe need to ban him from gaming and the pub until he finishes!14:30
alemayocurrently I am working against 1.2.0rc2 --- maybe it makes more sense to work on the latest 1.2.0 version, mh ??14:30
* alemayo should really have a look at this GIT stuff14:31
darynyes do look at git14:31
darynmakes it much easier to keep up to date14:31
nuclear_eclipseif anything, use a nightly build14:31
dhx_malemayo: yes use 1.2.x git master for development :)14:31
dhx_mespecially if you plan on adding plugin events14:32
alemayoah14:32
alemayohm14:32
darynnuclear_eclipse did you see my note on  a new bug change status event?14:32
nuclear_eclipseyeah, I just haven't had the chance to actually look into it yet14:32
paul_____eve takes up too much time14:32
dhx_mpaul_____: and here he is!14:33
darynok. cool. i just added it in my dev branch but not comfortable enough with plugins to just push it14:33
paul_____djwjere14:33
paul_____?14:33
paul_____dhx_m: where?14:33
paul_____nuclear_eclipse: I've got a horrible merge conflict ;/14:33
dhx_mpaul_____: oh I meant you had arrived amidst this flurry of activity :)14:33
darynpaul_____ you're banned from gaming...and the pub...until 1.2 final is released14:34
daryn:)14:34
nuclear_eclipsepaul_____: this is why you shouldn't be holding your branches forever and ever....14:34
paul_____nuclear_eclipse: I wasn't :)14:35
paul_____it got created at xmas14:35
paul_____I'm gonna start running codesniffer rules against mantis code base14:36
paul_____so inconsistent code gets pulled out as it gets commited14:36
darynshouldn't that be a precommit hook?14:37
dhx_myeah precommit14:37
nuclear_eclipsepaul_____: just focus on your ldap and columns fixes for now so we can *please* move on with releasing 1.2...14:37
paul_____nuclear_eclipse: I actually read the ldap code14:37
paul_____and have conclude I can ignore the password commits14:37
dhx_mnuclear_eclipse: are they really important enough to wait on? why not leave those fixes for 1.3.x?14:37
paul_____dhx_m: I guess a more important question to answer that would be how short/long will 1.2 exist for14:38
alemayois anybody using eclipse PDT for Mantis development /// is the mantis git plugin good ?14:38
dhx_mpaul_____: IMO keep release cycles short?14:38
paul_____well, some people on core team seem to like OS packages14:39
paul_____where OS wants to have mantisand everything the same for 5 years at a time14:39
dhx_mpaul_____: otherwise we get to the point where all the users are stuck on 1.2.x (with bugs) and we've fixed them all in 1.3.x.... that will be released in 3 years time14:39
paul_____maybe we should change our release numbering14:40
nuclear_eclipsedhx_m: I just don't want new API's to be changed immediately between 1.2 and 1.3....14:40
paul_____"Mantis 2009.1"14:40
dhx_mnuclear_eclipse: I think we're going to have to... our API is begging for dramatic change (towards OO)14:41
dhx_mpaul_____: I like that too14:41
nuclear_eclipsedhx_m: it would be one thing for an api to change, but he wants to change/revert stuff that just got added to 1.2, and at that point, I think it would be better to have the API change happen right away rather than adding api options only to remove them again...14:42
dhx_myep14:43
dhx_munless of course fixing/reverting changes is a lot of cost, and providing an interim temporary "will be gone in 12 months" fix would be better?14:43
paul_____dhx_m: there's 2 issues - 1) ldap api should support >1 server, >1context etc14:46
paul_____2) columns api spams config table atm14:46
paul_____I see 2 as lesser importance14:46
dhx_mcolumns API sucks IMO :p14:46
paul_____nah14:46
paul_____it's fine14:46
dhx_mwell, it's not too bad14:46
paul_____it's just implemented in 3 places14:46
dhx_min comparison14:46
dhx_myep14:47
paul_____we use helper_api to check permissions14:47
paul_____we use columns api to check permissions14:47
paul_____and we use a custom function14:47
paul_____:)14:47
dhx_mhelper_api = ugliest code architecture ever.... and print_api14:47
dhx_mlol14:47
dhx_mreally what we need to do is focus on stripping content from logic14:47
dhx_mPHPTAL :)14:48
daryn:D14:48
paul_____ew14:49
darynphptal rocks, paul_____14:50
dhx_myep TAL is a nice idea for templating ;)14:51
paul_____brb14:51
paul_____need to change ip settings a sec14:51
daryni got the login page converted using tal and that new design... i know, big deal...but it works!14:52
dhx_mcool :)14:53
azneitais there any way of changing mantis time to that of another timezone? instead of UTC15:31
azneitamy server time is set to Asia/Manila time but the mantis time is still set to UTC15:32
nuclear_eclipseazneita: in 1.2, there is a way to specify the preferred timezone, otherwise, it's based on PHP's configured timezone15:32
azneitai'm running 1.1.8. that means i should tinker with php instead, right?15:34
nuclear_eclipseyep15:34
azneitawill do just that, thanks15:34
nuclear_eclipseit should be an option in your php.ini15:34
azneitathat's now taken cared of. now, is it possible to change the timestamps to reflect the changes made on date?15:38
nuclear_eclipseazneita: that would require some sort of script to individually update all the timestamps to the new timezone.. =\15:39
azneitathat's more or less the answer i'm hoping to hear :)15:40
azneitaagain, many thanks!15:40
nuclear_eclipseyou're welcome15:40
superfly6hi17:03
paul_____nuclear_eclipse: there?20:30
paul_____dhx_m: there?21:04
nuclear_eclipsepaul_____: here now21:17
paul_____sec21:18
paul_____can i generate a patch file from 3 changessets in one go?21:24
paul_____http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a45059af-47a8-4c96-afe3-93dab7b5b65822:53
dhx_mpaul_____: hi23:09
paul_____dhx_m: gonna see if I can get that working23:19
paul_____for testing ldap stuff :)23:19
dhx_mpaul_____: are you referring to creating a patch file?23:19
paul_____I was23:20
dhx_mpaul_____: I think you might need to create a branch23:20
dhx_mand then rebase that branch to bring all 3 commits together as one23:20
dhx_mthen format-patch on the new 3-in-1 commit?23:20
dhx_mthen you can delete the branch if not needed anymore23:21
dhx_mif you don't need to get back to 3 separate commits, just rebase the branch you're working off23:21
paul_____nn23:44
dhx_mcya :)23:45

Generated by irclog2html.py