Skip to content

CONCEPT: Support all scripting langs #2027

@Kreyren

Description

@Kreyren

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?

  1. Make phoenicis execute all scripts (core functionality)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions