Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-05-30

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

All times shown according to UTC.

Time Nick Message
00:31 SineSwiper joined #metacpan
01:41 gshank joined #metacpan
01:59 shibayu36 joined #metacpan
03:42 preflex_ joined #metacpan
04:56 ether_ joined #metacpan
05:36 ecocode joined #metacpan
06:05 cooper joined #metacpan
06:17 mattp joined #metacpan
10:25 przemek joined #metacpan
10:56 sue joined #metacpan
11:10 shibayu36 joined #metacpan
11:28 przemek joined #metacpan
11:37 ecocode` joined #metacpan
12:56 clintongormley joined #metacpan
13:23 dpetrov_ joined #metacpan
13:29 bouncy joined #metacpan
16:58 SvenDowideit joined #metacpan
17:24 bowtie joined #metacpan
18:50 ecocode joined #metacpan
19:10 bouncy joined #metacpan
19:42 bouncy joined #metacpan
19:51 bouncy joined #metacpan
20:05 bouncy joined #metacpan
20:40 cooper joined #metacpan
20:54 garfieldnate joined #metacpan
20:55 garfieldnate not sure I'm in the right place; I have a question about how a module comes to be listed on metacpan
20:56 grantm go on - ask :-)
20:57 garfieldnate I was just discussing on questhub (here: http://questhub.io/perl/ques​t/5119faeb3a5ec3060700002d) about getting a module listed. I always thought I had to register a namespace, but I guess I didn't read the docs well enough.
20:58 dipsy [ Questhub.io ]
20:58 garfieldnate Any, I uploaded something about 2 weeks ago, and its not on metacpan (and I can't check search.cpan.org just now because it's down)
20:58 garfieldnate Is there anything I'm required to do in order to get a module listed, beside uploading the distro?
21:00 SineSwiper garfieldnate: what's the module?
21:01 garfieldnate Sorry. It's Algorithm::AM
21:01 BinGOs actually, the author ID + distribution may be useful information too
21:01 garfieldnate author is nglenn
21:02 grantm garfieldnate: is there a .pm file in the distro?
21:03 grantm or is it only docs?
21:03 garfieldnate hmm. There'd better be. I'll double check
21:04 grantm it looks like there is
21:04 garfieldnate yup
21:05 grantm it certainly looks like it should have been indexed
21:05 garfieldnate yeah, but I never got an email notification of that, and it's not listed.
21:06 grantm in answer to your earlier question ... no there's nothing else you need to do to get your distro indexed
21:06 grantm but it is listed in 02packages.details.txt.gz
21:07 BinGOs provides in META.json says: "file" : "lib/Algorithm/AM/lattice.pod"
21:07 grantm yes that's why I asked about .pm files
21:08 ether garfieldnate: out of curiosity, where did you read/learn that you had to register a namespace?
21:08 BinGOs yes there are .pm files.
21:08 garfieldnate I let dzil do all of the boilerplate work. Is that provides thing a reason for it to not be listed?
21:09 BinGOs $ find . -name "*.pm" -print
21:09 BinGOs ./lib/Algorithm/AM.pm
21:09 garfieldnate @ether: Honestly, not sure. It's been so long. I have a bad habit of not reading directions well enough. I think times when indexing was slow might have tricked me into thinking that registering it triggered the index.
21:09 grantm the "provides" section in META.json should list packages
21:09 grantm look at this one for example: http://cpan.metacpan.org/authors/id/N​/NG/NGLENN/Soar-Production-0.02.meta
21:10 grantm But this one doesn't: http://cpan.metacpan.org/authors/id​/N/NG/NGLENN/Algorithm-AM-2.31.meta
21:10 BinGOs I said it before, one can't trust META files.
21:11 SineSwiper can DZIL be set up in ten minutes, or is that too advanced for most people?
21:11 garfieldnate Should be simple to set up; the thing that takes the longest is installing the bajillion dependencies
21:12 SineSwiper oh, so you are using Dist::Zilla
21:12 grantm garfieldnate: I think if you can sort out your META file and upload a new version, it should get indexed
21:12 SineSwiper I'm surprised that it generated a bad META file
21:12 garfieldnate I have "[MetaProvides::Package] meta_noindex = 1" in the dist.ini
21:12 grantm by which I mean, sort out dzil's generation of the META file
21:13 garfieldnate right. So are POD files not listed online if they don't have a pm accompanying?
21:13 SineSwiper they should be, but it's another story if the distro doesn't have PM files in the META
21:16 SineSwiper wait, hold on, you have no lib directory
21:17 garfieldnate yeah I do
21:17 SineSwiper not in the tar file, unless IZArc is acting foobar on tars
21:18 BinGOs I must have been accessing a mythical lib/ directory earlier then.
21:18 garfieldnate This tar has a lib: http://www.cpan.org/modules/by-authors/​id/N/NG/NGLENN/Algorithm-AM-2.31.tar.gz
21:19 SineSwiper yeah, weird, thought IZArc was smarter than that, looks fine in tar
21:19 garfieldnate heh, strange
21:19 SineSwiper everything is stupider in Windows
21:19 BinGOs 7zip dude.
21:20 BinGOs don't leave UNIX without it.
21:20 SineSwiper isn't that shareware?
21:20 SineSwiper no, that's WinRAR (and WinZip)
21:21 BinGOs http://www.7-zip.org/
21:21 dipsy [ 7-Zip ]
21:24 BinGOs IZArc appears to be free as in beer.
21:24 SineSwiper package Algorithm::AM;
21:24 SineSwiper in a POD
21:25 SineSwiper POD files should basically be fully POD, no code
21:25 SineSwiper and it's overriding the other package, so either PAUSE / MetaCPAN or both is getting confused
21:26 SineSwiper This is how you properly deal with pure PODs in DZIL: https://github.com/SineSwiper/Dist-Zilla-Trav​isCI/blob/master/lib/Dist/Zilla/TravisCI.pod
21:26 dipsy [ Dist-Zilla-TravisCI/lib/Dist/Zilla/TravisCI.pod at master · SineSwiper/Dist-Zilla-TravisCI · GitHub ]
21:27 SineSwiper PODNAME identifies the "package", which in your case would be Algorithm::AM::lattice
21:28 SineSwiper also, I'm surprised you didn't get a few PAUSE emails either way
21:31 garfieldnate Oh I got some emails
21:31 garfieldnate just not what I was looking for
21:31 garfieldnate which was the probably the wrong thing :)
21:32 garfieldnate Thank you for figuring that out for me. I'll go fix the package declaration and try rebuilding
21:44 garfieldnate Uploaded with the fixed META files. I guess we'll see what we see. Thanks for the help everyone!
22:06 bouncy joined #metacpan
22:35 SineSwiper_ joined #metacpan
22:35 shibayu36_ joined #metacpan
22:35 rGeoffrey_zzz joined #metacpan
22:36 devin joined #metacpan
22:41 SineSwiper_ Error while loading /home/metacpan/api.metacpan.org/app.psgi: Illegal division by zero at /home/metacpan/api.metacpan.org/app.psgi line 1.
22:41 SineSwiper bizarre... which I had real line numbers
22:46 SineSwiper oh man, app.psgi is a Git symlink, isn't it?
22:47 trs yes
22:48 SineSwiper and of course, Git for windows doesn't actually process symlinks, so starman is trying to start a file that says "lib/MetaCPAN/Server.pm"
22:51 trs yep: git cat-file blob master:app.psgi
22:58 dolmen joined #metacpan
23:03 mike left #metacpan
23:16 dolmen joined #metacpan
23:26 mattp_ joined #metacpan

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