Skip to content

Conversation

@riptide-01
Copy link
Member

@riptide-01 riptide-01 commented Dec 29, 2025

📝 Description

This PR improves the plugin system by introducing requirements checks between plugins.

Changes made:

  • 🔍 Added plugin requirements checking, allowing plugins to declare dependencies on other plugins.
  • ⚙️ Introduced the --resolve-plugins-conflicts flag to install dependencies automatically before installing a plugin.
  • 🧩 Enhanced plugin contract output.
  • 🧱 Added plugin requirements structures to the PluginContract DTO.
  • 🧰 Added getInstalledPluginVersion helper function.
  • 📦 Moved optional parameters for plugin installation into the installPluginOptions struct.

❓ Why do we need it, and what problem does it solve?

Some plugins may depend on other plugins or specific versions. It need to be validated to prevent unexpected behavior.

…cking

Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 self-assigned this Dec 29, 2025
@riptide-01 riptide-01 added the enhancement New feature or request label Dec 29, 2025
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 force-pushed the feature/plugins-requirements branch from 029884b to 6eb7e08 Compare January 13, 2026 13:20
@riptide-01 riptide-01 changed the title [feature] Add requirements plugins validation [feature] Add plugin-to-plugin requirements checks and conflict resolution Jan 13, 2026
riptide-01 and others added 2 commits January 13, 2026 17:14
Signed-off-by: Maxim Smyslov <70270470+riptide-01@users.noreply.github.com>
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 marked this pull request as ready for review January 13, 2026 14:53
@riptide-01 riptide-01 requested a review from ldmonster as a code owner January 13, 2026 14:53
@riptide-01 riptide-01 force-pushed the feature/plugins-requirements branch from d6511eb to 30f78b7 Compare January 13, 2026 15:34
Signed-off-by: Smyslov Maxim <maksim.smyslov@flant.com>
@riptide-01 riptide-01 force-pushed the feature/plugins-requirements branch from 30f78b7 to 8429b15 Compare January 13, 2026 15:54
@ldmonster ldmonster merged commit 2cd0353 into main Jan 14, 2026
4 checks passed
@ldmonster ldmonster deleted the feature/plugins-requirements branch January 14, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants