Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2016-01-29

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

All times shown according to UTC.

Time Nick Message
01:44 plicease sivoais: thanks!
08:42 plicease sivoais: added gettys generated .travis.yml into the plugin with the master branch; I didn't think that would be controversial so didn't bother with a PR
13:18 * sivoais nods
14:07 jberger with Getty, things are rarely uncontroversial
14:08 jberger when I first released AB he spent a whole day <s>screaming</s> trying to convince me that his Dist::Zilla plugin should be the only public API to AB
14:09 jberger sigh
14:43 plicease I was not aware of that.
15:02 plicease I think the plugin is useful because you get exactly the right AB prereqs, and dynamic config based on the features you specify
15:02 plicease but not everyone is onboard with dzil so there should absolutely be non-dzil API
15:34 salv0 joined #native
19:20 plicease jberger: do you have an opinion on https://github.com/Perl5-Alien/Alien-Base/pull/152#issuecomment-176907338 ?
20:10 jberger establishing precedence is going to be hard
20:11 jberger some people will want their env to come through
20:12 jberger dist authors will probably assume that their choices are best
20:18 jberger commented
20:32 sivoais that kind of fine-grained control might make things a little messy in Alien::Base, no?
20:33 sivoais I would leave that to individual subclasses of Alien::Base::ModuleBuild
20:35 plicease This only relates to build time, so it would be for AB::MB only.
20:36 plicease You can also exert some of this control with helpers.
20:37 plicease alien_helper => { foo => '$ENV{FOO}//"myvalue"' }, alien_env => { FOO => '%{FOO}' },
20:37 plicease though it is more verbose admittedly.
20:37 * sivoais nods
20:37 sivoais but if it is sparingly used, the extra verbosity might be warranted
20:38 plicease My feel is that the reduced complexity is a better trade off here, do you feel strongly jberger?
20:39 plicease should be: alien_env => { FOO => '%{foo}' }
20:41 sivoais I think that an example showing how to do defined-or environment variables using helpers could go under the alien_env attribute documentation
20:41 sivoais but I don't know if that will really come up often
20:42 preaction i might argue that those cpantesters results are a problem with those tester boxes. generally when i'm installing something, i need to be able to fix things for my own machine. the author of the dist can never know everything about the machine it's being installed on
20:47 plicease preaction: in this case the problem wasn't with a cpantesters but with the cpan client itself.
20:47 plicease and the way it interacts with the openssl Makefile.
20:49 plicease ... writing additional documentation ...
20:55 plicease branch updated.  jberger does that help?
21:28 jberger it looks a little ugly, but I suppose
21:44 plicease I guess my argument is that the helper approach is more powerful.
21:51 jberger That's true
21:53 plicease I think it would look nicer if he had gone with https://github.com/Perl5-Alien/Alien-Base/pull/129
21:54 plicease you could do alien_env => { FOO => '%{ $ENV{FOO} || "value" }' }
21:54 plicease but we agreed that the helpers were more easily maintainable.  I think the same goes for this.
22:34 jberger Ok I agree with that

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