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
improve predefined catalog implementation #844
Comments
@savente93 @Jaapel @Tjalling-dejong @deltamarnix |
just as a primer for our discussion: a common way to do this is to make protected branches for each released version, as it means that we can supply bug fixes independently. |
Outcome of discussion
@savente93 @Jaapel @deltamarnix Can you let me know if I missed anything? |
I was thinking to maintain backwards compatibility with the current HydroMT versions that are out there in the world, we could keep |
Current implementation
Currently, the data/predefined_catalogs.yml file describes which predefined catalogs are available and where to find these. The
DataCatalog.set_predefined_catalogs()
methods reads this file from the main branch to set theDataCatalogs.predefined_catalogs
property. If the file cannot be accessed, an error is raised. Data catalog files themselves are stored in data/catalogs and version is done based on git revision hashes, the latest version is always assumed to be in the main branch.There are a few issues with this implementation:
DataCatalog
does not workEnhancement Description
How I would like to see this functioning:
Possible implementation:
"/<name>/<version>/data_catalog.yml"
). This allows for updating older versions.PredefinedCatalogs
class) which is initialized with catalogs exposed by core and plugins via entrypointsAdditional Context
This is also discussed in #737
The text was updated successfully, but these errors were encountered: