Project

General

Profile

Actions

action #162998

open

coordination #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

Added by okurz 11 months ago. Updated 10 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
2024-06-28
Due date:
% Done:

0%

Estimated time:

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

[    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.
Actions #1

Updated by okurz 11 months ago

  • Description updated (diff)
Actions #2

Updated by okurz 10 months ago

  • Target version changed from Tools - Next to Ready
Actions #3

Updated by mkittler 10 months ago

  • Subject changed from Lua language bindings for os-autoinst, like python 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
  • Description updated (diff)
Actions #4

Updated by livdywan 10 months ago

We skipped the ticket during the estimations as other tickets are considered more urgent for now.

Actions #5

Updated by okurz 10 months ago

  • Target version changed from Ready to Tools - Next
Actions #6

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
Actions #7

Updated by okurz 3 months ago

  • Target version changed from Tools - Next to Ready
Actions #8

Updated by mkittler 3 months ago

  • Description updated (diff)
Actions #9

Updated by okurz 2 months ago

  • Target version changed from Ready to Tools - Next
Actions #10

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

Actions #11

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.

Actions #12

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.

Actions #13

Updated by okurz about 1 month ago

  • Description updated (diff)
Actions #14

Updated by okurz about 1 month ago

  • Parent task set to #154771
Actions #15

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

Actions #16

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

Actions #17

Updated by dheidler 10 days ago

  • Status changed from Blocked to Feedback
Actions

Also available in: Atom PDF