Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-04-09

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

All times shown according to UTC.

Time Nick Message
00:17 oalders there's lib/MetaCPAN/Script/Check.pm in cpan-api which probably needs a bit of work.  but it should automate the manual checks that are needed when trying to figure it why something hasn't been indexed
00:21 miyagawa left #metacpan
01:23 dolmen joined #metacpan
02:51 preflex_ joined #metacpan
04:49 Mike-PerlRecruiter_ joined #metacpan
06:04 ether_ joined #metacpan
06:10 Mike-PerlRecruiter_ joined #metacpan
06:27 dpetrov_ joined #metacpan
08:15 bouncy joined #metacpan
08:52 dpetrov_ following the ticket from riba
08:52 dpetrov_ https://metacpan.org/release/JROBINS​ON/DBIx-Class-Manual-SQLHackers-1.2
08:52 dipsy [ DBIx-Class-Manual-SQLHackers-1.2 - DBIC for SQLHackers Table of Contents - metacpan.org ]
08:52 dpetrov_ is not displayed in the author dists
08:52 dpetrov_ and I can't find it in 02packages
09:09 clintongormley joined #metacpan
09:36 daxim joined #metacpan
09:41 bowtie joined #metacpan
11:22 plu joined #metacpan
12:51 SineSwiper joined #metacpan
13:00 moltar joined #metacpan
13:45 SineSwiper1 joined #metacpan
14:55 moltar left #metacpan
16:50 dolmen joined #metacpan
18:04 thaljef joined #metacpan
18:06 thaljef I'm struggling to understand the MetaCPAN web API.  What is the simplest way to ask "Show me were Foo::Bar v1.2.6 lives"?
18:11 Mike-PerlRecruiter_ joined #metacpan
18:23 oalders if that's not the latest, authorized version of Foo::Bar, then the web UI isn't all that helpful
18:23 oalders but you can just go to the latest version and then select 1.2.6 from the dropdown
18:24 oalders thaljef: the "go to version" dropdown
18:26 thaljef No, I mean REST API.  Sorry I wasn't clear.
18:27 oalders thaljef: https://github.com/CPAN-API/cpan-api/w​iki/Beta-API-docs#releaseauthorrelease
18:27 dipsy [ Beta API docs · CPAN-API/cpan-api Wiki · GitHub ]
18:33 mst hmm
18:33 mst https://metacpan.org/release/HTTP-Browscap
18:33 dipsy [ HTTP-Browscap-0.01 - Provides info on web browser capabilities - metacpan.org ]
18:33 mst ^^ ok
18:33 mst https://metacpan.org/source/​JAMESPO/HTTP-Browscap-0.01/
18:33 dipsy [ Search the CPAN - metacpan.org ]
18:33 mst ^^ mangled
18:33 mst http://api.metacpan.org/sourc​e/JAMESPO/HTTP-Browscap-0.01/
18:33 mst ^^ 404
18:34 mst oalders: ^^ ideas?
18:36 oalders http://api.metacpan.org/source/JAME​SPO/HTTP-Browscap-0.01/Browscap.pm is ok
18:37 mst it is about every fourth or fifth load
18:37 mst otherwise it's also 404
18:37 oalders hmmm
18:37 oalders i see it now
18:38 oalders there's not a lot of magic behind that endpoint
18:38 oalders i'll open an issue
18:40 oalders https://github.com/CPAN-API/cpan-api/issues/259
18:40 dipsy [ Source file occasionally 404s · Issue #259 · CPAN-API/cpan-api · GitHub ]
19:08 nuba joined #metacpan
19:10 thaljef I'm still not asking the right question (sorry, been inside my own head for too long).
19:11 thaljef What I want to know is this: "Which archives have Foo::Bar version 1.2.3 in them?"
19:26 oalders thaljef: more like this? https://github.com/CPAN-API/cpan-api/wik​i/Beta-API-docs#find-all-releases-that-c​ontain-a-particular-version-of-a-module
19:26 dipsy [ Beta API docs · CPAN-API/cpan-api Wiki · GitHub ]
19:26 oalders you'd want to tweak the fields value(s)
19:27 trs ah, oalders beat me :) http://tsibley.net/paste/2013-04-099KoicaGu-query
19:27 thaljef oalders: perfect! thanks!
19:27 oalders trs++
19:39 thaljef One more question: does MetaCPAN know about "unauthorized" packages?
19:41 oalders thaljef: yes
19:42 oalders if you check the file mapping: http://api.metacpan.org/v0/file/_mapping there's a file.module.authorized boolean
19:43 oalders so it knows about all uploaded packages, but cares about whether a module itself is authorized
19:58 thaljef What's the definition of module.indexed ?
20:03 rwstauner thaljef: i think that's this: https://github.com/CPAN-API/cpan-api/blob/​master/lib/MetaCPAN/Document/Module.pm#L39
20:03 dipsy [ cpan-api/lib/MetaCPAN/Document/Module.pm at master · CPAN-API/cpan-api · GitHub ]
20:04 rwstauner indexed as in the opposite of "meta": "no_index"...
20:05 rwstauner see also line 56-57: "If [the package is] not declared in one line, the module is considered not-indexed"
20:12 thaljef got it.  thought it might mean "currently in the 02packages"  Still finding my way around the docs here.
20:19 thaljef joined #metacpan
20:38 rwstauner i remember asking that question myself once
20:39 rwstauner not realizing it was documented
20:39 rwstauner :-)
20:39 rwstauner that's how i knew where to find it
21:43 thaljef joined #metacpan
23:40 trs fyi, the rt.cpan.org upgrade I mentioned last week or so (that uses api.metacpan.org from client side js) is live.

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