tony-o / raku-fez

This project is for 'fez', raku's cool new shiny dist uploader & manager. If you're a module author you should definitely be using this sweet thang. ;;;;;;;;;;;;;; This project and the underlying infrastructure is supported out of my own pocket and through donations. If you'd like to donate please check here: https://www.patreon.com/oynot
Artistic License 2.0
20 stars 12 forks source link

Migrating to zef ecosystem #29

Closed skaji closed 3 years ago

skaji commented 3 years ago

Let's say I have ModuleX:auth<cpan:SKAJI> in cpan ecosystem and I plan to switch it to be in zef ecosystem so that zef install ModuleX will install ModuleX:auth<zef:skaji> instead of ModuleX:auth<cpan:SKAJI>.

What is the best way to switch ecosystems?

tony-o commented 3 years ago

One option is to specify the auth when installing/depending.

Another option is removing those modules from CPAN after they're uploaded with fez and then zef will only find them with your zef: auth.

Yet another option is bumping the version and only releasing it to zef: auth (then zef should pick the highest version available, I haven't tested this and might be misremembering). This would keep anything that has pinned auth to cpan: from breaking.

skaji commented 3 years ago

@tony-o Thank you. I will look into zef source code.

skaji commented 3 years ago

zef should pick the highest version available

You're right. I'll make a release with higher version.