Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2015-11-09

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

All times shown according to UTC.

Time Nick Message
00:54 rvandam joined #pr-challenge
01:53 Zoffix joined #pr-challenge
06:17 gansh joined #pr-challenge
07:39 amalia joined #pr-challenge
07:40 gansh joined #pr-challenge
08:16 neilb joined #pr-challenge
08:57 neilb joined #pr-challenge
09:17 neilb joined #pr-challenge
09:53 bjakubski joined #pr-challenge
10:24 mje joined #pr-challenge
11:22 Zoffix joined #pr-challenge
11:25 vroom joined #pr-challenge
12:00 dolmen joined #pr-challenge
13:07 jevin joined #pr-challenge
13:18 deven joined #pr-challenge
13:43 gryphon joined #pr-challenge
14:11 vroom joined #pr-challenge
14:12 heytitle joined #pr-challenge
14:39 vroom joined #pr-challenge
16:08 jb360 joined #pr-challenge
18:00 ether 'conflicts' is pretty straight-forward, but nothing really supports it in the toolchain
18:00 neilb joined #pr-challenge
18:00 ether no cpan client (afaik) goes "hey, you've got a set of modules installed that your prereq configuration says is no good, I will bail now"
18:01 thrig which is probably a plus, as resolving rpm conflicts can be so much fun
18:10 absolut_todd joined #pr-challenge
18:52 Peter joined #pr-challenge
19:12 sivoais joined #pr-challenge
19:24 sivoais joined #pr-challenge
20:36 choroba joined #pr-challenge
21:01 choroba I still don't get it
21:02 choroba if I specify requires 'Catmandu', '0.9504'; in cpanfile
21:02 choroba and install Catmandu 0.9503, I still don't get any errors nor warnings
21:02 choroba Is Dist::Milla ignoring version constraints?
21:03 choroba or Module::Build::Tiny, which it uses to build the distribution?
21:03 choroba or, am I doing it wrong? (most probable)
21:09 ether yes
21:10 choroba yes what? :)
21:10 ether to your questions
21:10 choroba all of them?
21:10 ether possibly
21:10 ether I tried to be as vague in my response as you were with your questions
21:10 choroba ok
21:10 ether are you doing it wrong? yes, perhaps. hard to say without seeing what you're doing :)
21:11 choroba I'll try to rephrase, then
21:11 choroba I'm trying to prevent test failures
21:13 choroba I though that by specifying prerequisites with versions, it should be doable
21:13 choroba as I understood, using "conflicts" doesn't work
21:13 thrig is there code or a gist or something we can look at?
21:14 choroba https://github.com/choroba/Catmandu-PICA/blob/master/cpanfile
21:14 ether or is this published on CPAN? you didn't mention the distribution name
21:14 choroba this is the cpanfile
21:14 choroba The distribution is Catmandu::PICA
21:15 ether does this accurately capture your current prereqs?  https://metacpan.org/source/JOROL/Catmandu-PICA-0.16/META.json#L38-50
21:15 choroba I though that after changing the version for Catmandu to '0.9504', I'd get some errors or warnings about wrong version under 9503
21:16 ether what test failures are you seeing?
21:18 choroba Similar to http://www.cpantesters.org/cpan/report/e4a36b92-80bc-11e5-a595-21ace0bfc7aa
21:18 choroba but it only happens when Catmandu 0.9503 is installed, when I upgrade it to 0.9504, the tests pass
21:19 choroba so, I wanted to restrict the version of the dependency
21:19 ether so you want a runtime-requires on Catmandu 0.9504.
21:20 choroba exactly
21:20 ether so why the fuss about conflicts? that appears totally irrelevant
21:20 ether just specify the minimum version of the prereq and you're done.
21:22 choroba I just thought Dist::Milla would tell me about the wrong version when trying to build or test the distribution afterwards
21:24 ether there's nothing in there as far as I know that checks prereqs for the developer.
21:25 ether you could add [Test::CheckDeps]
21:25 ether but you should make that an author-only test so you don't screw up your test reports
21:26 ether I generally use [Test::ReportPrereqs]
21:26 ether it never fails, it just provides information
21:26 ether and exactly the kind of information you want to see in test reports, too
21:26 choroba oh, I see
21:26 choroba thanks a lot
21:41 borkur joined #pr-challenge
21:41 borkur left #pr-challenge
22:08 rvandam joined #pr-challenge
23:09 neilb joined #pr-challenge

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