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 the merging order updates.pin #3305

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Fix the merging order updates.pin #3305

merged 1 commit into from
Feb 29, 2024

Conversation

mzuehlke
Copy link
Member

The merging of the default Scala Steward configuration for pinned artifacts was reversed.

In contrast to the comment and intend:

//  Strategy: union with repo preference in terms of revision

This pull-request fixes the merging order and adapts the test. In addition it adds tests that show how updates.pin can be used to control Scala LTS release updates.
Discussed in

@mzuehlke mzuehlke added the bug Something isn't working label Feb 29, 2024
The merging of the default Scala Steward configuration for pinned artifacts was reversed.

In contrast to the comment and intend:
```Scala
//  Strategy: union with repo preference in terms of revision
```

This pull-request fixes the merging order and adapts the test.
In addition it adds tests that show how `updates.pin` can  be used to control Scala LTS release updates.
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.18%. Comparing base (7ad5462) to head (c926cd6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3305   +/-   ##
=======================================
  Coverage   91.18%   91.18%           
=======================================
  Files         166      166           
  Lines        3404     3404           
  Branches      317      317           
=======================================
  Hits         3104     3104           
  Misses        300      300           

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

Copy link
Contributor

@exoego exoego left a comment

Choose a reason for hiding this comment

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

nice catch

@mzuehlke mzuehlke merged commit 529c5ba into main Feb 29, 2024
10 checks passed
@mzuehlke mzuehlke deleted the fix-pin-merging branch February 29, 2024 17:31
@mzuehlke mzuehlke added this to the 0.30.0 milestone Apr 26, 2024
@armanbilge
Copy link
Contributor

Not entirely sure, but I think this change had an unexpected result here.

@mzuehlke
Copy link
Member Author

mzuehlke commented May 6, 2024

Not entirely sure, but I think this change had an unexpected result here.

#3346 should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants