Monday, 2009-05-04

../irclogs/#mantishelp.2009-05-04.log
--- scribe started ---00:00
vb123hey04:23
vb123Was just running the latest code and noticed that the number of queries is reported as 0.04:23
mantisbotNew bug: Bug 10449 - edwerk - open - new05:51
mantisbotNew bug: Report issue for an other reporter - http://www.mantisbt.org/bugs/view.php?id=1044905:51
[KK]Kirillhi all06:57
mantisbotNew bug: Bug 10450 - edwerk - open - new07:06
mantisbotNew bug: Add real name and e-mailadres in advanced reporting view - http://www.mantisbt.org/bugs/view.php?id=1045007:06
[KK]Kirillthank's paulr07:43
* paulr slaps nuclear_eclipse 10:02
paulr__set doesn't work with public methods!10:02
[KK]Kirillpaulr: what happend with mantisforge at morning?10:14
paulrmm?10:18
[KK]Kirillnow asking10:19
[KK]Kirillnot* asking10:19
paulrnothing as far as i'm aware?10:19
[KK]Kirillmay be.. but in 8 GMT git.mantsiforge.org not open.10:20
[KK]Kirillafter 40 minutes all work10:20
paulrcacti graphs show nothing strange10:21
[KK]Kirillok.. may be it's for me10:23
nuclear_eclipsehi paulr12:32
nuclear_eclipse06:02 < paulr> __set doesn't work with public methods!12:32
nuclear_eclipseI'm not quite sure what you mean by that...12:32
dhx_mnuclear_eclipse: are you any good with understanding the default Bug Fixed Regex Pass 1 regex string?13:23
dhx_m /(?:bugs?|issues?|reports?)+\s+(?:#?(?:\d+)[,\.\s]*)+/i13:23
nuclear_eclipseyeah, what do you need to know?13:24
dhx_mI'm not sure what the ? at the start of the group parenthesis means13:24
nuclear_eclipse?: means it's a non-capturing regex group13:24
dhx_mI always thought that meant "zero or more of the previous"13:24
dhx_mah :)13:24
dhx_mthanks13:24
dhx_mmy other question is about the /i at the end13:25
nuclear_eclipsespecifically, in this case, the first pass doesn't require any groups to match; it just pulls any string that matches the whole regex, and then uses the second pass regex to do the actual grouping to find bug numbers13:25
nuclear_eclipse /i means it does a case-insensitive match13:26
dhx_mah ok :)13:27
dhx_mI was planning on just having: /m#\d+/13:27
dhx_mguess that should work13:27
dhx_mis there a manual on POSIX extended regex?13:27
dhx_mgoogle isn't helping (grr)13:28
nuclear_eclipsewell, this uses PCRE13:28
nuclear_eclipsehttp://www.php.net/manual/en/regexp.reference.php13:28
dhx_mah that helps (http://www.pcre.org/pcre.txt)13:28
dhx_mthanks13:28
dhx_mthat PHP one is also nice, thanks for that13:29
dhx_mI must have been searching for the wrong thing13:29
nuclear_eclipsePHP uses libpcre, but they do have their own stuff on top of it that's only covered in the PHP manual13:29
dhx_myep, the manual you linked to seems quite helpful :)13:31
nuclear_eclipseit also can help to understand the underlying concepts as well, such as state machines, etc, but it's not necessary13:32
dhx_mfor a rainy day heh :)13:33
dhx_msounds very complex at the core13:33
nuclear_eclipseit is rather complex once you start getting into the theory and so forth13:35
nuclear_eclipseit's actually quite a mathematical subject13:35
nuclear_eclipseand then you start getting into the differences between regular expressions and context-free or context-sensitive grammars, etc13:36
nuclear_eclipseand then you just want the class to be done with so your brain can stop hurting...13:37
devnet_workI love that stuff13:37
devnet_workthen again, I did get my mathmatics degree13:37
nuclear_eclipseI love all of it except the math :P13:37
dhx_mhaha13:37
dhx_mwell I got my new regex to work nicely, thanks :)13:37
nuclear_eclipseyou're welcome13:37
nuclear_eclipseand then I found out that what Perl calls a Regex is actually more than just a regex, it's actually pushing into the territory of context free grammars without being a full CFL... =\13:38
dhx_mhaha13:39
nuclear_eclipseand now I get sad everytime I try to do something fancy using a POSIX regex and can't because POSIX actually sticks to being a true regex system....13:40
dhx_mit sounds like you've spent a lot of time with regex before13:40
nuclear_eclipsebetween my classes, work, and side projects, I've done more than my fair share of regex parsing and such :P13:40
dhx_m:)13:41
nuclear_eclipseI actually had to write a regex state machine simulator for my CS theory class13:41
dhx_mwow13:42
nuclear_eclipsejust for the record, I *much* prefer to *use* a regex library than to write one...13:42
dhx_mhaha13:42
harpreet_singhhi All14:31
harpreet_singhjust now I have did the export import of mysql database from one server to other server14:33
harpreet_singhwhen I tried to login to new server I am getting an error14:33
harpreet_singhERROR: your account may be disabled or the username/password you entered is incorrect.14:33
harpreet_singhplease advise.14:33
harpreet_singhthis is ver 0.1714:33
mib_883vjpnuclear_eclipse: __set only gets called for protected properties not public ones14:38
harpreet_singhh14:39
harpreet_singhhi14:39
mib_883vjphi14:42
harpreet_singhjust now I have did the export import of mysql database from one server to other server14:44
harpreet_singhwhen I tried to login to new server I am getting an error14:44
harpreet_singhERROR: your account may be disabled or the username/password you entered is incorrect14:44
harpreet_singhI am ver 0.1714:45
mib_c9sjm6.16:33
* mib_c9sjm6 pokes daryn16:33
darynlo16:34
harpreet_singhhi16:35
harpreet_singhtoday I tried to clone the Mantis data from one server to another server.16:35
harpreet_singhso I used mysqldump and created a file.16:35
harpreet_singhonce I have imported to new server I am not able to logon.16:36
harpreet_singhAs my all the accounts are blocked.16:36
harpreet_singhthis is ver 0.1716:37
darynharpreet_singh: sorry, i have no experience with the code prior to 1.1.x.  I really have no idea why you would have this trouble.16:37
harpreet_singhops...:((16:38
harpreet_singhhave u ever did the backup export/import16:39
harpreet_singhany special switches with the mysqldump command16:39
darynnot that i'm aware of16:39
harpreet_singhok.. no issue.16:39
mib_c9sjm6daryn: I figured out why dates wasn't working correctly16:40
mib_c9sjm6during upgrade16:40
* mib_c9sjm6 had swapped order of in/out params16:41
darynyeah? sorry i wasn't on...just getting my laptop back in running order16:41
darynsince when are you logged in as mib_c9sjm6?16:41
darynwhat the heck is that?16:41
daryncoolio on the fix16:41
mib_c9sjm6mibbit16:42
darynso you about ready to commit dates?16:45
harpreet_singhMay I request how to do the backup and restore to other server.16:47
mib_c9sjm6daryn: i'm wondering if we can commit then tidy17:01
darynprobably wouldn't hurt. i don't see anyone else moving things towards RC.  more eyes is better17:08
* daryn_away is away: Gone away for now17:10
nuclear_eclipsehi giallu17:22
gialluhi john17:23
* siebrand smiles loudly.17:44
nuclear_eclipsehi siebrand17:46
siebranddid anything come from my suggestion yesterday to plan 1.2.0 (instead of only 1.2.x) so we can start pushing for a 1.2.0 beta?17:47
nuclear_eclipsesiebrand: well, the only thing I'm really waiting on to push out another release is paulr to finish his current work on dates17:48
siebrandnuclear_eclipse: ah. Is that a logged issue or not on the roadmap?17:49
nuclear_eclipseknowing paulr, it likely isn't...17:50
siebranddarn.17:52
* siebrand bites paulr.17:52
siebrandwe have this great product and don't use it ourselves to create excellent release notes...17:52
siebrandnuclear_eclipse: then maybe create the version 1.2.0 already, plan whatever needs fixing for it, and get the show on the road?17:53
nuclear_eclipsewell, with the current set of changes paulr is prepping for dates, I'd much prefer to wait on that...17:55
siebrandnuclear_eclipse: sure, I undersrtand and agree we cannot push it out before that is in, but what keeps you from creating the supporting values in the bug tracker?17:56
siebrandnuclear_eclipse: it'll create more insight for us, and the alpha testers.17:57
paulrhi guys17:58
paulrnuclear_eclipse: dates changes are on the roadmap17:58
nuclear_eclipsesiebrand: I'm not quite sure what you mean by supporting values?17:58
paulrthey are covered by:17:58
paulrbug 797417:58
mantisbotBug 7974 - obouillaud - open - acknowledged17:58
mantisbotDate problem on french MSSQL - http://www.mantisbt.org/bugs/view.php?id=797417:58
paulrand bug 914017:59
mantisbotBug 9140 - Blue Ninja - open - assigned17:59
mantisbotBlank due date on issue update shouldn't account for time zone. - http://www.mantisbt.org/bugs/view.php?id=914017:59
siebrandnuclear_eclipse: the tracker does not know of a 1.2.0 now, only of 1.2.0a3 and 1.2.x.17:59
nuclear_eclipseright, that's the point18:00
siebrandnuclear_eclipse: yes.18:00
nuclear_eclipse1.2.x is the placeholder for our next alpha/beta/rc release18:00
siebrandnuclear_eclipse: and if issues are assigned to 1.2.0, and later fixed, that means 1.2.0 is ready for beta ;)18:00
siebrandnuclear_eclipse: how else can we use the roadmap to assess if we are ready to push out a new release?18:01
nuclear_eclipseI'm not understanding what you're getting at18:01
nuclear_eclipsewell, by marking issues as targetting/fixed-in 1.2.x, we can see that on the roadmap...18:01
siebrandnuclear_eclipse: that currently there is no way to assess when 1.2.x is ready for a release.18:01
nuclear_eclipseyes there is...18:01
nuclear_eclipseit's on the roadmap18:01
siebrandnuclear_eclipse: how?18:01
nuclear_eclipse"ready" is a very relative term18:01
siebrandnuclear_eclipse: so if everything on http://www.mantisbt.org/bugs/roadmap_page.php?version_id=98 is crossed, we can release 1.2.0?18:02
nuclear_eclipseit's "ready" when the only things left on the roadmap for 1.2.x are deemed not important enough for this release, at which point we rename 1.2.x=>1.2.whatever, and create a new 1.2.x item, and retarget all the unresolved issues18:02
siebrandnuclear_eclipse: that's not really transparant, is it?18:03
nuclear_eclipseif you want to, you can already start retargetting some of those issues for 1.x.x to make it more clear...18:03
* paulr interrupts18:03
paulrbug object18:04
paulrwe need to use protected18:04
paulras otherwise set doesn't fire18:04
* nuclear_eclipse doesn't see a problem with that :P18:05
paulrI changed it from protected -> public due to you :P18:05
paulr(protected requires a simple __get18:05
nuclear_eclipsewell, whatever; I'm just not 100% convinced of the need for __get/__set in the first place...18:06
nuclear_eclipsefrom my view, they just add more function calls18:06
paulrI just like the idea of knowing that a timestamp is an int, and not 'fsdjkl'18:06
paulrfor example18:07
paulri.e. we have calls to do db_prepare_int that just case to an int18:07
paulrwhere we can drop that casting if we know object only exposes an int18:07
nuclear_eclipsewell, I don't see how "knowing" that it's an int really helps anything... you still aren't really dealing with something trying to set it otherwise...18:07
nuclear_eclipsebut just do what you need to; I don't really care that much :P18:08
nuclear_eclipseall I care about is that if we're going to head in some direction that will break the current functionality of events/plugins, better to break it before we release 1.2.018:10
paulryou around for next few hours?18:10
paulr(its a bank holiday in uk)18:10
nuclear_eclipsepartially; I'll be heading to class in about an hour18:10
paulrdid you ever run my dates branch?18:11
[KK]Kirilljohn18:12
nuclear_eclipseno, I haven't had the chance to do actual testing...18:12
[KK]KirillYou don't forget for me?18:12
nuclear_eclipsewhat's up?18:13
[KK]Kirillnothing. Please add events system for attach18:14
nuclear_eclipseI just haven't had the time lately18:15
[KK]Kirillthis badly :(18:15
nuclear_eclipseand I'm not really sure that I like doing it in the way you proposed...18:15
[KK]KirillWhen release 1.2.x?18:15
nuclear_eclipseno clue18:15
[KK]Kirillok18:15
* paulr tries to remember path to push branch18:16
siebrandnuclear_eclipse: done.18:27
nuclear_eclipsecheers18:31
* paulr slaps john18:32
siebrandnow we're at 71% for 1.2.x all of a sudden :)18:32
paulrhmm?18:32
reidLindencan anybody help me with an installation question/issue ?18:59
[KK]Kirillread topic19:01
reidLindentrying to install mantis on ubuntu(jaunty), and debconf is barking about libphp-adodb...19:01
reidLindenit says I should update php.ini  ...but I'm not sure 'how' ...I don't see any reference to the original path...19:02
nuclear_eclipsereidLinden: we can't support distro packages; if you can't get help from #ubuntu et al, you can try intsalling a source tarball from mantisbt.org19:03
[KK]KirillDid you enabled adodb in php.ini?19:03
* reidLinden understands....19:03
reidLinden( no "adodb" found in php.ini )19:04
nuclear_eclipsereidLinden: that said, your php.ini should have nothing to do with adodb (a library)19:04
reidLindenwhich seems to reflect what I'm seeing...19:04
nuclear_eclipseso I'm not sure what it's complaining about19:04
killefizdf -h19:06
reidLindenso, the recommendation...in general...would be to ignore the distro , and install the source tarvall ?19:08
reidLindenwould that also make upgrading easier, in the future....19:08
nuclear_eclipseyes, to both questions19:09
reidLindenok...19:09
reidLindenI'll start over...19:09
reidLinden:)19:10
nuclear_eclipsenaturally, you'll need to check for updates yourself19:10
reidLindenunderstood19:10
nuclear_eclipsebut you can subscribe to our announcements list, or to our blog feed, both of which only get used for release announcements19:10
reidLindenexcellent...I'll to that.19:14
[KK]KirillJohn, did you use php-debuger tools? for example xdebug?19:20
paulrxdebug is a good tool19:20
[KK]Kirillpaulr: You are use?19:20
[KK]Kirilland all hide :)19:22
[KK]Kirillok. I search this it in internet19:22
mantisbotNew bug: Bug 10451 - mnicle - open - new19:25
mantisbotNew bug: APPLICATION ERROR #503 - file upload - http://www.mantisbt.org/bugs/view.php?id=1045119:25
paulrnuclear_eclipse: gone to class yeT?19:37
paulrnuclear_eclipse: http://git.mantisforge.org/w/mantisbt/paul.git?a=commitdiff;h=aa6b90c91e0ed83b2edca8e46c4f9f6f18baeb57;hp=b10d27cf022bf1f5a389aecfc093e68dde9bc82e19:44
paulrwondering if that's commitable19:44
paulryet19:44
paulrlo daryn19:47
darynhello19:47
darynbrb19:48
paulrwb20:21
paulrdaryn: I assume your busy working?20:21
darynmeh20:22
daryntrying to get my servers set up correctly20:22
paulr4work?20:22
darynso i can do mantis work20:22
darynbut yes for work too20:22
paulrI want to try to get bugobjects/date changes commited20:22
darynseparate commits?20:23
paulryes20:23
darynok20:23
paulrbut I want to benchmark them together ;/20:23
darynso i assume you need something from me...mainly my db?20:25
paulrcould you try my dates2 branch20:26
darynyeah, it will be a bit. trying to get the network settings right on my vm's. as soon as i can get that done i'll set up the test20:27
paulrcollapse_cache_token20:37
paulrwhats that do20:37
nuclear_eclipsepaulr: it does fancy things21:10
paulrdoes it need to :P21:15
CIA-31Mantisbt: paul * r4b34df234015 /login_page.php: Checks for plain password are part of /admin/check.php21:17
rtylerhai folks22:07
rtyleranybody run a trac -> mantisbt import? :D22:07
paulrrtyler: not sure i've heard of one22:43
paulrdhx_m: lo22:43
dhx_mhi22:43
rtylerdrats22:43
dhx_mare we able to take another look at 10330 (http://git.mantisforge.org/w/mantisbt/dhx.git?a=shortlog;h=refs/heads/10330) ?22:44
dhx_mafaik it is ready to go except for the part where it changes configuration and constants around22:44
dhx_mso the upgrading part of it is yet to be done22:44
nuclear_eclipsebug 1033022:45
mantisbotBug 10330 - dhx - open - new22:45
mantisbotDon't use hardcoded default enum levels when reporting a new bug - http://www.mantisbt.org/bugs/view.php?id=1033022:45
dhx_messentially it fixes all the remaining bugs in Mantis dealing with custom enum strings22:45
nuclear_eclipsedhx_m: I like the patch, but I don't like the part about changing existing constant names and/or configuration names22:46
dhx_mie. removes hardcoded stuff22:46
dhx_mthat was more for consistency22:46
rtylerany of you gents using GitHub integration?22:46
nuclear_eclipse<-22:46
rtylerwtf is the "URL" supports to be in the set up22:46
dhx_mwe previously had some constants with TYPEOFCONSTANT_ prefixes22:47
nuclear_eclipsedhx_m: my concern is more the point of not breaking existing configurations that will then have wrong constants22:47
paulrso like22:47
paulrhow can I put bugobjects/date stuff into core :)22:47
nuclear_eclipsertyler: in the case of github, the url is not needed22:47
dhx_myeah I understand... which is why my patch was really not meant to be backported22:47
rtylerImported 0 changesets, 0 files, and 0 bug references.22:48
rtyler:sadface:22:48
dhx_mI know there is some part of Mantis that already deals with renaming/deprecation of configuration22:48
dhx_m(configuration variables)22:48
dhx_mwhere I am unsure is how the configuration stored in the database is affected22:49
dhx_mit should be ok as it stores it as an integer (which hasn't changed with my patch)22:49
nuclear_eclipsertyler: a) make sure you have the correct github user and repo names; b) it has to be a public repository22:51
rtylernuclear_eclipse: could you pastebin or screenshot yours?22:51
nuclear_eclipsertyler: give me a few, and I'll give you a screenshot22:51
nuclear_eclipseX11 is broken atm :P22:51
rtylerheh22:52
paulrcan i break trunk :P22:52
dhx_mlol22:52
dhx_munless a better idea would be to release 1.2.022:52
dhx_mand *then* break trunk?22:53
paulrsounds boring22:53
dhx_myep :)22:53
nuclear_eclipsedhx_m: I'd rather see his object/date stuff hit trunk before we make a final 1.2.x release, so that core API's won't change much after official release of the plugin system22:53
dhx_mthat makes sense22:54
dhx_mI haven't been following that object/date thing closely22:54
CIA-31Mantisbt: paul * ree7bc384e36f /core/ (database_api.php html_api.php): fix query counting again22:54
paulrdhx_m: you just volunteered to test date thing22:54
dhx_mbut I imagine you have a similar problem with the upgrade path?22:54
paulrcongrats22:54
CIA-31Mantisbt: paul * r165c12d191f3 /login_page.php: shorten upgrade check logic22:54
dhx_m:)22:54
paulrnuclear_eclipse: whilst coding dates22:54
paulrI worked out the way we handle user pref's is broken22:55
paulr:)22:55
dhx_mI've always disliked the web based configuration in Mantis22:55
* paulr spents a lot of time finding stuff that's broken :P22:55
dhx_mseems it has been neglected far too long22:55
* paulr nods22:55
paulrdhx_m: you have a test install of manits?22:56
dhx_mpaulr: yep22:56
paulroh looking at mantisforge reminds me22:56
* paulr hits nuclear_eclipse again22:56
dhx_mbugobjects3 and dates2?22:56
paulrdates222:56
nuclear_eclipsertyler: http://imgur.com/2Z3nq.png22:59
dhx_mpaulr: I'll try and check it out today22:59
paulrcool23:00
paulrtoday ends in 1 minute23:00
dhx_mfor you :)23:00
paulrwhat happened to roadmap btw23:01
dhx_m?23:02
rtylernuclear_eclipse: how'd you get it to import changesets?23:05
nuclear_eclipseby clicking import latest changesets :P23:05
nuclear_eclipsec) make sure your PHP has access to either file_get_contents() on URLs, has the Curl extension installed, or has shell access to Curl itself23:07
nuclear_eclipsertyler: it is a public repo, right?23:07
rtyleryarp23:11
nuclear_eclipsemind linking me to it?23:13
rtylerhttps://github.com/rtyler/cheetah/tree23:14
paulrnn23:18
nuclear_eclipsegoodnite paulr23:18
nuclear_eclipsertyler: I'm gonna try importing your repo on mine23:19
nuclear_eclipsertyler: hmm, I can't import either23:22
nuclear_eclipseI'll have to look into it...23:22
* nuclear_eclipse wonders if GitHub changeh their API....23:22
nuclear_eclipsertyler: http://leetcode.net/mantis/view.php?id=34 if you're interested in tracking the fix23:25
rtylerheh23:52

Generated by irclog2html.py