star icon indicating copy to clipboard operation
star copied to clipboard

Suggestion: upgrade and improvement

Open ccworld1000 opened this issue 5 years ago • 6 comments

Suggestion: upgrade and improvement

Each upgrade causes the original module to be downloaded from the network to be lost and needs to be reinstalled.

If there is a little more module dependency, it seems that this is not very reasonable.

If upgraded, the module that is downloaded from the previous version is expected to be retained.

This eliminates the need to reinstall the dependency after each upgrade.

ccworld1000 avatar Nov 16 '18 10:11 ccworld1000

I'm not sure there's an alternative. Since modules are precompiled and installed, I think that's quite necessary. That's a requirement of Rakudo, not rakudo star, far as I can see

JJ avatar Nov 27 '18 06:11 JJ

In general, this built-in repository is independent of other places, and app deletion is unaffected unless there are significant incompatible versions.

ccworld1000 avatar Nov 27 '18 08:11 ccworld1000

@ccworld1000 still. Modules are not used directly, they are precompiled, so that is why they need to be reinstalled. And I don't think that depends on Rakudo Star, but on Rakudo itself.

JJ avatar Nov 27 '18 10:11 JJ

That's the design imperfection. If more and more libraries are used, they should be deleted and reinstalled every time they are updated. Less is better, if more?

One of the future programming directions is to call more different libraries

ccworld1000 avatar Nov 29 '18 06:11 ccworld1000

Modules are not used directly, they are precompiled, so that is why they need to be reinstalled. And I don't think that depends on Rakudo Star, but on Rakudo itself.

Rakudo automatically recompiles existing modules on first usage with a new version of the compiler. I'm doing source builds, but re-install Rakudo multiple times a week without losing installed modules. So it seems the requested feature is possible so far as Rakudo goes.

jnthn avatar Nov 29 '18 10:11 jnthn

excellent

ccworld1000 avatar Nov 30 '18 01:11 ccworld1000

closing as it's stone-age old an no one seems to work on it...

After the switch to ZEF for the "modules.txt.2 installation, if I get this here right... you could set RAKULIB / RAKUDOLIB to point to something outside your installation dir before running "RSTAR install" now...

AntonOks avatar Apr 15 '23 19:04 AntonOks