Monday, 2010-07-12

../irclogs/#mantishelp.2010-07-12.log
--- scribe started ---00:00
mantisbt_27964hi all08:44
mantisbt_27964I have a quick question: is there a way to set up a list of approvers in Mantis? Sometimes one solution has to be approved not by only one person08:45
dhx_modd terminology...09:30
mantisbt_27964another question:10:48
dhx_mI didn't answer your first? :)10:49
dhx_moh I get the point of your first question10:49
dhx_mit's not possible at the moment10:49
mantisbt_27964when a new user is created the Email on Status change and the Email on priority change is unchecked by default? How can I change it to be checked10:49
dhx_mbut definitely something we'd be aiming to implement10:49
mantisbt_27964oh ok10:49
mantisbt_27964thanks for answering the 1st :)10:49
dhx_myou can sort of work around it though10:49
dhx_mby setting up two status levels and only allowing certain people to use the first status and another set of approvers to use the second status10:50
mantisbt_27964acually I have no php knowledge and problem is not that urgent, so I think I will live with one approver10:50
mantisbt_27964yeah10:50
mantisbt_27964thats what I thought10:50
mantisbt_27964however its obviously can create lots of phases10:50
dhx_mbut it's not the same as requiring 2 people to approve a change to a bug10:50
dhx_mit's something I was looking at fixing with an overhaul of the access system to use RBAC10:51
mantisbt_27964but its ok, I will work it out somehow. Since our process is still formulating, I will push fwd to have one approver only10:51
dhx_mbut it's just some ideas at the moment... no code written10:51
mantisbt_27964later if this gonna be implemented we can change10:51
dhx_m2nd question...10:51
dhx_m * @todo Unused10:53
dhx_m * @global int $g_default_email_on_status10:53
dhx_m */10:53
dhx_m$g_default_email_on_status = 0;10:53
dhx_m * @todo Unused10:53
dhx_m * @global int $g_default_email_on_priority10:53
dhx_m */10:53
dhx_m$g_default_email_on_priority = 0;10:53
dhx_memail/notifications is also *very* high on the agenda to rewrite10:53
dhx_mit's currently in a very bad shape relative to the rest of MantisBT10:53
mantisbt_27964acually I have a third as well... resolved state is prior to the closed state. I assume - and correct me if I am wrong - by the default process an issue can go to CLOSED when the originator of the issue approved the solution at the RESOLVED state10:54
dhx_mold buggy code :(10:54
mantisbt_27964will it change to the 1.3.0?10:54
dhx_mit's too early to say what will change with 1.3.0... afaik filters will be redone10:54
mantisbt_27964sounds great10:55
dhx_mno other code has been written for 1.3.0 with respect to notifications, RBAC or the other major change proposed: a new fields API10:55
dhx_mit's just a case of developer time (it's a hobby/side project for most developers)10:55
dhx_mafaik we no longer have any developers who are paid to work on MantisBT10:56
mantisbt_27964I am sorry to hear that10:56
dhx_mquality patches are committed fairly quickly though if anyone submits some :)10:57
mantisbt_27964I try to push the company to delegate Mantis as prefered system. I wont forget to mention to donate if the project is successful10:57
dhx_mwith projects like this, money isn't an issue... it's more valuable to have developers who are paid by their companies to work on MantisBT as part of their jobs10:58
mantisbt_27964it wont hurt though :)10:59
dhx_mthe reason being that the best changes/work is done by those who have a reason for making the changes10:59
dhx_mie. their company wants an issue tracker with issue X and to make that happen, they have to write their own code... so they decide to pick an open source issue tracker to improve (rather than write their own from scratch)11:00
dhx_mdonations are good for projects that have a GSoC (Google Summer of Code) program or equivalent setup11:00
dhx_mbut then you have to start worrying about legalities/taxes (internationally too) which is complex/time consuming11:01
mantisbt_27964oh ok11:01
mantisbt_27964I see now11:01
dhx_m(not trying to discourage help, just pointing out the difficulties involved)11:01
mantisbt_27964:)11:03
mantisbt_27964can you check this out:11:03
mantisbt_27964 resolved state is prior to the closed state. I assume - and correct me if I am wrong - by the default process an issue can go to CLOSED when the originator of the issue approved the solution at the RESOLVED state11:03
mantisbt_27964so I think the closed status is the final status of a bug11:06
dhx_mthat has probably changed completely in http://git.mantisbt.org/?p=mantisbt.git;a=commit;h=035a1302792ada9ba36ed1d729542ea629de8cca11:06
mantisbt_27964but the documentation says changelog shows issues in the resolved state11:06
dhx_mthat commit (for 1.3.0) fixes many bugs related to changing of statuses11:06
dhx_m$g_allow_reporter_close toggles the feature you refer to11:07
dhx_mif I understand you correctly11:07
dhx_mbasically it allows the reporter to bypass the usual check to see if they're allowed to change the status from resolved => closed11:08
mantisbt_27964I am fine with that11:08
mantisbt_27964I try to do the following process:11:08
mantisbt_27964assigne - accepted - in work - in review - verification - RESOLVED - CLOSED11:09
mantisbt_27964verification to RESOLVED need a manager approval11:09
mantisbt_27964and when its done the customer evaluates the solution and moves the issue to the closed staet11:09
mantisbt_27964state11:10
mantisbt_27964but if changelog shows the resolved issues only then when its closed it wont show up there11:10
mantisbt_27964I think I have a hard time to understand the diff between roadmap (which I found GREAT) and changelog11:10
dhx_mroadmap = lists bugs targeted towards versions that have yet to be released (with the 'released' flag on versions)11:11
mantisbt_27964yes11:11
dhx_mchangelog = lists bugs targeted towards versions that have already been released (but not flagged as 'obsolete')11:11
mantisbt_27964hmmm11:11
dhx_mregarding manager approval of status changes, use $g_set_status_threshold11:12
mantisbt_27964and is that true that an issue only shows up there if its status is resolved?11:12
mantisbt_27964yeah I have no problems with the manager approval thing11:12
mantisbt_27964and the reporter can close the issue11:12
dhx_mthe changelog only shows resolved issue11:12
dhx_m*issues11:12
mantisbt_27964I am just wondering about the changelog thing11:12
dhx_mthe roadmap shows everything11:12
dhx_m(in terms of status)11:12
mantisbt_27964is there a way to remove the changelog tab (I wont use it in the close future and will turn on later)11:13
dhx_mif you've setup a custom workflow I *strongly* recommend you go through config_defaults_inc.php and check all the access levels to see if you need to change them11:13
dhx_myou'd have to modify the code to do that (quite easy to do though)11:13
dhx_msee core/html_api.php in the print_menu() function11:14
dhx_msearch for:11:14
dhx_m# Changelog Page11:14
dhx_mif( access_has_project_level( config_get( 'view_changelog_threshold' ) ) ) {11:14
dhx_m$t_menu_options[] = '<a href="' . helper_mantis_url( 'changelog_page.php">' ) . lang_get( 'changelog_link' ) . '</a>';11:14
dhx_m}11:14
dhx_mand delete that11:14
dhx_moops11:14
mantisbt_27964I think I have configured my process fine by using the forms in the mantis, so no problems with that!11:14
dhx_mjust set $g_view_changelog_threshold to 99911:14
dhx_mmore precisely, set it to NOBODY (a constant)11:15
mantisbt_27964sweeet!11:15
mantisbt_27964problem solved :)11:15
dhx_m:)11:15
mantisbt_27964even better to set to administrator11:16
mantisbt_27964I am an admin11:16
mantisbt_27964so I can use it to experiment with its behaviour11:16
dhx_myep11:16
mantisbt_27964but not let the users confused by that until I can not explain them very well what it is11:16
mantisbt_27964are you familiar with the summary graphs?11:19
dhx_mkind of11:19
dhx_mthose graphs are old code11:19
mantisbt_27964http://www.mantisbt.org/bugs/view.php?id=1215911:19
dhx_ma little bit buggy with respect to fonts11:19
mantisbt_27964I have filed this issue today11:19
mantisbt_27964do you have any idea about it?11:20
dhx_mtry using JpGraph instead of ezC?11:20
dhx_mit looks to me like a case of missing fonts or something of that nature11:20
dhx_mfyi JpGraph is a commercial alternative so it might not be satisfactory for you on licensing grounds11:21
mantisbt_27964I thought I use jpgraph11:22
mantisbt_27964but not sure11:22
mantisbt_27964I just installed the graph 1.0.0 plugin11:22
dhx_mMantisGraph? the one that is bundled with MantisBT?11:23
mantisbt_27964yes11:24
dhx_mok11:24
dhx_mthere is a configuration page for MantisGraph that has a bunch of options you can try toggling11:24
dhx_mtry different fonts, etc11:24
mantisbt_27964oh11:24
mantisbt_27964where is that?11:24
mantisbt_27964I can not see a new tab or so11:25
dhx_mManage Plugins page, click on MantisGraph11:25
mantisbt_27964got it11:25
mantisbt_27964just click on name11:25
dhx_myep11:25
mantisbt_27964no it says "bundled". Can I use "jpgraph" for free in a company enviroment?11:25
mantisbt_27964"now it says..."11:26
mantisbt_27964it seems I not even have the jpgraph thingy because it gives me an error message (no such file or directory)11:26
dhx_m"JpGraph is released under a dual license. QPL 1.0 (Qt Free Licensee) For non-commercial, open-source or educational use and JpGraph Professional License for commercial use. The professional version also includes additional features and support."11:27
dhx_mperhaps not11:27
dhx_mwe can't bundle it with MantisBT like we do ezC11:27
mantisbt_27964so I guess ezC is the "bundled"11:28
dhx_myep11:28
mantisbt_27964I dont think it ttf related. I have tried all the options and I got the same result all the time :(11:30
dhx_myeah it needs some work (the graphs)11:35
mantisbt_27964I have another question12:05
mantisbt_27964lets say I'd like to implement 2 different processes in Mantis, one for SW and one for HW12:05
mantisbt_27964these for sure have different phase12:05
mantisbt_27964can I do that?12:05
mantisbt_27964AND which script is responsible for sending out the mails? I'd like to change the subject of a mail. I know there is no built in funtcion for that, but I guess I can do it manually12:11
mantisbt_27964I think I have it: email_api.php, email_build_subject12:16
mantisbt_27964previous question still valid12:16
mantisbt_27964dhx_m: whats wrong with this script: $p_handler = project_get_field( bug_get_field( $p_bug_id, 'handler' ), 'name' );12:34
dhx_mmantisbt_27964: sure, you just need 2 projects (where each project can have completely different settings)12:40
dhx_mproject_get_field ( handler_id, 'name' ) seems the wrong way around?12:41
dhx_mcheck project_api.php for documentation of the function12:41
mantisbt_27964I will do some workaround in the emailing thingy12:42
mantisbt_27964but yes, there is a chance that we need to setup different phases12:42
mantisbt_27964is it possible in Mantis?12:43
dhx_myou can have a different workflow for each project12:48
mantisbt_27964now I see12:49
mantisbt_27964sweet12:49
dhx_myou store the arrays in the database12:50
mantisbt_27964I though this setup is applicable for ALL the projects and can not be configured individually12:50
dhx_mnote that the UI for adding complex configuration (arrays) is a bit ugly12:50
mantisbt_27964but now I see I can define a whole bunch of different phases and then apply them for certain projects!12:50
dhx_mthe array has to be defined on a single line using integers (not constants)12:50
dhx_myep12:50
dhx_meverything is per-project12:50
dhx_mincluding strings12:50
mantisbt_27964great12:50
mantisbt_27964I have started testing Mantis 2 weeks ago and I am very impressed!12:51
dhx_m:)12:56
mantisbt_27964p_handler = project_get_field( bug_get_field( $p_bug_id, 'handler_id' ), 'name' ); gives back the project name12:59
mantisbt_27964I need the handler name12:59
mantisbt_27964but p_handler = bug_get_field( $p_bug_id, 'handler_id' )12:59
mantisbt_27964gives back a number I guess12:59
dhx_myes12:59
mantisbt_27964instead of the username of the handler. So I need to turn the number to a username13:00
dhx_mthere should be an example of how to get the handler name in bug_view_inc.php13:00
mantisbt_27964I think building a custom email subject wont be a very different task. Its a shame that I dont know php good enough13:06
mantisbt_27964maybe later on when I get the experience I can come out with a script13:06
mantisbt_27964fingers cross13:24
mantisbt_27964I will demo the Mantis to managers now13:24
nuclear_eclipsedhx_m: hi13:28
lhavelundErm, isn't it possible to change the category of an issue after it has been posted?21:19
moto-moiOfcourse it is possible to change that :)21:20
lhavelundI don't see where :\21:20
moto-moijust click the 'edit'-button? :)21:20
lhavelundAhh, right. <_<;21:21
lhavelundI couldn't find it on the view page21:21
moto-moinp :)21:22
docgnomei have some reporters who are suddenly unable to see the report issue link on 1.2.121:23

Generated by irclog2html.py