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

Release v1.6.0 #130

Merged
merged 59 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
47f9ac5
Merge pull request #103 from OpenEnergyPlatform/release/v152
jh-RLI Nov 18, 2022
29a2f69
Update description for oem-key 15.6.1.1 & 15.2
chrwm Jan 4, 2023
7ed8dfc
Update metadata test workflow OS
jh-RLI Jan 4, 2023
f50f713
Add first version with active developers #110
Ludee Jan 4, 2023
5334c90
Add orcid id #110
chrwm Jan 4, 2023
62e4d5a
Add additional information for authors #110
Ludee Jan 17, 2023
3982fb9
Add entry to CHANGELOG #110
Ludee Jan 17, 2023
9260f0a
Update context field #104
chrwm Feb 2, 2023
6164d3e
Template files added #115
steull Feb 8, 2023
434b542
Separate example and description in "@context" #112
christian-rli Mar 10, 2023
c18fbe0
Add "example" and "bagde" under "name" #112
christian-rli Mar 10, 2023
360f581
Add "example" and "bagde" under "title" #112
christian-rli Mar 10, 2023
aae74cb
Add "example" and "bagde" under "id" #112
christian-rli Mar 10, 2023
158e800
Add "example" and "bagde" under "@id" #112
christian-rli Mar 10, 2023
f543ed7
Add "example" and "bagde" under "description" #112
christian-rli Mar 10, 2023
09a811d
Add examples and bagdes under "subject" #112
christian-rli Mar 10, 2023
901b6b0
Add examples and bagdes under "language" #112
christian-rli Mar 10, 2023
99c5071
Add examples and bagdes under "keywords" #112
christian-rli Mar 10, 2023
ccab18f
Add examples and bagdes under "publicationDate" #112
christian-rli Mar 10, 2023
3bf3ff1
Add examples and bagdes under "context" #112
christian-rli Mar 10, 2023
482a186
Add examples and bagdes under "spatial" #112
christian-rli Mar 10, 2023
1e1a9de
Add examples and bagdes under "temporal" #112
christian-rli Mar 10, 2023
ba42666
Add examples and bagdes under "sources" #112
christian-rli Mar 11, 2023
bb1c9c8
Add examples and bagdes under "licenses" #112
christian-rli Mar 11, 2023
68cc3ed
Add examples and bagdes under "licenses" #112
christian-rli Mar 11, 2023
842bb25
Add examples & bagdes for "resources" until schema #112
christian-rli Mar 11, 2023
0f1775d
Add examples and bagdes under "schema" #112
christian-rli Mar 11, 2023
eafb17a
Add examples and bagdes under "dialect" #112
christian-rli Mar 11, 2023
d729616
Add examples and bagdes under "review" #112
christian-rli Mar 11, 2023
77b9d75
Add examples and bagdes under "metaMetadata" #112
christian-rli Mar 11, 2023
353b804
Merge pull request #111 from OpenEnergyPlatform/feature-110-citation
jh-RLI Mar 13, 2023
d846637
Update CHANGELOG.md
chrwm Mar 13, 2023
55ca6b5
Update CHANGELOG.md
chrwm Mar 13, 2023
d8263d7
Update CHANGELOG #117
christian-rli Mar 13, 2023
16d5f6a
Update CHANGELOG to link PR #117
christian-rli Mar 13, 2023
8f0b552
Merge branch 'develop' into feature/expand_schema
christian-rli Mar 13, 2023
8a54b86
Remove redundant description
christian-rli Mar 14, 2023
4b54ddd
Remove redundant description in schema.json
christian-rli Mar 14, 2023
39c6b04
Fix attribution description
christian-rli Mar 14, 2023
c08c507
Fix comment description
christian-rli Mar 14, 2023
f06e50a
Update metadata/latest/schema.json
christian-rli Mar 14, 2023
f6714c5
Update metadataVersion example
christian-rli Mar 14, 2023
a9a627d
Merge pull request #114 from OpenEnergyPlatform/feature-104-update-co…
chrwm Mar 21, 2023
ab67412
Fix links in issue template #115
Ludee Apr 11, 2023
79d267a
Fix links in PR tempate #115
Ludee Apr 11, 2023
beb0281
Update changlog #115
Ludee Apr 11, 2023
ed82446
Merge branch 'develop' into feature-115-issue_and_pr_templates
Ludee Apr 11, 2023
0740a86
Merge pull request #116 from OpenEnergyPlatform/feature-115-issue_and…
jh-RLI Apr 11, 2023
fd2fc0c
Merge branch 'develop' into feature/expand_schema
jh-RLI Apr 12, 2023
17004be
Merge pull request #117 from OpenEnergyPlatform/feature/expand_schema
jh-RLI Apr 12, 2023
eeccc6d
Update CHANGELOG.md
jh-RLI Apr 12, 2023
c22156f
update changelog for 1.6.0 release
jh-RLI May 30, 2023
272d16d
fix pip install package name
jh-RLI May 30, 2023
c62b065
bump version
jh-RLI May 30, 2023
b5594d6
add v1.6.0 directory
jh-RLI May 30, 2023
e29364d
Update version numbers in files #130
christian-rli May 30, 2023
7884a20
fix metadata import
jh-RLI May 30, 2023
8925e7d
fix export metadata module names for version 1.6.0
jh-RLI May 30, 2023
b76455c
deactivate constantly failing test (fails as url linking to schema fi…
jh-RLI May 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/issue_template_bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug Issue
about: For bugs and errors
title: Your title should make sense if said after "The issue is <your issue title>"
labels: "bug"
assignees: ''

---

## Description of the issue

Describe the problem in as much detail as possible.
Focus on the expected and current behavior.
If necessary, create a screenshot and insert below.

## Steps to Reproduce
1.
2.
3.

## Ideas of solution

Describe possible ideas for solution and evaluate advantages and disadvantages.

## Context and Environment
* Version used:
* Operating system:
* Environment setup and (python) version:

## Workflow checklist
- [ ] I am aware of the workflow in [CONTRIBUTING.md](https://github.com/rl-institut/super-repo/blob/develop/CONTRIBUTING.md)
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/issue_template_feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature Issue
about: For new ideas, developments and features
title: Your title should make sense if said after "The issue is <your issue title>"
labels: "enhancement"
assignees: ''

---

## Description of the issue

Describe the problem in as much detail as possible.

## Ideas of solution

Describe possible ideas for solution and evaluate advantages and disadvantages.

## Workflow checklist
- [ ] I am aware of the workflow in [CONTRIBUTING.md](https://github.com/OpenEnergyPlatform/oemetadata/blob/develop/CONTRIBUTING.md)
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Summary of the discussion

Describe the findings of the discussion in the issue or meeting.

## Type of change (CHANGELOG.md)

### Added
- Add a new class [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/)

### Updated
- Update a definition [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/)

### Removed
- Remove a broken link [(#)](https://github.com/OpenEnergyPlatform/oemetadata/pull/)


## Workflow checklist

### Automation
Closes #

### PR-Assignee
- [ ] 🐙 Follow the workflow in [CONTRIBUTING.md](https://github.com/OpenEnergyPlatform/oemetadata/blob/develop/CONTRIBUTING.md)
- [ ] 📝 Update the [CHANGELOG.md](https://github.com/OpenEnergyPlatform/oemetadata/blob/develop/CHANGELOG.md)
- [ ] 📙 Update the documentation

### Reviewer
- [ ] 🐙 Follow the [Reviewer Guidelines](https://github.com/OpenEnergyPlatform/oemetadata/blob/develop/CONTRIBUTING.md#40-let-someone-else-review-your-pr)
- [ ] 🐙 Provided feedback and show sufficient appreciation for the work done
4 changes: 2 additions & 2 deletions .github/workflows/metadata-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
TOXENV: py3
name: metadata-tests
Expand All @@ -36,4 +36,4 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test metadata
run: tox -v
run: tox -v
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Here is a template for new release sections
### Added
-
### Changed
-
-
### Removed
-

Expand All @@ -30,9 +30,24 @@ Here is a template for new release sections
## Current

### Added
-

### Changed

### Removed
-

## [1.6.0] - Release - Introduce badges in json schema - 2023-05-30

### Added

- Add badge for all fields [PR#117]
- Add CITATION.cff with list of authors [(#111)](https://github.com/OpenEnergyPlatform/oemetadata/pull/111)

### Changed
- Separate examples from descripton and put into its own key-value pair [PR#117]
- Add issue and PR templates [(#116)](https://github.com/OpenEnergyPlatform/oemetadata/pull/116)
- Update context field [PR#114]

### Removed
-

Expand Down
34 changes: 34 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
authors:
- family-names: "Hülk"
given-names: "Ludwig"
alias: "@Ludee"
website: "https://github.com/Ludee"
affiliation: "Reiner Lemoine Institut"
orcid: "https://orcid.org/0000-0003-4655-2321"
- family-names: "Huber"
given-names: "Jonas"
alias: "@jh-RLI"
website: "https://github.com/jh-RLI"
affiliation: "Reiner Lemoine Institut"
orcid: "https://orcid.org/0000-0002-6234-0751"
- family-names: "Hofmann"
given-names: "Christian"
alias: "@christian-rli"
website: "https://github.com/christian-rli"
affiliation: "Reiner Lemoine Institut"
orcid: "https://orcid.org/0000-0003-4520-7008"
- family-names: "Muschner"
given-names: "Christoph"
alias: "@chrwm"
website: "https://github.com/chrwm"
affiliation: "Reiner Lemoine Institut"
orcid: "https://orcid.org/0000-0001-8144-5260"
title: "Open Energy Family - Open Energy Metadata (OEMetadata)"
type: software
license: MIT
version: 1.5.2
doi:
date-released: 2022-11-18
url: "https://github.com/OpenEnergyPlatform/oemetadata"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The oemetadata example and oemetadata template are licensed under [Creative Comm

## Installation

`pip install oep-metadata`
`pip install oemetadata`

## Usage Examples

Expand Down
2 changes: 1 addition & 1 deletion metadata/latest/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
}
],
"@id": "https://databus.dbpedia.org/kurzum/mastr/bnetza-mastr/01.04.00",
"@context": "https://github.com/OpenEnergyPlatform/oemetadata/blob/master/metadata/latest/context.json",
"@context": "https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/develop/metadata/latest/context.json",
"review": {
"path": "https://github.com/OpenEnergyPlatform/data-preprocessing/issues",
"badge": "Platinum"
Expand Down
4 changes: 2 additions & 2 deletions metadata/latest/metadata_key_description.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The JSON format offers different formats:
|---|---|---|---|
| 15 | **resources** | An array of objects of the data. It describes the data resource as an individual file or (database) table. | |
| 15.1 | profile | The profile of this descriptor according to the profiles specification. This information is retained in order to comply with the "Tabular Data Package" standard. Use "tabular-data-resource" for all tables. | tabular-data-resource |
| 15.2 | name | A name for the entire data package. To comply with the data package standard it must consist of only lowercase alphanumeric character plus ".", "-" and "_". It may not start with a number. In a database, this will be the name of the table within the schema containing it. The name usually corresponds to the file name (minus the file-extension) of the data file describing the resource. | openstreetmap.osm_deu_line |
| 15.2 | name | A name for the entire data package. The name must consist of only lowercase alphanumeric characters or underscore. It must not start with a number or underscore. In a database, this will be the name of the table within the schema containing it. The name can correspond to the file name (minus the file-extension) of the data file describing the resource, if it complies with the naming convention above. Name also contains information about the shema on the OEP, use "." to seperate shema from table name. | openstreetmap.osm_deu_line |
| 15.3 | path | A URL that should be a permanent http(s) address or other path directly linking to the resource. | https://openenergy-platform.org/dataedit/view/openstreetmap/osm_deu_line |
| 15.4 | format | The file extension. 'csv', 'xls', 'json' etc. would be expected to be the standard file extension for this type of resource. When you upload your data to the OEDB, in the shown metadata string, the format will be changed accordingly to 'PostgreSQL', since the data there are stored in a database. | PostgreSQL |
| 15.5 | encoding | Specifies the character encoding of the resource's data file. The values should be one of the ["Preferred MIME Names"](https://www.iana.org/assignments/character-sets/character-sets.xhtml) for a character encoding registered with IANA. If no value for this key is specified then the default is UTF-8. | UTF-8 |
Expand All @@ -124,7 +124,7 @@ The JSON format offers different formats:
|---|---|---|---|
| 15.6 | **schema** | An object that describes the structure of the present data. It contains all fields (columns of the table), the primary key and optional foreign keys. | |
| 15.6.1 | **fields** | An array of objects describing a column and providing name, description, type and unit. | |
| 15.6.1.1 | name | The name of the field. | year |
| 15.6.1.1 | name | The name of the field. The name must consist of only lowercase alphanumeric characters or underscore. It must not start with a number or underscore. | year |
| 15.6.1.2 | description | A text describing the field. | Reference year for which the data were collected. |
| 15.6.1.3 | type | The data type of the field. In case of a geom column in a database, also indicate the shape and CRS. | geometry(Point, 4326) |
| 15.6.1.4 | unit | The unit, preferably SI-unit, that values in this field are mapped to. If 'unit' doesn't apply to a field, use 'null'. If the unit is given in a seperate field, reference this field. | MW |
Expand Down
Loading