Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2014-07-03

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

All times shown according to UTC.

Time Nick Message
00:15 grantm joined #metacpan
01:54 FROGGS_ joined #metacpan
01:57 klapperl joined #metacpan
02:06 grantm joined #metacpan
02:35 ingy ether, haarg, trs: fwiw https://gist.github.com/b06e740273ff6b7c31c4
02:36 dipsy [ .txt ]
02:36 ingy ether: also your being lax is exactly why I don't want $VERSION on every module/package that happens to be in a dist
02:37 ingy I don't want to have to support every module being a dependency, and it annoys me that dzil made that decision for me
02:37 ingy </rant>
02:39 ingy fyi all, I split the "package\nUniversal\n" line pronto in Acme-1.11111111
04:34 grantm left #metacpan
04:44 metacpan joined #metacpan
04:44 metacpan [metacpan-examples] oalders pushed 14 new commits to master: http://git.io/KWNX_g
04:44 metacpan metacpan-examples/master 9419dd5 Talina06: Changes to the Elasticsearch API.
04:44 metacpan metacpan-examples/master 987b227 Talina06: Changes to the author scripts.
04:44 metacpan metacpan-examples/master 3c37ea2 Talina06: Changes to the Favorite folder.
04:44 metacpan left #metacpan
04:45 dipsy [ Comparing af3da7332c11...32b2d2ea61ee · CPAN-API/metacpan-examples · GitHub ]
04:46 metacpan joined #metacpan
04:46 metacpan [metacpan-examples] oalders pushed 1 new commit to master: http://git.io/9IMY7Q
04:46 metacpan metacpan-examples/master 9eaac0a Olaf Alders: Cleans up cpanfile.
04:46 metacpan left #metacpan
04:46 dipsy [ Cleans up cpanfile. · 9eaac0a · CPAN-API/metacpan-examples · GitHub ]
04:51 metacpan joined #metacpan
04:51 metacpan [metacpan-web] oalders deleted talina/plusser at f31e3c8: http://git.io/o3zr8Q
04:51 metacpan left #metacpan
04:51 dipsy [ Link back to release page from plusser summary page. · f31e3c8 · CPAN-API/metacpan-web · GitHub ]
04:51 metacpan joined #metacpan
04:51 metacpan [metacpan-web] oalders deleted oalders/talexb/addSitemap at 61e889b: http://git.io/JTbiEA
04:51 metacpan left #metacpan
04:51 dipsy [ Sitemap release URLs now point at /release/ rather than a download URL. · 61e889b · CPAN-API/metacpan-web · GitHub ]
04:51 metacpan joined #metacpan
04:51 metacpan [metacpan-web] oalders deleted oalders/html-restrict at bdfb3f5: http://git.io/SOOcKA
04:51 metacpan left #metacpan
04:51 dipsy [ Adds HTML whitelisting to Pod under /module · bdfb3f5 · CPAN-API/metacpan-web · GitHub ]
04:52 metacpan joined #metacpan
04:52 metacpan [metacpan-web] oalders deleted oalders/minusplusplus at 05fed8f: http://git.io/3fkGEw
04:52 metacpan left #metacpan
04:52 dipsy [ Removes ++ "This is why you can't have nice things" · 05fed8f · CPAN-API/metacpan-web · GitHub ]
04:52 metacpan joined #metacpan
04:52 metacpan [metacpan-web] oalders deleted talina/619 at 3eb60fc: http://git.io/tN-9SA
04:52 metacpan left #metacpan
04:53 dipsy [ Use a terrible placeholder for users with missing gravatar URLs. · 3eb60fc · CPAN-API/metacpan-web · GitHub ]
05:07 genehack joined #metacpan
06:15 dpetrov_ joined #metacpan
06:35 oiami joined #metacpan
06:36 talina_ joined #metacpan
06:40 ingy joined #metacpan
06:44 FROGGS_ joined #metacpan
07:20 neilb joined #metacpan
08:17 neilb joined #metacpan
09:55 rashi joined #metacpan
10:09 BooK metacpan is showing BackPAN distributions, including those that have entirely been removed from CPAN
10:09 BooK if stuff only lives on BackPAN, I think it means it's been put to rest for good
10:10 BooK I don't want to see Games::Golf haunting me forever
10:11 BooK and I was this close from having lawyers call me over WWW::PriceMinister
10:11 BooK both of which now show up on my author page
10:14 BooK cognominal: je ne
10:14 BooK oops
10:15 BooK should I make an issue on github out of this, or is there one for that already? (couldn't find one)
10:15 omega there is one I think
10:15 omega neilb was looking for the same thing
10:16 neilb yeah, I found the ticket last night
10:16 omega https://github.com/CPAN-API/metacpan-web/issues/1240
10:16 dipsy [ author page now apparently lists all latest-for-this-dist uploads, not just those that are indexed · Issue #1240 · CPAN-API/metacpan-web · GitHub ]
10:16 omega that one?
10:16 dipsy that one is person-related. or OK for the hackspace - DLR to Bank, change to the Northern Line.
10:17 neilb omega: yup, that's the one -- thanks
10:17 BooK that's somehow the closest I found to my issue, too
10:35 omega it's the same thing I think Book, but leave a comment to make sure perhaps
13:52 oiami joined #metacpan
14:10 metacpan joined #metacpan
14:10 metacpan [metacpan-web] oalders pushed 1 new commit to master: http://git.io/50HH8A
14:10 metacpan metacpan-web/master 0e51532 Olaf Alders: Revert "Latest by author can be any type of release."...
14:10 metacpan left #metacpan
14:10 dipsy [ Revert "Latest by author can be any type of release." · 0e51532 · CPAN-API/metacpan-web · GitHub ]
14:23 neilb oalders+
14:23 oalders :)
14:23 rwstauner peer pressure++
14:24 oalders that's pretty much what it was :)
14:24 rwstauner jk
14:24 rwstauner :-)
14:24 oalders the voices kept getting louder
14:24 oalders took people a while to figure out something was different
14:25 rwstauner true
14:29 andrefs joined #metacpan
16:48 neilb joined #metacpan
16:55 ribasushi joined #metacpan
17:07 ribasushi joined #metacpan
17:10 rashi joined #metacpan
17:40 FROGGS joined #metacpan
19:13 mr-fooba_ joined #metacpan
19:14 mr-fooba_ is there a way to use metacpan logo as a badge on a blog ?
19:19 oalders mr-fooba_: there is only this and it probably needs some work https://github.com/CPAN-API/release-badge
19:19 dipsy [ CPAN-API/release-badge · GitHub ]
19:21 mr-fooba_ oalders: i just need an image for the time being.
19:21 mr-fooba_ more like a 30x50 icon
19:21 oalders mr-fooba_: https://github.com/CPAN-API/metacpan-assets
19:21 dipsy [ CPAN-API/metacpan-assets · GitHub ]
19:21 mr-fooba_ oalders: awesome. thx !
19:22 oalders :)
19:23 mr-fooba_ oalders: better have a creative commons thingy in the readme :)
19:25 oalders mr-fooba_: good call. that's one repo we haven't added a license for
19:57 mr-fooba_ left #metacpan
20:19 khisanth_ joined #metacpan
20:38 grantm joined #metacpan
21:04 punter joined #metacpan
21:04 punter Question: Why does http://api.metacpan.org/v0/distribution/Template return a success, as if distro "Template" existed, when https://metacpan.org/release/Template returns a 404 ?
21:05 punter Is there a bug? Am I doing the wrong comparisson?
21:05 punter Same thing happens with Catalyst instead of Template
21:06 punter Is it possible that decades ago there was a "Template" distribution which doesn't exist anymore?
21:06 punter could that be it?
21:06 jibsheet since https://rt.cpan.org/Public/Dist/Display.html?Name=Template exists, Template probably existed at one point
21:06 dipsy [ Active bugs for template ]
21:08 punter Does this file show that a distro named "Catalyst" once existed, too? http://backpan.perl.org/authors/id/S/SR/SRI/Catalyst-3.01.meta
21:11 punter I'm thinking how to fix my site (perlmodules.net) - At the moment, when someone searches for Template in the homepage, they find that Template distro exists (because at first I search on api.metacpan.org/v0/distribution/Template for them)
21:11 punter Does anyone have an idea of what search I should do, to make sure that a CURRENTLY EXISTING distro with that name exists?
21:12 punter maybe add a parameter or something
21:14 punter I could ask for releases from that distro, and see if any exist
21:14 punter would that work? Would Template return 0 releases? I'll go check right now
21:18 punter Indeed, getting /v0/release/Template returns 404 - but would it return 404 if MetaCPAN was alive when Template was around?
21:18 punter anyone?
21:18 dipsy Bueller?... Bueller
21:20 punter Is /release/Template even correct, given that I want Template to be the name of the distro rather than the name of a release? Or am I talking about the same thing?
21:22 punter it's ok, /release/{distribution}, I read in the API docs
21:23 punter I'll do this, will I be okay in detecting dead distros this way? /v0/release/Template?fields=name
21:34 punter committed
21:42 oalders punter: looks like you're on the right trck
21:42 oalders *track
21:42 punter Very happy to hear that.
21:42 oalders the release and distribution names are the same
21:42 oalders a distribution has_many releases
21:43 oalders the distribution endpoint is there for things which don't belong in a release endpoint (like open issues etc)
21:43 oalders those apply to all releases rather than one specific release for a distribution
21:44 punter aha
22:32 oalders punter: have you thought about allowing users to upload a cpanfile rather than having to enter each name manually?
22:35 punter oalders, yes, but the default way of handling cpanfiles is by executing the cpanfile, which I obviously can't allow. So someone who wants this feature is working on implementing a simple cpanfile parser.
22:36 punter I can't allow execution, for security reasons.
22:36 punter Someone is actually working on the parser.
22:37 oalders doesn't cpanfile-dump already do most of this?
22:37 oalders you don't need version numbers
22:37 punter there is such a tool?
22:37 punter let me check
22:37 oalders https://metacpan.org/pod/distribution/Module-CPANfile/script/cpanfile-dump
22:37 dipsy [ cpanfile-dump - Dump prerequisites from a cpanfile - metacpan.org ]
22:38 autarch joined #metacpan
22:38 punter I think it executes, too.
22:38 autarch punter: Hi, we're talking about using perlmodules.net in our $work hipchat
22:38 autarch one issue is that you need to be logged in to view a feed, which means we can't use a feed reader
22:38 autarch or share a feed with others
22:38 punter autarch, that's not true
22:39 punter there are 2 views of feeds
22:39 punter one is the web view, and the other is the RSS view
22:39 punter to view the web view you need to be logged in
22:39 autarch oh, I see
22:39 oalders i only tried the web view
22:39 autarch that makes more sense
22:39 autarch I was wondering what purpose this served ;)
22:39 autarch cool
22:40 punter web view is good for Chrome and browsers other than Firefox that don't have RSS capabilities
22:40 autarch it'd be nice for us to have a shared feed of "modules our code uses"
22:40 punter how do you imagine that, autarch ?
22:40 autarch imagine what?
22:40 punter how can the website find what modules your code uses?
22:40 autarch uh, we'd tell it
22:40 punter aaa
22:40 punter ok
22:40 punter hehe
22:40 autarch I mean it'd be nice for us to set this up
22:40 punter now i get it
22:41 punter yes yes
22:41 oalders punter: https://metacpan.org/pod/Module::CPANfile
22:41 autarch not it'd be nice for your code to figure this out ;)
22:41 dipsy [ Module::CPANfile - Parse cpanfile - metacpan.org ]
22:41 autarch though if you could do that ...
22:41 punter oalders, I believe this executes, doesn't it?
22:41 oalders punter: executes what?
22:41 punter the cpanfile (it's valid perl code) - try it with a cpanfile containing: print 10
22:42 autarch yep, it does
22:42 autarch maybe just accept a list of module names in a file then
22:42 autarch or a text area
22:42 punter yes
22:42 autarch anything other than us having to type them one by one ;)
22:43 punter yes I will do that tomorrow probably then
22:43 oalders weird. i thought it was just a parser
22:45 autarch left #metacpan
22:54 trs oalders: the cpanfile syntax explicitly supports feature 'foo' => sub { ... }
22:54 trs and it lets you do things like optional deps.
22:54 trs although, oof.
22:54 oalders yeah, i didn't put 2 + 2 together there
22:57 trs punter: how about parsing a META.(yml|json)?  those should be safe provided you make sure YAML's eval options are off.
22:57 punter Maybe I could run a chroot jail with Perl and all the modules needed?
22:57 trs and the whole reason they exist is to encode static deps :)
22:58 punter ok
22:58 trs people can generate a META file from their cpanfiles.
22:58 punter I'll put a "Upload your file here" field, that accepts everything
22:58 trs yep. because just a space separated list of modules is also super easy from a cpanfile or META
22:59 trs or Makefile.PL or other sources.
22:59 punter META.yml|json, and space separated list, then
23:13 CletusSlackjawedYok joined #metacpan
23:35 punter oalders, what do you think should happen on the following edge case? Someone uploads a list of modules/distros, and one of the lines is a word that is both a module and a (different) distro. Should it be considered a module or a distro? Or is it so rare it doesn't matter?
23:38 punter I'll make it look up distributions first (saves me from a $ua trip to api.metacpan)
23:39 punter because I have distros on my DB, but I don't have list of modules there
23:39 punter no
23:39 punter ok

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