Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2017-06-30

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:25 dod joined #pr-challenge
06:31 dod joined #pr-challenge
08:07 neilb joined #pr-challenge
08:13 neilb_ joined #pr-challenge
08:31 neilb joined #pr-challenge
11:49 ksool joined #pr-challenge
12:43 neilb erry: you email me your github username, and your PAUSE id (if you have one). I’ll send you a welcome email with some useful links, and then you’ll get an assignment. If you join today, you’d be included in the July batch, which will go out tomorrow
13:18 monsieurp ,/win 2
13:18 monsieurp ASKJF
14:34 Exodist joined #pr-challenge
15:40 dod joined #pr-challenge
16:34 dod joined #pr-challenge
17:41 dod joined #pr-challenge
17:51 gansh joined #pr-challenge
17:55 neilb joined #pr-challenge
18:02 jacobydave I'm not currently doing the pr challenge, but ...
18:03 jacobydave I'm looking at and adding tests to Expect, and prove t/* is giving me Can't load Expect.pm.
18:04 preaction prove -l t/* maybe?
18:04 jacobydave Will try
18:04 jacobydave Nope.
18:04 preaction why does it say it can't load?
18:05 jacobydave Well, no ...
18:05 jacobydave Now it's IO::Pty.
18:05 jacobydave and I'm confused.
18:05 preaction missing prereqs?
18:05 preaction windows?
18:05 jacobydave Does the -l put . back in @INC or something?
18:05 preaction no. other things do though
18:05 preaction -l puts lib in @INC
18:05 jacobydave Can't locate IO::Pty, and I'm not sure ...
18:06 jacobydave I think the -l has made it all clear.
18:06 jacobydave Thanks.
18:07 jacobydave I didn't have IO::Pty -- recent reinstall. So -l was the real answer.
18:07 genio if you have subdirectories of t with other tests in it,   prove -lr t/
18:08 preaction i have a ~/.proverc that adds --lib --blib --verbose --recurse
18:08 jacobydave That seems useful.
18:08 preaction yeah, --lib and --recurse are basically always needed
18:08 preaction and are safe enough if they're not needed
18:10 itcharlie_win joined #pr-challenge
18:17 jacobydave I have that proverc in place, as well as petdance's "we're testing Module $VERSION on $OS" test, so win.
18:37 preaction so... you're setting up a cpantester? ;)
18:43 dod joined #pr-challenge
18:57 genio did June assignments go out?
19:08 jacobydave http://perlbuzz.com/2017/06/11/improve-your-test-logs-with-simple-distro-diagnostics/
19:09 jacobydave So "Testing this version on this Perl with these modules and versions" is at the beginning.
19:15 preaction yeah, there are a few modules on CPAN that'll do this even
19:18 genio I prefer the t/00-report-prereqs.t from the Dist::Zilla plugin as it shows you what version is required vs what you have, etc. but those tests are indeed nice to have to help debug
19:20 genio https://github.com/genio/p5-UV-Util/blob/master/t/00-report-prereqs.t  It pulls your prereqs from your MYMETA.json/yml and lists out everything in the test
19:28 jacobydave Expect predates Dist::Zilla, and I'm not gonna change it that drastically.
19:28 jacobydave But good to know for other ones.
19:30 genio I like it better because if I change prereqs, I don't have to alter the test to accomodate. It looks at the prereqs list in the MYMETA.json
19:30 jacobydave Sounds very win.
19:30 preaction you can use the module that the DZ plugin uses though
19:31 preaction Test::ReportPrereqs i think?
19:31 genio http://www.cpantesters.org/cpan/report/931cfa16-5b4b-11e7-95fb-47e5cc767952  The output looks like that
19:31 genio even breaks it down by phase and requires/recommends/etc
19:32 preaction huh. i thought there was a breakout of that into a module that non dzil people could use...
19:32 genio Possibly. I'd have no problem just copying the .t I linked to up there as it doesn't have anything module-specific in it
19:32 genio and it doesn't require anything DZil related to copy/paste that test
19:34 jacobydave Looking first into Alien::libuv's dotfiles.
19:34 jacobydave Which reminds me: I
19:35 jacobydave I've been trying os: -linux -osx in my travis files and man, the OS tests are SLOW.
19:36 jacobydave https://travis-ci.org/jacoby/expect.pm
19:36 genio Alien::libuv has lots of stuff specific to DZil and Alien:: builds.  I generally put all of my prereqs in a cpanfile.  DZil parses my cpanfile and generates the Makefile.PL for me.  Once you do a perl Makefile.PL, you'll get a MYMETA.json and then your make and make test will run the test against those prereqs for you
19:37 genio I don't generally ask Travis to do multiple OS tests. I feel bad enough about how much server time my simple tests eat up. I try to be nice to Travis-CI since it's free
19:37 itcharlie_win left #pr-challenge
19:37 genio I have vagrant with a few OSes and perlbrew/berrybrew for every Perl I can try and I run those manually.
19:37 genio I then wait and see what breaks on cpantesters
19:38 jacobydave That's fair. I'm still in the "playing with tools" point on this.
19:39 jacobydave My big hangups are on FreeBSD. I tried to set up a vagrant free box, but it didn't like it.
19:43 jacobydave macos 5.26 and 5.24 errored. I guess I believe Expect'd work on a Mac, so TravisCI's mac testing is broken.
19:43 jacobydave Or my config.
19:49 genio let's see if it will install here
19:51 genio 1.35 installed successfully on my Mac with 5.26
19:51 choroba joined #pr-challenge
19:52 jacobydave good.
19:56 genio if you have anything you need tested on mac, yell. I'm happy to pull and test
19:59 jacobydave Will do.
21:17 neilb joined #pr-challenge
22:58 itcharlie_win joined #pr-challenge

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary