Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2015-10-05

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

All times shown according to UTC.

Time Nick Message
03:21 metacpan joined #metacpan
03:21 metacpan [metacpan-developer] rwstauner created gmc-dev (+1 new commit): http://git.io/vcMnc
03:21 metacpan metacpan-developer/gmc-dev 864ca2c Randy Stauner: Clone, mount, and forward github-meets-cpan
03:21 metacpan left #metacpan
04:21 metacpan joined #metacpan
04:21 metacpan [metacpan-developer] rwstauner opened pull request #33: Clone, mount, and forward github-meets-cpan (master...gmc-dev) http://git.io/vcMRP
04:21 metacpan left #metacpan
07:48 neilb joined #metacpan
08:08 neilb joined #metacpan
08:16 neilb joined #metacpan
08:52 margeas joined #metacpan
09:39 melo joined #metacpan
09:55 mattp joined #metacpan
11:36 dolmen joined #metacpan
12:33 salva joined #metacpan
12:59 margeas joined #metacpan
14:15 garu_ joined #metacpan
16:26 jdv79 ranguard: some sort of high level prd overview would be nice
17:02 vroom joined #metacpan
17:08 neilb joined #metacpan
17:10 vroom joined #metacpan
17:47 ranguard jdv79: prd - production?
17:50 ranguard jdv79: not sure what soft of info you are after?
18:09 mattp joined #metacpan
18:26 jdv79 ranguard: yeah, production
18:26 jdv79 i still don't speak puppet well if at all
18:27 jdv79 an idea of the lifecycle(s) would be nice
18:30 ranguard jdv79: umm, so, puppet run =~ 1) install packages/users/configs etc, 2) fetch repos from github, 3) run carton for any repo that changes (they each have their own carton lib), 4) restart any services that were affected
18:31 ranguard that's VERY hand wavy :)
18:34 ranguard 'hieradata' is a load of yaml files... and they get merged... so start at:
18:34 ranguard https://github.com/CPAN-API/metacpan-puppet/blob/master/hieradata/common.yaml
18:34 ranguard You will see a LOT of config (most things), most of which has 'enable => false' or similar
18:34 jdv79 the last bit i'm particularly interested in
18:35 jdv79 the services part
18:35 jdv79 the first 3 i don't think i need to be delving into
18:36 ranguard then the relevant layer ( env - dev/production, datacenter - limewire or bytemark, or node - each one of 6 production servers, or the dev VM)
18:36 jnbek so, I just uploaded a dist and it still shows me as not having any dists uploaded on my user page and the link is grey on the page... what does that mean; a grey link and when will the new mod show in my list of mods on my userpage?
18:36 ranguard all get merged together, those are often then just adding  the relevant 'enable => true'
18:37 ranguard jnbek: give it an hour (appearing on 'recent' != fully indexed / marked at latest)
18:38 jnbek kk, thx :D
18:38 jnbek just wanted to make sure i didn't do something wrongt
18:39 ranguard jnbek: if you did then pause usually emails you... make sure you read the 'indexed' email you get ;)
18:39 jdv79 that's what i'd like to understand
18:39 jdv79 the "in" side
18:39 jnbek ranguard: thx :D
18:39 ranguard jdv79: so https://github.com/CPAN-API/metacpan-puppet/blob/master/modules/metacpan/manifests/web/starman.pp is probably the meaty bit
18:40 ranguard https://github.com/CPAN-API/metacpan-puppet/blob/master/modules/metacpan/manifests/web/starman.pp#L48 is saying when the repo is updated tell the Carton code to run, and the Starman service to restart
18:40 jdv79 that's the web server though, right?
18:40 ranguard jdv79: yea
18:41 ranguard what are you after, crons?
18:41 jdv79 where are all the input paths and maint paths
18:41 jdv79 yeah
18:42 ranguard jdv79: https://github.com/CPAN-API/metacpan-puppet/tree/master/modules/metacpan/manifests/cron ( general or api ) are the puppet configs
18:42 ranguard (e.g. actually setup the cron jobs)
18:42 ranguard https://github.com/CPAN-API/metacpan-puppet/blob/master/hieradata/common.yaml#L183 is where they are in hiera
18:43 jdv79 thanks 
18:43 ranguard jdv79: directory is https://github.com/CPAN-API/metacpan-puppet/blob/master/hieradata/common.yaml#L66
18:44 ranguard for where the code looks for the cpan mirror
18:47 jdv79 ah.  is there a waay to get the generated stuff from puppet
18:48 jdv79 maybe a dry run  + verbose type run?
18:55 ranguard jdv79: not really I'm afraid
18:56 ranguard but you could edit your local metacpan-dev.yaml and enable anything (to make it like production) if you wanted
18:57 ranguard (that's in hietadata/node/
18:59 jdv79 cool
19:04 jdv79 https://github.com/CPAN-API/metacpan-puppet/blob/master/hieradata/common.yaml#L257-L261
19:04 jdv79 is that the only release input path?
19:05 jdv79 i remember seeing something about a metacpan watcher
19:07 jdv79 rather, where is hte watcher cron?
19:09 ranguard https://github.com/CPAN-API/metacpan-puppet/blob/master/hieradata/common.yaml#L71
19:09 ranguard jdv79: which kicks off https://github.com/CPAN-API/metacpan-puppet/blob/master/modules/metacpan/manifests/watcher.pp
19:19 jdv79 ah
19:19 jdv79 is http://hack.p6c.org:5001/ super slow to you?
19:20 jdv79 my conn is beyond hope
19:20 ranguard jdv79: slow.. ye.....s
19:20 jdv79 :)
19:28 jdv79 but does it load for you?
19:28 jdv79 i get conn reset
19:29 ranguard jdv79: yea it did load
19:29 jdv79 thanks
19:29 jdv79 how long did it take?
19:30 ranguard actually, quite snappy now
19:30 ranguard no results or anything
19:30 jdv79 any idea why?
19:30 ranguard but the page loads ok
19:30 jdv79 yeah, its just empty
19:31 ranguard if you are ON the box that hosts the VM you might want to just access localhost:5001
19:32 jdv79 why's that?
19:32 ranguard otherwise might be wierd network loop... having to go out to come back in *shrug*
19:32 jdv79 that box is run by the p6 crew
19:33 ranguard oh, then you should get the same as me
19:33 jdv79 i have a shell acct on it bt that's it
19:33 jdv79 nope.  i'm on a 14.4k conn:(
19:33 jdv79 i an't even load it 
19:33 ranguard ahh!!!
19:33 jdv79 that's why i asked if it loaded for you
19:34 ranguard in development mode you get DOZENS of css files (we use .less) and caching turned off
19:34 jdv79 i can load it with links on at box but tha's not a real UA
19:34 jdv79 yeah, figured that was part of it
19:34 ranguard where are you that you get 14.4k?
19:35 * ranguard didn't think they made those any more :)
19:36 jdv79 its just a jok; though sad
19:36 jdv79 i'm at a hostel in edinburgh that can't seem to afford a real conn
19:36 jdv79 *joke
19:36 ranguard :)
19:36 jdv79 i think its everyone on their phones on fb,youtube,etc
19:37 ranguard the page is 121 requests... 961 KB
19:38 jdv79 is it usable though?  as a prototype?
19:38 ranguard yea, completly
19:38 jdv79 as in does the page load in < 10s after your client caches sommethings
19:38 jdv79 ah, good
19:38 ranguard 3 seconds
19:39 jdv79 cool.  maybe i'll go out now and try to work when eeveryone else should be asleep
19:40 jdv79 thanks  again
19:40 ranguard enjoy!
20:56 neilb_ joined #metacpan
23:32 Peter joined #metacpan

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