| ../irclogs/#mantishelp.2009-05-03.log | ||
| --- scribe started --- | 00:00 | |
| giallu | paulr, why don't you leave tests alone... now I've to fix conflicts :/ | 12:57 |
|---|---|---|
| paulr | I didn't change much | 12:59 |
| paulr | I changed enough to fix the fact it broke build | 12:59 |
| paulr | :) | 12:59 |
| giallu | pity I touched the same lines ;) | 12:59 |
| paulr | ;/ | 12:59 |
| giallu | merge not hard fortunately | 13:00 |
| paulr | I just did what phpunit do | 13:00 |
| paulr | to allow config of tests :) | 13:00 |
| paulr | aka define a global variable in xml config | 13:00 |
| giallu | ok, I'm just adding a check for the soap extension | 13:01 |
| CIA-31 | Mantisbt: paul * rcb23b913521b /admin/check.php: Reorganise check.php a bit more | 13:01 |
| CIA-31 | Mantisbt: paul * r60d5c864760b / (admin/check.php config_defaults_inc.php): Add check for valid variables_order | 13:01 |
| CIA-31 | Mantisbt: paul * r36e64b319026 / (admin/check.php core/adodb/adodb.inc.php): Add WARN option for checks | 13:01 |
| paulr | giallu: phpunit themselves seem to define global variables to specify test settings | 13:02 |
| paulr | put them in a config.xml | 13:02 |
| giallu | didn't read that part of their manual | 13:02 |
| paulr | so atm, I have an xml file that looks like: | 13:02 |
| paulr | <?xml version="1.0" encoding="UTF-8"?> | 13:02 |
| paulr | <phpunit> | 13:02 |
| paulr | <php> | 13:02 |
| paulr | <var name="MANTIS_TESTSUITE_SOAP_ENABLED" value="false" /> | 13:02 |
| paulr | </php> | 13:02 |
| paulr | </phpunit> | 13:02 |
| giallu | right now, I'm trying to imagine a workaround for the massive brokenness of the core.php concept | 13:03 |
| giallu | oitherwise testing just strings is a pain | 13:03 |
| giallu | if possible at all | 13:04 |
| paulr | yea, I started looking at that before | 13:04 |
| paulr | as I wanted to include all files | 13:04 |
| paulr | as part of the test | 13:04 |
| paulr | for code-coverage | 13:04 |
| aptituz_ | uargh | 13:06 |
| paulr | ? | 13:06 |
| aptituz_ | yet another change in adodb :D | 13:06 |
| paulr | ? | 13:06 |
| paulr | aptituz_: what you whinging about *now*? | 13:07 |
| aptituz_ | i'm not whinging | 13:08 |
| paulr | the change should probably help you ;p | 13:08 |
| paulr | potentially | 13:08 |
| paulr | aka for pgsql/mssql where we've needed to modify adodb, require bundled one | 13:09 |
| paulr | for mysql dont require bundled one, but do a version check | 13:09 |
| paulr | where i've set version check at 5.05 or something (which is like 2 years old) | 13:10 |
| aptituz_ | and you modified core/adodb/adodb.inc.php for this? | 13:10 |
| paulr | to add a "MantisBT Version" string to adodb version | 13:10 |
| aptituz | ah, ic | 13:10 |
| paulr | (the only other option I could think of was use the bundled adodb by default over the system one and add a config file optino you can specify if you want to use the system one over the bundled) | 13:11 |
| aptituz | so nothing changed for me. it still hurts me bad, that I cannot support pgsql ;) | 13:11 |
| paulr | well, the other option is | 13:12 |
| paulr | we copy/paste the adodb datadict code that we've needed to modify | 13:13 |
| paulr | into a mantis function that we call instead | 13:13 |
| paulr | but i'm not really sure that is any better | 13:13 |
| paulr | take core/ | 13:13 |
| paulr | add core/adodb | 13:14 |
| paulr | cp core/adodb/datadict core/datadict | 13:14 |
| paulr | then depending on how you look at it | 13:14 |
| paulr | you've got 2 copies of adodb in mantis to 'package' | 13:14 |
| aptituz | well the best would be to push the changes upstream or whatever is neded to not diverge from upstream | 13:15 |
| paulr | ADOdb 5.08 Released - modified: 17-04-2009 02:27:30 PM | 13:15 |
| paulr | on the 18th of April (1 day later) I posted: | 13:15 |
| paulr | http://phplens.com/lens/lensforum/msgs.php?id=17946 | 13:15 |
| paulr | http://phplens.com/lens/lensforum/msgs.php?id=17947 | 13:15 |
| paulr | http://phplens.com/lens/lensforum/msgs.php?id=17949 | 13:15 |
| paulr | http://phplens.com/lens/lensforum/msgs.php?id=17948 | 13:16 |
| paulr | of those posts | 13:16 |
| paulr | 1 got a reply on the 30th april | 13:16 |
| paulr | the other 3 have no reply | 13:16 |
| paulr | I decided to check adodb.sf.net download page | 13:16 |
| aptituz | hmm | 13:16 |
| paulr | and saw that there'd be a 5.08a release crediting me for pointing out 2 of the problems i'd whigned about | 13:17 |
| paulr | aka a parse error in datadict | 13:17 |
| paulr | and fact adodb 5.08 didn't modify version string | 13:17 |
| giallu | paulr, haven't they a development mailing list wqere you can beat them with a cluestick? | 13:18 |
| aptituz | yeah I also wonder if that forum is the best way to contact upstream | 13:18 |
| giallu | paulr, suggest them to use a bug tracker... | 13:19 |
| aptituz | but the page says "yes" | 13:19 |
| aptituz | "For bug reports, feature requests and questions, use the ADOdb Forums. The author monitors this forum." | 13:19 |
| giallu | TBH | 13:19 |
| paulr | from what I can tell | 13:19 |
| paulr | adodb is one guy | 13:19 |
| giallu | the fact "author" is singular, I wonder if we are really smart continuing to rely on adodb... | 13:20 |
| giallu | yeah | 13:20 |
| paulr | 'yes' because it's fairly stable (kinda) | 13:20 |
| paulr | and there's not that many other alternatives | 13:20 |
| paulr | (that work for what we do) | 13:20 |
| paulr | otoh | 13:21 |
| paulr | given we only use a subset of adodb | 13:21 |
| paulr | and we only use a subset of database engines | 13:21 |
| paulr | if we were to 'copy/paste adodb' | 13:21 |
| paulr | and delete all the bits we dont use | 13:21 |
| paulr | we'd probably speed it up | 13:21 |
| paulr | and reduce the ram requirements of it | 13:21 |
| paulr | but then we could do the same to phpmailer and whatever else | 13:22 |
| paulr | and there's a reason why we dont :) | 13:22 |
| paulr | (remember there's someone that came up with 'adodb lite' for that purpose - http://adodblite.sourceforge.net/benchmark.php | 13:23 |
| paulr | incidently | 13:36 |
| paulr | think you save a few milliseconds by specifying | 13:36 |
| paulr | $ADODB_CACHE_CLASS = ''; | 13:36 |
| paulr | $ADODB_CACHE = true; | 13:36 |
| paulr | before starting adodb | 13:36 |
| CIA-31 | Mantisbt: paul * r965959b05a05 /core/print_api.php: Remove extra charset param | 13:41 |
| paulr | giallu: how you getting on making the url stuff into phpunit? | 13:42 |
| giallu | I prepared the code, but until now I can't make it work properly. | 13:51 |
| paulr | oh? | 13:51 |
| giallu | you know the "include a single file and that pull in the entire kitchen sink" sindrome | 13:51 |
| paulr | ignore that a sec | 13:52 |
| paulr | did you move the thingies to tests? | 13:52 |
| paulr | i.e. test_string_sanitise_url file contents | 13:52 |
| giallu | yes | 13:52 |
| paulr | i'd be inclined to commit those then | 13:52 |
| paulr | $t_lang_var = preg_replace( '/^s_/', '', $t_var ); | 13:53 |
| paulr | if( $t_lang_var != $t_var ) { | 13:53 |
| paulr | $g_lang_strings[$p_lang][$t_lang_var] = $$t_var; | 13:53 |
| * paulr wonders why we dont just store s_ in lang files and add s_ | 13:53 | |
| paulr | the kitchen sink syndrome as you put it is something that we've already look at a bit | 13:55 |
| giallu | we need some more bits then ;) | 14:01 |
| paulr | but I know the problem you are hitting | 14:02 |
| paulr | as I observed it whilst trying to get phpuc set up | 14:02 |
| paulr | some things e.g. phpunit can be told to include code | 14:02 |
| paulr | some of our core classes execute errors/code | 14:02 |
| giallu | paulr, did you think about any strategy to fix it? | 14:03 |
| paulr | sledgehammer | 14:03 |
| paulr | : | 14:03 |
| paulr | core\bug_api.php(53): * requires twitter_api | 14:04 |
| paulr | core\bug_api.php(55): require_once( $t_core_dir . 'twitter_api.php' ); | 14:04 |
| paulr | i'd like to fix things like that initially | 14:04 |
| paulr | ( I dont use twitter, i'm not sure why bug api would require it at work | 14:04 |
| paulr | but then something like twitter should be a plugin | 14:05 |
| paulr | and the plugin api would handle it for us | 14:05 |
| giallu | AFAIK twitter is a plugin | 14:06 |
| giallu | that should be something to remove | 14:07 |
| giallu | but the problem is not moving stuff to plugins | 14:07 |
| giallu | the problem is writing better, self contained stuff | 14:07 |
| paulr | no, but the fact that as well as a twitter plugin | 14:07 |
| paulr | we have a twitter api | 14:08 |
| paulr | that's in bug/news api | 14:08 |
| paulr | turns into a mess quickly | 14:08 |
| paulr | graphs(jpgraph) | 14:08 |
| paulr | graphviz | 14:08 |
| giallu | oki, so it seems we don't have any plan right now | 14:08 |
| paulr | 14:08 | |
| paulr | need to be plugins | 14:08 |
| giallu | tbh, I think the first step is to trim core.php, it should really avoid including core/* | 14:10 |
| giallu | and then I'm grateful you nuked the "let's be smart and cache all projects now" from there | 14:10 |
| paulr | i'm gonna do a commit that'll make you happy ;p | 14:10 |
| giallu | go | 14:11 |
| giallu | so I'll rebase my local changes now | 14:11 |
| paulr | there | 14:11 |
| CIA-31 | Mantisbt: paul * r6e73eeecb3df /core/print_api.php: I don't think it does require... :) | 14:11 |
| paulr | 1 less :P | 14:11 |
| giallu | please... no riddles in commit messages ;) | 14:12 |
| giallu | yay | 14:12 |
| paulr | to be fair though | 14:12 |
| paulr | i'm wondering if I added that by mistake | 14:12 |
| paulr | error_api doesn't have any dependencies btw | 14:13 |
| paulr | or has the absolute minimum | 14:13 |
| giallu | well. IMHO the goal is to remove all "require" lines from core.php first | 14:14 |
| paulr | that's not really feasible | 14:15 |
| paulr | at least | 14:15 |
| giallu | then the same from individual core/*.php files | 14:15 |
| paulr | at least at some point, something needs to include config_api | 14:15 |
| giallu | yes, php will do | 14:15 |
| giallu | or better | 14:16 |
| * paulr wonders if we really need timer_api | 14:16 | |
| giallu | we'll do that from the core/*.php files after step 1 | 14:16 |
| giallu | php will do that after step 2 | 14:17 |
| * paulr is tempted to delete timer_api | 14:17 | |
| giallu | uhm | 14:25 |
| giallu | what different between: | 14:25 |
| giallu | if ( file_exists( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'custom_constant_inc.php' ) ) { | 14:25 |
| giallu | require_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'custom_constant_inc.php' ); | 14:25 |
| giallu | } | 14:25 |
| giallu | and | 14:25 |
| giallu | include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'custom_constant_inc.php' ); | 14:26 |
| paulr | I think include once will generate a warning for missing file | 14:28 |
| giallu | right... | 14:30 |
| CIA-31 | Mantisbt: paul * r317e06dca504 / (5 files in 2 dirs): Remove timer api (we dont use it), and I think core dev's tend to use xdebug to look at performance issues now. | 14:30 |
| giallu | yay for xdebug | 14:30 |
| CIA-31 | Mantisbt: paul * r734dc2c32707 / (4 files in 2 dirs): Remove microtime_float function. | 14:33 |
| CIA-31 | Mantisbt: paul * rbd9b85446f01 /core.php: Remove microtime_float function | 14:33 |
| giallu | stringTest runs! now let's see ho much damage I made | 14:47 |
| siebrand | [KK]Kirill: ping? | 15:15 |
| [KK]Kirill | pong | 15:16 |
| siebrand | [KK]Kirill: can you please test http://www.mantisbt.org/bugs/view.php?id=8763 ? | 15:16 |
| siebrand | (on git master) | 15:16 |
| [KK]Kirill | one sec | 15:16 |
| [KK]Kirill | I'l test this with john string-branch | 15:17 |
| [KK]Kirill | one sec.. I'l try pure master-branch | 15:17 |
| siebrand | [KK]Kirill: trunk should be fine... Can only mark it fixed when fixed there... | 15:17 |
| * siebrand nods. | 15:17 | |
| [KK]Kirill | all ok | 15:31 |
| [KK]Kirill | siebrand: close this task. | 15:33 |
| siebrand | [KK]Kirill: great. | 15:34 |
| [KK]Kirill | siebrand: can you push in master last russian translate? | 15:34 |
| siebrand | [KK]Kirill: have patience :) | 15:35 |
| siebrand | darn, trying to set up roadmapping. No idea what to do... I though this would work out of the box for an admin level account, but it appear nwo. | 15:35 |
| siebrand | not | 15:35 |
| * paulr gets back | 15:54 | |
| CIA-31 | Mantisbt: s.mazeland * rf2c854a349dd / (3 files in 3 dirs): Remove 'charset' message that is no longer used. Replaced by 'utf-8'. | 16:02 |
| CIA-31 | Mantisbt: s.mazeland * r1096c049774b / (changelog_page.php roadmap_page.php): * remove some unneeded strtolower() | 16:02 |
| * paulr looks at siebrand commits | 16:03 | |
| * paulr ponders | 16:03 | |
| paulr | siebrand: are those in trunk?????? | 16:03 |
| siebrand | paulr: what exactly? | 16:03 |
| siebrand | strtolower? Yes, there are a bunch left... | 16:03 |
| paulr | lang_get( 'word_separator' ) ? :) | 16:04 |
| paulr | what's that | 16:04 |
| siebrand | paulr: well, that's a hardcoded space in most languages, nothing in some. | 16:04 |
| paulr | but yea well spotted I must have missed that charset :) | 16:05 |
| CIA-31 | Mantisbt: paul * ra2146d2a8b13 / (core.php core/email_api.php): autload disposable + phpmailer classes | 16:14 |
| CIA-31 | Mantisbt: s.mazeland * rc81c3171c79f / (core.php core/email_api.php): Merge branch 'master' of git://mantisbt.org/mantisbt | 16:14 |
| CIA-31 | Mantisbt: s.mazeland * r2fbf92c477f6 /lang/ (40 files): Localisation updates from http://translatewiki.net (2009-05-03 16:04 UTC) | 16:14 |
| siebrand | paulr: hmm, where does rc81c3171c79f come from? | 16:15 |
| paulr | you :) | 16:15 |
| siebrand | paulr: but I didn't change anything. | 16:15 |
| paulr | 17:17 < CIA-31> Mantisbt: paul * ra2146d2a8b13 / (core.php core/email_api.php): autload disposable + phpmailer classes | 16:15 |
| paulr | but I did | 16:15 |
| siebrand | paulr: did I somehow accidentally revert your commit? | 16:15 |
| paulr | dunno lets see :) | 16:16 |
| paulr | I think it's jsut merged them | 16:16 |
| siebrand | hmm, I didn't make a change there. | 16:17 |
| * siebrand is confused. | 16:17 | |
| paulr | you made a change | 16:18 |
| paulr | i made a change | 16:18 |
| paulr | and we probably both pushed close together | 16:18 |
| paulr | so it's merged | 16:18 |
| paulr | would be my guess ;p | 16:18 |
| siebrand | ok. just as long as it works, and there are no surprises :) | 16:19 |
| siebrand | [KK]Kirill: Russian was updated (only 4 messages updated, though) | 16:19 |
| [KK]Kirill | siebrand: thanks | 16:26 |
| [KK]Kirill | Today I have celebration | 17:13 |
| [KK]Kirill | My daughter 7 month old | 17:14 |
| paulr | congrats :) | 17:17 |
| CIA-31 | Mantisbt: paul * r49a5c45ac7f2 /core/ (database_api.php session_api.php): Session api requires gpc, database api does not require gpc. | 17:18 |
| [KK]Kirill | paulr: http://yfrog.com/b5img6460p | 17:33 |
| paulr | :) | 18:54 |
| paulr | siebrand: ? | 19:23 |
| paulr | bug 10434 | 19:23 |
| mantisbot | Bug 10434 - Chi-Yu - open - acknowledged | 19:23 |
| mantisbot | allow localized decimal seperator - http://www.mantisbt.org/bugs/view.php?id=10434 | 19:23 |
| paulr | you seen that? | 19:23 |
| siebrand | paulr: yes, I think I requested a patch | 19:24 |
| paulr | oh heh sorry | 19:24 |
| siebrand | paulr: guess I may look into adding that one day... MediaWiki has formatNum() in the Language object. | 19:25 |
| paulr | i'm wondering whether we could do another 1.2 release soon | 19:25 |
| siebrand | paulr: are we feature comp[lete yet? Then we could go into beta... | 19:26 |
| paulr | I want/need to break dates | 19:27 |
| siebrand | paulr: roadmap shows only at 37% | 19:27 |
| siebrand | paulr: or maybe plan 1.2.0 with only the criticals from the current 1.2.x planning? | 19:27 |
| siebrand | (afk) | 19:28 |
| paulr | 4084 = semi-fixed | 19:30 |
| paulr | 9081 = we've changed code not not use email links but link to user mainly | 19:30 |
| paulr | hmmmmmmmmmmmmmmmmm | 22:19 |
Generated by irclog2html.py