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

Fix regression in v0.11.0 #250

Merged
merged 4 commits into from
Mar 18, 2021

Conversation

jdolitsky
Copy link
Contributor

Change the default for writer opt 'IgnoreNoName' to be true. This was set to false, and causing the example to not run properly.

A new option 'WithErrorOnNoName' has been added to be used in cases when this behaviour is expected. The existing option 'WithIgnoreNoName' has now been deprecated.

A simple bash-based acceptance test has been added to prevent this issue in the future. This starts a registry, compiles the example into a binary, and makes sure it runs properly. This test is now run in CI.

Fixes #246

Alternative to #247 and #249

Change the default for writer opt 'IgnoreNoName' to be
true. This was set to false, and causing the example to
not run properly.

A new option 'WithErrorOnNoName' has been added to be
used in cases when this behaviour is expected. The existing
option 'WithIgnoreNoName' has now been deprecated.

A simple bash-based acceptance test has been added to
prevent this issue in the future. This starts a registry,
compiles the example into a binary, and makes sure it
runs properly. This test is now run in CI.

Signed-off-by: Josh Dolitsky <[email protected]>
Copy link
Contributor

@deitch deitch left a comment

Choose a reason for hiding this comment

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

LGTM

@jdolitsky jdolitsky merged commit 2798290 into oras-project:main Mar 18, 2021
This was referenced Mar 18, 2021
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.

Failed to run the example with version 0.11.0
2 participants