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

Add support for importing remote files? #47

Open
nuwang opened this issue Oct 25, 2022 · 0 comments
Open

Add support for importing remote files? #47

nuwang opened this issue Oct 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nuwang
Copy link
Member

nuwang commented Oct 25, 2022

TPV already supports including multiple remote config files through job_conf.yml. However, it may also be worthwhile enabling TPV config files to be composed of multiple smaller files through an import section.

e.g.:
mylocal_tpv_conf.yml

global:
   import:
      - https://github.com/galaxyproject/tpv-shared-database/blob/main/tools.yml
      - https://raw.githubusercontent.com/usegalaxy-au/infrastructure/master/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/tools.yml
      - https://raw.githubusercontent.com/usegalaxy-au/infrastructure/master/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/users.yml
      - https://raw.githubusercontent.com/usegalaxy-au/infrastructure/master/files/galaxy/dynamic_job_rules/production/total_perspective_vortex/destinations.yml

tools:
  # my tool overrides
  ....

users:
  # my user overrides
  ....
 

Advantages:

  1. Allow more complex tpv configurations to be refactored into multiple smaller files, without breaking users
  2. Aggregate multiple files into a single file that others can just import

This is more with a view to future proofing than actual current necessity, but maybe there are more use cases?

@nuwang nuwang added the enhancement New feature or request label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant