Camelia, the Perl 6 bug

IRC log for #metacpan, 2013-09-23

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

All times shown according to UTC.

Time Nick Message
01:58 klapperl_ joined #metacpan
03:56 mauke_ joined #metacpan
03:58 preflex_ joined #metacpan
05:33 ether_ joined #metacpan
06:06 daxim joined #metacpan
08:19 neilb joined #metacpan
13:19 ralesk_ joined #metacpan
13:20 Ralesk Just saw the log tweeted at me re modules lists and all that.
13:22 Ralesk (ping ether_)
13:25 Ralesk The only reason I like using the modules/by-module URLs is that they don't depend on the maintainer's name -- which I really don't want to have to know when I'm packaging for the linux distro I use :)
13:27 ranguard Ralesk: metacpan.org/release/<dist> ?
13:28 ranguard e.g. https://metacpan.org/relea​se/Catalyst-Plugin-Session
13:28 dipsy [ Catalyst-Plugin-Session-0.38 - Generic Session plugin - ties together server side storage and client side state required to maintain session data. - metacpan.org - Perl programming language ]
13:29 ranguard omega: ^^ Changes looks funky (that's 1 paragraph, not a list of bullets) - not sure where that all got to but thought I'd mention it
13:35 Ralesk ranguard: that's fine, but that's not a download link for said release :) see also: http://cpan.metacpan.org/authors/id/J/JJ/JJ​NAPIORK/Catalyst-Plugin-Session-0.38.tar.gz
13:35 dipsy urgh. long url. Try http://tinyurl.com/ne7eus4
13:38 Ralesk so I kinda prefer the cpan.metacpan.org/modules/by-module/Cata​lyst/Catalyst-Plugin-Session-0.38.tar.gz format -- often, though not always, more straightforward, and I don't have to change the acquire URL in the package if someone else takes the project over
13:39 Ralesk (yes, it's all because of laziness)
13:43 bowtie_ joined #metacpan
13:48 ranguard Ralesk: oh, laziness++ - sounds like a reasonable approach :)
13:57 alh joined #metacpan
14:03 oalders Ralesk: would something like this work? http://api.metacpan.org/release/Cataly​st-Plugin-Session?fields=download_url
14:06 Ralesk hmm, the way the automation part of the packaging works, there's some caching done (so we don't necessarily download from the same URL again), so it's best if different versions have different URLs
14:07 Ralesk a "natural"-looking URL like on FTP (or HTTP directory indexes and direct file access) is usually the least painful
14:08 Ralesk (that said, I *think* even something like http://api.metacpan.org/release/​Catalyst-Plugin-Session/get/0.38 would work fine)
14:09 oalders i suppose we could add some sort of /download endpoint that would redirect to the file.  could be versioned if needed
14:10 oalders Ralesk: is you want to open an issue, we can get some more feedback on it https://github.com/CPAN-API/cpan-api/issues
14:10 dipsy [ Issues · CPAN-API/cpan-api · GitHub ]
14:10 oalders i'm sure this has come up before
14:14 Ralesk I'll look into it :)
14:20 Ralesk read through the issues, but couldn't find anything similar, should I put it in cpan-api or in metacpan-web?
14:31 talexb oalders, Hi, I had a look at https://github.com/CPAN-API/metacpa​n-examples/blob/master/scripts/endp​oints/module/2-fetch-all-modules.pl last night but MetaCPAN::Util's 'es' method was missing ..
14:31 dipsy [ metacpan-examples/scripts/endpoin​ts/module/2-fetch-all-modules.pl at master · CPAN-API/metacpan-examples · GitHub ]
14:32 oalders talexb: how did you run the script?
14:32 oalders should be "carton exec perl -Ilib [script_name]"
14:33 talexb metacpan@debian:~/api.metacpan.org$ perl -w -I ./lib bin/2-fetch-all-modules.pl .. whoa, carton exec?
14:33 oalders https://github.com/CPAN-API/metacp​an-examples/blob/master/README.md
14:33 dipsy [ metacpan-examples/README.md at master · CPAN-API/metacpan-examples · GitHub ]
14:33 oalders you don't have to use carton, but i think it's easier here
14:34 talexb oalders, I'm a goof. Sorry, I assumed that this was a standalone example.
14:34 oalders well, it doesn't really matter how you run it ;)  as long as you include the right path to /lib
14:35 oalders but we could also just include that path in the script
14:37 talexb I don't think it' a path issue -- I looked in MetaCPAN/Util.pm and couldn't find any 'es' sub ..
14:38 talexb But 'es' could be somewhere lese in the inheritance chain.
14:41 talexb Hmm .. cpanm Carton puts 'carton' at ./perl5/bin/carton .. and that path is not in my $PATH, so 'carton install' fails.
14:46 oalders talexb: https://github.com/CPAN-API/metacpan-exam​ples/blob/master/lib/MetaCPAN/Util.pm#L9
14:46 dipsy [ metacpan-examples/lib/MetaCPAN/Util.pm at master · CPAN-API/metacpan-examples · GitHub ]
14:46 oalders the MetaCPAN::Util in the examples branch is a different module altogether
14:47 talexb OK. Sorry, I'm clearly not at my best this morning.
14:48 oalders talexb: i should add that the examples repo doesn't need to be run from a VM
14:48 oalders it's meant to be portable
15:05 meraxes joined #metacpan
15:12 meraxes joined #metacpan
15:21 talexb Installing modules failed / carton install is unhappy / a sad Fall morning
15:22 daxim season reference++
15:24 talexb :)
15:29 Ralesk oalders: https://github.com/CPAN-API/cpan-api/issues/285 :)
15:29 dipsy [ Downloading releases ? maintainer-independent URLs · Issue #285 · CPAN-API/cpan-api · GitHub ]
15:29 Ralesk heh, Unicode :)
15:30 daxim is all the data for cpan-api in elastic?  if so, can I get a dump for playing around with it on austrian perl workshop?
15:31 oalders Ralesk++
15:31 talexb Hmm :( Net::SSLeay install fails (1.55) ..
15:32 oalders daxim: it's all in ES
15:32 daxim okay, is it possible to provide a snapshot or dump to me?
15:32 oalders i'm not sure we have an easy way to get a dump to you at this point.  i'd have to check, but you can always grab a VM and index whatever you like
15:34 oalders talexb: that's irritating.  you can try getting a different version, i guess
15:38 talexb oalders, Yeah -- I was trying to get to cpantesters.org and it's not responding.
15:38 talexb I'll get back to this later in the day -- I have some DB stuff I can work on instead. Thanks for your help!
15:38 oalders :)
16:30 ether Ralesk: you were pinging me?
16:31 oalders yeah, but i think that's all resolved now
16:33 talexb oalders, A bit of googling, and .. http://upasana.me/2013/06/29/pr​oblem-installing-in-netssleay/
16:33 dipsy [ Problem installing in Net::SSLeay | Upasana's blog :) ]
16:34 oalders talexb: ah, yes. makes sense
16:35 talexb I always feel a little guilty about copying and pasting the entire error into Google. :/
16:36 oalders heh
16:37 talexb OK, now what's 'curl-config' ?? This merry-go-round is getting a little frustrating.
16:38 oalders talexb: http://curl.haxx.se/libcurl/using/curl-config.html
16:38 dipsy [ libcurl - curl-config man page ]
16:38 trs talexb: *-config are helper binaries which report locations of various components of installed packages.
16:39 trs try installing the appropriate libcurl -dev package if you don't have it
16:41 talexb trs, Thanks, done, and now I'm back to the carton install .. which has finally worked.
16:42 talexb Every time I try to install something and it breaks because I don't have the XYZ123LuckyBrilliantLatestGizmo installed, I feel a little more stupid.
16:43 oalders :)
17:57 neilb joined #metacpan
17:57 ether heh, Upasana is our GSOC student for Moose
17:57 ether was, since it ended yesterday
18:39 neilb joined #metacpan
19:10 neilb joined #metacpan
23:06 Lucas1 joined #metacpan

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