Skip to content

Few issues with the main branch#29

Open
Smuger wants to merge 2 commits intoNexGenCloud:mainfrom
Smuger:make-sure-code-builds
Open

Few issues with the main branch#29
Smuger wants to merge 2 commits intoNexGenCloud:mainfrom
Smuger:make-sure-code-builds

Conversation

@Smuger
Copy link
Copy Markdown

@Smuger Smuger commented Apr 17, 2025

Hi Hyperstack Team,

There are a few issues with building the project from the current main branch.

Since the project is in its Alpha stage, you probably already have a completely revamped version that just isn’t live yet.

If not, could you please take a look and let me know if the following changes are correct?

  1. Update goreleaser syntax
    Format was renamed to formats, and now accepts a list of formats.
    https://goreleaser.com/deprecations/#archivesformat

  2. In the fix_api_spec.py "/core/virtual-machines/{virtual_machine_id}/sg-rules" should be replaced with "/core/virtual-machines/{vm_id}/sg-rules" not "/core/virtual-machines/{id}/sg-rules"

/core/virtual-machines/{virtual_machine_id}/sg-rules
change to
/core/virtual-machines/{vm_id}/sg-rules
  1. In the fix_provider_spec.py make sure that attr actually has ["single_nested"]["attributes"]
if attr.get("single_nested", {}).get("attributes"):
    for nested in attr["single_nested"]["attributes"]:
        attr_update_nested(nested, updater)

Smuger added 2 commits April 17, 2025 15:11
move /core/virtual-machines/{id} to /core/virtual-machines/{vm_id};
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.

1 participant