Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-04-15

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

All times shown according to UTC.

Time Nick Message
01:47 ilbot2 joined #metacpan
01:47 Topic for #metacpan is now MetaCPAN Developer VM https://github.com/CPAN-API/metacpan-developer | Chat logs available at http://irclog.perlgeek.de/metacpan/ | Can't find your module on MetaCPAN? https://metacpan.org/about/missing_modules
01:59 metacpan joined #metacpan
01:59 metacpan [metacpan-web] oalders created mi/es2 from stage/lw-mc-03 (+0 new commits): https://git.io/vwTIz
01:59 metacpan left #metacpan
01:59 metacpan joined #metacpan
01:59 metacpan [cpan-api] oalders created mi/es2 from stage/lw-mc-03 (+0 new commits): https://git.io/vwTI2
01:59 metacpan left #metacpan
02:02 vroom joined #metacpan
05:00 melo joined #metacpan
05:47 oiami joined #metacpan
07:09 cjm joined #metacpan
07:21 kentnl where does metacpan-web turn POD into HTML fragments?
07:21 kentnl ( and what with? )
07:57 neilb joined #metacpan
08:01 ranguard kentnl:  Pod::Simple::XHTML I think, not sure where
08:05 kentnl A quick grep says there's still no support for pod-specified syntax highlighting, aka: https://github.com/CPAN-API/metacpan-web/pull/1352#issuecomment-56345779
08:05 kentnl ( and the comment after that about Prism )
08:06 ranguard haarg: ^^ ?
08:35 neilb joined #metacpan
09:11 metacpan joined #metacpan
09:11 metacpan [metacpan-web] mickeyn pushed 1 new commit to mickey/es2_fix_cpanfile: https://git.io/vwTyJ
09:11 metacpan metacpan-web/mickey/es2_fix_cpanfile 72b2fa9 Mickey Nasriachi: remove dependency: ElasticSearch::SearchBuilder
09:11 metacpan left #metacpan
09:21 mickey joined #metacpan
09:26 hanekomu joined #metacpan
09:28 hanekomu I'd like to get all releases of Encode and am using https://gist.github.com/d6b385b0bbf606dc1e7ba89ae9c500a7 . This returns all releases by the given author, but I'd like to restrict them to Encode releases. What am I doing wrong?
09:29 hanekomu and where is the 'term', 'release.author' and so on documented?
09:29 hanekomu (I've cargo-culted this example.)
09:32 mickey hanekomu: there's a simpler way, check: https://github.com/CPAN-API/metacpan-client/blob/master/examples/author_releases.pl
09:34 hanekomu yes, but how do I restrict to a certain distribution, like 'Encode'? Just check each $rel? I thought there should be a search arg to filter those
09:37 hanekomu i.e., why does   { term => { 'release.metadata.name' => 'Encode' } }   not restrict the search results? (I've just assumed that 'release.metadata.name' should work because of the working 'release.author' filter.)
09:51 mickey hanekomu: you can try: { term => { 'distribution' => 'Encode' } }
09:52 mickey BTW, using es_filter means you're passing a raw ES query (filter), this is not a MetaCPAN::Client issue.
09:57 mickey by that I mean that syntax-wise you are writing pure ES filter, the documentation you're looking for is the mapping. see http://api.metacpan.org/v0/release/_mapping
10:04 hanekomu mickey: thank you! I figured that 'term' is an ES thing, but didn't understand why release.metadata.name didn't work
10:42 melo joined #metacpan
10:51 anon joined #metacpan
11:13 Tempesta joined #metacpan
11:41 neilb joined #metacpan
11:45 csson joined #metacpan
11:48 mickey_ joined #metacpan
11:51 mickey joined #metacpan
12:22 mickey joined #metacpan
12:30 neilb joined #metacpan
12:31 mickey joined #metacpan
12:32 Relequestual joined #metacpan
13:03 oiami joined #metacpan
13:21 vroom joined #metacpan
14:27 metacpan joined #metacpan
14:27 metacpan [metacpan-web] oalders pushed 1 new commit to mi/es2: https://git.io/vwkgj
14:27 metacpan metacpan-web/mi/es2 fa0e5c0 Olaf Alders: Merge pull request #1674 from CPAN-API/mickey/es2_fix_cpanfile...
14:27 metacpan left #metacpan
14:27 metacpan joined #metacpan
14:27 metacpan [metacpan-web] oalders deleted mickey/es2_fix_cpanfile at 72b2fa9: https://git.io/vwk2e
14:27 metacpan left #metacpan
16:06 mickey joined #metacpan
16:38 neilb joined #metacpan
16:56 melo joined #metacpan
17:06 vroom joined #metacpan
17:29 neilb joined #metacpan
17:35 mickey joined #metacpan
17:56 ranguard mickey: did you look at ElasticSearchX:: on the api as well as web?
17:56 ranguard evening btw :)
17:57 metacpan joined #metacpan
17:57 metacpan [cpan-api] ranguard deleted leo/code_share_refactor at 158914c: https://git.io/vwIqi
17:57 metacpan left #metacpan
17:57 metacpan joined #metacpan
17:57 metacpan [cpan-api] ranguard deleted leo/add-content-type-meta at 3c55985: https://git.io/vwIqy
17:57 metacpan left #metacpan
17:57 metacpan joined #metacpan
17:57 metacpan [cpan-api] ranguard deleted oalders/queue at a5e3dee: https://git.io/vwIq9
17:57 metacpan left #metacpan
17:58 metacpan joined #metacpan
17:58 metacpan [cpan-api] ranguard deleted stage/bm-mc-03 at d683755: https://git.io/vwIqb
17:58 metacpan left #metacpan
17:58 metacpan joined #metacpan
17:58 metacpan [cpan-api] ranguard deleted rwstauner/rdeps-latest-versions at 76dc61a: https://git.io/vwIqA
17:58 metacpan left #metacpan
17:58 metacpan joined #metacpan
17:58 metacpan [cpan-api] ranguard deleted oalders/code-cleanup at a752db6: https://git.io/vwIqp
17:58 metacpan left #metacpan
17:58 metacpan joined #metacpan
17:58 metacpan [cpan-api] ranguard deleted grantm/#159 at 8b0aacd: https://git.io/vwIqj
17:58 metacpan left #metacpan
17:58 metacpan joined #metacpan
17:58 metacpan [cpan-api] ranguard deleted mo/jsonp at 59ba587: https://git.io/vwIme
17:58 metacpan left #metacpan
17:59 metacpan joined #metacpan
17:59 metacpan [cpan-api] ranguard deleted rafl/update_mongers at 2d062a7: https://git.io/vwImv
17:59 metacpan left #metacpan
17:59 metacpan joined #metacpan
17:59 metacpan [cpan-api] ranguard deleted mo/authorized at 0b31289: https://git.io/vwImU
17:59 metacpan left #metacpan
17:59 * ranguard cleans out old branches :)
18:01 ranguard ahh, it's the snap shot that's not updated
18:02 oalders cpanfile.snapshot?
18:04 ranguard https://github.com/CPAN-API/cpan-api/blob/mi/es2/cpanfile#L44 is right but https://github.com/CPAN-API/cpan-api/blob/mi/es2/cpanfile.snapshot#L2449 still points to old version
18:05 ranguard and production in stalls from the snapshot - not the cpanfile (as you are meant to)
18:09 csson joined #metacpan
18:15 metacpan joined #metacpan
18:15 metacpan [cpan-api] ranguard created mi/es2_update_snapshot (+1 new commit): https://git.io/vwI3n
18:15 metacpan cpan-api/mi/es2_update_snapshot d0b72bb Leo Lapworth: updated snapshot
18:15 metacpan left #metacpan
18:17 ranguard oalders: please review https://github.com/CPAN-API/cpan-api/pull/449 (might be better locally)
18:19 oalders ranguard: weird that it downgraded Algorithm::Diff
18:20 oalders and Any::Moose
18:20 oalders and AnyEvent
18:20 ranguard yea
18:20 oalders did you blow away the carton folders first?
18:20 ranguard hmm, though I had recently
18:20 ranguard didn't this time, guess I could try that
18:21 oalders we should add a script that deletes the snapshot file, deletes the carton folder and then does a fresh install
18:23 ranguard 'fresh install' is run puppet
18:24 oalders :)
18:25 * ranguard warms his laptop
18:33 metacpan joined #metacpan
18:33 metacpan [cpan-api] ranguard pushed 1 new commit to mi/es2_update_snapshot: https://git.io/vwInB
18:33 metacpan cpan-api/mi/es2_update_snapshot 62b9a31 Leo Lapworth: a few more modules not needed
18:33 metacpan left #metacpan
18:34 ranguard oalders: this is even more confusing: https://github.com/CPAN-API/cpan-api/pull/449/commits/62b9a31bddba87c60e2655614a00e5007aeee802
18:35 ranguard has mi/es2 been rebased on master recently?
18:35 oalders hasn't been rebased in many weeks
18:35 oalders ah, i see.  we need to pull in the queue
18:36 ranguard ahh, well that won't help, can you do so?
18:36 oalders yeah, hang on.
18:42 oalders i think rebase is going to be hell
18:42 oalders you ok with a merge from master?
18:42 oalders that has the side effect of not messing up mickey's branch
18:44 * ranguard doesn't care :)
18:45 ranguard oalders: go for it
18:48 oalders ranguard: i'll have to untangle this merge tonight.  i still have another 500 lines of conflicts to sort
18:48 oalders good that we're doing this now, though
18:49 oalders i need to do some archaeology to make sure i'm weeding out the right stuff
18:51 ranguard eek, have there been that many changes, oh, yea it's off the old stage/lw-mc-03 branch that's months and months old
18:52 ranguard please do same (rebase/merge) for the metacpan-web one if that's not already clean
19:02 oalders yep. i'll clean them both up this evening
19:03 oalders we could put a freeze on merging to master in the meantime
19:04 ranguard yea, something to talk about in the drive to Rugby... being how we handle the old server/api
19:05 ranguard as that will need to run off a seperate branch, but I guess now is a good a time as any to freeze/fork
19:06 oalders right. we'll need to sort that all next week
19:22 metacpan joined #metacpan
19:22 metacpan [cpan-api] ranguard force-pushed mi/es2_update_snapshot from 62b9a31 to 0a9a4a3: https://git.io/vwI00
19:22 metacpan cpan-api/mi/es2_update_snapshot 0a9a4a3 Leo Lapworth: updated snapshot
19:22 metacpan left #metacpan
19:23 ranguard oalders: that's cleaner (and not going backwards in versions) as far as I can see
19:23 ranguard right, drinking time, probably back on Sunday evening
19:25 oalders ranguard++ # snapshot looks much better
19:25 oalders enjoy drinking until Sunday!
19:52 oalders is there a tool to purge old tarballs from a minicpan?
19:56 mst are you using the stupid shit from CPAN or my minicpan script?
19:56 mst because http://www.trout.me.uk/perl/mirror.sh.txt does it automatically
19:56 oalders well, i didn't know about your script...
19:56 mst oh, right
19:57 mst well, now you do
19:57 oalders thanks!
19:58 oiami1 joined #metacpan
20:00 oiami2 joined #metacpan
20:07 oiami joined #metacpan
20:08 oiami1 joined #metacpan
20:10 oiami3 joined #metacpan
21:11 nicomen I think I asked this before, but I don't remember, is there a way to get the oldest version of a package that provides a module? For instance, if I ned TAP::Harness::Env, I should get Tap::Harness version 3.29 ?
21:12 nicomen s/Tap::Harness version 3.29/Test-Harness-3.29/
21:16 mst I think I'd walk back through the versions from the latest until it disappears
21:16 mst not exactly the ultimately elegant solution, but should work
21:25 nicomen was hoping to avoid that, as I would need to do that for every dep
21:26 mst I dunno, my plan is basically to load all the same data into postgres :)
21:34 nicomen ok, thanks ;)
21:45 vroom1 joined #metacpan
22:27 punter joined #metacpan
23:34 vroom joined #metacpan
23:34 vroom1 joined #metacpan

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