Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-10-23

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:33 kivanc joined #metacpan
07:01 alh joined #metacpan
07:28 metacpan joined #metacpan
07:28 metacpan [metacpan-client] mickeyn closed pull request #53: a few small dist.ini tweaks (master...topic/tooling_fixes) https://git.io/vPbnP
07:28 metacpan left #metacpan
07:40 oiami joined #metacpan
07:58 metacpan joined #metacpan
07:58 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPbaJ
07:58 metacpan metacpan-client/master edfe4d7 Mickey Nasriachi: dist.ini: added git tags
07:58 metacpan left #metacpan
08:05 Grinnz i don't think this is correct, the [ReadmeAnyFromPod] is putting a readme in the root, not int he build https://github.com/metacpan/metacpan-client/pull/53/commits/f240d13e51ee70030a0a1087b121d9e1d6013e6c
08:06 Grinnz also it's a pod format not text
08:09 mickey Grinnz: right, I realize now without it I don't get the version updates to README.pod ... i'll restore this one
08:10 metacpan joined #metacpan
08:10 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPbaZ
08:10 metacpan metacpan-client/master e89c5cb Mickey Nasriachi: dist.ini: restore ReadmeFromPod
08:10 metacpan left #metacpan
08:24 Grinnz mickey: you should replace it with either [ReadmeAnyFromPod] or [Pod2Readme], with no options either will do the same thing
08:24 Grinnz you can use ReadmeAnyFromPod for both
08:30 mickey we already have ReadmeAnyFromPod conf in dist.ini, and without this line i see i also don't get the tarball created with dzil build
08:32 mickey sec, that's something else
08:33 mickey k, i don't need it and we already have ReadmeAnyFromPod ... i'll revert my last change
08:34 Grinnz no, the one you removed is to make the text README in the distribution build
08:34 Grinnz you still need that, but you can replace it with one of the other two because they're better
08:35 mickey Pod2Readme gives me an error: "attempt to add README multiple times"
08:36 kentnl You have to make sure you don't have any GatherDir plugins harvesting README's in the source tree
08:41 mickey there's Git::GatherDir
08:41 Grinnz wait. you're using [@Basic] and not removing [Readme]
08:41 Grinnz i guess [ReadmeFromPod] just ignored that
08:42 Grinnz which one is getting into the dist?
08:42 * mickey is soooo confused right now :)
08:42 Grinnz [Readme] also generates a text README, just not from pod
08:43 mickey ReadmeAnyFromPod as you suggested seem to work at least as I expect
08:43 Grinnz so you could either leave that and not add a second one, or add -remove = Readme under [@Basic]
08:44 Grinnz or the filtered @Basic rather
08:45 mickey there's no [@Basic] ... why did you say we're using it?
08:45 Grinnz -bundle = @Basic
08:45 mickey ah, right
08:48 mickey so Pod2Readme and -remove = Readme ? that seem to work for me
08:59 neilb joined #metacpan
09:03 [Tux] ether: from git
09:04 [Tux] and build and test worked fine. It is install that failed
09:04 * [Tux] pulls again …
09:07 [Tux] https://gist.github.com/Tux/c905997ceea1928df1be0b4070805588
09:08 [Tux] without Confess: https://gist.github.com/Tux/34fa609dd79bb7a5dd53e0031440034a
09:10 metacpan joined #metacpan
09:10 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPbwV
09:10 metacpan metacpan-client/master e7ac434 Mickey Nasriachi: dist.ini: few more tweaks (thanks to Grinnz)
09:10 metacpan left #metacpan
09:16 metacpan joined #metacpan
09:16 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPbwX
09:16 metacpan metacpan-client/master 3fd075a Mickey Nasriachi: release 1.028002
09:16 metacpan left #metacpan
09:16 metacpan joined #metacpan
09:16 metacpan [metacpan-client] mickeyn tagged v1.028002 at f7af8ed: https://git.io/vPbw1
09:16 metacpan left #metacpan
09:24 Grinnz just checked the prev release and despite both [Readme] and [ReadmeFromPod] being there, there was no README in the build
09:24 Grinnz weird
09:25 [Tux] dzil build and test still pass, install still fails:
09:25 kentnl ReadmeFromPod works a bit weirdly, which would explain it
09:25 [Tux] Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\#\s+PREREQ_PM => { <-- HERE \s*(.*?)\s*}/ at /loader/0x2755dc8/App/cpanminus/script.pm line 1101.
09:25 kentnl ( it modifies the build dir directly )
09:26 Grinnz yeah... best just not to use it
09:26 kentnl but that's why it doesn't fail. It avoids the path where the failure would occur by simply clobbering whatever is there at whatever time :)
09:26 Grinnz [Tux]: install with confess?
09:27 [Tux] https://gist.github.com/Tux/c905997ceea1928df1be0b4070805588 was just before the last two commits
09:27 Grinnz [Tux]: thats just a warning, not an error
09:27 [Tux] but right after that it stops
09:28 Grinnz [Tux]: that build doesn't have the error though
09:28 Grinnz it succeeds
09:28 [Tux] if I change cpanfile to state "2.03" for Elasticsearch, all goes as planned
09:28 [Tux] Grinz, it did not:
09:28 [Tux] String found where operator expected at (eval 18) line 1, near "WWW::Mechanize::Cached' => q[0], '"
09:28 [Tux] Invalid version format (non-numeric data) at /loader/0x2755dc8/App/cpanminus/script.pm line 851.
09:28 [Tux] [DZ] error running {{["cpanm", "."]}}
09:28 [Tux] [DZ] install failed, left failed dist in place at .build/txXYC82XL6
09:28 [Tux] [DZ] error running {{["cpanm", "."]}} at /pro/lib/perl5/site_perl/5.22.0/x86_64-linux-thread-multi-ld/Moose/Meta/Method/Delegation.pm line 110.
09:29 Grinnz [Tux]: that's not in the one you just linked with confess
09:29 [Tux] I'll restart from scratch
09:30 mickey [Tux]: also pull again
09:30 [Tux] commit 3fd075a06babbdaae03665a6a7f349314827c37b; git reset --hard; dzil build; dzil test
09:30 [Tux] 3fd07 is the latest, right?
09:31 mickey yeah
09:33 [Tux] https://gist.github.com/Tux/dd9817b0be3e4e3c10496a0e01ea7f16 (long read)
09:34 * [Tux] just trying to help
09:34 Grinnz [Tux]: if you do dzil build (that part seems to work right?) what's the Makefile.PL you get in the build dir?
09:37 [Tux] http://www.xs4all.nl/~hmbrand/Makefile.PL was created as MetaCPAN-Client-1.028002/Makefile.PL
09:38 Grinnz so that looks fine, but this code to form a hashref in cpanm is all borked
09:38 Grinnz is your cpanm up to date?
09:38 [Tux] no idea. I never use cpanm. I am a cpan addict :P
09:39 Grinnz cpanm --version?
09:39 [Tux] MetaCPAN-Client-1.028002 541 > cpanm --version
09:39 [Tux] Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\#\s+PREREQ_PM => { <-- HERE \s*(.*?)\s*}/ at /loader/0x23fede8/App/cpanminus/script.pm line 1101.
09:39 [Tux] cpanm (App::cpanminus) version 1.0015
09:39 Grinnz WOW yeah that's the problem lol
09:39 Grinnz too old for version ranges, likely
09:41 [Tux] right. there was TWO versions of cpanm in my $PATH. one probably from waaaaaaay back experiments
09:41 [Tux] 1.7042 was also available. I removed the old one
09:42 [Tux] Successfully installed MetaCPAN-Client-1.028002
09:42 [Tux] 1 distribution installed
09:42 Grinnz i don't think dzil actually depends on cpanm in any way, so don't think it can be "fixed" that way
09:43 Grinnz the install method just shells out to it
09:43 Grinnz maybe it should though?
09:43 [Tux] with the old cpanm gone, all looks healthy for me
12:38 oiami joined #metacpan
13:12 oiami joined #metacpan
14:39 Tempesta joined #metacpan
15:59 oiami joined #metacpan
17:49 ether ReadmeFromPod is not being maintained and has several internal flaws; ReadmeAnyFromPod fixes all of those
17:50 ether is the README.* issue all sorted now?  what I'm not clear on is what was actually desired there.
17:50 ether I use [Readme] which just creates a small README file that doesn't contain the main docs, and then README.pod in the repo (not the uploaded distribution) that is a copy of the main module's pod.
18:53 mickey ether: yeah, I think the README thing is OK now
18:54 mickey we have another issue with requirements though: https://github.com/metacpan/metacpan-client/pull/50#issuecomment-255528905
18:54 mickey softened ones get hardened in META.* and Makefile.PL
19:03 Grinnz mickey: yeah definitely shouldn't be excluding cpanfile from the build if you're trying to get the prereqs from there :P
19:04 mickey Grinnz: the cpanfile is in the build
19:04 Grinnz yeah, still looking at the rest of it
19:05 Grinnz ah, you have AutoPrereqs here
19:05 Grinnz that's adding the hard deps
19:05 Grinnz if you're listing all your deps this comprehensively, I don't think you really need AutoPrereqs
19:06 mickey great. removed and that seems to solve it
19:06 mickey thanks Grinnz
19:07 Grinnz might want to double check that AutoPrereqs wasn't adding anything important that's missing in the cpanfile though
19:08 metacpan joined #metacpan
19:08 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPNJo
19:08 metacpan metacpan-client/master 9e9b95c Mickey Nasriachi: dist.ini: removed AutoPrereqs
19:08 metacpan left #metacpan
19:11 mickey Grinnz: nah, it's just the 2 modules that were not supposed to be there
19:11 mickey so we're good
19:13 metacpan joined #metacpan
19:13 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/vPNJh
19:13 metacpan metacpan-client/master b69fac0 Mickey Nasriachi: release 1.028003
19:13 metacpan left #metacpan
19:15 Grinnz cool
19:15 mickey thanks so much for the help ;)
19:41 Grinnz i've got a bit more cleanup coming as a PR if you're interested :P
19:45 metacpan joined #metacpan
19:45 metacpan [metacpan-client] Grinnz opened pull request #54: Use @Starter to clean up dist.ini and some cpanfile cleanup (master...distini_starter) https://git.io/vPNTX
19:45 metacpan left #metacpan
19:51 metacpan joined #metacpan
19:51 metacpan [metacpan-client] mickeyn closed pull request #54: Use @Starter to clean up dist.ini and some cpanfile cleanup (master...distini_starter) https://git.io/vPNTX
19:51 metacpan left #metacpan
19:51 metacpan joined #metacpan
19:51 metacpan [metacpan-client] mickeyn pushed 3 new commits to master: https://git.io/vPNkv
19:51 metacpan metacpan-client/master f7031b7 Dan Book: use @Starter to simplify dist.ini...
19:51 metacpan metacpan-client/master 5ecb3b9 Dan Book: Clean up cpanfile...
19:51 metacpan metacpan-client/master 6d2b6e4 Mickey: Merge pull request #54 from Grinnz/distini_starter...
19:51 metacpan left #metacpan
19:51 mickey Grinnz: of course, thanks

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary