Skip to content

Commit

Permalink
Merge pull request #112 from OpenEnergyPlatform/release-v1.0.0
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
jh-RLI authored Oct 31, 2024
2 parents 8b3aa4c + 719508f commit ecd55b9
Show file tree
Hide file tree
Showing 132 changed files with 12,721 additions and 8,539 deletions.
20 changes: 0 additions & 20 deletions .bumpversion.cfg

This file was deleted.

38 changes: 38 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[tool.bumpversion]
current_version = "1.0.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "v{new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = ""

[[tool.bumpversion.files]]
filename = "pyproject.toml"

[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
search = "[Unreleased]"
replace = "[Unreleased] - {now:%Y-%m-%d}"

[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
search = "Unreleased"

[[tool.bumpversion.files]]
filename = "README.rst"

[[tool.bumpversion.files]]
filename = "docs/conf.py"

[[tool.bumpversion.files]]
filename = "omi/__init__.py"
56 changes: 0 additions & 56 deletions .cookiecutterrc

This file was deleted.

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/rl-institut/super-repo/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/rl-institut/super-repo/pull/)

### Updated
- Update a definition [(#)](https://github.com/rl-institut/super-repo/pull/)

### Removed
- Remove a broken link [(#)](https://github.com/rl-institut/super-repo/pull/)


## Workflow checklist

### Automation
Closes #

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

### Reviewer
- [ ] 🐙 Follow the [Reviewer Guidelines](https://github.com/rl-institut/super-repo/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/automated-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- master
- develop
- dev
pull_request:

jobs:
Expand All @@ -26,4 +26,4 @@ jobs:
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -v
run: tox -v
35 changes: 35 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

# Enable Buildkit and let compose use it to speed up image building
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1

on:
pull_request:
branches: [ "master", "dev" ]
paths-ignore: [ "docs/**" ]

push:
branches: [ "master", "dev" ]
paths-ignore: [ "docs/**" ]

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
linter:
runs-on: ubuntu-latest
steps:

- name: Checkout Code Repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Run pre-commit
uses: pre-commit/action@v3.0.1
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,6 @@ docs/_build


# manual testing scripts
/local_test
/local_test
/script
/.venv/
36 changes: 30 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,36 @@
exclude: 'docs|node_modules|vendors|migrations|.git|.tox'
default_stages: [commit]
fail_fast: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-json
exclude: tests/test_data/validation/invalid_metadata/*
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files

- repo: https://github.com/pre-commit/mirrors-jshint
rev: v2.13.6
hooks:
- id: jshint

- repo: https://github.com/psf/black
rev: stable
rev: 23.3.0
hooks:
- id: black
language_version: python3

- repo: https://github.com/pre-commit/mirrors-isort
rev: master
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.0.277'
hooks:
- id: ruff

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: isort
language_version: python3
- id: flake8
args: [ "--config=setup.cfg" ]
additional_dependencies: [ flake8-isort ]
56 changes: 0 additions & 56 deletions .travis.yml

This file was deleted.

5 changes: 3 additions & 2 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
Authors
=======

* Martin Glauer - openenergy-platform.org
* Jonas Huber - openenergy-platform.org
* Hendrik Huyskens - openenergyplatform.org
* Martin Glauer - openenergyplatform.org
* Jonas Huber - openenergyplatform.org
12 changes: 9 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
Changelog
=========

current (2024-XX-XX)
current
--------------------
*
*


1.0.0 (2024-10-31)
--------------------
* Fully rewrite OMI and implement the json schema spec only, remove python class based parsing (#104)[https://github.com/OpenEnergyPlatform/omi/pull/104]
* Add a new conversion functionality to convert form v160 to v200 oemetadata [(#111)](https://github.com/rl-institut/super-repo/pull/111)

0.2.1 (2024-01-26)
--------------------
Expand All @@ -30,7 +36,7 @@ current (2024-XX-XX)
0.0.9 (2022-10-31)
--------------------

* Fix bug that is raised if the input oemetadata does not contain the key _comment (PR#74)
* Fix bug that is raised if the input oemetadata does not contain the key _comment (PR#74)

0.0.8 (2022-10-20)
--------------------
Expand Down
Loading

0 comments on commit ecd55b9

Please sign in to comment.