I recently filed an issue here about zef downloading a stale version of a module, NativeHelpers::Callback which was failing when I tried to install it with zef install NativeHelpers::Callback
. I had to clone the module to my local machine from github and install it from there to get it to work.
I'm slightly confused as to how/why this happened with this module. The raku.land website provides a link to the github repo and yet REA only has version 0.1 tarballed.. But when I open up the META6.json file for the module on github, it says version 0.2. I'm wondering why zef does not recognize and find this new version? And why does raku.land still shown as a CPAN module on raku.land when it's no longer on CPAN?
And my bigger question is how do I ensure zef installs the newest versions of modules? Is the problem I ran into here common? Should I manually check each module to ensure I'm getting the latest version?
Thanks.
I think this is because the owner of the module hasn't pushed the version
0.2
dist yet. You will have to build from source until the owner runsfez upload
. It seemsraku.land
and the other sites to view dists, only know of a0.1
.As far as I know,
zef
will only distribute versions that have been uploaded. It does not keep track of the version withinMETA6.json
files on git, it only sees theMETA6.json
when the owner uploads.You could also install the version on GitHub with: