IRC Archive for channel #xwiki on 30 September 2014

Last modified by Vincent Massol on 2014/09/30 23:46

<OSIMasson> has quit
02:55 <milesdo83> has joined #xwiki
02:58 <milesdo83> has quit
06:00 <Denis1> has joined #xwiki
06:02 <Denis> has quit
07:28 <msmeria> has joined #xwiki
07:34 <DarkKnightCZ> has joined #xwiki
07:57 <milesdo83> has joined #xwiki
08:24 <vmassol> has joined #xwiki
08:33 <vmassol> solr 4.10.1 is out and good morning
08:58 <tmortagne> has joined #xwiki
09:01 <milesdo83> has left #xwiki
09:17 <gdelhumeau> has joined #xwiki
09:35 <evalica> has joined #xwiki
09:46 <Enygma`> has joined #xwiki
09:51 <DarkKnightCZ> can i somehow create page with mediawiki syntax? I've found it should be possible, just no examples
09:52 <DarkKnightCZ> ha, content macro
09:52 <mflorea> has joined #xwiki
09:58 <AFKGeek> has joined #xwiki
10:10 <vmassol> good morning
10:10 <vmassol> today is 6.2.1 release day
10:11 <vmassol> only 1 test failing on ci
10:11 <vmassol> http://ci.xwiki.org/job/xwiki-enterprise-test-wysiwyg-6.2.x/lastBuild/org.xwiki.enterprise$xwiki-enterprise-test-wysiwyg/testReport/org.xwiki.test.wysiwyg/MacroTest/testDoubleClickToEditMacro/
10:11 <vmassol> Enygma`: is that one you had analyzed?
10:11 <vmassol> ah yes I remeber this one
10:11 <vmassol> there's a jira issue for it I think
10:11 <evalica> yes
10:12 <evalica> XWIKI-11057
10:13 <Enygma`> hi vmassol
10:13 <Enygma`> yes
10:16 <evalica> I need 30 minutes pls to commit something for an important bug in Flamingo
10:16 <vmassol> evalica: ok
10:22 <Lyes> has joined #xwiki
10:30 <gdelhumeau> I create the 6.2.2 version on JIRA and I postpone the issues currently affected to 6.2.1?
10:32 <vmassol> Enygma`: you want to do the 6.2.1 release or should I do it?
10:33 <Enygma`> hah! Everybody seems to want to do this release :D
10:33 <Enygma`> I would prefer not to do it, since I have stuff to catch up to
10:33 <evalica> ok - I'm done …. there are many other isssues - but this one was a blocker - thanks for waiting - you can go on with the release. My commit will not affect the tests.
10:33 <vmassol> ok then I'll start in 30 minutes
10:34 <Enygma`> so whoever wants to do it, I`m fine with it
10:34 <vmassol> gdelhumeau: yes 6.2.2 is ok
10:36 <sburjan> has quit
10:41 <Enygma`> vmassol: any idea how I could cast to a float in velocity?
10:41 <Enygma`> not having much success at this point
10:41 <Enygma`> everything seems to go into Double
10:41 <vmassol> $numbertool maybe
10:43 <vmassol> you have a string or double as input
10:43 <vmassol> ?
10:43 <Enygma`> a string
10:44 <vmassol> ok then
10:44 <vmassol> $numbertool.toNumber()
10:44 <vmassol> returns a Number
10:44 <vmassol> and then floatValue()
10:45 <Enygma`> yep, nice one
10:45 <Enygma`> forgot about that
10:45 <Enygma`> though not velocity friendly at all
10:45 <Enygma`> thx
10:45 <Enygma`> I`m pusing a fix for 6.2.1 as well in 5 minutes
10:45 <vmassol> maybe there's a simpler way I don't now
10:46 <Enygma`> none that I could found
10:46 <Enygma`> *find
10:49 <vmassol> Enygma`: here's another possibility
10:49 <vmassol> $mathtool.toDouble(…).floatValue()
10:49 <vmassol> very similar....
10:50 <Enygma`> I know, but indeed, same logic
10:54 <tmortagne> Enygma`: you need a float for what ?
10:54 <tmortagne> passing it as method parameter ?
10:54 <Enygma`> filtering in the livetable
10:54 <Enygma`> query parameter
10:54 <tmortagne> ok
10:54 <tmortagne> so can't use automatic conversion indeed
10:54 <Enygma`> nope
10:54 <Enygma`> the solution worked out nicely
10:54 <Enygma`>  #set($numberValue = $numbertool.toNumber(${filterValue}))
10:54 <Enygma`>  #if($tableName == 'IntegerProperty' || $tableName == 'LongProperty') ...etc
10:55 <Enygma`>  #set($numberValue = $numberValue.longValue())
10:55 <Enygma`> #set($numberValue = $numberValue.intValue())
10:55 <Enygma`>  #set($numberValue = $numberValue.floatValue())
10:55 <Enygma`> #set($numberValue = $numberValue.doubleValue())
10:55 <Enygma`> I re-did the filtering fix so that it is complete
10:55 <Enygma`> the issue was only about long, but the problem was with all numbers
10:55 <Enygma`> XWIKI-11000
10:56 <Enygma`> committing
11:06 <Enygma`> should be fine now
11:07 <Enygma`> I`m done for 6.2.1
11:12 <gdelhumeau> vmassol: how can I launch a functional test from maven with my own instance of xwiki ?
11:12 <gdelhumeau> I don't want the test to stop mine and to start a new instance
11:15 <tmortagne> gdelhumeau: as far as I can see in XWikiExecutor you can set -DxwikiPort and -DxwikiStopPort
11:17 <vmassol> gdelhumeau: you need to use:
11:17 <vmassol> -Dxwiki.test.verifyRunningXWikiAtStart=true
11:18 <vmassol> (since 6.2)
11:18 <vmassol> the pom sets it to false by default
11:18 <tmortagne> ha no reuse the existing instance, read too fast
11:18 <vmassol> so you need to override it on the command eline
11:18 <gdelhumeau> ok good
11:19 <vmassol> startig the 6.2.1 release
11:19 <tmortagne> hmm this mean that when starting a test from the EDI it will try to start a new instance by default ?
11:19 <vmassol> no the opposite :)
11:19 <vmassol> the default is true
11:19 <tmortagne> so we force Maven  by default to not reuse it, ok
11:19 <vmassol> yes
11:23 <vmassol> gdelhumeau: http://jira.xwiki.org/browse/XWIKI-10745 is still open
11:23 <vmassol> is that normal?
11:24 <gdelhumeau> yes I wanted to postpone it to 6.2.2
11:24 <gdelhumeau> it's done now
11:24 <vmassol> ok
11:24 <gdelhumeau> I need to verify that I do not break the tests before commiting it
11:24 <gdelhumeau> let say we'll do it for 6.2.2
11:25 <vmassol> but I saw some commits yesterday
11:25 <vmassol> it was another issue?
11:25 <gdelhumeau> not about that for sure
11:25 <vmassol> about the languages at the top right in the top menu
11:25 <gdelhumeau> I did commit but on my own fork, as a backup
11:25 <vmassol> ah I saw teh screenshots
11:25 <vmassol> but probably not the commits
11:29 <gdelhumeau> about -Dxwiki.test.verifyRunningXWikiAtStart=true, it's the same for selenium-1 based tests?
11:32 <vmassol> gdelhumeau: yes, it's in XWikiExecutor
11:35 <gdelhumeau_> has joined #xwiki
12:01 <Denis1> is now known as <Denis>
12:17 <Lyes1> has joined #xwiki
12:20 <Lyes> has quit
13:12 <vmassol> building platform 6.2.1 now....
13:14 <vmassol> guys we need to decide how we handle RN for 6.3M1. Right now it says "Since 6.2". I think we should keep that
13:14 <vmassol> this means that all RN in 6.2.1 and 6.2.2 need to be also copied in 6.3M1 RN
13:14 <vmassol> I've done that for 6.2.1
13:14 <vmassol> but everyone will need to do that for 6.2.2 too
13:14 <vmassol> if we agree about this strategy
13:14 <vmassol> the other strategy is to remove stuff from 6.3 but I find that less good
13:15 <vmassol> and say "Since 6.2.1" and then "Since 6.2.2" in the RN of 6.3M1
13:15 <vmassol> this will remove a lot for 6.3M1 RN so I don't like it too much
13:15 <vmassol> wdyt?
13:16 <vmassol> BTW in the RN for 6.2.1 and 6.2.2 we don't need detailed RN, the full list of jiras should be enough
13:16 <vmassol> (that's what we do in general for bug fix releases)
13:36 <gdelhumeau_> 6.2.1 is not only a bug fix release...
13:38 <tmortagne> yes that's the main issue, usually we don't really have to wonder about what RN should contain the new features and improvements
13:41 <vmassol> I don't think it changes anything
13:41 <vmassol> it's still majoritarily a stabilization/bugfix release of 6.2
13:41 <vmassol> (mostly stabilizing the flmaingo skin)
13:42 <gdelhumeau_> then 6.3 is a stabilization of 6.2 too, regarding flamingo
14:05 <vmassol> gdelhumeau_: not just flamingo, thre are most stuff for 6.3
14:06 <andreeapopescu> has joined #xwiki
14:17 <evalica> has quit
14:20 <Enygma`> has quit
14:42 <vmassol> ok release done in maven
14:43 <vmassol> lots of jobs are going to fail
14:44 <vmassol> because ci needs a rebuild of the 6.2.x branch in the right order....
14:44 <vmassol> always a pain
14:44 <tmortagne> as usual yes
15:00 <andreeapopescu> has quit
15:04 <OSIMasson> has joined #xwiki
15:08 <evalica> has joined #xwiki
15:24 <mflorea> has quit
15:24 <mflorea1> has joined #xwiki
15:28 <andreeapopescu> has joined #xwiki
15:39 <msmeria> has quit
15:40 <evalica> has quit
15:46 <vmassol> tmortagne: I'm at this step: http://dev.xwiki.org/xwiki/bin/view/ReleasePlans/ReleasePlanHelp#HPushtoOW2
15:47 <evalica> has joined #xwiki
15:47 <vmassol> at http://forge.ow2.org/project/showfiles.php?group_id=170&release_id=5539 I see that the standard jar has been uploaded
15:47 <vmassol> but only this one it seems
15:47 <vmassol> is that something you got too when you did your last release?
15:47 <sdumitriu> vmassol: What if we don't "install" on agents, this will force them to fetch the snapshots from nexus
15:48 <vmassol> if you don't install then all jobs will fail
15:48 <sdumitriu> Hard to deploy without install, unless we explicitly disable the install mojo
15:48 <sdumitriu> Why?
15:48 <tmortagne> vmassol: great it's broken again...
15:48 <vmassol> we do'nt install
15:48 <vmassol> we deploy
15:48 <AFKGeek> has quit
15:48 <vmassol> and install is before deploy
15:48 <tmortagne> it's not because it's not listen that it's not uploaded
15:49 <tmortagne> upload generally work well
15:49 <tmortagne> but last time it was an issue in the UI when creating release description
15:49 <tmortagne> so you will have to modify this release and add missing file that are probably on the server, just not added to the release
15:50 <tmortagne> it's a pity they don't have a real stable API to create the release description
15:50 <vmassol> ok
15:51 <sdumitriu> tmortagne: Maybe we should ask for an API
15:51 <sdumitriu> A good forge should offer APIs for automation
15:52 <tmortagne> sdumitriu: I sent them a mail last time it was broken talking about real API but don't seems to want to invest in it
15:53 <tmortagne> I never saw ow2 as good forge in any way...
15:53 <tmortagne> it's only a pain on our side
16:01 <AFKGeek> has joined #xwiki
16:19 <DarkKnightCZ> has quit
16:31 <gdelhumeau_> vmassol: I just find http://jira.xwiki.org/browse/XWIKI-11144
16:31 <Enygma`> has joined #xwiki
16:32 <vmassol> ok too bad
16:32 <gdelhumeau_> so either I re-release xwiki-platform, or we wait for 6.2.2
16:32 <vmassol> no re-release
16:33 <Enygma`> has quit
16:35 <Enygma`> has joined #xwiki
16:47 <andreeapopescu> has quit
16:48 <andreeapopescu> has joined #xwiki
16:54 <vmassol> will be —> is
16:54 <vmassol> ;)
16:55 <gdelhumeau_> grr
16:58 <OSIMasson> has quit
17:19 <OSIMasson> has joined #xwiki
17:21 <OSIMasson> has quit
17:27 <AFKGeek> has quit
17:30 <andreeapopescu> has quit
17:48 <sburjan> has joined #xwiki
18:03 <gdelhumeau_> has quit
18:08 <woshilapin> has quit
18:23 <evalica> has quit
18:24 <tmortagne> has quit
18:33 <mflorea1> has quit
19:22 <tmortagne> has joined #xwiki
19:22 <tmortagne> has quit
19:27 <vmassol> has quit
19:29 <Lyes1> has quit
19:33 <AFKGeek> has joined #xwiki
20:12 <abusenius> has joined #xwiki
20:27 <AFKGeek> has quit
20:32 <sburjan> has quit
20:50 <andreeapopescu> has joined #xwiki
20:55 <andreeapopescu> has quit
21:40 <mflorea> has joined #xwiki
21:41 <mflorea> has quit
22:08 <mflorea> has joined #xwiki
22:42 <sburjan> has joined #xwiki
23:15 <Lyes> has joined #xwiki
23:23 <Lyes> has quit
23:24 <Enygma`> has quit
23:27 <mflorea> has quit
23:46 <abusenius> has quit
Tags:
   

Get Connected