-
Notifications
You must be signed in to change notification settings - Fork 105
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
Defending against duplicate plugin entries #19
Comments
Might want to figure out how this works for import and other composed configs as well and ensure some sort of sanity .. maybe warning and latest version wins? Or fail fast to be on the safe side.. |
All configuration:
debug: true
dependencies:
- "mvn://com.walmartlabs.concord.plugins:git:1.19.0"
- "mvn://com.walmartlabs.concord.plugins:git:1.19.1"
flows:
default:
- log: "Hello!" when running locally produces
|
that would mean that provided semver is used that newer plugin versions automatically override older ones. At least for one digit semver... e.g. 1.2.3 before 1.2.2 before 1.1.2 Might not work for e.g. is 1.1.1.jar before 1.1.10.jar although I think it should ( symbol before digit?) |
I guess latest version libs override the older version (not sure of does will this work with 1.1.1 and 1.1.10 as pointed out by @mosabua ) |
I'm failing to see where the issue is. At the moment the list of E.g. configuration:
debug: true
dependencies:
- "mvn://com.walmartlabs.concord.plugins.basic:http-tasks:1.1.0"
- "mvn://com.walmartlabs.concord.plugins.basic:http-tasks:1.53.1"
flows:
default:
- log: "Hello!" Aether picks only the artifacts of the We might want to warn users if they have duplicates within a |
If you have something like the following where you accidentally list a plugin twice:
We might want to warn or probably just fail fast and now allow it. Not sure how the plugin retriever or plugin classloader works but if can allow the random ordering of the plugins and how they are loaded it might lead to unexpected results.
The text was updated successfully, but these errors were encountered: