-
Notifications
You must be signed in to change notification settings - Fork 18
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
VersionRange with open intervals #158
Comments
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Dec 18, 2023
Extended the VersionRange to also model open boundaries that do not include the specified value. Also wrote tests for this class.
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Dec 19, 2023
…e-with-open-intervals' into feature/devonfw#103-implement-version-security-checks # Conflicts: # cli/src/test/java/com/devonfw/tools/ide/version/VersionRangeTest.java
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Dec 19, 2023
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 2, 2024
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 2, 2024
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 2, 2024
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 2, 2024
hohwille
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 8, 2024
MattesMrzik
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 8, 2024
hohwille
added a commit
to MattesMrzik/IDEasy
that referenced
this issue
Jan 8, 2024
hohwille
pushed a commit
that referenced
this issue
Jan 8, 2024
hohwille
added a commit
to hohwille/IDEasy
that referenced
this issue
Jan 8, 2024
hohwille
added a commit
that referenced
this issue
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The VersionRange currently only allows closed intervals that include the borders, i.e. [x,y] for x<=y.
This class should be modified to also allow open and half open intervals, i.e. (x,y), (x,y], [x,y), that can exclude the borders.
The String representation should be similar to the current VersionRange, where the two VersionIdentifiers are separated by
>
. Ifx
is not set, then it is treated as-infinity
, and missingy
asinfinity
. So (1.2.3.>] and (1.2.3.>) both represent all versions that are greater than 1.2.3 , but not including version 1.2.3.The text was updated successfully, but these errors were encountered: