Thursday, 2010-09-09

*** Quits: siebrand (~beis@sm.xs4all.nl) ()01:38
*** Joins: kirillka (~Miranda@195.242.142.17)01:44
*** Joins: davidinc (d5374b48@gateway/web/freenode/ip.213.55.75.72)02:30
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:31
*** Joins: giallu (~giallu@fedora/giallu)02:57
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)02:58
*** dhx_m is now known as dhx04:00
*** dhx is now known as dhx104:00
*** Joins: moto-moi (~hylke@cara.xs4all.nl)04:03
*** Joins: Al_Chapone (~chatzilla@ATuileries-152-1-23-72.w82-123.abo.wanadoo.fr)04:32
*** Joins: paulr (~a@212.85.5.19)04:47
kirillkadhx1: hi04:57
kirillkagiallu: hi. Can you compile last documentation?04:58
giallukirillka, I guess so05:01
kirillkagiallu: When?05:03
gialludo you want me to update the one in docs.mantisbt.org?05:04
kirillkagiallu: No. I want pdf file05:06
gialluok, so is this ok for you ? http://giallu.fedorapeople.org/MantisBT-1.2-Admin_Guide-en-US.pdf05:07
kirillkagiallu: tnx05:11
paulrlo05:23
* paulr pokes dhx105:28
kirillkapaulr: hi06:59
kirillkaI seek dhx_m too :)06:59
kirillkadhx1: bug 1231306:59
foobotBug 12313 - Avg00r - reopened - feedback06:59
foobotCan't open image attachments in browser windows - http://www.mantisbt.org/bugs/view.php?id=1231306:59
*** Quits: Al_Chapone (~chatzilla@ATuileries-152-1-23-72.w82-123.abo.wanadoo.fr) (Ping timeout: 240 seconds)07:23
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)07:57
*** Joins: Al_Chapone (~chatzilla@ATuileries-152-1-23-72.w82-123.abo.wanadoo.fr)08:30
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net)09:07
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Quit: Rixie)09:29
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)09:32
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Client Quit)09:34
*** Joins: gtocci (937b05a0@gateway/web/freenode/ip.147.123.5.160)09:47
gtoccihello09:47
gtocciI am not able to login to http://www.mantisbt.org/bugs/login_page.php. I created an account and modified the password, but i can not login09:48
*** Quits: davidinc (d5374b48@gateway/web/freenode/ip.213.55.75.72) (Ping timeout: 252 seconds)09:48
*** Joins: lrojas (~lrojas@76.65.240.2)09:49
*** Quits: gtocci (937b05a0@gateway/web/freenode/ip.147.123.5.160) (Quit: Page closed)09:56
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)10:46
*** Quits: dhx1 (~anonymous@c122-107-170-247.eburwd5.vic.optusnet.com.au) (Ping timeout: 246 seconds)10:51
*** Quits: Al_Chapone (~chatzilla@ATuileries-152-1-23-72.w82-123.abo.wanadoo.fr) (Ping timeout: 246 seconds)11:03
*** Joins: orac1 (~jb_buldog@082-146-096-222.dyn.adsl.xs4all.be)12:00
*** Quits: orac1 (~jb_buldog@082-146-096-222.dyn.adsl.xs4all.be) (Quit: ChatZilla 0.9.86 [Firefox 3.6.9/20100824153629])12:06
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 240 seconds)12:20
*** Joins: siebrand (~beis@sm.xs4all.nl)12:20
*** Quits: lrojas (~lrojas@76.65.240.2) (Remote host closed the connection)12:22
*** Quits: paulr (~a@212.85.5.19) ()12:41
*** Joins: rombert (~robert@109.99.153.161)12:48
*** Joins: paulr (~IceChat09@2001:470:9310:aaaa:b4f6:37f8:6411:7c35)13:27
paulrmo13:32
romberthey paul13:34
paulrlo13:36
paulrI really do hate emails heh :)13:36
rombert:-)13:36
paulr4 emails and I think we've both clarified what we meant13:36
rombertyup, more or less13:36
*** Quits: Ragnor (~Ragnor@dslb-188-100-037-187.pools.arcor-ip.net) (Disconnected by services)13:37
*** Joins: Ragnor (~Ragnor@dslb-188-100-037-187.pools.arcor-ip.net)13:37
paulranyway, phpuc is based on CI where CI obviously has been around for a while, hudson used to be one dev, now does plugins dunno how it's dev'd now. For a backend13:38
paulrI kinda see CI/hudson as achieving the same tasks13:38
paulrfor a frontend, phpuc is a better template then CI's stuff13:39
paulri've not looked at hudson's frontend13:39
romberthttp://github.com/hudson/hudson-main13:39
paulrconfig file etc etc I kinda see as fairly irrelevant as in theory we set something up one13:39
rombertthose are the contributions to the hudson core13:40
rombertthe plugins are something else13:40
rombertas for the frontend, have a look at https://build.eclipse.org/hudson/13:40
rombertAs for the config, I think that we are going to tweak it for quite some time13:41
paulrbtw, as far as i'm aware: bamboo (Atlassian (commercial) aka companybehind jira), hudson, and cruisecontrol are all free for us as an open source project13:41
rombertTrue13:41
paulriirc, there's a CI thing on code.google.com based on the php version of nunit too13:42
rombertI don't now about that13:42
rombertBut we can have free CI hosting at CodeBetter.com13:42
paulrwell, I dunno if it works :P13:42
rombertI set up 3 projects over there recently13:42
romberthttp://teamcity.codebetter.com/13:42
rombertThat can also be an option13:42
rombertFewer headaches for us13:42
paulrwell yes/no13:43
paulrI originally set up the CI thing when I was trying to get some decent php codesniffer formatting rules and phpdoc warnings gone13:43
paulrwe do tend to find random utilities/build scripts to do "stuff"13:44
paulrThe biggest issue is we have different ideas of how to do things13:44
rombertWell, yes13:45
paulrpretty sure that daryn, dhx, nuclear_eclipse and myself all have slightly differing views on a) whether js files hsould be compressed b) if yes, when to compress them13:45
rombertAnd visibility over these things will help13:45
rombertright13:45
rombertI am not all that interested in what we run on13:46
rombertWhat I do want is something which allows us - hardware-wise - to run all we want to run13:46
rombertIs able to yank13:46
rombertout a variety of notifications13:46
rombertand is configurable enough to withstand our endless tweaking13:46
paulryea, you can do irc/twitter/etc from both hudson/CI13:47
rombertwhether it's phpUnderControl, Hudson or Teamcity ... doesn't really matter13:47
paulrthe 'bigger' issue is whether we run our own stuff or external13:47
paulrgiven our tweaking own is my opinion13:47
paulrhowever, that kinda also requires devoting one developer to running that13:48
rombertCodeBetter have been kind enough to tweak whatever I needed to do13:48
romberteven for some more exotic things they installed the software13:48
rombertand job configuration is really easy in teamcity13:48
paulrteamcity have an opensource license too btw13:49
rombertYeah, but we would still need to host it13:50
rombertso it's on the same level with Hudson/Bamboo13:50
rombertCodeBetter have a good hardware setup , quite fast13:50
paulrI'm not too fussed about hosting it however:13:50
paulri've learnt a couple of things:13:50
rombertso that would definitely reduce the need for us to beef up our MantisBT / MantisForge setup13:50
paulra) if you keep old builds - you get lots of files13:51
paulrb) phpdoc and co need lots of ram13:51
romberta) we don't to keep old builds13:52
rombertperhaps only releases13:52
rombertwhich are not so many13:52
rombertb) phpdoc , etc - perfect candidate for nightly job13:52
rombertwe can run phpunit tests on each commit13:52
rombertand the nightly job regenerates the documentation and does all the expensive stuff13:52
paulrmy h/w atm is quad core intel, with 8gb ram, 100gb backup space and unlimited traffic13:53
paulrwell 'unlimited'13:54
rombertthat should be much more than enough13:54
paulrunlimited = after 5000GB in a month, I get throttled to 10mbps13:54
rombert'throttled'13:54
rombert:-)13:54
rombertthat's still quite a lot13:54
paulroh13:55
paulrthe other thing i've learn from running CI stuff (and some coding i've tried to do on another project)13:55
paulroh, and from when I did something at uni 9 years ago:13:55
paulrc) I hate java13:55
rombert:-)13:55
paulrhttp://code.google.com/p/xinc/13:56
paulrbtw, that's what I was thinking of13:56
rombertWell, you don't have to develop in java to set up Bamboo/TeamCity/Hudson13:56
*** Joins: giallu (~giallu@fedora/giallu)13:56
rombertok13:57
paulrwhat we actually need most however13:58
paulris a good (graphic) designer13:58
rombertoh yes13:58
rombertDon't get me started13:58
rombert:-)13:58
rombertxinc looks fine, even though I still need to hack config files - which is fine by itself.13:59
rombertBut it requires filesystem access13:59
rombertwhich is not so nice13:59
rombertdoes it support git ?13:59
*** Joins: lrojas (~lrojas@76.65.240.2)13:59
rombertthe slides only mentioned svn13:59
paulrprobably not however13:59
paulrfor the most part of what we are probably actually trying to do14:00
paulrwe could probably write in a 2 line batch file14:00
paulri.e. in essence, all we are trying to do is automate: git  update; phpdoc; buildrelease.py;done14:01
paulrand make it look pretty14:01
paulr[06:58.01] <paulr> what we actually need most however14:01
paulr[06:58.12] <paulr> is a good (graphic) designer14:01
rombert(+ tests)14:01
rombert+ possibly the end-user documentation14:01
rombert+pretty graphs and trends for it14:01
rombert+ notifications14:01
rombertAnd anyway, design is indepdendent of our CI solutions14:02
paulrtbh, graphs/trends for us is probably semi-pointless or at least:14:03
paulrwhat i'd hope is people would get into habit of adding phpdoc stuff automatically or whatever14:03
paulrI think it's probably more important to have up to date information on our releases/branches14:04
rombertyes, that too14:04
rombertI think we have two questions to answer14:04
romberta) do we self-host or not?14:04
rombertb) what solution do we use?14:04
paulrmy opinion is we self-host, but make sure we have a sensible backup plan14:05
rombertok14:05
paulrupload to amazon/google or whatever a backup14:05
paulronly because14:06
paulrwhilst we could put a little bit here14:06
paulrand a little bit there14:06
paulrI think we'd find we would want something special at some point14:06
paulrFor example, on my local box, I've often run various dev-builds of php14:07
paulrso when it came to php 5.3.0, in some cases, i've put patches in to fix issues at alpha/beta release stage of php14:07
paulr(well, maybe not that early but)14:07
paulrwhat I really need to do most if find a decent designer to design us a theme14:08
paulr:)14:08
* daryn hates getting dragged into discussions when away14:14
paulr:)14:14
*** Quits: lrojas (~lrojas@76.65.240.2) (Remote host closed the connection)14:55
*** Quits: giallu (~giallu@fedora/giallu) (Quit: Leaving)15:44
*** Joins: giallu (~giallu@fedora/giallu)15:44
darynpaulr any progress on lang_api?16:45
paulrsure16:49
paulryou know how it works atm? :P16:50
darynit doesn't :P16:50
paulrin that16:50
paulrwhat I thought we did was:16:50
paulra) load english16:50
paulrb) load <other language16:50
paulrhowever my debugging seems to indicate we:16:51
paulra) load german16:51
paulrb) load german16:51
paulrc) load german16:51
paulrd) load englihs16:51
paulrwhich was the point I got confused :P16:51
darynthat's weird16:51
paulrI was toying between two ideas:16:52
paulror more16:52
* paulr thinks16:52
paulrmy idea of putting the error strings inside the language error - i'm not so sure about16:52
* giallu notes thinking should be done _before_ pushing stuff in git... :P16:52
paulrdue to way php array merges16:53
paulrgiallu: the code change was reviewed by dhx ages ago16:53
paulrgiallu: lang strings tested in both formats with plugins/without etc16:53
paulrand load order seemed to make sense16:53
paulrdaryn: can you add a var_dump() to lang_load16:55
paulrand set g_default_lang or whatever it is to german16:55
paulrand tell me what the var_Dump hits16:55
paulrfor you16:55
giallupaulr, just for the records. this was done for what? performance?16:57
paulrtwo fold16:57
paulryes, it's a lot quicker16:57
gialluyeah. but...16:57
darynwhat do you want me to dump?  the lang_strings?16:57
paulrtwo, i think it helps towards what one of your aims was - reducing global variables16:57
paulrlang_load - var_Dump($p_lang);16:57
paulrthen set in config:16:58
gialludid we hear _any_ complain about performances? (ok, ok, I've finished trolling)16:58
paulr$g_default_language = 'german';16:58
paulrand hit the index page16:58
darynstring(7) "english"string(7) "english"string(7) "english"string(7) "english"16:59
paulrdid you set $g_default_language = 'german'; ?16:59
darynstrange16:59
darynyes16:59
paulrif( !isset( $g_lang_strings[$p_lang] ) ) {17:00
darynoh wait...i wonder if it's my account settings17:00
paulrif( !isset( $g_lang_strings[$p_lang] ) ) {17:00
paulrif( !isset( $g_lang_strings[$p_lang] ) ) {lang_load( $p_lang );17:00
paulrnow I thought we only hit lang_load once...17:00
darynok, i set my account to german and it says...17:00
darynstring(6) "german" string(6) "german" string(6) "german" string(6) "german"  string(7) "english"17:00
paulrunless of course17:01
paulrcould you var_dump( $p_lang.$p_dir)17:01
darynstring(6) "german" string(57) "german/var/www/mbt_dev/plugins/MantisCoreFormatting/lang/" string(52) "german/var/www/mbt_dev/plugins/XmlImportExport/lang/" string(48) "german/var/www/mbt_dev/plugins/MantisGraph/lang/"  string(7) "english"17:02
* paulr wonders if that's getting called from lang_get17:03
darynif what is getting called from lang_get17:04
paulrryn> string(6) "german" string(57) "german/var/www/mbt_dev/plugins/MantisCoreFormatting/lang/" string(52) "german/var/www/mbt_dev/plugins/XmlImportExport/lang/" string(48) "german/var/www/mbt_dev/plugins/MantisGraph/lang/"  string(7) "english"17:04
daryni put it in lang_load17:04
paulrif( lang_exists( $p_string, $t_lang ) ) {17:05
paulryea lang_get is called those ;/17:05
darynyea, i see that17:06
darynlang_ensure_loaded17:06
paulri'm kinda wondering if that code is in wrong place17:06
darynwell...was it working before?17:06
paulri'm looking down after that17:06
paulrthe plugin stuff17:06
darynyeah17:06
paulrif( lang_exists( $p_string, $t_lang ) ) {17:07
paulrreturn string17:07
paulrelse17:07
paulrsee if current plugin has it17:07
paulrwhich should return null on the homepage17:07
paulrare you logged in atm?17:07
darynlogged in where?17:08
paulror on the login pawge17:08
paulrto mantis17:08
darynlogged in17:08
paulrin that17:09
paulrif i go to load login_page.php17:09
paulrI get:17:09
paulrstring(6) "german" string(67) "germanC:\mantis\gitrepo\mantisbt\plugins\MantisCoreFormatting\lang\" string(58) "germanC:\mantis\gitrepo\mantisbt\plugins\MantisGraph\lang\" string(7) "english"17:09
paulrhowever17:09
paulras far as i'm concerned17:09
paulrmantisgraph shouldn't be called on the logon page??17:09
paulror at least17:09
paulrshouldn't need to load language strings...17:09
darynright...why would it even look at anything other than the standard strings...17:10
paulr#0  lang_get(plugin_graph_title) called at [C:\mantis\gitrepo\mantisbt\plugins\MantisGraph\MantisGraph.php:23]17:10
paulr#1  MantisGraphPlugin->register() called at [C:\mantis\gitrepo\mantisbt\core\classes\MantisPlugin.class.php:149]17:10
paulr#2  MantisPlugin->__construct(MantisGraph) called at [C:\mantis\gitrepo\mantisbt\core\plugin_api.php:777]17:10
paulr#3  plugin_register(MantisGraph) called at [C:\mantis\gitrepo\mantisbt\core\plugin_api.ph17:10
paulraha17:11
darynlooking for plugin_format_title...17:11
darynwhy?17:11
paulrahh I see now17:12
darynshould plugins be registering before logged in?17:12
paulror more17:12
paulrsure17:12
paulrthat's reasonable17:12
paulri'm not sure if registering a plugin and not using it should hit language api though17:13
paulrand i've just worked out why I was getting english, english, english, german, english as load order of languages17:13
paulra missing string in german language file + plugins getting registered17:14
darynk...so now what?17:15
paulrnow, I can fix stuff tomorrow :)17:19
paulras I now understand how plugins interface with lang api ;p17:19
darynfix tonight. you don't need sleep17:20
daryn:)17:20
paulrgn17:30
*** Quits: paulr (~IceChat09@2001:470:9310:aaaa:b4f6:37f8:6411:7c35) (Quit: Not that there is anything wrong with that)17:30
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)17:35
*** Quits: rombert (~robert@109.99.153.161) (Quit: Konversation terminated!)17:35
*** Quits: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) (Quit: Ex-Chat)17:54
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Ping timeout: 272 seconds)17:54
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (*.net *.split)18:20
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)18:21
*** Quits: siebrand (~beis@sm.xs4all.nl) ()18:22
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (*.net *.split)19:03
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)19:03
*** Quits: Ragnor (~Ragnor@dslb-188-100-037-187.pools.arcor-ip.net) (Disconnected by services)19:08
*** Joins: Ragnor (~Ragnor@dslb-188-100-037-187.pools.arcor-ip.net)19:08
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)19:24
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 265 seconds)19:41
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Joins: daryn (~daryn@h86.41.213.151.dynamic.ip.windstream.net)21:35
*** Quits: daryn (~daryn@h86.41.213.151.dynamic.ip.windstream.net) (Ping timeout: 276 seconds)21:50

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