Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

jobbergate.yaml: path relative to what? #72

Open
NilesDev opened this issue May 18, 2020 · 2 comments
Open

jobbergate.yaml: path relative to what? #72

NilesDev opened this issue May 18, 2020 · 2 comments

Comments

@NilesDev
Copy link
Collaborator

Path in jobbergate yaml (under apps:path:) is allowed to be relative, but is then traced from the working directory, which could be anywhere.
It would be more useful if a relative path would be traced from the yaml file's location.

@NilesDev
Copy link
Collaborator Author

Could be translated into absolute path as it's read in jobbergate/lib.py.

@NilesDev
Copy link
Collaborator Author

Related suggestion: allow specifying an absolute path in JOBBERGATE_PATH without a .yaml file.
So if no jobbergate.yaml file is found in the path, it's used for finding apps directly.

The .yaml would be optional, for when you want to specify parameters for all related apps.
What do you think?

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

No branches or pull requests

1 participant