Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2017-04-20

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

All times shown according to UTC.

Time Nick Message
00:32 Tempesta joined #metacpan
05:34 bolangi joined #metacpan
06:03 bolangi hi, thanks for your awesome services. I have a dist whose modules are littered with package declarations referencing a root namespace. All of that shows up as tends of spurious entries in the Provides listing on metacpan. It's an application, so a display of internals is not even needed to begin with. It's Audio::Nama, btw.
06:04 bolangi s/tends/tens/
06:04 bolangi Do you prefer I file a bug, or is it enough to simply complain here :)
06:04 mst oh lol AnyEvent
06:05 mst well that's something unsafe to use then
06:05 mst bolangi: where's the bug? the provides entries are based on parsing your code the same way PAUSE does
06:07 mst and
06:07 mst https://metacpan.org/source/GANGLION/Audio-Nama-1.208/lib/Audio/Nama/Bunch.pm#L5
06:07 mst does provide part of the Audio::Nama namespace
06:07 mst so the provides information on metacpan.org is correct, no?
06:08 bolangi Yes, all those declarations constitute the A::N namespace, and the display is entirely correct.
06:09 mst so I'm not sure what you want to be different
06:10 bolangi I retract my complaint :)
06:11 mst bolangi: note that
06:12 mst 'package
06:12 mst Audio::Nama;'
06:12 mst would totally work to hide it from things
06:15 mst bolangi: the other trick is to have a normal package in there
06:15 mst and then make the main thing have a giant 'use base' line
06:15 mst either are great
06:15 mst but if you want lots and lots and lots of methods
06:15 mst and to separate them in multiple files
06:15 mst then you have to go with what works
07:43 bolangi mst: thanks for the tips.
07:44 mst bolangi: hopefully that'll let you have your code *and* have metacpan display what you want
07:45 bolangi yes, and some attention cleaning up the architecture could also help
07:48 bolangi At a time of repartitioning functioning, I could just bring a bit of root namespace code right into a method.
07:49 bolangi righto
07:54 bolangi I see that '=head1 NAME' is a way to get listed in Modules. Is there no metacpan listing for classes?
07:58 mst perl has modules and packages
07:59 mst a perl 'class' is just a package that has a constructor
08:04 bolangi okay, so metacpan doesn't search for a constructor.
08:04 bolangi or any other indicator of classiness.
08:05 mst there's not really any reliable such indicator
08:08 bolangi there is a diversity of object semantics in the perl ecosystem ;-)
08:10 bolangi so thanks. i'm well-prepared now for my spring code beautifying
08:50 khisanth_ joined #metacpan
09:07 neilb joined #metacpan
15:59 jacobydave joined #metacpan
15:59 diegok joined #metacpan
15:59 omega joined #metacpan
15:59 ribasushi joined #metacpan
15:59 mattp joined #metacpan
15:59 GumbyNET7 joined #metacpan
15:59 BinGOs joined #metacpan
15:59 ether joined #metacpan
15:59 alh joined #metacpan
15:59 TBSliver joined #metacpan
16:01 Tempesta joined #metacpan
16:01 jnbek joined #metacpan
16:01 gordonfish joined #metacpan
16:01 mst joined #metacpan
16:01 kd joined #metacpan
16:01 simcop2387 joined #metacpan
16:01 tinita joined #metacpan
16:01 arc joined #metacpan
16:01 ilmari joined #metacpan
16:01 charsbar joined #metacpan
16:02 bolangi joined #metacpan
16:02 kentnl joined #metacpan
16:02 [Tux] joined #metacpan
16:02 grantm joined #metacpan
16:02 trs joined #metacpan
16:02 mtj joined #metacpan
16:02 dustinm joined #metacpan
16:02 osfameron joined #metacpan
16:02 mateu joined #metacpan
16:02 ralesk_ joined #metacpan
16:02 zostay joined #metacpan
16:02 genehack joined #metacpan
16:02 jnap joined #metacpan
16:02 bjakubski joined #metacpan
16:02 Grinnz joined #metacpan
16:02 preaction joined #metacpan
16:02 dpetrov joined #metacpan
16:06 khisanth_ joined #metacpan
16:06 castaway joined #metacpan
16:06 clunker3 joined #metacpan
16:06 Tux joined #metacpan
16:06 nicomen joined #metacpan
16:06 rjbs joined #metacpan
16:06 dolmen joined #metacpan
16:06 ranguard joined #metacpan
16:06 BooK joined #metacpan
16:06 haarg joined #metacpan
16:06 Vokurka44 joined #metacpan
16:06 mickey joined #metacpan
16:06 oalders joined #metacpan
16:51 ether is metacpan using the 'keywords' key in distribution metadata for indexing for search purposes yet?
16:51 ether there should be something buried in the wiki about it
16:52 ether I've been adding keywords to every distribution I ship for several years now
16:52 ether however I fear that getting google to prefer metacpan over s.c.o is a bigger issue, when it comes to module discoverability :/
16:52 ether let's discuss this at the hackathon and see if there's anything we can realistically do about it
16:56 oalders mickey: we're not using metadata keywords yet, correct?
17:58 neilb joined #metacpan
18:05 bolangi left #metacpan
18:12 mickey oalders: not that I know of
18:16 ranguard haarg: I see you opened https://github.com/metacpan/metacpan-api/issues/574 - do you have any more detail / any coded started for this?
18:23 neilb joined #metacpan
18:36 ether the keywords metadata would make a great addition to that milestone too :D
18:38 ranguard ether: I know you don't work on much else... be happy to show you around our code base ;)
18:58 ether :D
18:59 ether I got dragged kicking and screaming into my $work's elasticsearch infrastructure recently so that's not as crazy as it would have been last year
19:15 * Grinnz is almost done converting our sphinxsearch usage to elasticsearch, and it hasn't quite caught fire yet
19:34 haarg ranguard: just pushed https://github.com/metacpan/sco-redirect/blob/master/app.psgi
19:43 neilb joined #metacpan
19:49 ranguard haarg: wow, glad you were awake, I could have spend another couple of hours on this :)
19:50 neilb_ joined #metacpan
19:51 ranguard haarg++
19:53 haarg i was planning on finishing it at the pts
19:54 ranguard sweet - didn't realise you'd got this far
19:55 ranguard I'll happily help out there
20:09 neilb joined #metacpan

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