Saturday, 2009-12-19

../irclogs/#mantishelp.2009-12-19.log
--- scribe started ---00:00
dhx_myeah that's fine... just so long as there is an easy way to keep track of patches made00:00
dhx_mso it is easy to upgrade to newer versions in the future00:00
paul__function RowLock($tables,$where,$flds='1 as ignore')00:01
* paul__ wponders wtf '1 as ignore' means00:01
dhx_mlol00:04
dhx_maren't we scrapping ADOdb anyway?00:04
paul__oh yes00:04
dhx_mplease :p00:04
paul__if ($this->_connectionID && isset($schema)) $this->Execute("SET SCHEMA=$schema");00:09
paul__we need a copy of db200:11
paul__I need to check00:14
paul__but i think 5.10 might actually add a performance optimisation to adodb for us00:14
paul__in terms of ram usage00:14
CIA-27Mantisbt: paul * rcf8c0d5d6b9d /library/adodb/drivers/ (8 files): Revert "Apply PHP 5.3 compatibility patch to ADOdb 5.10"00:16
CIA-27Mantisbt: paul * r73ce41d66a02 /library/adodb/drivers/ (8 files): Revert "Revert "Apply PHP 5.3 compatibility patch to ADOdb 5.10""00:16
CIA-27Mantisbt: paul * r6a8991c79724 /library/ (169 files in 18 dirs): Revert "Update PHPMailer to v5.1 and ADOdb to v5.10"00:16
CIA-27Mantisbt: paul * r7f2fba967c3f /library/phpmailer/ (5 files in 2 dirs): Update phpmailer to 5.100:16
CIA-27Mantisbt: paul * r1e42a4de7e37 /library/ (169 files in 18 dirs): Revert "Revert "Update PHPMailer to v5.1 and ADOdb to v5.10""00:16
CIA-27Mantisbt: paul * r69aa96a3a347 /library/adodb/ (89 files in 6 dirs): adodb 5.1000:16
paul__there00:16
dhx_mummm00:17
dhx_mhow come there are 2 reverts for each?00:17
paul__cause git sucks00:17
paul__:P00:17
dhx_mpffft noob :)00:18
dhx_mstill using CVS? :p00:18
paul__now lets see00:18
dhx_mohhh I see00:19
dhx_myou reverted a revert :p00:19
dhx_mso it's not actually 200:19
dhx_mmakes sense00:20
CIA-27Mantisbt: paul * rfb8383a2e7c6 /core/compress_api.php:00:25
CIA-27Mantisbt: Fix whitespace introduced on 20th September by commit00:25
CIA-27Mantisbt: http://git.mantisforge.org/w/mantisbt.git?a=blobdiff;f=core/compress_api.php;fp=core/compress_api.php;hb=61804a9da622dd0519fea853924bdab5bddbd933;hpb=f657c277db6b00cd2f63cb43a4c506acc409548200:25
CIA-27Mantisbt: paul * r3ab636f75fc7 /core/plugin_api.php: We automatically load classes now so no need to require.00:25
CIA-27Mantisbt: paul * r4a99d8ae8542 / (5 files in 2 dirs): Rename and move constants for filter api - Neither John/myself believe this is something that a user would customise.00:25
CIA-27Mantisbt: paul * r3b4c2f866b1e /core/html_api.php: HTML Formatting00:25
CIA-27Mantisbt: paul * r6f36367ebed2 / (core.php core/database_api.php): Move db connection out of database api to core.php00:25
CIA-27Mantisbt: paul * ra87a5c5e8308 /tests/test.php: Remove old/pointless test (doesn't just visiting /admin do this)00:26
CIA-27Mantisbt: paul * raf56c8d9b4e3 /core/ldap_api.php: Update ldap escape string - according to MS docs we should escape / and \x0000:26
CIA-27Mantisbt: paul * r13ce69e4587f /core/install_helper_functions_api.php: Add a function to allow 'null' schema updates00:26
dhx_mNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO :p00:26
paul__?00:26
dhx_mah I thought this was your years worth of commits all at once lol :D00:26
paul__no00:26
paul__heh00:26
paul__year?00:26
dhx_mdo you use git CLI?00:26
paul__mm?00:26
dhx_mie. from the command line00:27
paul__ya00:27
dhx_mand use vim for typing commit messages?00:27
paul__erm00:27
paul__dunno00:27
paul__maybe00:27
dhx_mgit commit -a00:27
dhx_mis that roughly what you'd use?00:27
paul__probably00:27
paul__well not -a00:27
dhx_mthe reason I ask is that all your commit messages are single lines00:28
dhx_mand git treats the first line as a subject00:28
dhx_mrather than a message00:28
paul__ahh00:28
paul__windows probably00:28
dhx_mthe ideal format for a commit message (as typed into vim/whatever when git asks you for a commit message) is:00:28
dhx_mSubject00:28
dhx_m{blank line}00:28
dhx_mYour message here.00:28
dhx_mBlah00:28
dhx_mBlah00:28
dhx_metc00:28
dhx_mand the subject usually has to be short or git will complain (via vim) that the first line is too long00:29
paul__ahh00:33
paul__actually00:36
paul__i use mysqgit00:36
paul__which as it's own thing00:36
dhx_mah ok00:39
CIA-27Mantisbt: paul * rc6109d3df715 /admin/check.php: Update check.php to reflect that adodb 5.1 is now the current version00:41
CIA-27Mantisbt: paul * rc3338d341fdf /library/adodb/adodb.inc.php: Indicate mantisbt version of adodb in version string00:41
paul__how come plugins dont run? ;/00:41
dhx_mhmm?00:41
paul__in 1.3.0dev00:41
dhx_m"dont' run"?00:41
paul__$this->requires = array(00:42
paul__'MantisCore' => '1.2.0',00:42
paul__);00:42
paul__well00:42
dhx_mthey worked for me yesterday :)00:42
paul__we dont meed that requirement ;/00:42
dhx_mafaik it should work00:42
dhx_mit means 1.2.0 or higher00:42
paul__I get a red against the requirements tbh00:43
dhx_myou are probably missing dependencies?00:45
paul__1.2.0 :P00:45
paul__MantisCore 1.2.000:45
paul__are you on 1.3.0dev?00:45
dhx_myes00:45
paul__hmm00:54
dhx_moh00:54
dhx_myou can't remove MantisCoreFormatting anymore00:54
dhx_mit is a compulsory plugin00:54
paul__cool00:55
dhx_mso if you upgraded Mantis00:55
dhx_mand you previously had it disabled00:55
dhx_mit may be disabled forever?00:55
paul__it's not in a previous release00:55
paul__:P00:55
dhx_mwait "Mantis Formatting" isn't compulsory00:55
paul__but i can't enable graph00:55
dhx_mMantis Core is00:55
dhx_mI can :p00:55
paul__ahh00:55
paul__mantis core isn't installed00:56
paul__hmmmmmmmm00:56
dhx_mdo you have Mantis Core installed?00:56
paul__no :P00:56
nuclear_eclipseMantisCore is a fake plugin initialized by plugin API to allow dependencies againt core of Mantis -- it's not a real plugin, and there's no file anywhere in Git for it01:22
nuclear_eclipseso if there's no MantisCore entry in Manage Plugins, you've seriously borked the plugin system or something...01:23
paul__:)01:23
paul__there is01:23
paul__it's not installed atm :P01:23
nuclear_eclipsethat shouldn't be possible...01:23
paul__i might have fiddled with something01:23
nuclear_eclipsearg01:24
nuclear_eclipsetell me why it seems like every time you get a weekend to work on Mantis, I'm afraid to make a stable release01:24
paul__I mean01:25
paul__in the db01:25
nuclear_eclipsethere shouldnt be a db row for MantisCore01:25
paul__I thought you put in mantiscore as a plugin?01:26
nuclear_eclipseno, it's just a fake entry in the plugin API that serves no purpose other than to be a placeholder for plugin dependencies01:27
paul__hmm01:27
paul__atm, on my dev box01:28
paul__formatting shows as installed01:28
paul__everything else aka 1.3.0dev as available01:28
paul__and graph plugin doesn't show install action as it doesn't meet dependency of '1.2.0' apparently01:28
nuclear_eclipsepaul__: I'll try to take a look when I get home01:30
paul__i'm fairly sure I broke something in mysql01:31
nuclear_eclipsethat's exactly why this whole patch-revert-revertrevert-revert thing makes me really nervous...01:34
paul__it's been like this for 2-3 weeks now01:34
paul__for me01:35
paul__I first noticed it when we changed to 1.3.0dev01:35
paul__as version string in trunk01:35
paul__http://www.mantisbt.org/bugs/view_all_bug_page.php shows an error for me01:36
nuclear_eclipsepaul__: no errors when I view it01:39
paul__I suspect due to http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=60a4d24a794a81e98dc044ce42a9e4b8fa75411101:39
paul__or maybe not01:39
paul__mmm01:39
paul__my query ends with:01:40
paul__ AND ( )01:40
nuclear_eclipsehmm01:40
paul__but as i was just trying to navigate to the bugtracker01:40
paul__I don't know what it's doing :P01:40
paul__SELECT Count( DISTINCT mantis_bug_table.id ) as idcnt FROM mantis_bug_text_table, mantis_project_table, mantis_bug_table LEFT JOIN mantis_bugnote_table ON mantis_bug_table.id = mantis_bugnote_table.bug_id LEFT JOIN mantis_bugnote_text_table ON mantis_bugnote_table.bugnote_text_id = mantis_bugnote_text_table.id WHERE mantis_project_table.enabled = ? AND mantis_project_table.id = mantis_bug_table.project_id AND ( mantis_bug_table01:40
paul__it ends AND ( ) .01:40
paul__if you get all of spam01:40
nuclear_eclipsepastebin the error?01:41
paul__if( is_numeric( $t_search_term ) ) {01:41
paul__can $t_search_term be non-numeric i.e. '',null or some string?01:41
paul__in fact too late for me01:41
paul__http://mantis.pastebin.com/m31af722b01:42
nuclear_eclipsecan you permalink that to see what the search gpc params are?01:43
paul__how? :P01:43
nuclear_eclipsenvm01:43
nuclear_eclipseI think I know how to solve that01:43
paul__i must say though01:44
paul__i'm really looking forward to see what features people back port from turnk to 1.201:45
paul__right back in 10 hours01:50
paul__nn01:50
nuclear_eclipsepaul__01:50
nuclear_eclipsehttp://mantis.pastebin.com/d713aab6201:50
nuclear_eclipseI think that fixes the issue you had01:50
nuclear_eclipsedoes that seem reasonable? I cant test atm01:51
kirillkapaul__: around?08:45
kirillkagiallu: ?08:45
giallucan we please freeze the damn 1.2 branch? I propose a "get 2 other +1 to push the change" rule on it...08:59
kirillkagiallu: lo09:00
giallulo09:01
kirillkagiallu: did you have test installation of mantis?09:01
kirillkagiallu: I have notice in admin09:02
kirillkaSYSTEM NOTICE09:02
kirillkaUndefined variable: t_version_suffix09:02
kirillkaFull path: /mantis/admin/index.php09:02
kirillkaLine: 6009:02
gialluI have but it's following the 1.2 branch09:05
kirillkaI use last git09:06
kirillkaand /admin/check.php?showall=109:12
kirillkaSYSTEM NOTICE09:12
kirillkaUndefined offset: 109:12
kirillkaFull path: /mantis/admin/check.php09:12
kirillkaLine: 7309:12
kirillkaVariableValueType09:13
kirillkap_descriptionChecking Config File Existsstring09:13
kirillkap_pass1boolean09:13
kirillkaf_showall1integer09:13
kirillkaVariableValueType09:13
kirillka0Please use install.php to perform initial installation <a href="install.php">Click here</a>string09:13
giallukirillka, I just swtiched to master and pulled, I can't see anything like that09:28
kirillkagiallu: did you enabled system notice?09:29
kirillka$g_display_errors = array(E_NOTICE => 'halt',)09:29
giallulet's see09:30
gialluI have default values09:32
giallufor $g_display_errors09:32
kirillkaand $g_show_detailed_errors= ON; fro dateled09:32
kirillkafor detailed*09:33
kirillkaI create patch, but I don't sure it's right09:36
kirillkagiallu: Can you see my patch bug 1129409:39
kirillkabot not work again http://www.mantisbt.org/bugs/view.php?id=1129409:53
mantisbotBug 11294 - Kirill - open - new10:56
mantisbotSystem notice in checking - http://www.mantisbt.org/bugs/view.php?id=1129410:56
paul__dhx_m: there?17:47
paul__giallu_: moo18:52
paul__nuclear_eclipse: did you managed to fix the sql error? :)19:41
nuclear_eclipsepaul__: check backlog19:42
paul__or more19:42
paul__is it applied yet to mantisbt.org :P19:43
nuclear_eclipseI pasted a possible solution last night, but wanted you to doublecheck19:43
paul__(i know the answer) :P19:43
paul__well19:43
paul__mm19:44
paul__try applying that patch to mantisbt.org19:45
paul__and i'll try logging in :P19:45
nuclear_eclipsepaul__: applied19:46
paul__well19:48
paul__I get a page up now :)19:48
paul__nuclear_eclipse: can we set up the mantis instance on mantisbt.org to require a user to reopen a resolved issue19:48
paul__before commenting on it19:48
nuclear_eclipseI don't se why you're so bugged by that...19:49
paul__because users might report a fix doesn't work19:49
paul__that we might not see19:49
nuclear_eclipsewell, the handler should get an email for it..19:49
nuclear_eclipseif it's still an issue, the user should reopen it, if they don't it's their fault19:50
paul__well19:50
nuclear_eclipseotherwise, there are plenty of useful cases where the user would want to post a comment without reopening the issue19:50
paul__I have 1121 unread emails from mantis tracker :P19:50
paul__I guess it's not a problem though19:50
nuclear_eclipseso a) reduce the amount of notifications you get, or b) read your email more often...19:51
paul__as when we do a release whoever does release notes/closes issues should probably go through tracker anyway19:51
paul__er19:56
paul__did you look at whether you get the same issue as I do with pluigins?19:57
nuclear_eclipsenot yet19:58
nuclear_eclipsewhat's the deal with the 1.2 branch now?20:00
paul__?20:00
nuclear_eclipseafter all the garbage you two did last night? what's the status of the 1.2 branch?20:00
paul__I was fixing adodb in turnk20:02
paul__the adodb author has yet again proved he fails20:03
paul__so there's a new feature in adodb 5.120:03
paul__sqlite datadict20:03
nuclear_eclipseright, but adodb stuff got ported to 1.2, and I want to know where that leaves 1.220:03
paul__is the sqlite data file in adodb? Ans: ofc not!20:03
paul__well, I guess for 1.2 we just need to merge the lib changes in20:04
paul__then the fix for version20:04
nuclear_eclipsecan you please take care of that since I have no clue what needs to be done?20:04
paul__I have no clue how we merge stuff to 1.220:04
paul__or backport20:04
nuclear_eclipseeither cherry-pick from master, or manually duplicate the commits20:05
nuclear_eclipseeither that, or decide that we don't want the new adodb in 1.2 and revert it20:05
nuclear_eclipseeither way, I need you to focus long enough to make sure that we have a solid/stable version of adodb in 1.2 so that I can coocdinate a release20:06
paul__whats in trunk for lib/adodb should be fine to just copy/paste into 1.2 then20:07
paul__then just cherry pick in20:07
paul__http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=c3338d341fdfae9d8dbaf4670766abb96dc9739c20:07
nuclear_eclipsecan you just please take care of it for me?20:07
paul__http://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=c6109d3df715c4e0e47ef057eedd9eca48efdafd20:07
paul__ok20:08
nuclear_eclipsethank you Paul20:08
nuclear_eclipseI'll look into the plugin issue20:08
paul__I assume 1.2master and trunk are quite different atm?20:09
nuclear_eclipsedifferent enough I assume20:09
paul__why have people merged every thing to 1.2 :(20:11
paul__does dhx still check out on saturdays?20:43
nuclear_eclipseI dunno20:44
paul__i'm still not happy with some of things that have been done in trunk since last rc20:45
paul__and then backported to 1.2 :(20:45
nuclear_eclipseso hurry up and fix them :P20:45
paul__you know i'm off work until 4th January from mid next week? :P20:47
nuclear_eclipseno I didn't20:47
paul__schoo hols :P20:47
paul__september->nov is always busy20:47
dhx_mpaul__: there are always reasons for backporting (mostly due to requiring compatibility across versions for things like string translation)22:31
paul__lo22:31
nuclear_eclipsehi dhx_m22:31
dhx_mnuclear_eclipse: hi22:31
paul__hmm22:34
paul__why does nigly build chage a config defaults inc.php.bak file?22:35
dhx_m.bak?22:35
nuclear_eclipsepaul__: it shouldn't?22:46
nuclear_eclipseI've never seen it do that22:46
paul__well I seem to have a file called22:52
paul__config_Defaults_inc.php=bak22:52
paul__in windows22:52
nuclear_eclipseno clue22:53
paul__oh ffs23:33

Generated by irclog2html.py