galaxyproject / galaxyproject/total-perspective-vortex

Add support for importing remote files?

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
18
Forks
19
Avg merge
4d 9h
Merged PRs (30d)
5

Description

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
```yaml
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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.