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

Repo using tools fail to work correctly when passed a partial version number #102

Closed
quintesse opened this issue Sep 22, 2014 · 2 comments
Closed
Assignees
Milestone

Comments

@quintesse
Copy link
Member

For example, when you type ceylon run foo/1.0 while the real number is 1.0.0 it will still work. This is not really correct. But worse is that when there are several matching versions, let's say 1.0.0 and 1.0.1 the tool will just choose whatever came first in the list.

@quintesse quintesse self-assigned this Sep 22, 2014
@quintesse quintesse added this to the 1.1 milestone Sep 22, 2014
@alesj
Copy link
Member

alesj commented Sep 22, 2014

Who's doing this partial matching?

On Sep 22, 2014, at 21:37, Tako Schotanus notifications@github.com wrote:

For example, when you type ceylon run foo/1.0 while the real number is 1.0.0 it will still work. This is not really correct. But worse is that when there are several matching versions, let's say 1.0.0 and 1.0.1 the tool will just choose whatever came first in the list.


Reply to this email directly or view it on GitHub.

@quintesse
Copy link
Member Author

It's using the query API for that. So it's not a problem with the CMR API, don't worry ;)
Just wrong heuristics for the code that tries to provide helpful suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants