IRC Archive for channel #xwiki on 14 March 2017

Last modified by Vincent Massol on 2017/03/14 23:41

<Alvis> has quit
00:46 <Alvis> has joined #xwiki
01:13 <Alvis> has quit
01:16 <Alvis> has joined #xwiki
01:34 <Alvis> has quit
01:58 <Alvis> has joined #xwiki
03:49 <xwiki_vik> has joined #xwiki
05:32 <sgc_072> has joined #xwiki
06:13 <mflorea> has joined #xwiki
06:29 <TheBigfoot[m]> has joined #xwiki
06:48 <msmeria> has joined #xwiki
07:00 <Alvis> has quit
07:33 <mflorea> has quit
07:52 <sgc_072> has quit
08:35 <vmassol> Hi Alvis
08:36 <xwiki_vik> has quit
08:36 <vmassol> you can find the process and preparation/application here: http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Guidelines (link from http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ )
08:36 <vmassol> let us know if you have specific question
08:36 <vmassol> thanks!
08:36 <vmassol> and nice to see that you're interested :)
09:01 <sgc072> has joined #xwiki
09:21 <vmassol> good morning
09:22 <vmassol> today I'll try to upgrade our functional tests to the latest selenium version
09:24 <tmortagne1> still working on EM issues from the roadmap on my side
09:26 <vmassol> (I've updated http://jira.xwiki.org/browse/XCOMMONS-862 )
09:31 <vmassol> BTW I also need to finish migrating our scriptler scripts to jenkins pipeline. I found how to do it last week
09:32 <tmortagne1> vmassol: we also need to update the script we use to copy commons/rendering/platform/xe jobs since it's not renaming properly the links (the new jobs keep links on master jobs)
09:32 <faichelbaum> has quit
09:33 <vmassol> ah ok weird, what links are you referring to?
09:33 <tmortagne1> we changes most of the jobs to have explicit links instead of use automated snapshots links some time ago
09:34 <tmortagne1> the script should just rename all the link it can find but right now it just recreate the links it think it think are supposed to be there
09:34 <tmortagne1> the script should just rename all the link it can find but right now it just recreate the links it think are supposed to be there
09:34 <tmortagne1> the script should just rename all the link it can find but right now it just recreate the links it think are supposed to be there and don't touch others
09:35 <tmortagne1> talking about links between jobs ("when this jobs is built start this one", etc)
09:36 <tmortagne1> the IRC bot should probably be modifed to generate https links to jira instead of the current http ones
09:39 <vmassol> the other option is to speed up the move to pipeline and have it handle branches automatically
09:39 <vmassol> I think we're close to being able to do that
09:39 <tmortagne1> there is still the explicit link issue
09:39 <tmortagne1> how to you make jobs depends on each other with pipeline ?
09:40 <vmassol> good question, I'll research that but I'm sure there's an api
09:42 <vmassol> btw just found https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Dependency+Walker+Plugin. I still need to understand if it would have any interest for us
09:43 <vmassol> in any case it could be nice to implement the automated release process I'm dreaming of ;)
09:46 <mflorea> has joined #xwiki
09:50 <mflorea> vmassol: do you have an example of a JenkinsFile that enables the -Pintegration-tests profile?
09:50 <mflorea> actually forget that, I don't use a JenkinsFile :)
09:50 <mflorea> for the moment
09:52 <mflorea> btw, do we know what causes http://ci.xwiki.org/job/xwiki-contrib-application-ckeditor/146/
09:52 <mflorea> Groovy script failed: org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedClasspathException: classpath entry file:/var/lib/jenkins/scriptler/scripts/ (fb9e1bc3c70175e29bf831e129551ed53362a93f) not yet approved for use
09:52 <vmassol> regarding integration-tests profile, it's by default ;)
09:53 <vmassol> (when you use xwikiModule DSL)
09:53 <vmassol> mflorea: yes I know what causes it
09:53 <vmassol> groovy runs in sandbox
09:53 <vmassol> let me check
09:55 <vmassol> btw mflorea why is this extension not using pipeline?
10:07 <mflorea> vmassol: I need the 6.2.5 parent first. I just didn't spent the time to release parent 6.2.5 and more to pipeline
10:08 <tmortagne1> mflorea: your job is using a very old postbuild
10:08 <tmortagne1> fixing it
10:08 <vmassol> mflorea: I don't understand. the parent version you use is defined in the pom.xml, not in the jenkinsfile. The jenkinsfile is not working with 6.2.5?
10:09 <tmortagne1> should be ok now
10:09 <mflorea> I didn't set any post build, it probably comes from the copy
10:09 <mflorea> when I created the job initially I copied from some other job
10:09 <mflorea> thanks
10:09 <tmortagne1> a very long time ago then :)
10:09 <mflorea> yes, 1 year ago
10:10 <mflorea> when I started working on CKEditor integration
10:11 <vmassol> I would still be interested to understand why our jenkinsfile cannot be used to build ckeditor extension as is :)
10:13 <mflorea> vmassol: here http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HRequestingCI2FSnapshotbuildsforyourproject the JenkinsFile seems to be related to the parent-XXX module.
10:14 <mflorea> I haven't tried, but my impression when reading that was that I have to use the parent-platform parent first
10:14 <tmortagne1> mflorea: it's not
10:14 <mflorea> my current parent is xwiki-commons-pom
10:14 <acotiuga> has joined #xwiki
10:15 <mflorea> ok, thanks, then I'll give it a try (as I said, I haven't tried, just read that and got the impression that I need to move to parent-platform first)
10:15 <sgc_072> has joined #xwiki
10:27 <tmortagne1> mflorea: by the way publishing a new contrib parent takes 5 minutes
10:28 <faichelbaum> has joined #xwiki
10:29 <mflorea> ok, I'll do it when I get back to CK, I need to work on the Administration for the next couple of days
10:29 <tmortagne1> would it make that much of a difference to use the already exising 6.4 based parent by the way ?
10:29 <tmortagne1> it's quite old too
10:30 <tmortagne1> it's quite old too so it's probably not such a bid deal to do this upgrade
10:34 <vmassol> mflorea: using jenkinsfile is a matter of 2mn normally, you just need to commit the same jenkinsfile than other jobs
10:34 <vmassol> and remove/disable your job and you're done
10:35 <vmassol> s/job/existing job
10:35 <vmassol> cannot be simpler :)
10:43 <faichelbaum> hi guys, regarding my performance issue on the doc tree (and also the one about the nested pages) explained yesterday, any idea ?
10:44 <evalica> has joined #xwiki
10:46 <vmassol> hi faichelbaum
10:47 <vmassol> no idea on my side except that it looks like some old issue we fixed. mflorea should know more (when he's available)
10:49 <mflorea> faichelbaum: the doc tree performance has been fixed with http://jira.xwiki.org/browse/XWIKI-13468 and http://jira.xwiki.org/browse/XWIKI-13700. If you have an older version of XWiki then I encourage you to upgrade.
10:50 <faichelbaum> has quit
10:51 <mflorea> if you have a recent version but you upgraded from an older version, then you need to make sure the XWiki.DocumentTree and XWiki.DocumentTreeMacros has been property updated, especially if you modified them previously.
10:52 <faichelbaum> has joined #xwiki
11:06 <msmeria> has quit
11:07 <msmeria> has joined #xwiki
11:37 <mflorea> has quit
11:39 <ol-ow2> has joined #xwiki
11:39 <mflorea> has joined #xwiki
11:42 <ol-ow2> Hi !  i'm using velocity macro in a custom display (class page / string field), i would like include a page which contains all macros, so i'm using {{include document="MyMacroPage"/}} but  doesn't work, there is another way to do that ? mflorea vmassol gdelhumeau
11:43 <gdelhumeau> {{include reference="" /}}
11:43 <ol-ow2> which are the difference between document / reference ?
11:45 <ol-ow2> anyway, doesn't work :(
11:46 <tmortagne1> ol-ow2: make sure you have this include macro before your velocity content
11:46 <tmortagne1> this is wiki content so it's executed after Velocity if you put it inside it
11:47 <tmortagne1> "document" and "reference" parameters have the same effect, "document" is just the deprecated name so you should use "reference"
11:47 <ol-ow2> hum.. ok, but in this case i can't use a dynamic macro name page
11:47 <tmortagne1> you can
11:47 <tmortagne1> in a different Velocity macro
11:47 <ol-ow2> ok thanks to alert me about depreacating
11:48 <tmortagne1> you need include to be executed before the velocity that use its content
11:48 <ol-ow2> ok, i'll try
11:49 <ol-ow2> yeah, that's work, many thanks tmortagne1
12:00 <sgc072> has quit
12:01 <sgc072> has joined #xwiki
12:03 <sgc072> Hi, I am planning to work on this minor issue: http://jira.xwiki.org/browse/XWIKI-12397?filter=10534 . Could anyone tell me where can I find its source code?Which repository?
12:03 <vmassol> hi sgc072
12:03 <sgc072> I am facing problem to find the repo.
12:04 <vmassol> the repo is at https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-blog
12:04 <vmassol> there are some info on http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository if you want to understand more about what is where
12:05 <vmassol> (but not obvious I agree ;))
12:07 <sgc072> Hi vmassol , In general how can I find the repository from a given bug. Mostly I am not able to. :(
12:07 <sgc072> I will go through the latter link. Thanks
12:15 <vmassol> sgc072: if the jira project is XWiki Platform then it's in the xwiki-platform repo
12:15 <vmassol> if the jira projrt is XWiki Commons then it's in the xwiki-commons repo
12:15 <vmassol> etc
12:18 <sgc072> vmassol, I basically face problems in navigating through the repository like: which files to edit and make changes.
12:19 <vmassol> sgc072: I gave you the location for the blog app
12:19 <vmassol> what do you need?
12:19 <sgc072> No no I am talking in general.
12:19 <vmassol> location of blog app= https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-blog
12:19 <vmassol> yes but xwiki is large
12:20 <vmassol> there's no single answer :)
12:20 <vmassol> in general platform modules are in  https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core if that's the question
12:20 <vmassol> you'll need to be more specific
12:33 <sgc072> I think I need to do more research.
12:41 <vmassol> oops sorry for the spam
12:56 <acotiuga> has quit
12:57 <acotiuga> has joined #xwiki
13:06 <sgc072> has quit
14:19 <sgc072> has joined #xwiki
14:42 <floflobel> has joined #xwiki
14:59 <prakhar123> has joined #xwiki
15:02 <sgc_072> has quit
15:06 <prakhar123> has left #xwiki
15:08 <acotiuga> has quit
15:18 <msmeria> has quit
15:36 <floflobel> has quit
15:39 <sgc072> has quit
15:49 <KermitTheFragger> has joined #xwiki
15:49 <sgc072> has joined #xwiki
15:51 <lamer14895025665> has joined #xwiki
15:52 <lamer14895025665> has quit
15:53 <lamer14895026823> has joined #xwiki
15:54 <lamer14895026823> has quit
15:54 <IRCFrEAK> has joined #xwiki
15:55 <IRCFrEAK> has quit
15:56 <IRCFrEAK> has joined #xwiki
15:56 <IRCFrEAK> has left #xwiki
16:00 <IRCFrEAK> has joined #xwiki
16:01 <IRCFrEAK> has quit
16:02 <madgoat> has joined #xwiki
16:03 <madgoat> has quit
16:05 <lamer14895033950> has joined #xwiki
16:06 <lamer14895033950> has quit
16:06 <IRCFrEAK> has joined #xwiki
16:07 <IRCFrEAK> has quit
16:20 <mflorea> has quit
16:22 <sgc072> has quit
16:27 <Alvis> has joined #xwiki
16:51 <Alvis> has quit
17:30 <OSIMasson1> has joined #xwiki
17:36 <sgc_072> has joined #xwiki
17:43 <sgc072> has joined #xwiki
18:00 <ol-ow2> has quit
18:02 <evalica> has quit
18:16 <KermitTheFragger> has quit
18:24 <vmassol> mflorea: ping
18:30 <KermitTheFragger> has joined #xwiki
18:36 <vmassol> s/ping//
19:34 <Alvis> has joined #xwiki
19:34 <sgc072> has quit
19:47 <Alvis> has quit
19:48 <Alvis> has joined #xwiki
20:09 <Aranjedeath> has joined #xwiki
20:12 <Alvis_> has joined #xwiki
20:15 <Alvis> has quit
20:24 <Alvis__> has joined #xwiki
20:28 <Alvis_> has quit
20:34 <msmeria> has joined #xwiki
20:39 <msmeria> has quit
20:52 <sgc_072> has quit
20:54 <Alvis__> has quit
21:10 <Alvis> has joined #xwiki
21:13 <KermitTheFragger> has quit
21:44 <mflorea> has joined #xwiki
23:13 <fwiesing> has joined #xwiki
23:16 <mflorea> has quit
23:41 <Alvis> has quit

Get Connected