IRC Archive for channel #xwiki on 27 August 2014

Last modified by Vincent Massol on 2014/08/27 23:32

<Lyes1> has quit
00:03 <Denis> has joined #xwiki
00:10 <OSIMasson> has quit
00:17 <Denis> has quit
00:20 <sburjan`> has joined #xwiki
00:20 <Denis> has joined #xwiki
00:35 <Denis> has quit
00:37 <sburjan`> has quit
00:37 <sburjan`> has joined #xwiki
00:37 <sburjan> has quit
00:37 <sburjan`> is now known as <sburjan>
00:39 <momomomomo> has quit
00:39 <OSIMasson> has joined #xwiki
00:39 <DuFFo_> has joined #xwiki
00:43 <benoitc> has quit
00:43 <polx> has quit
00:43 <tmortagne> has quit
00:43 <DuFFo> has quit
00:43 <DuFFo_> is now known as <DuFFo>
00:43 <benoitc> has joined #xwiki
00:45 <tmortagne> has joined #xwiki
01:15 <OSIMasson> has quit
01:52 <OSIMasson> has joined #xwiki
03:20 <RicardoSSP> has joined #xwiki
03:58 <RicardoSSP> has quit
04:06 <OSIMasson> has quit
04:07 <OSIMasson> has joined #xwiki
04:32 <Enygma`> has quit
04:39 <OSIMasson> has quit
04:40 <OSIMasson> has joined #xwiki
04:40 <OSIMasson> has quit
04:41 <OSIMasson> has joined #xwiki
04:41 <OSIMasson> has quit
04:41 <OSIMasson> has joined #xwiki
04:41 <OSIMasson> has quit
04:42 <OSIMasson> has joined #xwiki
04:42 <OSIMasson> has quit
06:03 <Lyes> has joined #xwiki
06:21 <Lyes> has quit
06:55 <mflorea> has joined #xwiki
07:04 <DarkKnightCZ> has joined #xwiki
07:06 <msmeria> has joined #xwiki
07:17 <andreeapopescu> has joined #xwiki
07:40 <DarkKnightCZ> has quit
08:06 <Denis> has joined #xwiki
08:11 <Denis> has quit
08:42 <mflorea> has quit
08:47 <vmassol> has joined #xwiki
08:49 <KermitTheFragger> has joined #xwiki
08:52 <vmassol> has quit
09:05 <gdelhumeau> has joined #xwiki
09:11 <woshilapin> has joined #xwiki
09:23 <DarkKnightCZ> has joined #xwiki
09:24 <mflorea> has joined #xwiki
09:52 <Denis> has joined #xwiki
09:59 <evalica> has joined #xwiki
09:59 <sburjan`> has joined #xwiki
10:02 <evalica1> has joined #xwiki
10:09 <vmassol> has joined #xwiki
10:10 <evalica> has quit
10:10 <sburjan> has quit
10:10 <sburjan`> is now known as <sburjan>
10:13 <lucaa> has joined #xwiki
10:13 <vmassol> has quit
10:15 <vmassol> has joined #xwiki
10:27 <vmassol> tmortagne: good morning
10:27 <tmortagne> vmassol: good morning
10:28 <vmassol> have you seen http://ci.xwiki.org/job/xwiki-enterprise/11286/ ?
10:28 <vmassol> (haven't lookedat it yet, just noticed it happened after your last commit)
10:29 <lucaa1> has joined #xwiki
10:30 <tmortagne> Enygma reported it and fixed it before the release (and I fixed it a bit more cleanly this morning)
10:30 <tmortagne> See on Skype
10:30 <lucaa> has quit
10:33 <vmassol> ok good
10:47 <Slashman> has joined #xwiki
11:25 <gdelhumeau> has quit
11:31 <Enygma`> has joined #xwiki
11:31 <gdelhumeau> has joined #xwiki
11:34 <D-Spair> has quit
11:43 <gdelhumeau> has quit
11:50 <Inge-> is the debian package a sane way to install xwiki these days?
11:50 <vmassol> I think so
11:50 <Inge-> Cool I'll give it a shot.
11:51 <Inge-> my installation notes for setting up the dependencies and getting stuff working (on old version now..) were rather extensive.
11:57 <tmortagne> Inge-: it should be yes
11:57 <tmortagne> and it's very customizable if you don't want tomcat, etc.
12:00 <Inge-> last time I did a thorough setup/doc, it seemed that mysql/tomcat was pretty much the only truly recommended setup.
12:01 <tmortagne> it is the most tested one
12:08 <gdelhumeau> has joined #xwiki
12:43 <vmassol> has quit
12:48 <vmassol> has joined #xwiki
12:58 <D-Spair> has joined #xwiki
13:04 <Enygma`> vmassol: I have not noticed in the 6.1M1 release, but seems your https://github.com/xwiki/xwiki-commons/commit/569065b601a483b59f511248e7764f15629bdc73 does not fail the build, but running an explicit clirr check will output this:
13:04 <Enygma`> ERROR: 6010: org.xwiki.tool.enforcer.VersionCheck: Accessibility of field allowedVersionRegex has been weakened from public to private
13:06 <Enygma`> do regular builds have failOnError=false? Is this something worth mentioning in the release notes' clirr report?
13:38 <vmassol> Enygma`: that's because we don't check clirr for tools
13:38 <vmassol> these tools are moslty for internal usage
13:39 <vmassol> and it doesn't matter if they break backward compat, at least that was the justification for not running clirr on the
13:39 <vmassol> *them
13:47 <Lyes> has joined #xwiki
14:20 <Denis> has quit
14:24 <D-Spair> has quit
14:46 <Denis> has joined #xwiki
14:55 <Lyes> Hi dev
14:55 <Lyes> devs
14:55 <Lyes> i have error when i build https://github.com/xwiki-contrib/application-meeting/
14:56 <Lyes> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-no-legacy-dependencies) on project application-meeting: Unable to parse configuration of mojo org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce: UnsupportedClassVersionError: Class name which was explicitly given in configuration using 'implementation' attribute: 'org.xwiki.tool.enforcer.XWikiBannedDependencies' cannot be loaded: org/xwiki/tool/enforce
14:57 <vmassol> that's because you're using Java7 when you should be using 6 I guess
14:57 <vmassol> (Lyes)
14:57 <Lyes> non i use Java 6
14:57 <vmassol> Lyes: what does "mvn --version" genertae?
14:58 <Lyes> 3.0.4
14:58 <vmassol> java version
14:58 <vmassol> it might be the way around thoug
14:58 <vmassol> you use java6 when you need java7
14:58 <Lyes> 1.6.0_45
14:59 <vmassol> depends on the top level pom you're using
14:59 <tmortagne> this kind of error is usually the other way around
14:59 <vmassol> check the top level pom you're using
14:59 <vmassol> and check the enforcer there
14:59 <tmortagne> you are probably building with a dependency built with Java 7
15:00 <tmortagne> Lyes: what version of standard xwiki modules this application is depending on ?
15:00 <tmortagne> I could check it myself...
15:01 <tmortagne> ok so first issue: don't depend on a snapshot unless you really really really need it
15:01 <DarkKnightCZ> hi, is it enough to implement Initializable so the component will be initialized at startup?
15:01 <tmortagne> second, 6.2 is build with Java 7 so you need to build you application with Java 7
15:01 <msmeria> has quit
15:01 <tmortagne> if you use XWiki 6+ you require Java 7 or more
15:01 <tmortagne> so that's your issue here
15:02 <andreeapopescu> has quit
15:02 <vmassol> DarkKnightCZ: not at startup
15:02 <vmassol> but when the component is first loaded
15:03 <Lyes> has quit
15:03 <DarkKnightCZ> vmassol: hmm, and is there a way how to initialize component at startup?
15:04 <tmortagne> DarkKnightCZ: you need to listen to either ApplicationStartedEvent or ApplicationReadyEvent depending if you need to access the database or not
15:05 <DarkKnightCZ> tmortagne: ok, thanks
15:06 <Lyes> has joined #xwiki
15:12 <vmassol> Enygma`: usually we keep the old dates and strike it out
15:13 <vmassol> to remember how we delayed the releases
15:13 <vmassol> I'm referring to http://www.xwiki.org/xwiki/bin/view/Roadmaps/WebHome
15:13 <vmassol> fixing
15:24 <DarkKnightCZ> has quit
15:26 <DarkKnightCZ> has joined #xwiki
15:36 <vmassol> guys, regarding RM do we agree that only committers should do it?
15:40 <tmortagne> vmassol: you need to do commit on github so without the right it's impossible
15:41 <vmassol> indeed
15:41 <vmassol> so that closes the problem, going to reply to Arvind
15:41 <tmortagne> now there is things that are doable
15:42 <vmassol> fixing tests?
15:44 <vmassol> (fixing tests is hard though for someone external)
15:44 <DarkKnightCZ> has quit
15:48 <tmortagne> vmassol: I mean during the release
15:48 <tmortagne> there is all the paper work
15:51 <vmassol> yes but IMO they'er too small tasks to be done by several persons especially if they haven't done it before
15:58 <evalica1> is now known as <evalica>
15:58 <vmassol> guys a lot of jobs are failing again on ci :(
16:01 <DarkKnightCZ> has joined #xwiki
16:01 <DarkKnightCZ> can i inject ScriptService component without creating role for that?
16:02 <vmassol> usually you don't inject ScriptService since it's supposed to be used from scripting
16:02 <vmassol> but not sure what your question is
16:02 <vmassol> each impl of ScriptService needs a @Named
16:02 <vmassol> (DarkKnightCZ)
16:05 <momomomomo> has joined #xwiki
16:06 <tmortagne> DarkKnightCZ:  ScriptService class itself is a role so not very sure what you are calling a role here
16:08 <KermitTheFragger> has quit
16:08 <KermitTheFragger> has joined #xwiki
16:13 <DarkKnightCZ> vmassol, tmortagne: yes, i have scriptservice like that and i need to access it from another component (and i cannot inject scriptservice, because i will not have access to public methods)
16:13 <vmassol> well as I said ScriptServices are usually not meant to be injected
16:13 <vmassol> but
16:13 <vmassol> if you really want that you need to introduce a business interface
16:14 <tmortagne> script service don't have anything special
16:14 <tmortagne> the role is ScriptService and you need to indicate the hint using @Named
16:14 <lucaa1> DarkKnightCZ: ScriptService is not made to be accessed from another component. If you want to access it from another component, you define your own interface (role) and your implementation will implement both. You use script service only if you need to access it from $services from scripts
16:14 <tmortagne> but you will have to cast your ScriptService since this interface itself does not contain any method
16:14 <tmortagne> that why ScriptService is usually not used from other component
16:15 <DarkKnightCZ> yup, so i need to define new role
16:15 <tmortagne> ScriptService is meant to be a facade calling the actual component doing the job behind the scene
16:15 <DarkKnightCZ> yup, thanks
16:15 <tmortagne> basically you should never have any other logic than what is specific to scripting in ScriptService and put everything else in a custom component
16:16 <vmassol> yes tmortagne's last point is the most important
16:29 <DarkKnightCZ> has quit
16:45 <DarkKnightCZ> has joined #xwiki
16:52 <DarkKnightCZ1> has joined #xwiki
16:55 <DarkKnightCZ> has quit
16:57 <DarkKnightCZ1> has quit
16:59 <vmassol> tweet:
16:59 <vmassol> "https://twitter.com/mojavelinux/ any work with https://twitter.com/search?q=%23xwiki to support https://twitter.com/search?q=%23asciidoctor in syntaxes? I have a wiki converter but asdoc is badly supported ATM"
16:59 <vmassol> https://twitter.com/rmannibucau/status/504642846436364288
17:18 <tmortagne> has quit
17:18 <joel2> has quit
17:18 <bouquetf> has quit
17:19 <vmassol> has quit
17:19 <lucaa1> has quit
17:19 <sdumitriu> has quit
17:19 <Denis> has quit
17:19 <sburjan> has quit
17:19 <evalica> has quit
17:19 <woshilapin> has quit
17:19 <gdelhumeau> has quit
17:19 <tekzilla> has quit
17:19 <sdumitriu1> has quit
17:19 <momomomomo> has quit
17:19 <Enygma`> has quit
17:19 <benoitc> has quit
17:19 <Slashman> has quit
17:19 <mflorea> has quit
17:19 <tillo> has quit
17:19 <FUF> has quit
17:19 <KermitTheFragger> has quit
17:19 <Lyes> has quit
17:19 <octo> has quit
17:19 <lynxt> has quit
17:19 <Emenems> has quit
17:23 <Lyes> has joined #xwiki
17:23 <Denis> has joined #xwiki
17:23 <gdelhumeau> has joined #xwiki
17:23 <Slashman> has joined #xwiki
17:23 <mflorea> has joined #xwiki
17:23 <DuFFo> has joined #xwiki
17:23 <joel2> has joined #xwiki
17:23 <FUF> has joined #xwiki
17:23 <lynxt> has joined #xwiki
17:23 <Lyes> @Vincent: I still have the same message on http://nexus.xwiki.org/ "Nexus returned an error: ERROR 403: Forbidden"
17:23 <Lyes> and "xwiki_contrib_staging_profile-1141 (u:lbandou, a:105.111.121.159) (Access Denied)" on content tab
17:23 <momomomomo> ;o
17:32 <vmassol> Lyes: ok promoting for you
17:34 <KermitTheFragger> has quit
17:34 <Lyes> thank you
17:39 <DarkKnightCZ> has joined #xwiki
17:41 <vmassol> Lyes: make sure the issues are closed and the version released in jira
17:41 <vmassol> and a new version created in jira
17:41 <vmassol> doing it since I don't think you have the permissions
17:42 <vmassol> hmmmm
17:42 <vmassol> Lyes: is there a jira project for it?
17:42 <vmassol> I see http://jira.xwiki.org/browse/MEETING but it looks like a different extension
17:42 <Lyes> http://jira.xwiki.org/browse/XAMEETINGS
17:47 <Lyes> and in need to change id on http://extensions.xwiki.org/xwiki/bin/view/Extension/Meeting+Application to org.xwiki.contrib:application-meeting-ui
17:51 <vmassol> indeed my bad I had missed that jira project
17:52 <tmortagne> Lyes: you just need to edit http://extensions.xwiki.org/xwiki/bin/view/Extension/Meeting+Application with object editor
17:52 <Lyes> yes i know
17:52 <Lyes> thanks
17:54 <vmassol> Lyes: there are some problems
17:54 <vmassol> 9 issues were fixed for 1.2.3
17:54 <vmassol> but you released 1.3
17:54 <vmassol> so now your solution is to remove version 1.2.3 and move all issues to 1.3
17:54 <vmassol> you should have checked which version to release first
17:55 <vmassol> doing the swapping now for you
17:55 <vmassol> can you confirm to me that 1.2.3 has never been released?
17:55 <vmassol> I don't see it on http://maven.xwiki.org/releases/org/xwiki/contrib/application-meeting/
17:55 <Lyes> http://maven.xwiki.org/releases/org/xwiki/contrib/application-meeting/
17:56 <vmassol> you understand your error?
17:56 <Lyes> yes
17:56 <vmassol> ok fixing now
17:57 <vmassol> should be ok now, see http://jira.xwiki.org/browse/XAMEETINGS#selectedTab=com.atlassian.jira.plugin.system.project%3Achangelog-panel
17:57 <vmassol> 11 issues in 1.3
17:58 <Lyes> thanks
17:58 <vmassol> Lyes: don't forget to add release notes on http://extensions.xwiki.org/xwiki/bin/view/Extension/Meeting+Application
17:58 <vmassol> (using the jira macro)
17:59 <vmassol> and check if the documentation is up to date
17:59 <Lyes> ok
18:02 <gdelhumeau> has quit
18:13 <vmassol> has quit
18:15 <mflorea> has quit
18:21 <momomomomo_> has joined #xwiki
18:22 <momomomomo> has quit
18:22 <momomomomo_> is now known as <momomomomo>
18:33 <lucaa1> has quit
18:45 <Lyes> has quit
18:46 <evalica> has quit
18:49 <momomomomo> is now known as <momomomomo`away>
18:50 <momomomomo`away> has quit
18:54 <Enygma`> has quit
19:23 <Slashman> has quit
19:36 <vmassol> has joined #xwiki
19:38 <Lyes> has joined #xwiki
19:51 <msmeria> has joined #xwiki
19:51 <msmeria> has quit
20:01 <momomomomo> has joined #xwiki
20:21 <tmortagne> has quit
20:34 <Lyes> has quit
20:38 <Denis> has quit
20:59 <mflorea> has joined #xwiki
21:16 <woshilapin> has quit
21:44 <OSIMasson> has joined #xwiki
21:52 <momomomomo> has quit
21:52 <lucaa> has joined #xwiki
21:53 <momomomomo> has joined #xwiki
22:17 <vmassol> has quit
22:21 <DarkKnightCZ> has quit
22:54 <momomomomo_> has joined #xwiki
22:56 <momomomomo> has quit
22:56 <momomomomo_> is now known as <momomomomo>
23:23 <D-Spair> has joined #xwiki
23:31 <momomomomo> has quit
23:32 <momomomomo> has joined #xwiki
23:32 <lucaa> has quit
Tags:
   

Get Connected