Skip to content
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

Implement plugin dependencies, loaded in dependency first order #1701

Merged
merged 6 commits into from
Sep 29, 2024

Conversation

NotStirred
Copy link
Member

@NotStirred NotStirred commented Mar 6, 2024

This PR doesn't implement a plugin loader API but that is now ready for another PR.

Outstanding things:

@NotStirred NotStirred marked this pull request as ready for review September 21, 2024 15:41
Copy link
Member

@leMaik leMaik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just unsure whether we need the plugin loader to be pluggable.

@NotStirred
Copy link
Member Author

Yes that is one of the main goals for this PR, do you remember the discussion about having a plugin that would transform 2.4.x plugins to support 2.5.x etc.? That's the main reason

@leMaik
Copy link
Member

leMaik commented Sep 23, 2024

Ah, indeed I do remember this. Allright. 👍

@leMaik
Copy link
Member

leMaik commented Sep 24, 2024

I added the new dependency to the readme etc. and replaced semver4j with maven-artifact. What do you think about the last two commits, @NotStirred?

Edit: maven-artifact depends on org.codehaus.plexus.util 🤔 Why can't we use semver4j or something more lightweight?

@NotStirred
Copy link
Member Author

NotStirred commented Sep 25, 2024

Chunky is not and never has been semver, and plugins are almost definitely not either
here is the discord discussion from a while ago

@NotStirred
Copy link
Member Author

NotStirred commented Sep 25, 2024

new commits look good, thanks 👍

maven-artifact is 200KB including all dependencies, that's not unreasonable

@leMaik leMaik merged commit 0bc1302 into chunky-dev:master Sep 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants