-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#13552 Merge grails-async into grails-core #13955
Conversation
Before running the build, Travis CI installs dependencies: ./gradlew assemble Skip the installation step entirely by adding the following to your .travis.yml: https://docs.travis-ci.com/user/job-lifecycle/#skipping-the-installation-phase
grails/grails-doc#947 is the doc PR. For merge order: we should merge this one first, and then that one (and kick off the doc build again). |
After reviewing a few things, I think bringing this in may a bad idea:
if 1 and 2 are true, this code really doesn't belong in this repo and really should be on an independent release cycle. |
This may or may not be true. I think |
👍 |
This merge makes sense to me. It very rarely changes outside of grails core. In that context alone I think it's fine to merge into the single mono repo to reduce complexity in release |
Per discussion with @jamesfredley & @matrei , I have changed the bom scope to implementation from api. We do not want any grails project exporting the bom as an API dependency, because all projects & grails apps should explicitly include the version. Otherwise, you'll fight version resolution like @codeconsole has commented on in the slack channel. |
669b7d2
to
9e8333b
Compare
After fixing the projectDir for the example grails application from the async/events, it's failing to build with this error:
It's failing when the gradle plugin is applied in the test project. The gradle plugin depends on the grails-gradle-model, which is in core. Because of this circular reference, to correctly test, I don't think a full grails project can live inside of core (unless we had a mono repo). I'm looking for solutions to this problem. |
@jdaugherty Add this to bootRun {
mainClass = 'pubsub.demo.Application'
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
} |
Adding these did not resolve the error:
|
@matrei that's not a reason to merge async into core. It's probably the opposite. IMO, It is very likely grails-spring-security-core plugin has no future. Most of what it does works on deprecated functionality scheduled to be removed this year. Its current state doesn't even remotely match the existing filter chain. I had to completely write a new plugin to properly lock down my application. |
I may have found the cause for the test project: hierynomus/license-gradle-plugin#161 |
- docs are moved to grails-doc repo - old async github workflows & associated config removed - async & events split into separate directories - shared example project now lives in grails-test-examples - remove test and example projects from the bom - fix async / events in the bom now that they're in grails-core - change the build action to not fail fast so we can identify which version of java is failing
This was only intended as feedback to your question/statement that "most grails applications don't use" async & events. |
grails-async
,grails-events
, &grails-test-examples
foldersTODO - async move
This PR contains the entire history of grails-async, which was imported under /grails-async. It then modifies the original async structure to be like this:
To make this easier to review, only review the commits after "Imported grails-async" ... any commit prior is just imported for-like under
/grails-async
. Commits after that are moving the project, splitting it, etc.