Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-12-22

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

All times shown according to UTC.

Time Nick Message
00:12 ChoiKyuSang joined #metacpan
00:25 ChoiKyuSang joined #metacpan
00:56 vroom joined #metacpan
01:43 vroom joined #metacpan
02:03 klapperl joined #metacpan
02:25 vroom joined #metacpan
02:31 vroom joined #metacpan
03:13 andreeap joined #metacpan
03:15 neilb joined #metacpan
03:27 vroom joined #metacpan
04:04 vroom joined #metacpan
04:27 vroom joined #metacpan
04:57 vroom joined #metacpan
04:58 vroom joined #metacpan
08:51 neilb joined #metacpan
09:20 neilb joined #metacpan
09:38 andreeap joined #metacpan
10:08 ether could someone possibly reindex the aliased dist? I acquired permissions after doing the release. thank you!
10:50 andreeap joined #metacpan
11:08 jnbek joined #metacpan
11:12 sivoais joined #metacpan
12:27 oalders ether: i just re-indexed it for you.  permissions fixed
13:26 andreeap joined #metacpan
14:48 vroom joined #metacpan
15:04 vroom joined #metacpan
15:20 oalders andreeap: are you running the tests as the metacpan user?
15:34 andreeap joined #metacpan
15:34 andreeap oalders: yes
15:36 oalders andreeap: i can't reproduce that error.  are you on the bm-mc-03?
15:36 andreeap yes
15:57 andreeap oalders: earlier I was getting this https://gist.github.com/andreeap/809c563a33fa18ee963a, I think that I ran  the test suite with my user the last time though
15:57 dipsy [ gist:809c563a33fa18ee963a ]
16:10 oalders andreeap: ok. turns out i need to take today off, so i can't help with this right now.
16:10 oalders rwstauner: can you see why ES on 9900 isn't starting for andreeap?
16:10 andreeap ok
16:13 rwstauner i don't see anything on bm-mc-03 that suggests there should be an es on 9900
16:13 rwstauner on the developer vm there's a separate init script and separate conf files
16:17 andreeap and  shouldn't be on 9900? what do I have to do in order to run the test suite?
16:32 vroom joined #metacpan
16:47 oalders andreeap: sorry, that's my bad.  the prod machines aren't set up to run the tests
16:47 oalders so, don't worry about the test suite for now
16:47 andreeap ok, got it
16:56 Ptolemarch joined #metacpan
17:07 riveter trying to run dzil listdeps | cpanm, it's saying Dist::Zilla::Plugin::Test::Compile is missing, but when I try to install it it says it's installed & up to date
17:10 Ptolemarch joined #metacpan
17:15 vroom joined #metacpan
17:19 rwstauner that dist.ini is really old
17:19 rwstauner it references modules that don't exist anymore
17:20 rwstauner so while Test::Compile may be installed, it may just be tripping up on other stuff
17:20 riveter this is for esx::model
17:21 rwstauner yeah
17:21 rwstauner pull and try again
17:21 rwstauner i found one plugin name that needed to be updated
17:21 rwstauner but then it worked for me
17:21 riveter I did pull
17:21 rwstauner just now?
17:21 riveter oh you mean you changed it just now?
17:21 rwstauner yeah
17:21 riveter ok hold on
17:22 rwstauner dzil listdeps will list the deps for the project
17:22 rwstauner but if the dzil authordeps are busted, dzil won't run
17:22 rwstauner in this case the dist.ini was declaring a module that apparently doesn't exist anymore so dzil wasn't going to run until that was fixed
17:24 riveter oh, the kwalitee one?
17:24 rwstauner yeah
17:24 rwstauner that one was giving me an error
17:24 riveter what did you replace it with?
17:24 rwstauner after i fixed that, listdeps worked
17:24 rwstauner Test::Kwalitee
17:24 riveter ok
17:24 riveter thanks
17:24 rwstauner the module got renamed
17:24 rwstauner and apparently the old one was removed from cpan
17:25 rwstauner so does it work for you now?
17:28 riveter it was still complaining about Test::Compile
17:29 riveter I'm just going to try the cpanfile that olaf put up
17:30 riveter and put the distzilla tutorial on my reading list :P
17:31 rwstauner try `dzil authordeps | cpanm`
17:32 rwstauner that would get dzil ready to run, assuming that all the plugins listed in the file are actually installable
17:32 riveter I did that
17:32 rwstauner oh ok
17:32 rwstauner i already have all the other plugins installed
17:32 rwstauner so i may have an advantage
17:32 riveter when it complains about test::compile it suggests running dzil authordeps --missing | cpanm
17:32 riveter but that again just says that it's already installed
17:32 rwstauner oh, right
17:32 rwstauner ok
17:33 riveter does it matter that I'm installing to ~/perl5 rather than globally?
17:33 rwstauner that could be the cause of the mixup
17:33 rwstauner are you using local::lib ?
17:33 riveter er
17:33 riveter no idea
17:33 rwstauner do you have your env setup so that dzil finds the plugins you installed?
17:34 rwstauner ok
17:34 rwstauner could be the problem
17:34 riveter ok, that's probably it then
17:34 rwstauner ok
17:34 riveter eesh.  Working with a new language is not so bad
17:34 rwstauner cpanm will install into ~/perl5 if it doesn't have perms
17:34 riveter I did not realize how painful switching ecosystems would be
17:34 rwstauner but then you need to setup local::lib in order to use that dir
17:34 riveter and then dzil isn't finding it
17:34 rwstauner yeah, each env has its stuff you have to learn
17:35 riveter ok, thanks so much for your help, I can google from here I think
17:35 rwstauner np
17:35 rwstauner try: eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
17:35 rwstauner in your shell
17:35 riveter ooh, pretty
17:35 mst http://p3rl.org/local::lib
17:35 dipsy [ local::lib - create and use a local lib/ for perl modules with PERL5LIB - metacpan.org ]
17:35 rwstauner that should activate the local::lib that cpanm was installing into
17:35 mst better to read the docs than to google, generally
17:35 mst since google tends to get you dot com boom era bullshit
17:36 rwstauner :)
17:36 mst so doesn't work so well until you learn how to mentally filter the crap out
17:36 riveter says I need to install local::lib
17:36 rwstauner could be
17:36 rwstauner cpanm local::lib
17:36 mst cpanm uses an internally bundled version
17:36 riveter yeah, I've noticed my google-fu is less effective than with python or javascript
17:36 mst my usual bootstrap approach is
17:37 mst curl -L cpanmin.us | perl - -l $HOME/perl5 App::cpanminus local::lib
17:37 mst then I add that 'eval' line to .bashrc
17:37 mst then I'm in business
17:37 riveter so what is cpanminus anyway?
17:37 mst it's a cpan client
17:37 riveter there's also a cpan tool which I had used in the past to install cpan modules
17:37 mst yes. and cpanm is an alternative
17:37 riveter could they be stepping on each other?
17:37 mst no
17:37 riveter ok, that's good
17:37 rwstauner riveter: while this is good stuff to understand, the "Carton" workflow is somewhat different, in that it handles the installation location (and the env setup) for you so you don't have to know these things
17:38 mst please stop imagining problems and try the solution I already gave you
17:38 riveter yeah, hopefully I can just work with carton from here on out
17:38 mst did you look at the local::lib docs yet?
17:39 mst it's just that a bunch of the answers I'm likely to give to questions will make way more sense if you've done the reading I suggested
17:40 mst (and carton isn't really any different, it just builds a local::lib :)
17:40 riveter mst: thanks, I will do that.  I have found module docs tend to assume more knowledge of how everything fits together than I have
17:41 mst riveter: I would rather answer questions based on you trying to read the docs and getting confused, than questions based on you randomly guessing at possible problems :)
17:41 riveter I prefer to know what's going on under the hood, but in this case letting carton do its magic is probably best
17:41 rwstauner fair point... what we're discussing (local::lib, cpanm) is stuff that carton abstracts away from the user
17:41 mst riveter: well, until runtime
17:41 mst since 'carton exec' is fragile bullshit
17:41 mst so at that point you have to understand local::lib anyway
17:45 riveter understood, thanks for your help :)
17:45 mst bah
17:45 mst rwstauner: the 'until runtime' comment was for you
17:45 mst riveter: sorry
17:45 rwstauner yeah, i'm not particularly a fan of carton at this point
17:45 rwstauner but it's what we're using for all the other repors
17:45 mst as a tool for rebuilding a local::lib, it's nice
17:46 mst carton install --deployment
17:46 mst is really handy
17:46 rwstauner yeah
17:46 mst just don't try and use exec or do anything clever
17:46 rwstauner :)
17:46 mst after that, it's a local::lib
17:46 mst carton exists to make said local::lib reproducible
17:46 mst it is good at that
17:47 rwstauner yeah that's a good way to look at it
17:48 neilb joined #metacpan
17:49 mst riveter: note also, I'm a cranky brit with a very dry sense of humour and a tendency to (ab)use phrasing to make important points memorable
17:49 mst so, please, if I appear to insulting or attacking you, ask for clarification, because I probably didn't intend it to come across that way
17:50 mst every year I get slightly better at only offending people when I actually intended to
17:50 mst but I'm still a long way from perfect :)
17:52 mst (I also really really do actually enjoy helping people learn stuff though ... I've been compared to House on occasion as a result ;)
17:55 neilb joined #metacpan
17:57 vroom joined #metacpan
17:57 rwstauner :)
17:58 oalders riveter: PERL_CARTON_PATH=/home/metacpan/carton/metacpan-api /opt/perl-5.18.2/bin/carton install --cpanfile /path/to/p5-esx/cpanfile
17:59 oalders that should be a good enough hack for what you're doing
18:11 neilb_ joined #metacpan
18:18 vroom joined #metacpan
18:31 oiami joined #metacpan
18:40 ether oalders: thank you kindly sir!
18:41 ether rock on, RT#12345 in Changes files are now links :D
18:47 ribasushi ether: so is GH#123
18:47 ribasushi for... like a year now
18:49 haarg it used to only link based on the bug tracker in the metadata, but now it tries to link both rt and github
18:50 haarg and tries to guess if it's rt.perl or rt.cpan
18:53 vroom joined #metacpan
19:09 vroom joined #metacpan
19:10 vroom joined #metacpan
19:23 dipsy joined #metacpan
20:11 punter joined #metacpan
20:57 ChoiKyuSang joined #metacpan
21:29 andreeap joined #metacpan
22:41 chansen joined #metacpan
23:23 neilb joined #metacpan
23:25 andreeap joined #metacpan
23:28 ChoiKyuSang joined #metacpan
23:48 andreeap joined #metacpan

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