meshery / meshkit

Common microservices framework for Meshery components
Apache License 2.0
112 stars 95 forks source link

Add default values for required fields in artifacthub-pkg #555

Closed ctcarrier closed 3 months ago

ctcarrier commented 3 months ago

Description

This PR fixes a bug where the artifacthub-pkg generated during export of an OCI archive would be missing required fields. This adds default values if the value in the catalogData is empty. With this change a user can export an OCI and extract the artifacthub-pkg and drop it right into an ArtifactHub repo.

Notes for Reviewers

Signed commits

welcome[bot] commented 3 months ago

Yay, your first pull request! :thumbsup: A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack. Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

hamza-mohd commented 3 months ago

Merge conflict eliminated.

welcome[bot] commented 3 months ago

Thanks for your contribution to Meshery! :tada:

Shows a black logo in light color mode and a white one in dark color mode.