Skip to content

Handle case when lone wildcard is ORed with other constraints#1186

Merged
localheinz merged 1 commit intoergebnis:mainfrom
fredden:feature/lone-wildcard-always-wins
Apr 10, 2025
Merged

Handle case when lone wildcard is ORed with other constraints#1186
localheinz merged 1 commit intoergebnis:mainfrom
fredden:feature/lone-wildcard-always-wins

Conversation

@fredden
Copy link
Copy Markdown
Contributor

@fredden fredden commented Oct 24, 2024

While working on another feature, I noticed that a constraint like * || 1.2.3 wasn't being normalised to just * as expected. This pull request fixes this oversight.

While working on this change, I noticed that a constraint like *, 1.2.3 isn't normalised to 1.2.3. Let's deal with this in a separate step. (It's late here and I'm tired.)

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.33%. Comparing base (993e575) to head (8592895).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1186   +/-   ##
=========================================
  Coverage     97.32%   97.33%           
- Complexity      209      210    +1     
=========================================
  Files            32       32           
  Lines           861      863    +2     
=========================================
+ Hits            838      840    +2     
  Misses           23       23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fredden fredden marked this pull request as ready for review October 25, 2024 16:20
@localheinz localheinz self-assigned this Apr 10, 2025
@localheinz localheinz force-pushed the feature/lone-wildcard-always-wins branch from 185a788 to 8592895 Compare April 10, 2025 12:58
@localheinz localheinz merged commit 0193383 into ergebnis:main Apr 10, 2025
27 checks passed
@localheinz
Copy link
Copy Markdown
Member

Thank you, @fredden!

@fredden fredden deleted the feature/lone-wildcard-always-wins branch April 10, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants