Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-03-23

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

All times shown according to UTC.

Time Nick Message
01:07 lizmat joined #perl6-toolchain
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
07:00 domidumont joined #perl6-toolchain
07:05 domidumont joined #perl6-toolchain
07:55 TimToady joined #perl6-toolchain
08:22 FROGGS joined #perl6-toolchain
12:10 perlpilot_ joined #perl6-toolchain
14:10 cognominal joined #perl6-toolchain
14:18 mst joined #perl6-toolchain
14:20 sjn joined #perl6-toolchain
15:07 MadcapJake joined #perl6-toolchain
15:17 domidumont Hi. I've created on Debian a perl6-panda package that contains /usr/share/perl6/Shell/Command.pm. But the  perl6 -MShell::Command -e'say "hello"' cannot find the command. See http://paste.debian.net/418379/
15:17 domidumont
15:17 domidumont Tweaking PERL6LIB env variable enables perl6 to find the module.
15:17 domidumont What did I miss ?
15:20 domidumont I mean, why perl6 is not able to load the module, even thought the error message is listing the directory where Shell::Command is installed ?
15:22 lizmat domidumont: no idea, maybe nine has one ?
15:27 nine Can I have a look at the contents of this package?
15:29 domidumont nine: http://paste.debian.net/418383/ lists the content of the package
15:31 nine /usr/share/perl6 is under control of a CompUnit::Repository::Installation. That expects a very special directory layout which you almost cannot get right manually.
15:32 nine Have a look at page 25 and following: http://niner.name/talks/A%20look%20behind%20the%20curtains%20-%20module%20loading%20in%20Perl%206/Module%20loading%20in%20Perl%206.pdf
15:32 nine That should give you a good idea on what's going on and why trying to package modules is really hard right now.
15:56 domidumont I see. This is waaaayyyy more complication than I expected. Thanks for the info. I guess that I've no choice but to wait for packaging tools dedicated to distro packaging to be ready...
16:38 sufrostico joined #perl6-toolchain
16:55 ugexe `zef --to"inst#some/location" install XXX` works, but you have to use `-Iinst#some/location` for anything that uses it or add it to PERL6LIB
16:55 ugexe CURI will create the appropriate directory structure
17:13 Kassandry joined #perl6-toolchain
18:00 domidumont joined #perl6-toolchain
19:15 camelia joined #perl6-toolchain
19:41 ugexe nine: can stuff like !sources-dir, !bin-dir() be moved to CompUnit::Repository::Locally? then that role could also be applied to an implementation of Distribution to absolutify an IO::Handle for CURI based storage (i.e. round trip Distribution from installed, or install a Distribution from one ::Installable to another without losing any original meta data)
19:46 nine Repository::FileSystem also does ::Locally
19:46 nine That wouldn't fit very well
19:47 ugexe yeah, but it can be optional
19:47 ugexe it'd get called $xxx.?something ($xxx.?absolutify() seems to have wanted to serve a similar purpose)
19:48 ugexe im not saying thats the right solution, but that piece seems to be common enough to warrant some type of ability to share that info
19:50 ugexe its also meant specifically for ::Installable CUR
19:50 ugexe so maybe an :Installable specific role
19:51 nine Why not just create a new role? Maybe one that's lexically scoped to Repository::Installation?
19:52 FROGGS joined #perl6-toolchain
19:53 ugexe and apply it to CURI?
19:53 ugexe or initialize the role's members in CURI?
19:55 nine I'd probably apply it
20:52 ugexe im getting the hunch that ::FileSystem can be split up between CUR::Locally and Distribution::Local::Directory/FileSystem
20:54 ugexe there is some disambiguity between ::Installation ::FileSystem and ::AbsolutePath in relations to Distributions i cant put my finger on, but i think thats where this is going

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