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 8 February 2016.
02: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
03:39 cognominal joined 09:04 hankache joined
nine ugexe: I just merged the query_repos branch giving you $*REPO.resolve for checking if a module is installed and $repo.uninstall($dist). Just check with .can before blindly using them :) 09:25
10:19 hankache joined 10:34 leont joined 16:27 sufrostico joined
ugexe nine: why the use of self.prefix('resource/bin/short') instead of self!short-dir etc? is it because self!short-dir will create itself first if it doesnt exist? 16:33
also, what is short-dir/short-id's relation to everything else? im just now noticing its existence for some reason heh 16:39
nine ugexe: short-dir is for lookup of dist candidates by module short-name. This saves us from having to read all dist meta data to find a dist that provides the requested module 16:46
I honestly don't know anymore why I didn't use the directory accessor methods. There was a horribly exhausting month between now and when I wrote that code. 16:49
ugexe BEGIN blocks are acting funny. If I generate a config inside a BEGIN, it will always contain the same config data for every restart (even if I change the config file contents) until I force it to precompile again one way or another 17:56
17:56 sevvie joined
flussence I think that's by design... does it have to be inside a BEGIN? 18:01
ugexe a different part that modified @*ARGS does 18:02
i can move the begin block to the bin/xxx script where it wont be precompiled, but it seems odd that it would be neccesary 18:03
nine I don't see how it could work any other way as BEGIN blocks are by definition compile time code and the whole purpose of precompilation is to only compile the code once. 18:25
ugexe i must need a different phaser. i want to be sure a piece of code runs before any MAIN (so i can process @*ARGS before MAIN_HELPER gets it) 18:27
these MAINs might be in a module though, and thus loaded earlier than the rest of the code that is `use`ing it 18:28
19:16 FROGGS joined
b2gills ugexe: I think you want INIT not BEGIN 19:57
20:27 hankache joined