Wednesday, 2009-04-29

../irclogs/#mantishelp.2009-04-29.log
--- scribe started ---00:00
[KK]Kirillpaulr: hi08:47
[KK]Kirilldid you see my notes?08:47
[KK]Kirillhttp://www.mantisbt.org/bugs/view.php?id=10409#c2171608:47
dhx_mthat looks quite nice :)09:24
dhx_malthough I don't like the first row of the table where the caption is above the value09:25
dhx_mI've always found it hard to find fields within that first row09:25
jayoneI'm looking for a plugin of some kind that produce more elaborate changelogs.10:31
jayoneIn particular, I'd like the resolve notes to be included.10:31
jayoneMy own skill set points me to either write lots of sql and write a cron job that mails me changelogs or write a separate app that somehow maps onto the mantis database and produce the list I need.10:33
jayoneHaving this inside mantis would obviously help keep my system complexity as low as possible.10:33
giallujayone, a plugin sounds adequate...10:37
jayonegiallu; yes, it does make the most sense. Do you know if there is anything like that in the wild?11:06
giallujayone, I think not. for a start I suggest you have a look at git.mantisforge.org11:07
harpreet_singhhi12:06
mantisbotNew bug: Bug 10434 - Chi-Yu - open - new14:45
mantisbotNew bug: allow localized decimal seperator - http://www.mantisbt.org/bugs/view.php?id=1043414:45
Vidiq213giallu are you listening?14:57
giallusomtimes14:58
Vidiq213lol14:58
Vidiq213good that's the way I do it too14:58
Vidiq213this is Bill we talked last Friday about the import plugin14:58
Vidiq213I have a question regarding the format of the exported data14:58
gialluok14:59
Vidiq213what format are you using for the dates and is there a conversion function coded>14:59
* giallu notes I wrote that stuff for a "soonish" 1.2 release... last year14:59
Vidiq213it's ok15:00
nuclear_eclipsesilly giallu, thinking there would ever be a "soonish" release... :P15:00
Vidiq213haha good one nuc!15:00
* giallu consider codenaming 1.2 "soonish"15:00
Vidiq213let's make it 2.0 and really muck things up15:00
gialluVidiq213, dates are a soar spot right now15:01
Vidiq213I understand15:01
nuclear_eclipsethat reminds me15:01
gialluIIRC I just stuck there the timestamp15:01
* nuclear_eclipse kicks paulr to finish date changes15:01
Vidiq213in order to import my data I will need to convert them. Are they in Gregorian format now?15:01
nuclear_eclipseVidiq213: IIRC, they are YYYY-MM-DD HH:MM:SS15:02
Vidiq213oh sorry didn't see that ok great thats' an easy convert15:02
Vidiq213one more if I may15:03
Vidiq213all the fields except the date field and the id and description fields have an id=XX are these standards?15:03
Vidiq213are they defined in constants?15:03
Vidiq213I really need to know this if I am going to write an outline of the documentation15:05
Vidiq213I gotta run but I'll leave this window open be back in 10 minutes or so15:05
Vidiq213ok back15:11
Vidiq213giallu any answer for that?15:12
gialluyeah those a re the enum values we use15:12
Vidiq213ok, are they defined somewhere?15:19
nuclear_eclipsecheck config_defaults_inc.php and core/constants_inc.php15:20
Vidiq213ok great15:20
Vidiq213thanks nuc and giallu15:20
nuclear_eclipseyou're welcome15:21
giallunp. sorry for the lag15:21
Vidiq213it's ok15:22
Vidiq213giallu you are in italy?15:22
gialluyes15:22
Vidiq213my bloodline is italian, grandfather from Modena15:23
Vidiq213ok I gotta go back to work, I may have a draft of the docs by this weekend where should I put them?15:23
nuclear_eclipseVidiq213: either submit an issue to the tracker with the docs attached, or send them to the developers mailing list15:24
Vidiq213ok great15:24
Vidiq213thanks again you guys15:24
nuclear_eclipsenp15:24
Vidiq213arriverdici!15:25
gialluthanks!15:26
paulrnuclear_eclipse: moo?17:50
paulrnuclear_eclipse: moo?17:51
kec161Does anyone else have problems with custom dates when cloning issues?17:51
paulrcustom dates?17:53
kec161A custom field that has the type date?17:54
nuclear_eclipsehi paulr17:54
kec161I've found that if an issue doesn't have a date custom field I can clone it but if it does I get a "Invalid value for field:" error.17:55
kec161Using mantis 1.1.717:55
thraxispkec161: Check the bug tracker. I think that there is an open bug on this.17:59
kec161I looked and the closest I found was 10430.18:01
paulrnuclear_eclipse: can you help me with git?18:05
paulr$ git push git+ssh://paul@git.mantisforge.org/srv/git/mantisbt/paul.git master:master18:08
paulrTo git+ssh://paul@git.mantisforge.org/srv/git/mantisbt/paul.git ! [rejected]        master -> master (non-fast forward)18:08
paulrerror: failed to push some refs to 'git+ssh://paul@git.mantisforge.org/srv/git/mantisbt/paul.git'18:08
thraxispkec161:  probably bug #1018418:13
mantisbotBug 10184 - Chi-Yu - open - feedback18:13
mantisbotAPPLICATION ERROR #1303 when optional custom date field is left blank - http://www.mantisbt.org/bugs/view.php?id=1018418:13
nuclear_eclipsepaulr: I assume you've changed your branch history via rebase?18:21
paulrerm18:26
paulrdunno?18:26
paulrmaybe?18:26
paulrcan we delete $s_charset now?18:28
paulrthat we are utf8 only lang files?18:29
nuclear_eclipseeither a) compare your local master branch to origin/master and resolve the history mismatch, b) reset your local master branch to the remote branch, c) push to a different remote branch, or d) blow away your remote master branch via `git push -f`18:29
nuclear_eclipseI strongly recommend against d)18:29
paulrwhy?18:30
paulrd is what i'd pick18:30
paulr:)18:30
nuclear_eclipsebecause `push -f` is a bad habit18:30
nuclear_eclipseif your master branch isn't lining up properly, you have issues that you need to correct18:30
paulrwell, my local master is the up-t-date branch18:30
paulrthe remote master was just a name of a branch18:31
nuclear_eclipsewell, you know how to fix it now; just don't ever do `push -f` on the official repo, lest we repeat the insanity from the rpxnow business18:32
paulrheh18:32
paulri'll push to master2 for nwo18:32
paulrnow anyway18:32
paulrsiebrand deleted non-utf8 language files18:32
kec161Question again about date custom fields error.18:33
paulrI assume that means we dont need lang_get('charset'); calls anymore18:33
kec161I think the problem is in bug_report.php, where you are validating the custom fields before adding the bug. The function gpc_get_custom_field returns '' for date types but the custom_field_validate function that the result is being sent to expects either a true/false value or a number for date types.18:33
kec161I'm not sure if changing the custom_field_validate to also accept '' is appropriate or will cause other problems. Any suggestions?18:33
paulr19:17 < thraxisp> kec161:  probably bug #1018418:33
paulr19:17 < mantisbot> Bug 10184 - Chi-Yu - open - feedback18:33
paulr19:17 < mantisbot> APPLICATION ERROR #1303 when optional custom date field is left blank - http://www.mantisbt.org/bugs/view.php?id=1018418:33
mantisbotBug 10184 - Chi-Yu - open - feedback18:33
mantisbotAPPLICATION ERROR #1303 when optional custom date field is left blank - http://www.mantisbt.org/bugs/view.php?id=1018418:33
paulrnuclear_eclipse: would you agree?18:33
nuclear_eclipsepaulr: I don't know18:34
paulrI think we can so i'll jfdi :)18:34
nuclear_eclipseI'd tend to agree with you, but it might be best to make sure siebrand is in agreement as well18:34
paulrlang\strings_english.txt(31): $s_charset = 'utf-8';18:34
paulrlang\strings_estonian.txt(33): $s_charset = 'utf-8';18:34
paulrlang\strings_finnish.txt(38): $s_charset = 'utf-8';18:34
paulratm, it's the same value everywhere18:34
nuclear_eclipseunicode/utf-8 is beyond most of my comprehension, unfortunately..18:34
paulrso only question is whether utf16 exists18:35
paulror utf-3218:35
paulror something to replace 8 :)18:35
nuclear_eclipseyes, they both "exist"18:35
nuclear_eclipsenot that I've ever seen *any* application ever need or use them...18:35
paulrare we likely to migrate mantis to em :P18:35
kec161Worked. Thanks.18:35
paulrnuclear_eclipse: did you check out my branch btw?18:35
nuclear_eclipseI think I did, but I gotta get to a meeting, will you be around in a bit?18:36
paulrofc18:36
nuclear_eclipseok, cheers18:36
* paulr mails siebrand and goes to play18:45
twolfyhey guys, will be back on 11. of May18:58
twolfyhave some vacations :)18:58
twolfyso long - bye bye18:58
paulrlo daryn19:46
paulrdaryn: did you say it put 0's in?19:46
devnet_workwhich file contains the footer for mantis?19:56
paulrhtmlapi19:57
devnet_workty19:57
devnet_workis that where the @example.com change takes place?20:00
devnet_work:/20:00
paulrok20:01
paulrconfig_defaults_inc contains a list of all default config settings20:01
paulrone is the email that appears20:01
paulrin config_inc.php20:01
paulrcopy in the config settings you want to use20:01
devnet_workahh20:02
devnet_workI should have been more clear with what I was altering20:03
devnet_workI figured the email addy was hard coded :D20:03
paulryou can do most stuff just from config20:04
paulrjust please dont modify config_defaults (but use config_inc instead20:04
paulras it will make upgrading easier20:04
devnet_workpaulr: how do you use the configuration area of manage?20:06
devnet_workI'm trying to set $g_administrator_email there20:06
devnet_workI guess I need to know if it's a string or whatnot20:07
Jwvhi pll20:10
Jwvin custom fields how separete the values?20:11
gialludevnet_work, you usually open config_defaults_inc.php for reference20:11
Jwvwith , or ;?20:11
giallufind the thing you want to change from default20:11
gialluput the cahnge in config_inc.php20:11
Jwvok20:12
Jwvthnks20:12
gialluJwv, wasn't talking to you... ;)20:12
Jwvups20:12
Jwv:S20:12
gialluI don't use custom fields so I don't know. isn't that documented in the manual?20:13
Jwvnope20:14
Jwvonly the vars for the config file20:14
devnet_workdoing that now20:16
devnet_workI was trying to use manage configuration through the web20:16
devnet_workthat was a disaster20:16
gialludevnet_work, yeah... AFAIK that was the start of an attempt to move config from text file to database20:18
gialluthe concept works, but the interface sucks...20:18
gialluJww, tried with "|" ?20:18
Jwvok20:20
devnet_workmantis rocks though man, wow20:21
devnet_workworkflows are amazing20:21
devnet_workI used JIRA when I worked at a software company and this can match it20:21
devnet_workI'm attempting to integrate with dokuwiki but am confused by this:20:21
devnet_work$g_wiki_engine_url = $t_protocol . '://' . $t_host . '/%wiki_engine%/';20:21
devnet_workis it looking for path? url?20:21
devnet_workit says url, then has variables in the setting20:22
devnet_workor do I replace '://'20:22
Jwvdevnet_work:  Thanks, The | works fine20:23
paulrgiallu: !!!!!!!20:25
paulrcan we talk about utf?20:25
giallupaulr, since when I am an expert :P20:26
paulr:)20:26
paulra) do you think I can remove lang_get(charset) as we always use 'utf-8' in trunk now20:26
paulrb) did you look for your script?20:26
giallua) yes, let's forget ASAP about non-utf820:27
giallub) no, but I think I know where to find it20:27
paulrcould you look ?:)20:28
* giallu looking20:28
* daryn_away is away: Gone away for now20:31
giallupaulr, http://mantis.pastebin.com/m8be9fba20:38
gialluI used that at work to clean up a legacy DB I had20:38
giallubascially, you need to loop on all tables and change collation on all of them _and_ on the individual columns20:39
gialluI don't rememver if I used at all replace_broken_utf()20:40
giallubit I surely tweaked the final part to properly convert chars that were "corrupted" by the wrong encoding20:41
* giallu guesses the char list could grow longer eventually...20:41
mantisbotNew bug: Bug 10435 - kec161 - open - new20:52
mantisbotNew bug: Implemented a bug step module - http://www.mantisbt.org/bugs/view.php?id=1043520:52
slestakooh, 1.1.7 released, cool21:10
slestakty guys21:11
slestakim trying to patch my mantis with a howto from http://www.eiben.weite-welt.com/computer/linux/mantis_iwa regarding sso from mod_auth_kerb.  his patches are against 1.1.0 so they need some updateing.  i have kerberos working.  anyone want to help me figure out what adjustment this patch needs?21:15
slestaki am using 1.1.621:17
slestakit looks like with my current state, mantis is authing, and extracting $f_username from the kerb data.  but it is still referring me to the login page instead of teh main page.21:25
* paulr yawns22:01
paulrslestak: what you trying to use?22:42
paulr1.1.6?22:43
slestakyes22:49
slestakklist is showing me my kerb ticket, and apache is not prompting me for my password.  But mantis still redirects to login_page.php instead of default_page22:50
paulrthe guide looks semi ok at first glance22:50
slestakyeah22:50
paulrbut right now, need to go to bed22:51
paulrbut I do something very similar22:51
slestaki need to put this up for a while.  does your go past the login page to mantis content?22:51
paulrI can probably dig up similar patch I use tomorrow22:52
paulrin the mean time22:52
paulrjust search for some of our auth methods e.g. AUTH_ or whatever22:52
slestakok, look for you tomorrow22:52
paulras there's 2-3 places that you need to hook22:52
slestakok22:53
slestakttyl22:53
slestakthat is a good idea, look at the drupal and joomla integrations22:54
CIA-11Mantisbt: giallu * r1a91f7884f3a /tests/ (AllTests.php soap/AllTests.php): Add soap tests23:25
CIA-11Mantisbt: giallu * rb964ef8c312f /tests/ (Mantis/EnumTest.php MantisEnumTest.php): Move MantisEnumTest.php -> Mantis/EnumTest.php23:25
CIA-11Mantisbt: giallu * rf516488db540 /tests/ (4 files in 2 dirs): Create Mantis Test Suite configuration23:25
giallubet time23:26
giallubed even...23:26
giallucya23:26

Generated by irclog2html.py