Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-12-11

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

All times shown according to UTC.

Time Nick Message
00:20 vroom joined #metacpan
00:27 vroom joined #metacpan
00:44 vroom joined #metacpan
01:08 vroom joined #metacpan
01:42 vroom joined #metacpan
02:08 klapperl joined #metacpan
02:11 vroom joined #metacpan
02:15 klapperl_ joined #metacpan
04:09 andreeap joined #metacpan
08:08 neilb joined #metacpan
08:37 neilb joined #metacpan
08:49 oiami joined #metacpan
08:50 oiami1 joined #metacpan
09:15 neilb joined #metacpan
13:07 punter joined #metacpan
14:18 Ptolemarch joined #metacpan
15:26 ranguard oalders: could you help riveter with test Test ES setup on the dev box
15:26 ranguard rwstauner: ^^ or is that you?
15:26 oalders rwstauner knows it better than i do
15:27 oalders but i'll see what i can do :)
15:27 ranguard what's the purpose of the test ES?
15:27 rwstauner it's separate from the "Dev" es
15:27 rwstauner so you can just run the test suite
15:27 rwstauner without having to mess with shutting down ES and starting it on a non-standard port
15:27 ranguard couldn't it just be a different index name?
15:28 rwstauner i asked about that once
15:28 ranguard it's not setup via puppet... so it doesn't exist ;)
15:28 rwstauner failed to get agreement
15:28 rwstauner that's the way i would do it
15:28 rwstauner put the env in the index name
15:29 rwstauner and quit messing with all the stupid hacks i've had to do to run it on another port
15:29 * ranguard does $env in name, if $env != production
15:29 ranguard oalders: sounds like that's a ticket for someone then
15:29 * rwstauner tends to do it unconditionally, but that would be fine
15:30 oalders ranguard: it used to be a different index name
15:30 oalders and then one day the production index was dropped when a test was run
15:30 rwstauner that doesn't make sense
15:30 ranguard well, tests shouldn't be able to run on production servers
15:31 oalders sure, there's that
15:31 oalders i'm just telling you why it's on a different port now ;)
15:31 rwstauner if they use an env-specific name, why would the prod index drop during tests?
15:31 ranguard rwstauner: he's talking about what USED to happen
15:31 rwstauner i understand why it's on a different port (for that reason)
15:31 oalders having said that, we don't run tests on prod anymore
15:31 rwstauner but i don't see why using different names wouldn't solve the problem
15:32 rwstauner that's what i never got a satisfactory answer on
15:32 oalders i think it's fine to use the same port
15:32 oalders maybe mo was running the scripts without HARNESS_ACTIVE=1
15:32 rwstauner hmm
15:32 oalders those were different times...
15:32 oalders but we could just kill the extra port and make everyone's life easier
15:33 ranguard ++
15:33 dipsy Thanks!
15:33 riveter yay!
15:33 oalders then we wouldn't have to explain it anymore
15:33 rwstauner can we also have different index names?
15:33 oalders yep
15:33 rwstauner that way the test suite won't destroy a minicpan
15:33 oalders yeah, it should be exactly the same but different index names
15:34 rwstauner hooray!
15:34 oalders that was easy. now somebody just has to do it :)
15:34 ranguard anyone got a prefered way of setting an env? - want some file in /etc/ or?
15:35 oalders well, if it's just needed for the test suite, checking for HARNESS_ACTIVE should be fine
15:36 oalders what's the best way for riveter to use https://github.com/monken/p5-elasticsearch-model with our carton setup?
15:36 dipsy [ monken/p5-elasticsearch-model · GitHub ]
15:36 ranguard oalders: couldn't that be true on production (not as likely now, but incase someone runs the tests - the tests should die really
15:36 oalders there are some unreleased changes in there
15:37 ranguard get it released to CPAN :) ?
15:37 oalders ranguard: sure. we could have the tests check the node name
15:37 oalders ranguard: works for me :)
15:37 oalders i don't know if anyone else has maint on it or if it's even finished
15:37 ranguard croak if $hostname !~ /dev/;
15:37 oalders mo ^^
15:38 oalders the croak would be fine if we had a test runner for all of the test scripts
15:38 ranguard or some MC::Test module they should all use maybe?\
15:39 oalders +1
15:39 * ranguard will leave that to you guys ;)
15:40 oalders riveter: you could just clone the ESX repository and include it in your path
15:41 oalders ./bin/prove -I../path/to/repo/lib test_name.t
15:41 riveter ew
15:41 riveter but yeah
15:41 riveter :)
15:42 riveter anyway I don't need it for the thing I was trying to do, so I'll cross that bridge when I come to it
15:42 Ptolemarch joined #metacpan
15:51 * ranguard heads home - good luck
16:50 vroom joined #metacpan
17:08 Ptolemarch joined #metacpan
17:40 neilb joined #metacpan
17:49 vroom joined #metacpan
17:52 vroom joined #metacpan
18:08 neilb_ joined #metacpan
18:55 neilb joined #metacpan
19:58 vroom joined #metacpan
20:30 oalders joined #metacpan
21:36 neilb_ joined #metacpan
21:40 alnewkirk joined #metacpan
21:48 punter joined #metacpan
22:04 Ptolemarch joined #metacpan
22:59 neilb_ joined #metacpan

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