Skip to content

Feature/add module spec #19

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Feature/add module spec #19

wants to merge 3 commits into from

Conversation

PI-Victor
Copy link
Member

No description provided.

Signed-off-by: Victor Palade <victor@cloudflavor.io>
@PI-Victor
Copy link
Member Author

/triage
/assign
/label enhancement

@oscar-automaton oscar-automaton bot added the enhancement New feature or request label Aug 21, 2024
Signed-off-by: Victor Palade <victor@cloudflavor.io>
@PI-Victor PI-Victor force-pushed the feature/add-module-spec branch from 8412e17 to 915a5f6 Compare August 21, 2024 20:04
@PI-Victor PI-Victor requested a review from Copilot May 28, 2025 09:51
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces updates to the Skyforge plugin API and the accompanying implementation in the Hetzner plugin while also enhancing module documentation.

  • Updated the wit interface in spec/wit/skyforge.v1.wit by replacing deserialize-config with verify-config and get-version.
  • Modified the SDK macros to generate the new trait functions and updated the Hetzner plugin implementation accordingly.
  • Enhanced documentation in the Hetzner specs and adjusted the network spec formatting.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
spec/wit/skyforge.v1.wit Changed API signature by removing deserialize-config and adding verify-config and get-version.
crates/sdk/skyforge-sdk-macros/src/lib.rs Updated macro expansion to implement get_version and verify_config functions.
crates/plugins/hetzner/src/resources/instance.rs Minor documentation adjustment with added comment slashes.
crates/plugins/hetzner/src/lib.rs Updated plugin implementation to align with the new API signatures.
crates/plugins/hetzner/spec/network.star Commented out network module code with updated documentation.
crates/plugins/hetzner/spec/base.star Expanded documentation and module configuration details.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Victor Palade <victor@cloudflavor.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage/accepted
Development

Successfully merging this pull request may close these issues.

1 participant