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 bug finding bundle labels in directory containing both bundles and collections #677

Merged
merged 4 commits into from
Aug 4, 2023

Conversation

al-niessner
Copy link
Contributor

🗒️ Summary

The current implementation of the finding bundles was returning all files in the directory. Changed to only return bundles as the name of the function suggests. Previous tests did not exhibit this problem because of how they are structured - just the bundle in the directory.

⚙️ Test Data and/or Report

See unit tests below

♻️ Related Issues

Closes #671

@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Aug 3, 2023

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console.
We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

@nutjob4life
Copy link
Member

See unit tests below

Where are the unit tests?

@jordanpadams jordanpadams changed the title 671: look at only bundles fix bug finding bundle labels in directory containing bundles and collections Aug 4, 2023
@jordanpadams jordanpadams changed the title fix bug finding bundle labels in directory containing bundles and collections Fix bug finding bundle labels in directory containing both bundles and collections Aug 4, 2023
@jordanpadams jordanpadams merged commit e5def06 into main Aug 4, 2023
2 checks passed
@jordanpadams jordanpadams deleted the issue_671 branch August 4, 2023 17:38
@al-niessner
Copy link
Contributor Author

See unit tests below

Where are the unit tests?

Sorry @nutjob4life but @jordanpadams closed before I could respond. They are part of the automated tests and will be titled github671 after the ticket number. The fact that the automated tests passed is indication that the unit test passed.

@nutjob4life
Copy link
Member

@al-niessner thanks for the explanation.

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.

Unexpected SKIP Message for bundle product when using validate-3.3.0-SNAPSHOT
3 participants