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.
01:07 MadcapJake joined 03:24 TimToady joined
jdv79 ugexe: is there a cpan enabled zef that works atm? 04:58
ugexe jdv79: yes. you can set enabled to 1 in the config file, or use this convoluted (so that no one uses it while i decide on a better solution) inline config settings: `zef -v -CContentStorage="cpan.enabled=1" -CContentStorage="p6c.enabled=0" install CSV::Parser` 05:24
you can leave p6c enabled if you want... things like searching will show from both. but for install its first in the config, as well as always having the newest versions of dists 05:25
so cpan would almost never get used
it doesnt search auth for cpan, but it searches version 05:27
it *did* search auth, its just that its not consistent enough to use 05:28
github.com/ugexe/zef#search # example search result using both p6c and cpan 05:33
05:46 hankache joined
jdv79 that on the master branch? 06:13
i tried cpan-enabled and dev and both don't seem to work
ah, master is happier 06:15
thanks
06:40 kmel joined 06:48 hankache joined 07:29 FROGGS joined 08:11 domidumont joined 08:17 domidumont joined 09:58 leont joined 12:07 domidumont joined 12:17 sufrostico joined 12:43 cognominal joined 13:47 sufrostico joined 13:48 sufrosti1o joined 13:54 sufrostico joined 14:51 camelia joined 15:06 sufrostico joined, sufrosti1o joined 15:17 hankache joined, prammer joined 15:43 domidumont joined 16:29 perlpilot joined 16:36 autarch joined 17:05 sufrostico joined 17:32 sufrostico joined 17:39 sufrostico joined 18:11 Kassandry joined 18:27 leont joined
ugexe jdv79: is there a way to get the $count latest releases? i see it can be done for a *specific* distribution, but im hoping to get something like metacpan.org/recent 18:40
im trying to implement `zef list` on metacpan is why. for p6c we have the entire package list json file so i can list every module p6c contains. metacpan doesnt have such an index, but instead i figured the $x latest releases could be used to get a quasi-index 18:42
jdv79 isn't it just the release index sorted by date with a limit? 19:19
ugexe ah ha i didnt know there was a release index in the api... whats the url? 19:20
just v0/release? 19:21
jdv79 afaict elasticsearch is just exposed so its pretty raw that way
huge surface area
i believe so, yes
what does "% = $!storage.available;" do? is that to just call .hash on the ret? 19:56
ugexe yeah. its also a sort of mental cue to me its a return value (and what i expect it to be) 20:14
jdv79 because .hash is so obscure:) 20:28
haha
ugexe for some reason i dont like .hash. cant really explain it 20:30
i wonder if we can make a daily archive of all dist info to avoid queries altogether for simple requests 20:41
well obviously we *can*. rather, whats the best way with the tooling we have available 20:44
jdv79 sounds like premature opti to me. is there a need? 20:52
ugexe it would be useful for doing things like showing all dependencies (the entire chain) for a module without a (possibly) lot of queries (slow on windows) 21:02
thats pretty much it 21:06
21:22 patrickz joined 21:24 sufrostico joined
jdv79 what about windows? 21:25
yeah, that does seem to be a problem that's not solved by mc yet 21:26
21:28 sufrosti1o joined 21:30 sufrostico joined
patrickz ugexe: On my system zef seems to fail testing Inline::Perl5. (Rakudo 2016.01.1 and zef master as of yesterday). It seems to be missing libp5helper.so again. 21:38
paste.scsys.co.uk/505204
21:50 leont joined 22:02 perlpilot joined
ugexe patrickz: hmm, they were talking about a recent moar(?) regression, that affected inline::perl5 somehow, being fixed. what is the command (or the context above the error itself) that caused it? 22:20
it passes locally and on travis (installing inline::perl5) fwiw travis-ci.org/ugexe/zef/jobs/108101743#L1878
patrickz rakudobrew nuke [everything] && rakudobrew build moar 2016.01.1 && rakudobrew build-zef && zef install Inline::Perl5 22:24
is what I did
error log follows...
paste.scsys.co.uk/505205 22:31
ugexe patrickz: hmm its working for me on 2016.01.1 too. my only hunch is to delete `~/.zef`, as i changed the directory layout and previous leftovers might be making calls to `git` unhappy. if you could help me one more time and delete that folder and run via `ZEF_PLUGIN_DEBUG=1 perl6 -Ilib bin/zef -v install Inline::Perl5` (this output is better for me if it still fails) 22:51
patrickz I deleted .zef before trying. But I'll do with DEBUG again :-) 22:52
ugexe and the -v :)
patrickz paste.scsys.co.uk/505206 23:03
23:15 leont joined
ugexe strange... it all looks good. there is a clue for me to work with in the original paste though... some of the generated files are off by 1 directory. dunno how that is happening for you but not the various CI tests, but i'll take a look 23:19
patrickz if there is anything I can do to help, please tell! 23:24
ugexe patrickz: cool thanks, i'll probably need you to run it again after i add some more debugging output to the Build.pm handler 23:26
patrickz: just so i can make sure i emulate exactly: what is your cwd when you run the install? 23:28
patrickz oh! 23:29
~
I have run that with `ZEF_PLUGIN_DEBUG=1 perl6 -Ilib /home/patrick/.rakudobrew/bin/../moar-2016.01.1/install/share/perl6/site/bin/zef -v install Inline::Perl5 >~/zeferror.txt`
I also did `export MAKEFLAGS=-j7`before 23:30
Now trying without that again. Not sure that'll make any difference though...
ugexe hmm you wouldn't need the -Ilib if you are using an installed zef. not sure that would affect anything unless you were in the same directory as an old copy of zef or inline::perl5 though 23:34
patrickz how would I go about using a *non* installed zef? 23:37
just git clone + directly calling zef?
ugexe yeah, `perl6 -Ilib bin/zef ...`
23:38 Kassandry joined
patrickz same error with non installed zef 23:46
23:51 cognominal joined