Perl 6 - the future is here, just unevenly distributed

IRC log for #native, 2017-03-29

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

All times shown according to UTC.

Time Nick Message
07:31 salva joined #native
08:11 salva joined #native
14:24 willthechill joined #native
14:41 plicease Alien::Base::ModuleBuild (ABMB) is now in its own dist.
14:42 plicease you can set ALIEN_BASE_NO_ABMB to 1 to test the future where Alien::Base does not declare a prereq on ABMB
14:42 plicease I've already discovered a few prereq bugs by setting this in CI configs
14:42 plicease (happily they have all been CI only bugs, and not the sort of thing that would actually happen in real life)
16:25 willthechill plicease: does this affect Alien::astyle in any way?
16:26 plicease hard for me to know, maybe set ALIEN_BASE_NO_ABMB and find out
16:27 plicease this is the key thing to be aware of:
16:27 plicease http://blogs.perl.org/users/graham_ollis/2017/03/alienbuild-vs-alienbasemodulebuild.html
16:34 willthechill hmmm so can I "just wait and see" if something breaks later, or do I need to immediately be proactive and do something now?
16:36 plicease I've documented the issue several times in several places, including the link that I just posted.
16:44 plicease I don't expect anything to break, but you can set ALIEN_BASE_NO_ABMB to 1 and do a clean install of anything downstream of Alien::Base.
16:44 plicease If anything doesn't work, then it is most likely due to ABMB not being set as a configure requires.
16:44 plicease by clean install I mean a clean install of perl.
16:45 willthechill oh wow this change requires a total perl reinstall?
16:45 plicease no....
16:46 willthechill sorry, I'm not an Alien expert, just a lowly RPerl programmer trying to understand if this change actually affects me or not
16:46 plicease It isn't really alien specific.
16:46 plicease ABMB is being split from AB
16:47 plicease ABMB should be a configure require
16:47 plicease I fact that I have been advertisting here and on bpo
16:47 plicease so it shouldn't be a surprise
16:47 plicease you only need to make sure that ABMB is a configure require of your module.
16:47 plicease if you want to test that it actually works
16:48 plicease you can set ALIEN_BASE_NO_ABMB to 1
16:48 plicease and try installing Alien::astyle on a fresh install of perl
16:48 plicease if you try testing it on something that already has ABMB installed
16:48 plicease it won't really tell you anything
16:49 willthechill I never said this was a surprise, and yes I have seen you advertise it in multiple places, this is simply the first free moment I have had to address the issue
16:50 willthechill so Travis uses perlbrew on a fresh VM every time I push a new RPerl commit to github, does that fulfill the requirement of "try installing Alien::astyle on a fresh install of perl"?
16:50 plicease is ABMB already installed?
16:52 willthechill hmmm good question, I guess I would have to tweak my travis config file to test if ABMB is already installed before it actually does anything with RPerl
16:52 willthechill I kindof assumed that ABMB would not already be installed on Travis, but the truth is I don't know
16:52 jberger if it is in your configure_requires, as it must be soon anyway, then travis will install it
16:55 plicease I think it is safe to assume that ABMB is not already installed in the travis image
16:55 willthechill okay I think I am already covered because ABMB is already in my configure_requires?    https://github.com/wbraswell/alien-astyle/blob/master/Build.PL#L35
16:55 willthechill or do I still need to do something with ALIEN_BASE_NO_ABMB?
16:57 plicease As I just said.
16:57 plicease You only need to make sure that ABMB is a configure require of your module.  Alien::astyle.
16:58 plicease IF you want to to be sure, you can use the environment variable.
16:58 plicease that is totally your call.
16:59 plicease this is the environment configuration that I am using
16:59 plicease https://github.com/plicease/Alien-curl/blob/897ddd1fd6dda0eec8ac2a6d2cb7cb8c961127e6/.travis.yml#L19
17:00 plicease tests that Alien::curl will work when the prereq change happens in October.
17:07 willthechill okay so then I will take that as confirmation that I am fully covered by having ABMB in the configure_requires of Alien::astyle
17:07 willthechill thanks!
18:34 willthechill joined #native
23:35 willthechill joined #native

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