Skip to content

Support for constraint operators caret (^) and tilde (~) - #49

Open
beornf wants to merge 1 commit into
hashicorp:mainfrom
beornf:caret-tilde-constraint
Open

Support for constraint operators caret (^) and tilde (~)#49
beornf wants to merge 1 commit into
hashicorp:mainfrom
beornf:caret-tilde-constraint

Conversation

@beornf

@beornf beornf commented Mar 13, 2019

Copy link
Copy Markdown

This PR aims to achieve the same feature as #15 with more special test cases. The constraint logic is following the same rules to check equality from https://github.com/Masterminds/semver/blob/master/constraints.go.

@hashicorp-cla

hashicorp-cla commented Mar 13, 2019

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@knqyf263

Copy link
Copy Markdown

Nice work! I also need this feature 👍

@jylitalo

Copy link
Copy Markdown

Any chance for reviving this pull request?
It failed 3 years ago on go 1 and go 1.1, but passed on every release from go 1.2 to go 1.10 and we are already in go 1.18.

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.

4 participants