Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-08-27

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

All times shown according to UTC.

Time Nick Message
00:09 genehack joined #metacpan
01:00 mickey ranguard: i think once v1 is the production version, v0 will be dead and the client will have v1 as default (will also remove related v0 code from it)... we only need it now for the transition time, same as the 'v1.' in the url
02:18 Tempesta joined #metacpan
04:03 vanstyn_ joined #metacpan
05:32 oiami joined #metacpan
05:56 ranguard mickey: right, but we have to rely on users to change their code to do the switch over, which seems a bit sucky, but maybe we don't actually have that many users for it to be an issue
06:08 mickey ranguard: i think default should always point to production version... changing code is for experimental code that tests v1 until it becomes production. I can add support for taking the version from an env variable when exist if that solves some of the problem
06:20 metacpan joined #metacpan
06:20 metacpan [metacpan-client] mickeyn pushed 2 new commits to master: https://git.io/v6p3U
06:20 metacpan metacpan-client/master 23eccbe Mickey Nasriachi: release 1.022003
06:20 metacpan metacpan-client/master 607a9c1 Mickey Nasriachi: support version from env (METACPAN_VERSION)
06:20 metacpan left #metacpan
06:49 metacpan joined #metacpan
06:49 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/v6p3F
06:49 metacpan metacpan-client/master c663ba1 Mickey Nasriachi: improve version input + tests
06:49 metacpan left #metacpan
06:51 metacpan joined #metacpan
06:51 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/v6p3j
06:51 metacpan metacpan-client/master e69ca72 Mickey Nasriachi: oops, add the tests
06:51 metacpan left #metacpan
06:57 metacpan joined #metacpan
06:57 metacpan [metacpan-client] mickeyn pushed 1 new commit to master: https://git.io/v6ps3
06:57 metacpan metacpan-client/master 6f142f9 Mickey Nasriachi: release: 1.023000
06:57 metacpan left #metacpan
07:00 mickey so with the latest client you can set METACPAN_VERSION to 'v1' (or 1) instead of changing the using code
08:51 [Tux] Date: Fri, 26 Aug 2016 22:22:48 +0200 (CEST)
08:51 [Tux] [Cxn] ** [https://fastapi.metacpan.org:443]-[599] Could not connect to 'fastapi.metacpan.org:443': No route to host, called from sub Search::Elasticsearch::Role::Client::Direct::Main::scroll_helper at /pro/lib/perl5/site_perl/5.22.0/MetaCPAN/Client/Request.pm line 114. With vars: {'request' => {'body' => {'query' => {'term' => {'distribution' => 'Text-CSV'}}},'serialize' => 'std','mime_type' => 'application/json','ignore' => [],'method' => 'POST','qs'
08:51 [Tux] => {'scroll' => '5m','size' => 1000,'search_type' => 'scan'},'path' => '/v1/favorite/_search'},'status_code' => 599}
08:52 ranguard [Tux]: thanks - will try look tonight at logs
08:53 ranguard mickey: ok, but how does the installed module know what is production?
08:54 ranguard seeing as we are changing both domains and version numbers
08:54 mickey ranguard: that was not addressed by this change. I think it's safe to "hardcode" this knowledge given how often we add API versions :)
08:56 ranguard it's a nice to have (automatic upgrading when possible), not required (as we probably have a very small user base) :)
08:56 mickey if you still think this should be fetched dynamically, maybe we can make use of the top level URL that just throws error to provide some meta information about it? # hope this is not a totally rediculous suggestion... didn't sleep at all last night, 3h the one before
08:58 mickey or have a special endpoint to provide that
08:58 ranguard mickey: seperate (perminant) domain is better, I'll have a play tonight, if you use or not doesn't matter :)
08:59 * ranguard has to get sorted for swimming now (on holiday) ttfn :)
09:00 mickey it's an easy addition, as long as the extra online check can be set to be avoided for optimization by the user (aside from specifically naming the version)
09:01 mickey as is, still have a fallback hardcoded 'latest' that the client "guesses" is still relevant in case it's "not allowed" to check
10:29 batman joined #metacpan
11:32 oiami joined #metacpan
13:47 ranguard mickey: https://clientinfo.metacpan.org/ - add data in fastly - configure then under content is 'JSON version info' response which can be edited through their web interface
13:48 ranguard or just let me know and I'll tweak to what ever yiou want :)
15:35 [Tux] Date: Sat, 27 Aug 2016 15:14:03 +0200 (CEST)
15:35 [Tux] [SSL] ** [https://fastapi.metacpan.org:443]-[599] SSL connection failed for fastapi.metacpan.org: SSL connect attempt failed, called from sub Search::Elasticsearch::Role::Client::Direct::Main::scroll_helper at /pro/lib/perl5/site_perl/5.22.0/MetaCPAN/Client/Request.pm line 114. With vars: {'status_code' => 599,'request' => {'mime_type' => 'application/json','ignore' => [],'path' => '/v1/rating/_search','qs' => {'size' => 1000,'search_type' =>
15:35 [Tux] 'scan','scroll' => '5m'},'body' => {'query' => {'term' => {'distribution' => 'System-Info'}}},'method' => 'POST','serialize' => 'std'}}
16:27 metacpan joined #metacpan
16:27 metacpan [metacpan-api] oalders pushed 1 new commit to master: https://git.io/v6pFh
16:27 metacpan metacpan-api/master 89b7ad7 Olaf Alders: Remove references to morbo in Minion docs.
16:27 metacpan left #metacpan
16:31 metacpan joined #metacpan
16:31 metacpan [metacpan-api] oalders created oalders/upgrade-test-openid-server (+1 new commit): https://git.io/v6pbU
16:31 metacpan metacpan-api/oalders/upgrade-test-openid-server 57cae10 Olaf Alders: Bumps Test::OpenID::Server to 0.03 from 0.02
16:31 metacpan left #metacpan
16:36 mickey ranguard: sounds good. i'll check it later on when i get home
17:31 Tempesta joined #metacpan
19:51 oalders some care to review https://github.com/metacpan/metacpan-api/pull/514 ?
19:52 oalders *someone
19:58 ranguard done
19:58 metacpan joined #metacpan
19:58 metacpan [metacpan-api] ranguard pushed 1 new commit to master: https://git.io/v6hvj
19:58 metacpan metacpan-api/master 9a0a95d Leo Lapworth: Merge pull request #514 from metacpan/oalders/upgrade-test-openid-server...
19:58 metacpan left #metacpan
22:59 oalders ranguard++
22:59 oalders trs++

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