Skip to content

📦 Script Distribution #4

Open
@nvzqz

Description

@nvzqz

Ocean should be able to support installing scripts written in various programming languages.

To achieve this, it needs to:

  1. Be able to install the given languages
  2. Run the script through the installed language

Languages

  • Python
  • Ruby
  • Swift
  • R
  • Lua
  • Perl
  • Tcl
  • Bash
  • Bourne Shell (sh)
  • C Shell (csh)
  • KornShell (ksh)
  • PowerShell

Unresolved Questions

  • How is the language selected?

    Should we have some form of setting/unsetting a globally usable language? This would require us knowing that me/my-script is written in Python up-front. Such information could be in my-script's manifest.

    ocean set python@3
    ocean run --script me/my-script
    

    Should we instead pass a --with flag for choosing what to run it through?

    ocean run --script me/my-script --with python@3
    

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededkind/featureNew feature or requesttracking issueSpecific to tracking a certain feature or bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions