action #162998
opencoordination #154768: [saga][epic][ux] State-of-art user experience for openQA
coordination #154771: [epic] Improved test developer user experience
Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable size:M
0%
Description
Motivation¶
Lua is a common scripting language and it can be a good example of showing how specific language selections don't matter that much. We already have python but to ensure that we have a proper solution which is not language specific we should add support for another language, e.g. Lua.
Acceptance criteria¶
- AC1: An example test module in os-autoinst in another programming language exists
Suggestions¶
- Let's start with fixing https://build.opensuse.org/package/live_build_log/devel:languages:perl:CPAN-I/perl-Inline-Lua/openSUSE_Tumbleweed/x86_64
[ 7s] + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto'
[ 7s] Odd number of elements in hash assignment at Makefile.PL line 12.
[ 7s] *******************************************
[ 7s] Couldn't find a working Lua installation
[ 7s] on this machine. This is required for
[ 7s] this module.
[ 7s]
[ 7s] To obtain it, go to
[ 7s] http://www.lua.org/download.html
[ 7s] *******************************************
- and then use Inline::Lua
- But consider Inline-Lua: "Bus factor: 0", "This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email."
- Or use any other non-weird language
- Make sure Lua really is the best language for Perl parameter compatibility (Python weakness)
- Write down your impressions of using Lua
- Consider challenging test API functions which might already pose problems with the Python implementation, e.g. the ones with function callbacks.
Updated by tinita 9 months ago
- Subject changed from Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable to Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or anything that is among the top 30 languages and easily integratable size:M
- Description updated (diff)
- Status changed from New to Workable
Updated by dheidler about 1 month ago
- Status changed from Workable to In Progress
- Assignee set to dheidler
Fixed the package.
Building for now only against lua5.4 (but tested successfully against 5.3 as well)
https://build.opensuse.org/requests/1267145
Updated by tinita about 1 month ago
Consider adopting the package. You can make as many PRs, they probably won't get merged.
And handling everything with patches in openSUSE is going to get more difficult to maintain at some point.
I can also try to adopt it and handle the release stuff, if that's something you don't want to do, but I don't think I can contribute code.
Updated by dheidler about 1 month ago
It would be good if you could adopt and handle the releases as I'm not familiar with the perl upstream packaging/release workflows.
Updated by okurz 28 days ago
https://build.opensuse.org/request/show/1267672 (accepted) added perl-Inline-Lua to devel:languages:perl. I did not see a submission to oS:Fctry though. Created https://build.opensuse.org/requests/1270622
Updated by okurz 23 days ago
- Status changed from In Progress to Blocked
https://build.opensuse.org/requests/1270622 approved by tinita but still open