Skip to content
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

📦 Script Distribution #4

Open
12 tasks
nvzqz opened this issue Jan 12, 2020 · 0 comments
Open
12 tasks

📦 Script Distribution #4

nvzqz opened this issue Jan 12, 2020 · 0 comments
Assignees
Labels
help wanted Extra attention is needed kind/feature New feature or request tracking issue Specific to tracking a certain feature or bug

Comments

@nvzqz
Copy link
Member

nvzqz commented Jan 12, 2020

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
    
@nvzqz nvzqz added kind/feature New feature or request help wanted Extra attention is needed tracking issue Specific to tracking a certain feature or bug labels Jan 12, 2020
@nvzqz nvzqz self-assigned this Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/feature New feature or request tracking issue Specific to tracking a certain feature or bug
Projects
None yet
Development

No branches or pull requests

1 participant