Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2017-02-14

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

All times shown according to UTC.

Time Nick Message
00:09 ugexe nine: is there any way for a module to get at its own %?DISTRIBUTION? I want to accomplish something like `multi MAIN('--version') { $*SELF-AS-COMPUNIT.distribution.meta<ver> }`
00:24 llfourn joined #perl6-toolchain
01:25 llfourn joined #perl6-toolchain
02:26 ugexe say $*REPO.repo-chain.flatmap(*.loaded).flat.grep({.short-name eq 'Zef::CLI'}).head.distribution.meta<ver>;
02:27 ugexe that *was* gonna be my terrible workaround, but ::FileSystem doesn't set the distribution object (even though it could - see !matching-dist)
02:27 llfourn joined #perl6-toolchain
02:31 ugexe something like adding `:distribution(Distribution::Hash(%!meta))` here: https://github.com/rakudo/rakudo/blob/nom/src/core/CompUnit/Repository/FileSystem.pm#L148
02:36 ugexe https://github.com/ugexe/Perl6-CompUnit--Repository--Lib/blob/master/lib/CompUnit/Repository/Lib.pm6 # fwiw here is what I have for CURI minus sha1 file renaming. it works except for precomp, and does some bug fixes on things like %!loaded{$spec.short-name} being used to load modules
02:48 ilbot3 joined #perl6-toolchain
02:48 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
03:28 llfourn joined #perl6-toolchain
04:30 llfourn joined #perl6-toolchain
05:31 llfourn joined #perl6-toolchain
05:56 Beginner_Guy joined #perl6-toolchain
06:33 llfourn joined #perl6-toolchain
07:34 llfourn joined #perl6-toolchain
08:35 llfourn joined #perl6-toolchain
09:37 llfourn joined #perl6-toolchain
10:39 llfourn joined #perl6-toolchain
11:40 llfourn joined #perl6-toolchain
12:41 llfourn joined #perl6-toolchain
13:43 llfourn joined #perl6-toolchain
14:11 sjn joined #perl6-toolchain
14:44 llfourn joined #perl6-toolchain
14:46 SmokeMachine joined #perl6-toolchain
15:46 llfourn joined #perl6-toolchain
16:47 llfourn joined #perl6-toolchain
17:49 llfourn joined #perl6-toolchain
18:50 llfourn joined #perl6-toolchain
19:52 llfourn joined #perl6-toolchain
20:53 llfourn joined #perl6-toolchain
21:54 llfourn joined #perl6-toolchain
22:33 Beginner_don joined #perl6-toolchain
22:35 pnu___ joined #perl6-toolchain
22:37 hoelzro_ joined #perl6-toolchain
22:46 mst joined #perl6-toolchain
22:52 jdv79 joined #perl6-toolchain
22:57 ribasushi joined #perl6-toolchain
23:00 llfourn joined #perl6-toolchain
23:48 ugexe joined #perl6-toolchain

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