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

Enhancements to script installs #15

Open
5 tasks
Chris7 opened this issue Aug 4, 2015 · 3 comments
Open
5 tasks

Enhancements to script installs #15

Chris7 opened this issue Aug 4, 2015 · 3 comments

Comments

@Chris7
Copy link
Member

Chris7 commented Aug 4, 2015

These are some ideas for enhancing script installations. Some are impractical and too bloated, but if we can figure out a nice, clean easy way to do it eventually it may be worth it:

  • The ability to install a package with pip. This would add a package to a new model that is checked and run on wooey startup. For the first run, scripts will be parsed from the setup.py and installed.
  • Use digests to determine if we should update a script. Instead of tracking with versions, we track a digest.
  • Install a script from a url/gist/etc.
  • A console to write/save scripts in for eventual integration to Wooey. We can run these scripts as jobs so users can test output/etc.
  • Add support for bulk-importing multiple scripts (optionally from a remote URL). The use-case I'm thinking would be to have repositories ("BioWoo" etc.) containing bundles of useful-for-everyone scripts that new installations can import.
@mfitzp
Copy link
Member

mfitzp commented Aug 27, 2015

See #55 for .zip files and remote URLs

@mfitzp
Copy link
Member

mfitzp commented Aug 27, 2015

I was wondering about supporting a shorthand way to install certain "libraries" of scripts that we could recommend/include. The implementation would be simply distributing a file containing shorthand names (e.g. bio, chem, biocode etc.) linked to URLs to install them. Then the command line would be simply:

python manage.py addscript #biocode

...or similar. Some kind of prefix marker would be required to avoid filesystem clashes or this could be put under an alternate command for example:

python manage.py addlibrary biocode

@Chris7
Copy link
Member Author

Chris7 commented Sep 14, 2015

We could adopt the + nomenclature pip uses like git+url. We can do addscript pip+biocode or git+url, etc.

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

No branches or pull requests

2 participants