Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2019-08-29 07:40:52 GMT <alfresco-discord> <bhagyas> @Thijs @lars created a branch on the SDK fixing the issue I was having - do you have any info/tips on running the non-published maven plugin version (2.0.1)

2019-08-29 07:40:59 GMT <alfresco-discord> <bhagyas> gradle* plugin

2019-08-29 07:41:11 GMT <alfresco-discord> <bhagyas> I hope to dump the Alfresco SDK for good this time and be done with it

2019-08-29 07:43:56 GMT <alfresco-discord> <Thijs> @bhagyas he created a multi-config-project branch

2019-08-29 07:44:14 GMT <alfresco-discord> <Thijs> but for now, he only added a test to reproduce your issue

2019-08-29 07:44:15 GMT <alfresco-discord> <bhagyas> yp

2019-08-29 07:44:25 GMT <alfresco-discord> <Thijs> so it is not fixed there yet

2019-08-29 07:44:28 GMT <alfresco-discord> <bhagyas> ah okay, so it's not fixed yet?

2019-08-29 07:44:29 GMT <alfresco-discord> <bhagyas> got it

2019-08-29 07:44:32 GMT <alfresco-discord> <bhagyas> I'll try to fix it

2019-08-29 07:44:51 GMT <alfresco-discord> <Thijs> ok

2019-08-29 07:44:53 GMT <alfresco-discord> <bhagyas> I had the plugin checked out to work on it, but didn't get to invest much time learning the code base

2019-08-29 07:45:21 GMT <alfresco-discord> <Thijs> we would be thrilled if we got some external contribution

2019-08-29 07:45:29 GMT <alfresco-discord> <bhagyas> ^_^

2019-08-29 07:45:52 GMT <alfresco-discord> <bhagyas> I'd love to, if I can get this to work

2019-08-29 07:45:54 GMT <alfresco-discord> <bhagyas> 😄

2019-08-29 07:46:00 GMT <alfresco-discord> <Thijs> you can publish the plugin to your mavenlocal

2019-08-29 07:46:31 GMT <alfresco-discord> <Thijs> or, like we usually do, is use the reproduction test to debug, fix it

2019-08-29 07:46:47 GMT <alfresco-discord> <Thijs> and then publish locally and use it in another project to validate

2019-08-29 07:47:33 GMT <alfresco-discord> <bhagyas> yeah

2019-08-29 07:47:40 GMT <alfresco-discord> <bhagyas> I'm going to try that

2019-08-29 07:47:51 GMT <alfresco-discord> <bhagyas> for now, I think fixing the deprecation warnings might just make it work

2019-08-29 07:48:09 GMT <alfresco-discord> <bhagyas> 🤞🏽

2019-08-29 07:50:07 GMT <alfresco-discord> <Thijs> ./gradlew publishToMavenLocal

2019-08-29 07:52:35 GMT <alfresco-discord> <bhagyas> got it

2019-08-29 08:03:32 GMT <alfresco-discord> <Thijs> @bhagyas It should work if you stick with Gradle 4.10.3

2019-08-29 08:22:43 GMT <alfresco-discord> <bhagyas> ah okay

2019-08-29 08:23:01 GMT <alfresco-discord> <Thijs> are you using gradle wrapper?

2019-08-29 08:32:43 GMT <alfresco-discord> <bhagyas> yeah

2019-08-29 08:32:48 GMT <alfresco-discord> <bhagyas> or not

2019-08-29 08:32:53 GMT <alfresco-discord> <bhagyas> nope, I'm using just gradle

2019-08-29 08:33:33 GMT <alfresco-discord> <Thijs> well, in your project folder, execute:

2019-08-29 08:34:02 GMT <alfresco-discord> <bhagyas> I found some intersting fixes on other gradle plugin projects

2019-08-29 08:34:03 GMT <alfresco-discord> <bhagyas> https://github.com/apollographql/apollo-android/commit/97ec9c568ca4d40294a68da0735bd4af220b4191

2019-08-29 08:34:05 GMT <alfbot> Title:Modernize build and fix deprecated gradle API usages (#1476) · apollographql/apollo-android@97ec9c5 · GitHub (at github.com)

2019-08-29 08:34:35 GMT <alfresco-discord> <Thijs> gradle wrapper --gradle-version 4.10.3

2019-08-29 08:34:52 GMT <alfresco-discord> <Thijs> then you should be able to use the local ./gradlew

2019-08-29 08:35:01 GMT <alfresco-discord> <Thijs> as a temporary workaround

2019-08-29 08:48:55 GMT <alfresco-discord> <bhagyas> got it

2019-08-29 11:33:09 GMT <AFaust> angelborroy: Isn't there a server-root WAR for the 6.1 release? Or is that still using the same as in 6.0.1?

2019-08-29 11:33:31 GMT <angelborroy> Good question

2019-08-29 11:33:37 GMT <angelborroy> Let me see

2019-08-29 11:35:03 GMT <AFaust> At least I did not find a newer one on artifacts.alfresco.com, but maybe the artifact ID has changed (again)

2019-08-29 11:35:16 GMT <angelborroy> 6.0.1

2019-08-29 11:35:19 GMT <angelborroy> There is no other

2019-08-29 11:35:53 GMT <AFaust> Oh... Alfresco Search Service 1.4.0 has been built / published on Nexus yesterday...

2019-08-29 11:36:03 GMT <angelborroy> Yep

2019-08-29 11:36:09 GMT <angelborroy> We’re releasing these days

2019-08-29 11:36:34 GMT <AFaust> Still going to stick to latest 1.3.0.x for this customer that I am migrating from 3.4 to 6.1...

2019-08-29 11:36:45 GMT <angelborroy> No relevant news from 1.3.06

2019-08-29 11:37:07 GMT <angelborroy> Sharding has been improved and some other fixes

2019-08-29 11:37:11 GMT <angelborroy> But no new features at all

2019-08-29 11:39:21 GMT <angelborroy> Be careful with / 1.4, as it’s SSL by default

2019-08-29 11:39:28 GMT <AFaust> Oh wow... I never thought I'd be downloading a 3.4 WAR ever again, but for the upcoming test migration I want to have every reasonably relevant intermediary version handy..

2019-08-29 11:40:08 GMT <AFaust> Well, that customer is running on Windows, so no Docker at all, and only explicit config instead of some magic defaults...

2019-08-29 11:40:50 GMT <angelborroy> btw, I added a section in https://github.com/Alfresco/SearchServices/tree/master/search-services

2019-08-29 11:40:51 GMT <alfbot> Title:SearchServices/search-services at master · Alfresco/SearchServices · GitHub (at github.com)

2019-08-29 11:41:08 GMT <angelborroy> As default Docker Image cannot be built from Windows

2019-08-29 11:41:11 GMT <AFaust> Also will be interesting to set up + switch back to all the legacy local transformers for this release.

2019-08-29 11:41:17 GMT <angelborroy> “Building Docker Image from Window”

2019-08-29 11:41:46 GMT <AFaust> Whoever voluntarily runs a production system off of Docker on WIndows is insane...

2019-08-29 11:42:17 GMT <angelborroy> It was related with some members in the team, that are using Windows for developing

2019-08-29 11:42:28 GMT <AFaust> Honestly, I would very much prefer to Alfresco to finally have the guts to say: F**k Windows, we are no longer supporting it, so that customers don't get the idea it is a viable option...

2019-08-29 11:42:38 GMT <angelborroy> Agree

2019-08-29 11:43:04 GMT <AFaust> I am also using Windows for development, but it should be made clear that this is more like "expert mode" and not something that should be done for production.

2019-08-29 11:43:38 GMT <AFaust> Also can't wait for MS SQL support to die...

2019-08-29 11:43:45 GMT <angelborroy> :D

2019-08-29 11:45:04 GMT <AFaust> Same for Oracle support, but unfortunately that is an even larger customer base that would need re-education and some brain un-washing to realise it is a crap DB...

2019-08-29 11:48:37 GMT <AFaust> Did anyone bother to try the in-memory message broker for more than just dev / test environment, maybe even in an Enterprise production environment?

2019-08-29 11:49:23 GMT <angelborroy> What “in-memory message broker”?

2019-08-29 11:49:44 GMT <angelborroy> Kafka has been discarded (don ask me why) and we are tied to ActiveMQ from now

2019-08-29 11:50:40 GMT <AFaust> Referring to this: https://github.com/Alfresco/alfresco-sdk/blob/master/archetypes/alfresco-allinone-archetype/src/main/resources/archetype-resources/__rootArtifactId__-platform-docker/src/main/docker/alfresco-global.properties#L82

2019-08-29 11:50:41 GMT <alfbot> Title:alfresco-sdk/alfresco-global.properties at master · Alfresco/alfresco-sdk · GitHub (at github.com)

2019-08-29 11:52:01 GMT <angelborroy> It’s used only for testing/development purposes

2019-08-29 11:52:05 GMT <AFaust> It has worked so far in some of my local dev integration tests runs with 6.1 Docker (without disabling events / messaging subsystem), but I am considering to set this up for this customer for real, because who cares for ActiveMQ, they have no need for this at all..

2019-08-29 11:53:19 GMT <AFaust> Yeah, I am not asking what Alfresco thinks about this. I already know the company is hyped on this ActiveMQ bloat... The question was more for other people in this channel if they have considered / tried to use this for reals, not just what Alfresco "intends" it to be used for.

2019-08-29 13:18:31 GMT <alfresco-discord> <bhagyas> @Thijs fixed it!

2019-08-29 13:18:42 GMT <alfresco-discord> <bhagyas> some unit test code needs to be upgraded to work

2019-08-29 13:18:52 GMT <alfresco-discord> <bhagyas> but im going to commit the changes to my fork

2019-08-29 13:21:08 GMT <alfresco-discord> <Thijs> awesome, I can't wait

2019-08-29 13:32:53 GMT <alfresco-discord> <bhagyas> @Thijs https://github.com/bhagyas/alfresco-gradle-sdk/commit/cc70b5e93f519432fccb6d054bd4d2b56513eaa3

2019-08-29 13:32:54 GMT <alfbot> Title:Adding support for merging sourceSets and dropping support for Gradle… · bhagyas/alfresco-gradle-sdk@cc70b5e · GitHub (at github.com)

2019-08-29 13:59:56 GMT <alfresco-discord> <Thijs> @bhagyas Thanks. We'd have to check if dropping 4.x support is acceptable already, and if it is avoidable.

2019-08-29 14:11:26 GMT <alfresco-discord> <bhagyas> The FileTreeInternal is no longer allowed from 4.x

2019-08-29 14:11:37 GMT <alfresco-discord> <bhagyas> I think dropping 4.x might be the best way forward

2019-08-29 14:12:02 GMT <alfresco-discord> <bhagyas> (also 6.0 is also on its way, and it would even break even more)

2019-08-29 14:12:24 GMT <alfresco-discord> <bhagyas> What I found was that dropping 4.x can lead to less code on the plugin, which I think is good

2019-08-29 14:15:14 GMT <alfresco-discord> <bhagyas> Now I can successfully build the repo module from the gradle sdk

2019-08-29 14:15:22 GMT <alfresco-discord> <bhagyas> Going to see how to build the Share module

2019-08-29 14:15:51 GMT <alfresco-discord> <Thijs> OK. As soon as you send in a PR, we can start reviewing it, and possibly discuss further there

2019-08-29 14:16:10 GMT <alfresco-discord> <Thijs> I'm already happy somebody managed to work himself into the project

2019-08-29 14:16:47 GMT <alfresco-discord> <bhagyas> I'll send in the PR right now, to the branch @lars created

2019-08-29 14:16:56 GMT <alfresco-discord> <Thijs> ok

2019-08-29 14:17:15 GMT <alfresco-discord> <bhagyas> The unit test for the emptyAmpProject seems to break, since a context constructor is removed from 5.x

2019-08-29 14:17:20 GMT <alfresco-discord> <bhagyas> so I commented it out

2019-08-29 14:17:27 GMT <alfresco-discord> <Thijs> I'll have a look

2019-08-29 14:18:41 GMT <alfresco-discord> <bhagyas> https://github.com/xenit-eu/alfresco-gradle-sdk/pull/25

2019-08-29 14:18:43 GMT <alfbot> Title:Adding support for merging sourceSets and dropping support for Gradle… by bhagyas · Pull Request #25 · xenit-eu/alfresco-gradle-sdk · GitHub (at github.com)

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco