In github there was a talk about orbit having a bugfix release and then carrying on with a proper 5.2 release.
It was not clear which of the bugfixes should be included. It would be a good thing to see set them so that anyone interested can target them.
=== Open bugs at this time:
-
https://github.com/keplerproject/orbit/issues/18 - test_routes.lua fails with lpeg > 0.10
This is something that should be solvable.
Personally, I can go ahead and make a pull request for the routes.lua to remove the re.lua and stick to lpeg only calls.
This, apart from making the whole file more unified in expressions and a little more verbose in reading through it, makes it faster by at least 25%.
Nevertheless the bug is still outstanding.
An interesting note is that there is no usage of the orbit.routes anywhere in the orbit's source code apart from the test_routes.lua which drives me to think about the purpose of its existence.
I am pretty sure that Mascharenas can give an answer on that but in the meantime there is no evidence of this being a release blocker issue.
-
https://github.com/keplerproject/orbit/issues/17 - Rockspecs out of sync
This is a housekeeping issue and should be resolved as soon as we get other bugs out of the way.
-
https://github.com/keplerproject/orbit/issues/9 - Adapt Makefile to directory structure
This a valid bug and it is easily fixed since the solution proposed works. I have it in my fork already.
-
https://github.com/keplerproject/orbit/issues/5 - Impossible to retrieve number of rows in model table
As kognix stated in a comment to this issue, this is not really a bug. There are other ways to get the rows. Maybe this is an indication for a convenience improvement.
So as it is evident, there isn't much to solve to about releasing the bugfix release. It will mainly be about the test_routes.lua bug.
=== As for 5.2:
- markdown.lua is 5.1 only and I've yet to find any other markdown implementation to work with 5.2. This is a big blocker.
We should evaluate the Markdown implementations available, pick one and push work towards it so that we get a component to use in a 5.2 version of Orbit.
This also renders (:pun: or not) the makedoc.lua inside the docs/ as well as some of the examples unable to function.
- htmlify_func() uses setfenv/getfenv that are not available with 5.2. This is a blocker.
Mascharenas has suggested that it might be acceptable to htmlify the app's _ENV instead of providing a separate environment for the htmlified functions to run.
Personally I'd keep "one clear way to do things" and stick to either cosmo or lustache removing the htmlify from the source code.
Introducing a dependency would look better in my eyes instead of trying to support a way to generated HTML code within a framework.
In particular, supporting mustache templates would be a point of familiarity for newcomers since the bets are that they'll be familiar with them.
In case that this is the direction taken, it would be a nice to think about Orbit's ability to use various templating systems.