Skip to content

Commit

Permalink
Merge pull request #81 from OpenEnergyPlatform/fix/release-v151
Browse files Browse the repository at this point in the history
Fix/release v151
  • Loading branch information
jh-RLI authored Feb 23, 2022
2 parents 2bc92de + 4b20943 commit b4e10fa
Show file tree
Hide file tree
Showing 17 changed files with 2,559 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Here is a template for new release sections
- Use [GitHub projects](https://github.com/OpenEnergyPlatform/oemetadata/projects) to organise releases
- Add new example table to show connection to OEO
- Add test for latest directory to CI [PR#74]
- Add tests for v151 [PR#81]
- Add release version directory for oem-v151

### Changed
- Update ``subject`` to work with OEO
Expand Down
8 changes: 8 additions & 0 deletions RELEASE_PROCEDURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Status of all issues and PR's assigned to the project.
If there are any open issues or PR's, decide if you want to include them
them to be included in the upcoming release. Make sure that all changes are
are included in the development branch before proceeding to the next steps.
- Create a new folder named "vXXX" (release version) in the metadata and
test directory.
- In the metadata direcotry copy all files from latest to the
new folder then adapt all .py files to the latest version and
update the id in schema.json.
- In test copy all files from previous oder latest version folder
in test directory and adapt all tests (test_***.py files) to
the latest version.
## Release
- 1 Checkout a new branch from devolop branch named: release/oem-vX.X.X
- 2 Update the following files:
Expand Down
711 changes: 711 additions & 0 deletions metadata/v150/schema_old.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions metadata/v151/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<a href="https://github.com/OpenEnergyPlatform/oemetadata/"><img align="right" width="100" height="100" src="https://raw.githubusercontent.com/OpenEnergyPlatform/organisation/master/logo/OpenEnergyFamily_Logo_OEMetadata.png" alt="OpenEnergyMetadata"></a>
<a href="https://openenergy-platform.org/"><img align="right" width="100" height="100" src="https://avatars2.githubusercontent.com/u/37101913?s=400&u=9b593cfdb6048a05ea6e72d333169a65e7c922be&v=4" alt="OpenEnergyPlatform"></a>


# Open Energy Metadata (OEM) - Latest-Release

This version of the OEM represents the latest released version. This release is fully integrated
into the OEP.

The OEM contains the following files:

* [template.json](https://github.com/OpenEnergyPlatform/oemetadata/blob/master/metadata/latest/template.json) contains an empty metadata string with all fields.
* [metadata_key_description.md](https://github.com/OpenEnergyPlatform/oemetadata/blob/master/metadata/latest/metadata_key_description.md) contains a full description of each metadata key and an example.
* [example.json](https://github.com/OpenEnergyPlatform/oemetadata/blob/master/metadata/latest/example.json) contains a basic metadata example.

For further information see the [Changelog](https://github.com/OpenEnergyPlatform/oemetadata/blob/master/CHANGELOG.md).
Empty file added metadata/v151/__init__.py
Empty file.
56 changes: 56 additions & 0 deletions metadata/v151/context.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"@context": {
"path": "@id",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"dct": "http://purl.org/dc/terms/",
"dc": "http://purl.org/dc/elements/1.1/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"oeo": "http://openenergy-platform.org/ontology/oeo/",
"csvw": "http://www.w3.org/ns/csvw#",
"obo": "http://purl.obolibrary.org/obo/",
"title": {
"@id": "dct:title",
"@type": "xsd:string"
},
"description": {
"@id": "dct:description",
"@type": "xsd:string"
},
"comment": {
"@id": "rdfs:comment",
"@type": "xsd:string"
},
"fields": {
"@id": "csvw:column",
"@type": "@id"
},
"resources": {
"@id": "csvw:table",
"@type": "@id"
},
"schema": {
"@id": "csvw:tableSchema",
"@type": "@id"
},
"subject": {
"@id": "dc:subject",
"@type": "@id"
},
"name": {
"@id": "rdfs:label",
"@type": "xsd:string"
},
"type": {
"@id": "csvw:datatype",
"@type": "xsd:string"
},
"unit": {
"@id": "oeo:OEO_00040010",
"@type": "xsd:string"
},
"about": {
"@id": "obo:IAO_0000136",
"@type": "@id"
}
}
}
Loading

0 comments on commit b4e10fa

Please sign in to comment.