Replies: 1 comment
-
I tried to see how zef actually does dependency resolution but the code is fairly convoluted for me still... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As per this commit, there is a part on the https://docs.raku.org/language/modules page that reads like (with some additional annotations from me)
[1] is simply not true. I don't know if it was true with p6c and some obsolete package manager but it's clearly not true for a long while, and it's also documented (with the example I'm going to use) that Richard didn't know that at the time of writing this bit.
If we take Pod::Render from MARTIMM and try to install it using
zef install Pod::Render
, it will not only fail but it can be noted that it tried to install an old version of dist Raku::Pod::Render (more precisely:Raku::Pod::Render:ver<3.5.2>:auth<github:finanalyst>
), rather than the dist literally called Pod::To::HTML, as it was originally intended.[2] is strange here - if we think it further, it could lead us to the right conclusion that contradicts point [1]. If the name of the distribution would be used in "depends", why would it matter that package managers "can look for compunit names [inside]"? This is a dangling statement. Anyway, actually, they (or zef at least - I don't know if this is specified behavior!) seem to look for compunits (modules? - whatever, I'm always confused about this anyway), and clearly not distributions, so there is that.
Beta Was this translation helpful? Give feedback.
All reactions