Tuesday, 2012-07-24

*** Joins: giallu (~giallu@fedora/giallu)00:50
*** Joins: mike84_ (IceChat77@nat/idm/x-mfuqppeyowolsbtu)01:00
*** Parts: mike84_ (IceChat77@nat/idm/x-mfuqppeyowolsbtu) ()01:00
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 264 seconds)01:21
*** Joins: giallu (~giallu@fedora/giallu)02:09
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 248 seconds)02:40
*** Joins: giallu (~giallu@fedora/giallu)02:55
*** Joins: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com)03:47
*** Joins: asm89 (~asm89@unaffiliated/asm89)04:01
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!)07:01
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 264 seconds)08:01
*** Joins: user___ (~chatzilla@g226029086.adsl.alicedsl.de)08:12
user___jreese: hello =)08:12
*** Joins: otaku__ (~otaku@g226029086.adsl.alicedsl.de)08:16
*** Quits: user___ (~chatzilla@g226029086.adsl.alicedsl.de) (Client Quit)08:16
otaku__what is the latest gitweb version that the gitweb mantis plugin is compatible with? :)09:08
jreeseotaku__: according to some conversations, it appears to at least work on 1.7.9: https://github.com/mantisbt-plugins/source-integration/commit/d953a6088bd67c42171e5fdbea56bdc485d1c480#-P009:11
jreeseI don't use gitweb though, so I haven't tested it on that for a long time09:13
otaku__no problem, i'll give it a shot :) thanks for the pointing me in the right direction09:14
jreeseyou're welcome09:14
Paul_46lo09:17
Paul_46jreese: moo09:17
jreesehowdy09:17
Paul_46hows it going09:17
jreesewell enough, yourself?09:18
Paul_46yea, not too bad09:18
Paul_46you are working for facebook now?09:19
jreeseyep09:20
Paul_46dont they use mantis? ;p09:20
jreesethey wrote their own tasks system, and they wrote their own code review system :P09:20
jreesehttp://phabricator.org/09:21
jreese"Facebook engineers rave about Phabricator, describing it with glowing terms like "okay" and "mandatory". "09:21
Paul_46oh php ?09:23
otaku__jreese, it worked, thank you so much! ::)09:23
jreeseotaku__: you're welcome09:25
jreesePaul_46: yes, they're mainly a php shop, except they wrote their own language extensions and a from-scratch VM implementation of the interpreter :P09:26
Paul_46phabricator looks like facebook ;p09:26
jreeseI'm not working on the site though, more of a dev ops position, so I don't really touch the php09:26
Paul_46that app looks pretty nice though09:27
jreeseit actually does work really well09:27
Paul_46it does make me wonder with mantisbt what to do09:28
*** Joins: giallu (~giallu@92.245.173.145)09:42
*** Quits: giallu (~giallu@92.245.173.145) (Changing host)09:42
*** Joins: giallu (~giallu@fedora/giallu)09:42
*** Quits: Ragnor (~Ragnor@dslb-178-009-055-194.pools.arcor-ip.net) (*.net *.split)10:00
*** Joins: Ragnor (~Ragnor@dslb-178-009-055-194.pools.arcor-ip.net)10:05
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 264 seconds)10:46
*** Joins: Protogenes (~Protogene@cmnz-4db36eef.pool.mediaWays.net)10:47
*** Joins: otaku (~otaku@e179097164.adsl.alicedsl.de)11:18
*** otaku is now known as otaku___11:18
*** Quits: otaku__ (~otaku@g226029086.adsl.alicedsl.de) (Ping timeout: 264 seconds)11:19
*** Joins: otaku__ (~otaku@f051230044.adsl.alicedsl.de)11:32
*** Quits: otaku___ (~otaku@e179097164.adsl.alicedsl.de) (Ping timeout: 264 seconds)11:35
*** Joins: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net)13:33
*** Joins: BD- (BD-@78-22-91-42.access.telenet.be)13:47
BD-expanding on the topic i raised yesterday evening - concerning dialects between different supported database types13:48
BD-i'm using the mysql "LIMIT" clause which doesn't work on MS SQL - I should instead use the "TOP" clause there13:48
BD-is there a general syntax that translates correctly to either ?13:48
BD-is this documented ?13:48
BD-or i could construct the sql 'manually' based on the used database type13:49
BD-but how silly is that :s13:49
BD-in adodb-active-record.inc.php i see some code that seems to incorporate this13:52
BD-function adodb_GetActiveRecordsClass(&$db, $class, $table,$whereOrderBy,$bindarr, $primkeyArr,13:52
BD-...13:52
BD-if(isset($extra['limit']))13:52
BD-...13:52
BD-$rs = $db->SelectLimit($qry, $extra['limit'], $extra['offset'],$bindarr);13:52
BD-...13:52
BD-in adodb.inc.php i also find this:13:55
BD-var $hasTop = false;/// support mssql/access SELECT TOP 10 * FROM TABLE13:55
BD-var $hasLimit = false;/// support pgsql/mysql SELECT * FROM TABLE LIMIT 1013:55
BD-looks like it *should* be supported, but it doesn't seem to work in mantis :(13:55
*** Quits: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net) (Quit: Quit)13:57
BD-hm.13:57
BD-* Uses SELECT TOP for Microsoft databases (when $this->hasTop is set)13:57
BD-* BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set13:57
BD-i guess i have to check for the database manually ? :s13:57
*** Joins: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net)14:04
*** Quits: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net) (Quit: Quit)14:24
*** Joins: asm89 (~asm89@unaffiliated/asm89)14:30
*** Joins: nutron (~nutron@unaffiliated/nutron)14:38
Paul_46BD-: we're trying to remove adodb for the next main release14:43
asm89Paul_46: switching to what?14:46
Paul_46dhx/myself started organising our own abstraction layer basedo n pdo14:48
BD-Paul_46: on a sidenote, will current plugins still be compatible with the next major release ? I heard that it's the intention to replace the current hook-to-event system with directly interacting with the DOM of pages or something ?14:49
asm89Paul_46: have you looked at Doctrine DBAL? That's basically that14:50
Paul_46have had that discussion over time :)14:50
Paul_46anyway, not really sure what's happening with mantis now a days14:50
asm89what then?14:50
Paul_46asm89: I think we'd basically decided it'll be easier to do our own thing14:51
Paul_46i'd loosely based code off of moodle's14:51
Paul_46*however*14:51
asm89ah sorry, that was targeted on the "not really sure what's happening with mantis now a days"14:51
Paul_46if you look at most of the db layers, at some point you get to the problem that most db's are fairly different14:51
Paul_46oh14:51
Paul_46right14:52
BD-Paul_46: lol :D14:52
asm89@ dbal, i know, i dev on that ;)14:52
BD-nice :o14:53
Paul_46https://github.com/mantisbt/mantisbt/graphs/contributors14:53
Paul_46if you look at that14:53
Paul_46I think 'mantisbt2' is me [as i created a 2nd account ni github and it's messed stuff up as they share email addresses]14:53
Paul_46so according to that, there are 8 people who have done more then 100 commits14:54
Paul_46agreed?14:54
Paul_46sry, 914:54
asm89yeah14:55
Paul_46of those 9,14:55
Paul_46thraxisp/giallu have moved on a year or so ago14:55
Paul_46siebrand only does translations14:55
Paul_46so that leaves 6 commiters who are currently 'active'14:55
asm89ah, core team is shrinking?14:56
* jreese is moving on, and vboctor is only active when he pushes a feature for his commercial projects14:56
Paul_46i.e. vboctor, myself, davidhicks, dreagd, rombert14:56
BD-moving on to which alternative ? :o14:56
jreesenot really to an alternative14:57
jreesejust moving away from working on bugtrackers14:57
Paul_46I love mantis, enjoy working on it but14:58
Paul_46I use mantis at work14:58
BD-mantisbt still best webbased bugtracker ?14:58
Paul_46in a school for It support14:58
jreesemoved most of my personal projects to just using github's issues14:58
BD-yea for small projects that's sufficient14:58
BD-and github just rocks :(14:58
Paul_46i'm looking at implemetning http://hap.codeplex.com/ [which has a tickets thing anyway that I currently have turned off]14:58
jreeseI would agree with Paul, Mantis IMO is still great, and much better for active projcets14:58
jreeseI just don't have the time or interest to work on it anymore, and I don't want to deal with PHP on my servers14:59
Paul_46My 'work' on mantis atm is on a personal fork [i'm prboably best calling it that atm] which is at https://github.com/grangeway/mantisbt14:59
BD-your plugins rock(ed) though! ;)15:00
jreesethanks :)15:00
BD-i even reported a bug fix on the source code integration one :(15:00
Paul_46my rough 'aim' with this would be to replace db api [ kinda done], try to have a play with using some more objects of some sort on the legacy code base15:00
Paul_46and probably make an open source (and free) mobile interface15:00
jreeseyeah, I'm trying to keep up, but atm I'm basically just blindly accepting pull requests that look right, since I don't use it anymore to test with15:00
Paul_46so i'm trying to decide whether it's worthwhile trying to finish the version that i'm currently dev'ing15:01
Paul_46I don't agree with some things that went into core a few months back15:02
Paul_46esp. those that were addedp urely for people's personal project15:02
BD-http://noswap.com/mantis/my_view_page.php - hm, that's pretty offline :p suppose i'll have to create a PR for it then ;)15:02
BD-Paul_46: i guess that's what you get when the release date of the new major version keeps getting postponed :o15:03
jreesebe my guest :)15:03
BD-probably guilty myself :p15:04
jreeseI should probably set up some sort of redirect at the least...15:04
Paul_46BD-: well, no one's ever really agreed on a release process15:04
jreeserather than just let everything at /mantis/ 40415:04
Paul_46jreese did a fairly good job of bundling them out15:04
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!)15:05
Paul_46however, on a number of occassions in the past people have just gone "i'm doing a release tomorrow"15:05
BD-^^15:05
* Paul_46 wonders if BD- goes by another name also15:06
BD-haven't worked on open source projects in the past, so i got no idea how such things are usually coordinated...15:06
Paul_46or you just hang in here :)15:06
BD-https://github.com/vincentsels -> this is me15:06
BD-but sst ;p15:06
BD-if i ask stupid questions here, they don't have to be associated with my plugin :))15:07
Paul_46right15:07
Paul_46nowi remember15:07
Paul_46mantis is legacy code base15:08
BD-and i'm a newbie at both php and git/hub, so i do the occasional stupid thing or ask the occasional beginner question :p15:08
Paul_46that we've added plugins too15:08
Paul_46the plugins implementation is really good [think that was john's]15:08
BD-yeop15:08
jreeseyes, and thank you :)15:08
BD-i love it15:08
Paul_46but I'd probably query how well some of the hooks are thought out15:08
Paul_46and by that, I don't necessarily mean they are wrong15:08
Paul_46but more, some are probably added due to the way the legacy code is organised15:09
BD-created this PR concerning plugin events ;) https://github.com/mantisbt/mantisbt/pull/5515:09
BD-yea, i agree on that15:09
jreesePaul_46: I wouldn't argue with that; most of the plugin stuff was a) written while I was still unexperienced and in school, and b) done to meet the needs of my employer at the time, so had to fit their requirements which were almost always dumb15:09
Paul_46jreese: heh15:10
Paul_46BD-: well, that's an example of something i probably don't like15:10
Paul_46i'd probably query whether that's where  'EVENT_UPDATE_BUG_FORM' => EVENT_TYPE_EXECUTE, should just be used15:11
jreeseBD-: try http://noswap.com/mantis/my_view_page.php now15:11
BD-well, it's a "meet the requirements of my current employer" thing :)15:11
BD-yeop, back up15:11
Paul_46I think personally i'm at the point where i wouldn't want to work on 1.2/1.3 anymore15:12
Paul_46kinda prefer the new db syntax we'd come up with15:12
BD-jreese: cool, your employer paid you to work on that source integration plugin ? ;)15:13
Paul_46however, for various reasons of what i'd done, there's quite a difference between what i've changed in my branch and what's in 1.2/1.315:13
Paul_46so i'm not quite sure what happens there15:13
BD-here's a newb question: what is the 'master' branch and what is the 'next' branch ?15:15
BD-never even understood that :X15:15
jreeseYep, though the source integration framework was actually written so I could integrate they're proprietary source control system, as well as svn that mantis used at the time, and then git15:15
Paul_46BD-: *sighs*15:16
Paul_46right15:16
Paul_46what we've normally done is15:16
Paul_46new work done in master15:16
BD-uhu15:16
Paul_46at point 1.1 is released15:16
Paul_46we've made master-1.1 and tag'd it15:16
Paul_46and gone back to working on master15:17
Paul_46and porting bugfixes or whatever15:17
BD-jop15:17
Paul_46that's fairly standard15:17
Paul_46i'd probably be inclined to say we've made it more difficult to do that by not really planning releases15:17
Paul_46i.e. I know in the past myself and maybe someone else have dumped in a fairly bug change of some sort within 24 hours of stuff getting branched for a release15:18
Paul_46but then, we've never really got everyone together [aka the ~10 people who do stuff at any given time] and planned stuff out properly15:18
Paul_46jreese: is that fair?15:19
Paul_46anyway,15:20
Paul_46there was a point where i'd made a 'db-api' branch, and dhx had made a exceptions / re-organise file layout and some other stuff branch15:20
Paul_46[some of that was from a chap called daryn - files layout]15:21
Paul_46so dhx made 'next' as a copy of master with my db changes, he's exceptions changes and daryn's file stuff15:21
Paul_46then added some localisation changes15:21
jreesePaul_46: I'd say that's a pretty fair assessment15:22
Paul_46at the time that was done, I had some uncommited stuff locally to my branch, didn't particularly like the file layout stuff, so I (awkwardly?) carried on working on my db-api branch15:23
Paul_46with the aim to try to make bugs/users more of an "object"15:23
jreeseone thing we've always lacked was a clear set of goals for a release; eg, either a hard deadline or a hard set of features to release15:23
Paul_46and see where it takes things15:23
Paul_46and kept that work in https://github.com/grangeway/mantisbt15:24
BD-oh you're grangeway :D15:24
Paul_46yea15:24
BD-^^15:24
Paul_46so for example that version replaces phpmailer with zetacomponents mailer [as we use their graph library]15:24
Paul_46[i'm kinda wondering if a jscript graph library would be more sensible though...]15:25
BD-so that 'next' branch contains the file-moves and the error-framework etc - but aside from that, nothing else ?15:25
jreesePaul_46: I still don't understand you using "grangeway", when your name is Paul R15:26
BD-:D15:26
Paul_46the zetacomponts framework which is kinda not getting commits [i think partly due to getting dumped onto apache then leaving apache]15:26
Paul_46jreese: goes back years :)15:26
Paul_46to when i was like 10 ;p15:26
Paul_46so grangeway15:27
Paul_46when I was kid, parents agreed to get modem + dialup internet15:28
Paul_46so they rang up with their details, internet i guess wasn't around that much then or whatever15:28
Paul_46so demon [uk isp] took details then asked 'what username?'15:28
Paul_46i think we tried a few things 'richards', 'richardsfamily' etc or whatever we thought of15:29
Paul_46ofc they all taken15:29
Paul_46so i live in an area called grange park, street at end of road is 'the grangeway'15:30
Paul_46so we tried that15:30
Paul_46that was fine for the ISP, and after that i've kinda just used it15:30
jreesewow, maybe I shouldn't have asked, that's a lot more boring than I'd expected :P15:31
Paul_46Has the nice benefit that any website I go to I can basically keep the same username ;p15:31
BD-:D15:31
BD-yea15:31
Paul_46makes forgotton password pages for obscure sites easy ;p15:31
BD-nice bed time story :p15:32
BD-nn!15:32
Paul_46nn ;[15:32
BD-thanks for all the feedback :)15:32
*** Quits: BD- (BD-@78-22-91-42.access.telenet.be) ()15:32
Paul_46jreese: anyway, I need to decide if i try to finish my branch15:35
Paul_46give up and see where mantis goes for a bit15:36
Paul_46or what :)15:36
jreesecan't answer that for you, unfortunately15:37
jreeseI guess you just have to ask yourself if the time and effort is worth it to you15:37
jreeseand weigh that against your alternative options15:38
Paul_46well, it's quite nice to have a project to work on15:39
Paul_46:p15:39
jreeseyeah, I just ended up focusing my time on different projects15:39
*** Quits: nutron (~nutron@unaffiliated/nutron) (Ping timeout: 246 seconds)16:06
*** Quits: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com) (Quit: Not that there is anything wrong with that)16:48
*** Quits: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)17:00
*** Joins: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de)17:00
*** Joins: nutron (~nutron@unaffiliated/nutron)17:43
*** Joins: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net)19:01
*** Quits: echo083 (~adam@mna75-11-88-161-199-126.fbx.proxad.net) (Quit: Quit)19:30
*** Quits: nutron (~nutron@unaffiliated/nutron) (Ping timeout: 252 seconds)19:30
*** Joins: nutron (~nutron@unaffiliated/nutron)20:43

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!