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

Add kernel image upload and download functionality #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ivntsng
Copy link
Member

@ivntsng ivntsng commented Nov 19, 2024

  • Upload kernel images to listings
  • Download and cache images locally
  • Manage local image cache

@@ -15,6 +16,7 @@ def cli() -> None:

cli.add_command(urdf_cli, "urdf")
cli.add_command(pybullet_cli, "pybullet")
cli.add_command(kernel_images_cli, "kernel-images")
Copy link
Member

Choose a reason for hiding this comment

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

This will be annoying to type, use kernel instead

@@ -13,7 +14,7 @@ def get_api_root() -> str:
Returns:
The base URL for the K-Scale Store API.
"""
return os.getenv("KSCALE_API_ROOT", "https://api.kscale.dev")
return os.getenv("KSCALE_API_ROOT", "https://api.kscale.dev/")
Copy link
Member

Choose a reason for hiding this comment

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

Hmm please revert this, if it is causing a bug then that means you are missing a leading slash somewhere else. This will be annoying if the user wants to override this environment variable and it's missing a trailing slash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants