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

Added 'compatible-with' (caret ^) operator #8

Merged
merged 4 commits into from
May 29, 2022
Merged

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented May 27, 2022

I've added the "compatible-with" operation, I'd like to make this operation the default instead of the "equals" as in #7.
When this is merged I'll redo #7.

I've also changed the table in the readme because:

  • a constraint is basically a boolean condition, it may match or not match against a version: 1.0.0 is >=0.5.0? -> true
  • a constraint may reduce the set of releases on which a dependency resolver operates: so given the same set of releases the resolver may output a different solution if different constraints are given

@cmaglie cmaglie self-assigned this May 27, 2022
@codecov
Copy link

codecov bot commented May 27, 2022

Codecov Report

Merging #8 (197ec76) into master (371234f) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          735       761   +26     
=========================================
+ Hits           735       761   +26     
Impacted Files Coverage Δ
constraints.go 100.00% <100.00%> (ø)
relaxed_version.go 100.00% <100.00%> (ø)
version.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 371234f...197ec76. Read the comment docs.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: per1234 <accounts@perglass.com>
@cmaglie cmaglie merged commit 1b33317 into master May 29, 2022
@cmaglie cmaglie deleted the caret_operator branch May 29, 2022 15:09
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.

2 participants