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

Enable importing of container name-only images and user-rules via sdscli #106

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

joshgarde
Copy link
Contributor

Ticket: https://hysds-core.atlassian.net/browse/HC-517

Add support in sdscli for container specifications which do not specify a container_url and only specify a container_name. This behavior is already supported within hysds-core and only requires a tooling change to the sds pkg import command.

https://github.com/hysds/hysds/blob/944d3a89997b1aff416dc627b095a6b5e10b2242/hysds/containers/base.py#L279-L283

Additionally, add support for importing user rules from a package if part of the package.

@mcayanan
Copy link
Contributor

mcayanan commented Mar 8, 2024

This PR looks straight forward enough but would like a 2nd pair of eyes on this to make sure we're not impacting anything with what core is doing now. I couldn't see any issues. Looks like the changes allow more flexibility to not expect certain fields when importing a package.

@DustinKLo
Copy link
Contributor

LGTM, but lets get another pair of eyes

@mcayanan
Copy link
Contributor

mcayanan commented Mar 8, 2024

@joshgarde Could you please bump up the version in

__version__ = "1.3.1"
to 1.3.2? This will allow us to notate any specific updates when we cut the next HySDS Core Release. Thanks!

Copy link
Contributor

@pymonger pymonger left a comment

Choose a reason for hiding this comment

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

LGTM pending the version bump

@joshgarde
Copy link
Contributor Author

Version bumped

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.

4 participants