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

Simplify access to maintenance scripts #103

Open
pbordron opened this issue Nov 15, 2023 · 1 comment
Open

Simplify access to maintenance scripts #103

pbordron opened this issue Nov 15, 2023 · 1 comment
Labels
enhancement New feature or request low priority Long term evolution
Milestone

Comments

@pbordron
Copy link
Member

pbordron commented Nov 15, 2023

Scripts dgenies/bin/clean_jobs.py and dgenies/bin/local_scheduler.py are not easily accessible. For example, the full path of clean_jobs.py in a virtualenv is the following:

/usr/local/venv/dgenies/lib/python3.6/site-packages/dgenies-1.5.0-py3.6.egg/dgenies/bin/clean_jobs.py

Possibles solutions:

  • complete dgenies program with something like dgenies clean-jobs (duplicate with dgenies clear ?) and dgenies local-scheduler, or
  • edit setup.py in order to add those scripts in script section (by prefixing script names with a dgenies- prefix)

See #63 #68

@pbordron pbordron added enhancement New feature or request low priority Long term evolution labels Nov 15, 2023
@pbordron
Copy link
Member Author

pbordron commented Nov 15, 2023

Maybe rename local_scheduler.py into dgenies-scheduler.py

Also maybe only add maintenance scripts in PATH if package installed with dgenies[web] or dgenies[drmaa]
In maintenance mode, it is may be not required as there is no db

@pbordron pbordron changed the title Simply access to maintenance scripts Simplify access to maintenance scripts Nov 15, 2023
@pbordron pbordron added this to the CI/CD milestone Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Long term evolution
Projects
None yet
Development

No branches or pull requests

1 participant