Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-08-23

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

All times shown according to UTC.

Time Nick Message
00:12 ether gah
00:15 ether I would have thought that /pod/* shouldn't work at all for files that aren't in 02packages.
00:15 ether i.e. you would have to view it through /distribution or /release
00:16 ether maybe /pod could resolve for unindexed things if there was exactly one result, but it would be confusing if then someone uploaded another thing with the same name and then that link stopped working
00:16 ether so to be consistent, it shouldn't work at all, and instead route to a search result screen
00:19 haarg given the way things currently work, that would mean pod files would never be accessible through /pod/*
00:20 haarg metacpan has no concept of an indexed pod file
00:22 Grinnz i wouldn't be too sad about a special case that prefers the perl distribution over any other
00:23 ether specialcasing the perl distribution is a quick fix (and should be done, to resolve this), but I don't think it's sufficicent.
00:23 ether because there is no PAUSE indexing of pod files, whoever uploads a foo.pod last will grab the /pod/foo location
00:23 Grinnz consider also /pod/cpanm which currently prefers the Menlo dist
00:23 haarg no
00:23 ether the lack of consistency means it is an undesirable URL to rely on
00:24 haarg it's not that pause isn't indexing them, or at least isn't only that
00:24 haarg even if indexed by pause, metacpan currently has nowhere to store that information
00:25 Grinnz it's a hard problem to begin with, but i don't know if "nobody can have the neat URL" is a good solution either
06:02 oiami joined #metacpan
08:10 neilb joined #metacpan
10:15 y1mmm joined #metacpan
11:26 y1mmm joined #metacpan
13:03 Khisanth joined #metacpan
15:09 BooK metacpan does have an issue at the moment, doesn't it?
15:25 b_jonas joined #metacpan
15:26 b_jonas Is there some known problem with MetaCPAN? It doesn't seem to find any modules when I search, eg. https://metacpan.org/search?q=XML&search_type=modules says "No result."
15:26 b_jonas Another user says he sees the same problem.
15:29 robscow joined #metacpan
15:29 alh https://metacpan.org/pod/Moose
15:29 alh Oh yeah, things are broken hard
15:29 hmahmod joined #metacpan
15:44 skaufman joined #metacpan
15:45 skaufman not sure if anyone saw this (just joined the room) but https://github.com/metacpan/metacpan-web/issues/1762
15:46 skaufman getting a catalyst error i think https://metacpan.org/account/favorite/list_as_json
15:46 skaufman ah derp thats the favorites call
15:46 skaufman but recent is blank as well https://metacpan.org/recent?size=10
15:49 Kundun joined #metacpan
15:57 theory joined #metacpan
15:58 theory Is https://fastapi.metacpan.org/v1/ down?
15:58 theory Answer: No, a request to the root path just returns an errror.
16:00 Grinnz looks like things are back
16:00 haarg restarted elasticsearch
16:01 theory A request with no path returns
16:01 theory {
16:01 theory "message" : "Can't call method \"set_class\" on an undefined value at /home/metacpan/carton/metacpan-api/lib/perl5/ElasticSearchX/Model/Index.pm line 80.\n"
16:01 theory }
16:01 Grinnz ew
16:01 theory Is the API identical to v0? I can’t find updated docs.
16:01 theory https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md says v0.
16:02 haarg no, there are some differences
16:02 theory Where can I find a list of those differences?
16:03 theory Also, is https://fastapi.metacpan.org/v1/ the final URL for the v1 API?
16:04 haarg it isn't well documented
16:04 haarg v0 on its own isn't well documented
16:05 theory Well, I’m using /file/_search, /release, and /module. Have any of those changed?
16:06 haarg yes
16:07 haarg the most important bits are all covered by the elasticsearch changes
16:07 theory link?
16:09 haarg v0 is elasticsearch 0.20.  v1 is 2.3
17:07 skaufman is elasticsearch any good? I heard some initial excitement years ago but haven't heard so much lately
17:14 haarg it's good at what it does
17:14 haarg we're using it in a rather odd way
18:21 y1mmm joined #metacpan
18:35 theory haarg: Are the request paths the same as before?
18:36 haarg yes
19:53 kentnl_ joined #metacpan
20:19 theory joined #metacpan
20:38 neilb joined #metacpan
20:48 theory joined #metacpan
21:00 theory joined #metacpan
21:12 neilb joined #metacpan
21:16 theory joined #metacpan
22:08 neilb joined #metacpan
22:20 theory joined #metacpan
23:07 theory haarg: Great, thank you, I’ll update my URIs and see what happens.

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