Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/
Set by moderator on 29 April 2018.
01:38 FROGGS__ joined 01:57 ilbot3 joined
moderator Cro: libraries and tools for building reactive services in Perl 6 | cro.services/ | Logs: irclog.perlgeek.de/cro/
06:34 sena_kun joined 08:50 sena_kun joined
Geth cro: ee9289ca37 | (Jonathan Worthington)++ | docs/reference/cro-openapi-routesfromdefinition.md
Add Cro::OpenAPI::RoutesFromDefinition docs
12:34
cro: e6aefd4e55 | (Jonathan Worthington)++ | docs/index.md
Link new documentation from the index
cro: 1803453ee4 | (Jonathan Worthington)++ | docs/releases.md
Release notes for 0.7.5
12:44
13:19 sena_kun joined 14:41 cro joined
cro Hello 14:42
Hello??
jnthn Hello
sena_kun o/
.o0 ( We have quite a regression, actually ) 14:46
jnthn Oh?
sena_kun I believe it is related to logging. At least I'm seeing lots of `Nil`s in logs of any cro app started. 14:48
As my other option for today is a frontend boilerplate I am not really fond of, I'll investigate it... 14:49
jnthn Were you looking at the websocket ticket today also? 14:56
sena_kun yeah 14:57
a minute before pushing fixes. :)
jnthn ah, cool
sena_kun: How did you get the regression to show up? I just stubbed a new service, and the output log looks OK to me 15:00
(Did an install of HEAD of every repo) 15:01
sena_kun maybe I should update mine repos too.
*my
jnthn :)
sena_kun By just running e.g. t/websocket-client.t I'm getting stuff like "1..2;Nil;Nil;test-stuff;Nil;Nil;ok;Nil...". 15:02
jnthn huh, odd, I get no output whatsoever 15:03
Other than the tAP
On branch master, at HEAD
sena_kun nice, maybe it's just me 15:04
jnthn Yeah, that sounds incredibly broken :)
lizmat perhaps the precomp issue 15:05
sena_kun: is rakudo 'make test" clean for you ?
jnthn ah, yes
sena_kun I'm using rakudup
18.03, perhaps want to update it. 15:06
lizmat ah... hmmm... 15:08
Geth cro-websocket: 4b11ee906c | Altai-man++ | 2 files
Make upgrade header case-insensitive;

Also make failing prettier with an exception
15:10
jnthn Hm, surely those || should be && ? 15:31
Geth cro-websocket: 4c6034d3ca | (Jonathan Worthington)++ | lib/Cro/WebSocket/Client.pm6
Correct logic that allowed a missing header
15:45
cro: 001a483c43 | (Jonathan Worthington)++ | docs/releases.md
Describe Cro::WebSocket change
15:48
jnthn Hm, think we're good for 0.7.5 15:56
Geth cro: 3cfb91ba46 | (Jonathan Worthington)++ | lib/Cro/Tools/Template/Common.pm6
Bump docker images to 0.7.5
15:58
cro-core: d11ece7ba1 | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
cro-tls: f9f1dd97f9 | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
cro-http: 00e3cd6293 | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
cro-websocket: e307041c4b | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
cro-zeromq: d99466c297 | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
cro: d251ac88c4 | (Jonathan Worthington)++ | META6.json
Bump version to 0.7.5
16:07 sena_kun joined
sena_kun ok, it's fine now. probably some old issue. 16:09
jnthn sena_kun: OK. I did the 0.7.5 release, after a tweak to your change 16:10
sena_kun nice, thanks
ah, that's a silly mistake. :/ 16:12
jnthn lizmat: cro.services/docs/releases#0.7.5 for the weekly :) 16:18
dinner &
lizmat weekly: cro.services/docs/releases#0.7.5 16:19
jnthn: not sure why, but twitter.com/perl6_cpan_new has all of the cro links wrong 16:47
should be modules.perl6.org/dist/Cro::Core:cpan:JNTHN but us modules.perl6.org/dist/cro::core:cpan:JNTHN
japhb jnthn: Why didn't github.com/croservices/cro-http-test show up above? No Geth hook set up? 16:53
jnthn japhb: Yeah, just realized that 17:01
lizmat: I wonder if it's making assumptions about filename of the uploaded tarball or some such 17:02
lizmat I'll notify skaji 18:12
jnthn Gaah...Text::Markdown 18:15
It can apparently hang when parsing?!
Golfed a whole file down to
perl6 -e 'use Text::Markdown; say parse-markdown "* Bug\\n"'
Which hangs
Now I wonder how it manages to do all the rest of the site 18:16
But that golfed away another hang which it seems is the actual bug 18:22
This causes a hang: 18:23
* Method (`GET`, `POST`, etc.) (failure to match will result in an automatic 405 response).
Ah, what's not clear is the 405 is on a new line and indented by two spaces
But anyway, making it HTTP 405 response fixes it :P
sena_kun It can. 18:24
jnthn Will just deploy a workaround for now :) 18:27
lizmat github.com/skaji/perl6-cpan-new/issues/1 # skaji notified 18:32
jnthn: in the P6W, for updated modules, I'm crediting "Edument Team", is that ok? 18:46
or should I just credit you ?
jnthn lizmat: Well, Cro gets community contributions in most releases also :) 18:49
But I guess this is just who uploaded it 18:50
So yeah, can put that
lizmat okidoki
btw, is there a reason the modules only have a stub documentation, and the real doc is on the Cro site ?
jnthn Not wanting to maintain the same docs in multiple places 18:51
The docs are all under docs/ in the main Cro repo
Hurrah, now cro.services/docs/reference/cro-ope...definition actually loads 18:53
sena_kun: I think you worked a bit on Text::Markdown in the past? 18:54
Unfortunately I think that may not be the only unhappy page thanks to the bug :S 18:56
Geth docker: 04ad574e37 | (Jonathan Worthington)++ | 4 files
Bump images to Cro 0.7.5
18:59
sena_kun jnthn, some fixes were done, but in the end some things there are broken by design(I don't want to blame the author, of course, and it may be just result of my own incompetence). 19:01
jnthn When I last looked at it, my first instinct was to just write a new module :) 19:04
Maybe I should do that.
sena_kun yup, but it is quite diffucult too, because HAHA WE DON'T NEED A FORMAL GRAMMAR FOR MARKDOWN SO LET'S STICK IN SOME HACKS HERE AND THERE... Oh, sorry, it was an accident. 19:05
apparently my keyboard was possessed by some sad coders' spirit for a second. 19:06
jnthn heh :) 19:07
CommonMark is better defined, I guess
sena_kun and proportionally not so common afaik. :/ 19:08
lizmat
.oO( only Markdown can parse Markdown )
19:13
jnthn: in the Cro 0.7.5 announcement, is there a reason why things like "Cro::OpenAPI::RoutesFromDefinition" aren't clickable? 19:27
jnthn lizmat: I was wondering that too 19:31
I thought we had code making that happen 19:32
lizmat hmmm... I appear also not to be able to find documentation for Cro::HTTP::Test, other than the stub :-( 19:34
cro.services/docs doesn't seem to have a link
hmmm... scratch that last remark 19:35
cro.services/docs/reference/cro-http-test :-)
jnthn :) 19:50
21:52 jnthn joined
jnthn Ah, turns out that no, the linking didn't break, it just never was implemented for things that are in bullet blocks 22:27
Geth cro: 9c811c0c74 | (Jonathan Worthington)++ | 2 files
Workarounds for Text::Markdown bugs

So that these will render on the site properly.
22:41
cro: 75f7af7548 | (Jonathan Worthington)++ | 2 files
Various typos fixes

Thanks to (Fritz Zuacker)++.
22:54
jnthn Now linkified: cro.services/docs/releases 22:58