Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6-toolchain, 2016-02-09

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

All times shown according to UTC.

Time Nick Message
01:07 MadcapJake joined #perl6-toolchain
03:24 TimToady joined #perl6-toolchain
04:58 jdv79 ugexe: is there a cpan enabled zef that works atm?
05:24 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:25 ugexe 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 ugexe so cpan would almost never get used
05:27 ugexe it doesnt search auth for cpan, but it searches version
05:28 ugexe it *did* search auth, its just that its not consistent enough to use
05:33 ugexe https://github.com/ugexe/zef#search # example search result using both p6c and cpan
05:46 hankache joined #perl6-toolchain
06:13 jdv79 that on the master branch?
06:13 jdv79 i tried cpan-enabled and dev and both don't seem to work
06:15 jdv79 ah, master is happier
06:15 jdv79 thanks
06:40 kmel joined #perl6-toolchain
06:48 hankache joined #perl6-toolchain
07:29 FROGGS joined #perl6-toolchain
08:11 domidumont joined #perl6-toolchain
08:17 domidumont joined #perl6-toolchain
09:58 leont joined #perl6-toolchain
12:07 domidumont joined #perl6-toolchain
12:17 sufrostico joined #perl6-toolchain
12:43 cognominal joined #perl6-toolchain
13:47 sufrostico joined #perl6-toolchain
13:48 sufrosti1o joined #perl6-toolchain
13:54 sufrostico joined #perl6-toolchain
14:51 camelia joined #perl6-toolchain
15:06 sufrostico joined #perl6-toolchain
15:06 sufrosti1o joined #perl6-toolchain
15:17 hankache joined #perl6-toolchain
15:17 prammer joined #perl6-toolchain
15:43 domidumont joined #perl6-toolchain
16:29 perlpilot joined #perl6-toolchain
16:36 autarch joined #perl6-toolchain
17:05 sufrostico joined #perl6-toolchain
17:32 sufrostico joined #perl6-toolchain
17:39 sufrostico joined #perl6-toolchain
18:11 Kassandry joined #perl6-toolchain
18:27 leont joined #perl6-toolchain
18:40 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 https://metacpan.org/recent
18:42 ugexe 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
19:19 jdv79 isn't it just the release index sorted by date with a limit?
19:20 ugexe ah ha i didnt know there was a release index in the api... whats the url?
19:21 ugexe just v0/release?
19:21 jdv79 afaict elasticsearch is just exposed so its pretty raw that way
19:21 jdv79 huge surface area
19:21 jdv79 i believe so, yes
19:56 jdv79 what does "% = $!storage.available;" do?  is that to just call .hash on the ret?
20:14 ugexe yeah. its also a sort of mental cue to me its a return value (and what i expect it to be)
20:28 jdv79 because .hash is so obscure:)
20:28 jdv79 haha
20:30 ugexe for some reason i dont like .hash. cant really explain it
20:41 ugexe i wonder if we can make a daily archive of all dist info to avoid queries altogether for simple requests
20:44 ugexe well obviously we *can*. rather, whats the best way with the tooling we have available
20:52 jdv79 sounds like premature opti to me.  is there a need?
21:02 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:06 ugexe thats pretty much it
21:22 patrickz joined #perl6-toolchain
21:24 sufrostico joined #perl6-toolchain
21:25 jdv79 what about windows?
21:26 jdv79 yeah, that does seem to be a problem that's not solved by mc yet
21:28 sufrosti1o joined #perl6-toolchain
21:30 sufrostico joined #perl6-toolchain
21:38 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 patrickz http://paste.scsys.co.uk/505204
21:50 leont joined #perl6-toolchain
22:02 perlpilot joined #perl6-toolchain
22:20 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 ugexe it passes locally and on travis (installing inline::perl5) fwiw https://travis-ci.org/ugexe/zef/jobs/108101743#L1878
22:24 patrickz rakudobrew nuke [everything] && rakudobrew build moar 2016.01.1 && rakudobrew build-zef && zef install Inline::Perl5
22:24 patrickz is what I did
22:24 patrickz error log follows...
22:31 patrickz http://paste.scsys.co.uk/505205
22:51 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:52 patrickz I deleted .zef before trying. But I'll do with DEBUG again :-)
22:52 ugexe and the -v :)
23:03 patrickz http://paste.scsys.co.uk/505206
23:15 leont joined #perl6-toolchain
23:19 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:24 patrickz if there is anything I can do to help, please tell!
23:26 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:28 ugexe patrickz: just so i can make sure i emulate exactly: what is your cwd when you run the install?
23:29 patrickz oh!
23:29 patrickz ~
23:29 patrickz 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`
23:30 patrickz I also did `export MAKEFLAGS=-j7`before
23:30 patrickz Now trying without that again. Not sure that'll make any difference though...
23:34 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:37 patrickz how would I go about using a *non* installed zef?
23:37 patrickz just git clone + directly calling zef?
23:37 ugexe yeah, `perl6 -Ilib bin/zef ...`
23:38 Kassandry joined #perl6-toolchain
23:46 patrickz same error with non installed zef
23:51 cognominal joined #perl6-toolchain

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