-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for rpm embedded lua interpreter #66
Add support for rpm embedded lua interpreter #66
Conversation
I guess you need to sign the Eclipse CLA. Let me know if you need any help with that. The PR looks good to me. I guess there could be bonus points for making this a hash map, allowing for something like: But only if you think it's the right idea and you want to do it. |
says that it hasn't changed in 17 years although RPM 4.2.2 was released in 2004 which makes it 20 years old. Remember that this is the minimum requirement (usually the version that it was introduced in). |
Maybe a test should be added? |
Thanks for the info. I'm currently in dialogue with my company's legal department about this. It will probably take some days before I get an answer.
Yes, I'm going to add a test. |
Good news: I have signed the ECA. =) |
Any more changes? Or should I start working on a new release? |
Thanks for the quick response! After implementing the tests, it is still not entirely clear to me why, for example, two required entries are generated for a %post-shell-scriptlet entry. E.g.
From my limited understanding, one entry for
It would be helpful for me if you could explain why it is implemented in the rpm pakgager the way it is. It is interesting to see how
Flags according to RPMDependenyFlags::parse: Used mwe.spec:
|
TBH, no I can't 🤣 … it's been a while. I am not sure it hurts. It might be ok to remove the additional entry. |
I would like to remove them. Should I create a new PR for it? Unfortunately, it looks like I made a small mistake with the required dependency flags for lua: |
Makes sense. Both topics! |
Hi,
this is a first draft to support the embedded Lua interpreter of RPM by using
<lua>
as interpreter. See #101 in rpm-builder.I'm not that deep into this project yet, so suggestions for improvement are welcome.
A question for better understanding:
Why are the requirements for the interpreter are added twice (with different flags) in the
set*Script
-Methods?E.g.: