Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2017-05-03

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:49 ilbot3 joined #perl6-toolchain
01:49 Topic for #perl6-toolchain is now Fire is step THREE! | https://github.com/perl6/toolchain-bikeshed | Channel logs: http://irclog.perlgeek.de/perl6-toolchain/today | useful prior art: https://metacpan.org/pod/CPAN::Meta::Spec
02:04 raiph joined #perl6-toolchain
02:06 raiph .tell ugexe Someone's trying and failing to uninstall some zef versions; help wanted at https://www.reddit.com/r/perl6/comments/68kx56/zef_how_can_one_remove_oldunused_modules/
02:35 ugexe raiph: they are using rakudobrew
02:39 ugexe ah i see. CURI.uninstall needs to check if it needs to delete its shim or not
02:40 ugexe https://github.com/rakudo/rakudo/blob/nom/src/core/CompUnit/Repository/Installation.pm#L384
02:40 ugexe that needs some sort of check
02:43 ugexe if self.files("$_", name => $dist<name>).elems { ... } # something like this
02:46 ugexe on that same note, maybe someone could update rakudobrew to *update* zef install of installing new versions
03:00 stmuk joined #perl6-toolchain
03:09 stmuk_ joined #perl6-toolchain
03:53 ugexe raiph: https://github.com/rakudo/rakudo/commit/c7aef59a5b64f050df45379621c0984a90bce113
04:13 mst ugexe: what's the difference between 'upgrade' and 'install new' in this case? (I'm probably bieng stupid here)
04:16 ugexe upgrade basically does uninstall $whatever before installing the new version of $whatever. this way if something explicitly wanted some version of some module it will still be available
04:17 ugexe if you have multiple versions of a module install and do upgrade... fuck you
04:18 mst ah, so the goal is to only end up with a single zef install by default, because why would you want two?
04:18 ugexe for rakudobrew yeah
04:24 ugexe `zef uninstall zef && perl6 -Ilib bin/zef install .` # otherwise you can abuse default :ver<*> and uninstall all versions at once and reinstall just the latest version (probably should have a prompt)
04:35 stmuk joined #perl6-toolchain
04:47 ugexe but because they are using rakudobrew each `rakudobrew build-zef` ends up doing `perl6 -Ilib bin/zef test . && perl6 -Ilib bin/zef --force install .` it doesnt give the "All candidates already installed" message it would if s/install ./install zef/ because `install .` expands outs to zef:ver<...>, which gets installed in addition since its nots explicitly installed
04:47 ugexe whereas `install zef` checks if `zef:version<anything>` is already installed
04:54 ugexe to clarify: giving zef a path essentially checks if `$meta-name:ver<$meta-ver>:auth<$meta-auth>:api<$meta-api>` is already installed
06:09 domidumont joined #perl6-toolchain
06:15 domidumont joined #perl6-toolchain
06:55 lizmat joined #perl6-toolchain
08:09 domidumont joined #perl6-toolchain
12:48 domidumont joined #perl6-toolchain
14:58 lizmat joined #perl6-toolchain
15:47 domidumont joined #perl6-toolchain
21:18 perlpilot joined #perl6-toolchain
22:26 sivoais_ joined #perl6-toolchain
22:48 raiph left #perl6-toolchain

| Channels | #perl6-toolchain index | Today | | Search | Google Search | Plain-Text | summary