Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-07-03

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

All times shown according to UTC.

Time Nick Message
00:00 jayallen joined #metacpan
01:46 bowtie joined #metacpan
01:59 bowtie joined #metacpan
02:09 ether joined #metacpan
03:00 ether joined #metacpan
03:05 bowtie joined #metacpan
03:20 bowtie joined #metacpan
03:48 preflex_ joined #metacpan
04:26 bowtie joined #metacpan
04:48 bowtie joined #metacpan
06:11 dpetrov_ joined #metacpan
07:25 neilb joined #metacpan
08:14 bouncy joined #metacpan
08:20 neilb joined #metacpan
08:50 thaljef joined #metacpan
08:52 alnewkirk joined #metacpan
09:10 daxim joined #metacpan
10:43 bowtie joined #metacpan
11:28 clintongormley joined #metacpan
11:57 bowtie joined #metacpan
13:30 shmuel joined #metacpan
13:33 shmuel Hi. a small question: I want to get a module source from a release version. is there an API call for that?
13:34 shmuel the file that I want to access: http://api.metacpan.org/source/JPE​ACOCK/version-0.9901/vperl/vpp.pm
13:34 shmuel just without the 'JPEACOCK' in the middle.
13:36 shmuel I can do one call to find who released this version of version, and from the author of this version version download the pure perl version of version
13:36 shmuel but then version version version version... um, what I was saying?
14:01 ranguard shmuel: haven't a clue - but have a look at: https://github.com/CPAN-API/metacpan-examples - and if none of those help open an issue there
14:01 dipsy [ CPAN-API/metacpan-examples · GitHub ]
14:03 shmuel thanks. I'll just make a /v0/release/_search query to find the author, and then get the file
14:03 mst shmuel: the release version *is* 'JPEACOCK/version-0.9901.tar.gz'
14:04 mst shmuel: that's the only unique identifier for a dist.
14:04 shmuel so the name of the author is part of the release name?
14:04 shmuel ok. got it.
14:05 mst it doesn't happen often and usually only with dev releases
14:05 mst but there's actually nothing to stop two authors uploading identically named tarballs
14:05 shmuel so search to see who released that version, and then fetch the file. no big deal.
14:06 mst and make sure your code at least prints a warning or something if "that version" isn't unique
14:06 shmuel I'll just die on the spot.
14:07 shmuel the thing is, I'm fatpacking and need to include version.pm
14:07 shmuel and version.pm, if there is C env, does not install the PP version
14:07 shmuel only the XS.
14:08 mst I'm aware.
14:08 mst it's bloody annoying.
14:08 shmuel so I need to find the matching PP, download it, and put it instead of the XS in the packaging listing
14:09 shmuel mst: I'm working on Dist::Surveyor. thanks for mentioning it in your YAPC presentation
14:09 * mst grins
14:09 shmuel my goal now it to make a fatpacked version, that you can just drop and run
14:09 mst honestly, version.pm is just full of fail in general
14:10 mst my suggestion would be ... I think there's a Makefile.PL flag or env var to make version.pm install vpp
14:10 mst oh, actually, my suggestion would be to look at cpanminus
14:10 mst since that bundles version.pm so presumably miyagawa's fatpack script already fixes this somehow
14:10 shmuel will take a look. thanks.
14:11 mst fetching the file from metacpan like that seems ickier than most ways tbh
14:11 shmuel I'm fatpacking, not installing, so installation flags won't do me much good.
14:11 mst I mean ... inventive, sure, but inventive tends to be bad for systems level stuff
14:12 mst um. install version.pm, PP, into a local::lib called ./i-hate-you-version-pm
14:12 mst fatpack
14:12 * mst doesn't understand how installation flags don't help :)
14:13 shmuel the metacpan access is in packing time, not in the system-diagnozing time.
14:13 mst yes, I know, and I just showed you how to replace it with something saner.
14:14 mst please put down the assumption I'm wrong and look for -actual- problems, because I've done this before and it definitely worked last time :D
14:14 shmuel boring is good. got it.
14:16 shmuel well, I need to got to sleep.
14:16 shmuel thanks, and you see you around. (it is 23:15 here)
14:39 ether joined #metacpan
16:00 ether joined #metacpan
18:51 ether trs: is there a channel for asking RT questions?
18:52 mst ether: did you try: #rt
18:52 ether I did, but it appears I was on freenode at the time! herp derp. :)
19:17 bowtie joined #metacpan
20:38 grantm joined #metacpan
22:47 dolmen joined #metacpan
23:22 Khisanth joined #metacpan

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