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
Cached modules of lower version given preference to newer modules in ecosystem #124
Comments
|
tl;dr: the following commands would Do The Right Thing:
The caching mechanism needs to be fixed in relation to the recommendation manager parts You ran
Item 1 can be reworked to do what most people expect Item 2 was a concern a yearish ago, because parsing the entire ecosystem json was fairly slow (and while rakudo is getting faster it may or may not be enough to make up for the increase in size). But I think people would rather deal with a little slowness for now if they get what they expect more often. Realistically a better format is needed that can be parsed faster while also (but simple enough to not require any external modules) So |
|
You suggested compiling a faster version of the ecosystem instead of caching it. Combined with searching the newest version on this compiled list, would indeed solve the problem. |
Previously if Repository::LocalCache was the first plugin listed in the config (default) then a request for "Module::Name" (without explicit version) would return "whatever" version it had cached. Now it checks all the different Repository backends and takes the highest version. Resolves #124
Context
Install of IRC::Client fails with zef, but works with panda. I dug through the dep chain and found zef is trying to install
META6version 0.0.9, which likely is missing some bug fix, while the latest is 0.0.11.I'm on bleed rakudo and zef; trying to just run
zef install META6fetches too-old version. This makes me think zef probably mistakenly thinks v0.0.9 is after v0.0.11Expected Behavior
Should install META6 v0.0.11
Actual Behavior
Tries to install META6 v0.0.9
Steps to Reproduce
with latest and greatest zef, run
zef install META6and observe that it tries to install wrong version.Your Environment
The text was updated successfully, but these errors were encountered: