Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2016-05-06

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

All times shown according to UTC.

Time Nick Message
01:58 metacpan joined #metacpan
01:58 metacpan [cpan-api] oalders pushed 7 new commits to mi/es2: https://git.io/vwAkS
01:58 metacpan cpan-api/mi/es2 44f146a Olaf Alders: Revert "Revert "Possibly temporary fix to versions in CPANTesters import.""...
01:58 metacpan cpan-api/mi/es2 2031c63 Olaf Alders: Don't perform regex on undef value.
01:58 metacpan cpan-api/mi/es2 0aa1b74 Olaf Alders: Minor cleanup.
01:58 metacpan left #metacpan
04:00 metacpan joined #metacpan
04:00 metacpan [cpan-api] oalders pushed 3 new commits to mi/es2: https://git.io/vwA3n
04:00 metacpan cpan-api/mi/es2 a72cd2f Olaf Alders: Not every user is an author.
04:00 metacpan cpan-api/mi/es2 a832cf8 Olaf Alders: Only prepare user test data once.
04:00 metacpan cpan-api/mi/es2 2793c67 Olaf Alders: Remove debugging.
04:00 metacpan left #metacpan
04:45 mmp joined #metacpan
07:16 oiami joined #metacpan
07:20 neilb joined #metacpan
07:58 neilb joined #metacpan
08:02 Relequestual joined #metacpan
08:06 neilb_ joined #metacpan
09:43 neilb joined #metacpan
11:18 Lee_ joined #metacpan
11:20 vanstyn_ joined #metacpan
11:24 rafl joined #metacpan
11:35 rafl joined #metacpan
12:14 metacpan joined #metacpan
12:14 metacpan [cpan-api] mickeyn pushed 1 new commit to mi/es2: https://git.io/vwApi
12:14 metacpan cpan-api/mi/es2 08ba3b8 Mickey Nasriachi: add asciiname to the author index
12:14 metacpan left #metacpan
15:26 dolmen joined #metacpan
16:05 neilb joined #metacpan
16:51 metacpan joined #metacpan
16:51 metacpan [cpan-api] mickeyn pushed 1 new commit to mi/es2: https://git.io/vwxi8
16:51 metacpan cpan-api/mi/es2 340bac6 Mickey Nasriachi: allow empty asciiname for author so all records get into ES
16:51 metacpan left #metacpan
16:54 neilb joined #metacpan
17:26 oalders mickey++
17:26 oalders jberger: the river import isn't working with the gzipped file
17:27 oalders i guess neilb doesn't want to have his web server compress the file on the way out ;)
17:34 neilb_ joined #metacpan
18:12 jberger oalders: ok I'll take a look at it soon
18:12 oalders jberger++
18:13 jberger do you know what it is doing?
18:13 jberger it should handle compressed and uncompressed files
18:14 oalders it's getting "406 Not acceptable" and then saying it has a malformed JSON string
18:16 jberger woah
18:16 jberger interesting
18:16 jberger I'll take a look then
18:16 oalders :)
18:17 jberger are we sending an accept header?
18:22 oalders no. so that got me thinking.  i switched out LWP::UserAgent with WWW::Mechanize and the file gets parsed now
18:22 oalders no errors
18:22 oalders so, i can commit that change
18:22 jberger I just was doing some local testing with mojo ua
18:22 jberger mechanize seems like overkill
18:22 jberger I wonder what accept header lwp is sending
18:23 jberger I mean, you can if you want
18:23 oalders well, mechanize lets us do fun things like caching
18:23 oalders and if we stick with the LWP family we can use LWP::ConsoleLogger for debugging
18:23 oalders (i realize Mojo::UserAgent has some debugging baked in)
18:24 jberger I wish I knew how to do that for LWP
18:24 jberger haha
18:24 jberger I can't make mojo ua get a 406
18:25 jberger I'm really curious
18:25 jberger but probably not worth the time
18:26 oalders jberger: https://gist.github.com/oalders/d9a61a36cbe55da400afbe56e4538a9c
18:28 jberger HAHAHAHAHA
18:28 jberger its the user agent field
18:29 oalders mechanize just sends Accept-Encoding => gzip
18:29 jberger neilb's server rejects libwww-perl
18:29 oalders doesn't like bots :)
18:29 jberger set the user agent header to metacpan
18:30 neilb i’ll eventually put it on a more appropriate place :-)
18:30 oalders jberger: nice catch :)
18:31 oalders neilb: the real problem is your hatred of LWP::UserAgent
18:32 neilb heh. It’s just some shared web server somewhere.
18:32 oalders :)
18:32 * Grinnz hates LWP too!
20:02 ranguard neilb: where is the code to generate the river file please
20:30 neilb ranguard: at the moment it’s on my laptop - it’s part of a bunch of other things. I’m going to pull it out into a stand-alone thing that will be on github, and can be hosted somewhere
20:34 metacpan joined #metacpan
20:34 metacpan [cpan-api] mickeyn pushed 1 new commit to mi/es2: https://git.io/vwp3z
20:34 metacpan cpan-api/mi/es2 5d617ae Mickey Nasriachi: prevent race-condition for 'first' setting in testing mode
20:34 metacpan left #metacpan
20:37 metacpan joined #metacpan
20:37 metacpan [cpan-api] mickeyn pushed 1 new commit to mi/es2: https://git.io/vwp3S
20:37 metacpan cpan-api/mi/es2 8e55db0 Mickey Nasriachi: make it less warny
20:37 metacpan left #metacpan
21:06 ranguard neilb: we can host it - ideally if it has a carton cpanfile that will make it easy, but can work around that
21:07 jberger neilb: btw, I'm now actually more upset at your hosting not because it refuses User-Agent: libwww-perl but because it does so with a 406 rather than a 403
21:07 jberger :P
21:09 neilb :-p
21:10 neilb ranguard: smashing!
21:11 ranguard neilb: let me know the repo name you want and I'll create a repo and give you access (though will be tomorrow night)
21:12 neilb no rush ranguard — I’ve got a few more things to wrap up from the QAH, hoping to have most things done by the end of this weekend
21:13 oalders ranguard: also, he can't release the code ;)
21:14 ranguard no point trying to intergrate the river if it's not hosted properly :)
21:14 ranguard oalders: back to work on the other stuff!
21:15 oalders :)
21:16 jberger ranguard: at this point the mitigation is simple, change the User-Agent header and everything works fine
21:17 oalders but that's less work than making neilb completely change his hosting setup
21:17 ranguard jberger: until neilb goes under a bus and we never get the code
21:19 ranguard jberger: hosted properly = code being public more than where it's running :)
21:19 jberger ???? ????
21:19 jberger ranguard: very true
21:20 ranguard neilb: stay away from busses... we don't want to loose the code... I mean you :)
21:21 neilb your concern for my welfare is heart-warming
21:21 ranguard :)
21:22 ranguard nn
21:23 ether awww
21:49 metacpan joined #metacpan
21:49 metacpan [cpan-api] mickeyn created mickey/rework_set_first (+1 new commit): https://git.io/vwpBi
21:49 metacpan cpan-api/mickey/rework_set_first e87aca6 Mickey Nasriachi: rework set_first_release + add first script to tests...
21:49 metacpan left #metacpan
21:53 metacpan joined #metacpan
21:53 metacpan [cpan-api] oalders pushed 2 new commits to mi/es2: https://git.io/vwpRZ
21:53 metacpan cpan-api/mi/es2 e87aca6 Mickey Nasriachi: rework set_first_release + add first script to tests...
21:53 metacpan cpan-api/mi/es2 da9118c Olaf Alders: Merge pull request #474 from CPAN-API/mickey/rework_set_first...
21:53 metacpan left #metacpan
21:53 metacpan joined #metacpan
21:53 metacpan [cpan-api] oalders deleted mickey/rework_set_first at e87aca6: https://git.io/vwpRc
21:53 metacpan left #metacpan
22:35 metacpan joined #metacpan
22:35 metacpan [cpan-api] oalders pushed 1 new commit to mi/es2: https://git.io/vwp2m
22:35 metacpan cpan-api/mi/es2 de142a2 Olaf Alders: Add a UA string to river script so that NEILB's web server doesn't reject it.
22:35 metacpan left #metacpan

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