[Rpm-maint] lua extension API stability

Panu Matilainen pmatilai at laiskiainen.org
Mon Jun 6 07:38:20 UTC 2011


On 06/04/2011 11:16 AM, Ville Skyttä wrote:
> Hello,
>
> I'm considering using lua in some scriptlets, and noticed that while
> posix.symlink() currently exists in the posix extension included with
> rpm, it no longer exists in the current upstream version, there's a 3rd
> argument to posix.link() instead for that purpose:
> https://github.com/rrthomas/luaposix
>
> Are the lua APIs available to package scriptlets in rpm going to be kept
> backwards compatible?

Yes. The posix extension embedded in rpm is and will remain a fork: rpm 
needs to limit what functionality is available through the posix 
extensions in order to protect itself, and also to protect package 
scriptlets against changes like this.

The tougher question is going to be what to do if/when Lua introduces 
dramatically incompatible changes in the language itself.

	- Panu -


More information about the Rpm-maint mailing list