Project

General

Profile

Actions

action #162998

open

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 5 months ago. Updated 3 months ago.

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

0%

Estimated time:

Description

https://progress.opensuse.org/issues/162998

Further language bindings for os-autoinst, like python, e.g. Lua or JavaScript or Ruby, anything that is among the top 30 languages and easily integratable size:M

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 https://metacpan.org/dist/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 5 months ago

  • Description updated (diff)
Actions #2

Updated by okurz 5 months ago

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

Updated by mkittler 4 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 4 months ago

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

Actions #5

Updated by okurz 4 months ago

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

Updated by tinita 3 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

Also available in: Atom PDF