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

Simplify contiguous version ranges #120

Open
hololeap opened this issue Sep 16, 2022 · 0 comments · May be fixed by #132
Open

Simplify contiguous version ranges #120

hololeap opened this issue Sep 16, 2022 · 0 comments · May be fixed by #132
Labels

Comments

@hololeap
Copy link
Member

hololeap commented Sep 16, 2022

Haskell developers seem to like to write out their version ranges like this, sometimes:

lsp-types == 1.5.* || == 1.6.*

This creates a .ebuild with this in RDEPEND:

	|| ( ( >=dev-haskell/lsp-types-1.5:=[profile?] <dev-haskell/lsp-types-1.6:=[profile?] )
		( >=dev-haskell/lsp-types-1.6:=[profile?] <dev-haskell/lsp-types-1.7:=[profile?] ) )

Example: lsp-test-0.14.1.0

This could be automatically simplified to the following:

	>=dev-haskell/lsp-types-1.5:=[profile?] <dev-haskell/lsp-types-1.7:=[profile?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant