New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of things needed for releasing 1.0 #75
Comments
|
I was thinking Lua 5.3 compatibility. I think Sailor is not 5.3 compatible yet because of some dependencies, but do you know what is blocking it exactly? |
|
I'm not sure 5.3 compatibility is this essential because it's not compatible with openresty anyway, which is a direction I think we should take. So 5.3 compatibility would be useful for running on Xavante and I'm not sure if Xavante itself runs on 5.3, I know cgilua, doesn't and as far as I know and it's not 5.3 compliant either... |
|
Xavante master branch on It may not be important for 1.0 but increasingly what people have installed will be 5.3 and we probably want Sailor to work out of the box. |
|
Don't be so hard on yourself for test coverage for 1.0. You have a considerable matrix of execution scenarios going. To this day, LuaRocks only gets 80% coverage (and it's not like I was really lazy about it — heck, I wrote LuaCov to coverage-test LuaRocks!). Having many codepaths that are active only in different configurations makes coverage hard. |
|
Yes, regarding other topics:
|
|
@catwell Yes, I'm using resty library for MySQL when resty context is around. I need to do that for the rest now. |
|
Oh and I'm not thinking about optimising performance or pay attention to it, just measuring it... ^^' |
|
+1 for Lua 5.3 compat and Xavante support from me. I'm pinging Tomas for a new Cgilua release since current master has the fixes merged in. |
|
@hishamhm Xavante and wsapi also need releases (fixes were merged in December). |
|
Probably copas, too, with lunarmodules/copas#40. And maybe coxpcall too? That's a lot of releasing... |
|
@mpeterv Yes. I pinged @tomasguisasola already wrt Cgilua. Once that is up, I'll ping @mascarenhas for Xavante. Copas is being maintained by @Tieske. WSAPI is @mascarenhas too. |
|
I can do coxpcall myself. |
|
coxpcall 1.16.0 released! |
|
That's efficiency right there! :D Thanks @hishamhm!! |
|
Does everyone think extensions should be at later versions, as @catwell suggested? Or do you think it should be at 1.0? |
|
I would like to suggest instead of focusing in any webserver maybe the focus should be getting everything working on Xavante for development and with fastcgi so it wouldn't matter what webserver is used as long it support fastcgi. |
|
Documentation (using LDoc) would be nice to have. |
|
@catwell, do you mean GitHub instead of Redis? The master branch at keplerproject/xavante has a couple of commits from @mpeterv that added Lua 5.3 compatibility. He also updated keplerproject/cgilua and keplerproject/wsapi at the same time, so if everything is ok it is just a matter of doing new releases. |
|
@mascarenhas Yes I did! I edited my comment to avoid further confusion. Thanks. |
|
Concerning Lua5.3 compatibility, the issue is that, apart from postgres, the LuaSQL library is not fully compatible with it. So, apparently, sailor itself runs well on xavante & 5.3 (see here: https://travis-ci.org/sailorproject/sailor/builds/108734493). The LuaSQL module is not a dependency, though, but will be most likely used, so I'm not sure how to proceed now. Should I state we're compatible and make a document with a compat table? |
|
We should probably try to make LuaSQL 5.3-compatible :) |
|
@catwell That sounds a bit too complicated for me but I can try :~ Concerning performance tests: this is not necessary for having a stable sailor, of course, but I think we absolutely should have it for the release announce "Look, we have this software and look at how fast it is!!! :D" No matter what we will get, my instinct says it will be good overall just because of Lua itself. So we won't need to tweak anything, just measure it. Also, can we take a moment to talk about LuaSec? I removed the email module long ago with the goal of adding it as a separate external and optional module only because of dependency on LuaSec. Installing LuaSec through LuaRocks almost never will work at first try, it will never find the required headers, and I thought this was unnecessary pain for people installing sailor. I wouldn't have an issue getting the email module back and add LuaSec back as a dependency if this was better... ( cc @brunoos @hishamhm) |
|
Re. LuaSec you just mean he has to do a release right? Because this works well even on 5.3: Also, the email module does not depend on LuaSec when using OpenResty. But LuaRocks currently has no way to deal with this kind of dependency :( |
|
Wait. Nevermind. Either I was using an old version of LuaRocks or an old version of LuaSec. I'm not having that issue anymore (even on LuaSec 0.5)! Sorry for bugging people ^^' I'm not sure about it's 5.3 compatibility though. Gonna check that now |
|
Ok! Apparently that's alright on 5.3 too. I guess I only need to write a switche between resty's mail and my mail module according to server used! Yay |
|
Would anyone like to contribute to adding Sailor here? https://www.techempower.com/benchmarks/ |
|
LuaSec 0.5 has some issues with Lua 5.3. |
|
On master branch luasql-mysql works with Lua 5.3 (at the very least it doesn't crash on |
|
copas 2.0.1 has been released |
|
Hey, I know you said you think extensions is not really necessary for the 1.0, but I'd still like your input! |
|
What about updating Bootstrap? |
|
Good idea! |
|
I suggest #58 to the list |
|
Added! |
(The design repository (https://github.com/sailorproject/design/issues) didn't really work out, so I am posting this here)
What do you think is necessary for claiming to be stable enough for production use so we can release a 1.0 version?
I already had some in mind so I'll list them here, please list more things as well
I just measured tests coverage for the first time today. It is shitty (45%). I'd say it should go above 95% at the very least. Thanks to @mpeterv now we know it's actually 76%, and after discussion I think striving for about 80-85% should be fineCoverage is now over 80%(Improve test coverage #68)
(Make benchmarks of Sailor #55)
(Improve overall compatibility with Nginx #72)
(Rewrite the module for sending emails #59)
Test the Xavante form file input upload because Xavante will be often used as a test server, so keeping up support to Xavante is ideal too(Verify form file input uploading on Xavante webserver #74)
([Design] Architecture of adding extensions #82)
Update Bootstrap(Update bootstrap shipped with sailor applications #91)What else should go here?
(Also, feel free to take this list as something significative to pick and contribute)
The text was updated successfully, but these errors were encountered: