Fire is step THREE! | github.com/perl6/toolchain-bikeshed | Channel logs: irclog.perlgeek.de/perl6-toolchain/today | useful prior art: metacpan.org/pod/CPAN::Meta::Spec
Set by moderator on 2 May 2017.
01:49 ilbot3 joined
moderator Fire is step THREE! | github.com/perl6/toolchain-bikeshed | Channel logs: irclog.perlgeek.de/perl6-toolchain/today | useful prior art: metacpan.org/pod/CPAN::Meta::Spec
02:04 raiph joined
raiph .tell ugexe Someone's trying and failing to uninstall some zef versions; help wanted at www.reddit.com/r/perl6/comments/68...d_modules/ 02:06
ugexe raiph: they are using rakudobrew 02:35
ah i see. CURI.uninstall needs to check if it needs to delete its shim or not 02:39
github.com/rakudo/rakudo/blob/nom/...on.pm#L384 02:40
that needs some sort of check
if self.files("$_", name => $dist<name>).elems { ... } # something like this 02:43
on that same note, maybe someone could update rakudobrew to *update* zef install of installing new versions 02:46
03:00 stmuk joined 03:09 stmuk_ joined
ugexe raiph: github.com/rakudo/rakudo/commit/c7...4a90bce113 03:53
mst ugexe: what's the difference between 'upgrade' and 'install new' in this case? (I'm probably bieng stupid here) 04:13
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:16
if you have multiple versions of a module install and do upgrade... fuck you 04:17
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
`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:24
04:35 stmuk joined
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
whereas `install zef` checks if `zef:version<anything>` is already installed
to clarify: giving zef a path essentially checks if `$meta-name:ver<$meta-ver>:auth<$meta-auth>:api<$meta-api>` is already installed 04:54
06:09 domidumont joined 06:15 domidumont joined 06:55 lizmat joined 08:09 domidumont joined 12:48 domidumont joined 14:58 lizmat joined 15:47 domidumont joined 21:18 perlpilot joined 22:26 sivoais_ joined 22:48 raiph left