Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2016-10-07

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

All times shown according to UTC.

Time Nick Message
03:30 rvandam joined #pr-challenge
05:36 dod joined #pr-challenge
05:41 dod joined #pr-challenge
06:12 dod joined #pr-challenge
06:19 dod joined #pr-challenge
07:05 neilb joined #pr-challenge
08:17 neilb joined #pr-challenge
10:46 ptc is there a way to specify optional prereqs in META.yml?
10:46 ptc my dist from last month requires a module on Win32 but not on other systems
10:47 ptc is it possible to get Dist::Zilla to generate a META.yml which will handle both cases for the end user?
10:48 ptc I've found the OSPrereqs plugin, however it alters the Makefile.PL or Build.PL depending upon the current system.  What's needed is a lookup on the end-user system to work out if the required module should be installed or not
10:49 ptc it doesn't look like the META.yml spec supports this kind of idea, however it's highly likely that I've missed something
10:49 ptc ideas?
15:28 neilb_ joined #pr-challenge
16:03 rvandam joined #pr-challenge
16:36 dod joined #pr-challenge
16:41 dod joined #pr-challenge
17:34 ether ptc: [OptionalFeatures] perhaps, but that's not going to be OS-specific.
17:35 ether if you have a win32-specific prereq you should indeed use OSPrereqs, or the more complicated DynamicPrereqs which has the same end effect (putting the additional prereqs in Makefile.PL -- because that's where it goes).
17:35 ether "What's needed is a lookup on the end-user system to work out if the required module should be installed or not" -- that's what Makefile.PL does
17:35 ether the "configure" phase is where Makefile.PL or Build.PL runs, and finalizes the list of prereqs.
17:36 ether you can inspect them statically from META.* only if dynamic_config is false in META*
17:36 ether if dynamic_config is missing or true, then Makefile.PL or Build.PL *must* be run first to determine prereqs - you cannot assume anything from META alone
17:46 neilb joined #pr-challenge
17:48 neilb joined #pr-challenge
17:55 neilb joined #pr-challenge
18:55 choroba joined #pr-challenge
19:12 deven joined #pr-challenge
21:46 rvandam joined #pr-challenge

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