-
Notifications
You must be signed in to change notification settings - Fork 73
Description
I was working on this concept that i think could be adapted in phoenicis.
- Simple to adapt
- Self-Sufficient -> No additional maintainance
Current
Currently we support only javascript with plan to support lutris scripts(https://github.com/PhoenicisOrg/phoenicis/issues/1716).
Expected
Support all scripting langs
How?
- Make phoenicis execute all scripts (core functionality)
- Adapt sandbox
Reasoning: We can make sandbox with a work and image directory where all the work would be done in work directory (What is currently beeing done using javascript) and then moved to image where image would have files alike: /home/$USER/Games/somegame which would be merged in live system if work was successful.
I believe that if we base scripts around making final configuration in image directory that we could use all scripting langs since we would expect from all these to provide this final configuration in image directory assuming that the work could be done in work directory.
Theoretically we would only have to adapt sandbox (which we are currently using anyway in a form of containers) and change javascript to output scripts in image from where they would be merged into a live system.
Inspired by paludis/portage concept.