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

bugfix: fix has_tag lookup #519

Merged
merged 6 commits into from
Feb 5, 2025
Merged

bugfix: fix has_tag lookup #519

merged 6 commits into from
Feb 5, 2025

Conversation

woodruffw
Copy link
Owner

@woodruffw woodruffw commented Feb 5, 2025

This caused false positives in the ref-confusion
audit by using the wrong endpoint. The correct
endpoint only returns the exact matching tag or
404, rather than a list of one or more
partial matches.

See #517. Fixes #518.

Signed-off-by: William Woodruff william@yossarian.net

This caused false positives in the `ref-confusion`
audit by using the wrong endpoint. The correct
endpoint only returns the exact matching tag or
404, rather than a list of one or more
partial matches.

Signed-off-by: William Woodruff <william@yossarian.net>
This ended up being somewhat involved, since
the tests expect to pass `--offline` unconditionally.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw added the bugfix Fixes a known bug label Feb 5, 2025
@woodruffw woodruffw self-assigned this Feb 5, 2025
@woodruffw
Copy link
Owner Author

woodruffw commented Feb 5, 2025

WIP, since test_with doesn't do exactly what I need: it's still a build-time rather than a runtime check, so running cargo insta multiple times against the same compilation product but with different env states causes problems.

Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw marked this pull request as ready for review February 5, 2025 21:33
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw merged commit 871fa31 into main Feb 5, 2025
6 checks passed
@woodruffw woodruffw deleted the ww/fix-518 branch February 5, 2025 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes a known bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ref-confusion in setup-task
1 participant