-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include definitions from GitHub repo (#265)
* Add gitpython * Add repo fetching machinery * Adjust tests * Adjust RegionCodeList for repo fetching * Add repo cleanup for external repo test * Use CodeListConfig for CodeLists * Remove unused import * Switch to https for repository * Update DataStructureConfig per suggestion of @danielhuppmann * Update test config file * Update DAtaStructureDefinition * Extend external repo usage to all CodeLists * Extend test for external repo usage for VariableCodeList * Make type hint python 3.8 compatible * Apply suggestions from code review Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at> * Rename Repository.path to local_path * Rename to local_path * Rename dimension_path to definition_path --------- Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
- Loading branch information
1 parent
f9bb77d
commit 9f3e919
Showing
6 changed files
with
158 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
repository: | ||
common-definitions: | ||
url: https://github.com/IAMconsortium/common-definitions.git/ | ||
region: | ||
repository: validation_nc/region | ||
repository: common-definitions | ||
country: true | ||
variable: | ||
repository: common-definitions | ||
repository_dimension_path: definitions/variable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters