ugexe / zef

Raku Module Management
Artistic License 2.0
206 stars 44 forks source link

Ensure Zef modules all load the same version #524

Closed ugexe closed 11 months ago

ugexe commented 11 months ago

This ensures that when a zef module is loaded that it only imports other zef modules contained with the same distribution.

Note this implementation is a bit verbose and may not be worth cargo culting. There is a PR to rakudo that tries to do this same thing automatically for all distributions (although it needs to be revisited), and the pinning of auth is questionable (and may go away in the future). For now we'll see how well doing it the explicit way works out.