Skip to content

Commit 890e081

Browse files
authored
Merge pull request #467 from softwarepub/release/v0.9.1
Prepare release v0.9.1
2 parents f2357fd + e159141 commit 890e081

45 files changed

Lines changed: 4926 additions & 1392 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
[flake8]
66
max-complexity = 15
77
max-line-length = 120
8+
per-file-ignores =
9+
src/hermes/commands/marketplace.py:E231

.github/ISSUE_TEMPLATE/add-plugin-to-marketplace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
value: |
1414
Thank you for building a plugin for Hermes and sharing it with the community!
1515
16-
The [Hermes plugin marketplace](https://hermes.software-metadata.pub#plugins) is a curated list of plugins on our website that allows you to share plugins that you developed, and others to find them.
16+
The [Hermes plugin marketplace](https://hermes.software-metadata.pub/marketplace) is a curated list of plugins on our website that allows you to share plugins that you developed, and others to find them.
1717
1818
Via this issue template, you can send us the required information to add your plugin to the marketplace. Alternatively, you may file a pull request, adding the plugin to [`plugins.json`](https://github.com/softwarepub/hermes/tree/develop/docs/source/plugins.json) yourself.
1919

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: "3.10"
27+
python-version: "3.12"
2828
- name: Install pypa/build
2929
run: >-
3030
python3 -m

.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.10"] # Ignore Python < 3.10, they are unsupported
18+
python-version: ["3.12"] # Ignore Python < 3.11, they are unsupported
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -26,11 +26,9 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip poetry
29-
poetry install
29+
poetry install --with dev
3030
- name: Lint with flake8
3131
run: |
32-
# stop the build if there are Python syntax errors or undefined names
33-
poetry run flake8 ./test/ ./src/ --count --select=E9,F63,F7,F82 --show-source --statistics
3432
# Stop build on errors
3533
poetry run flake8 ./test/ ./src/ --count --statistics
3634
- name: Test with pytest

.readthedocs.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ version: 2
77
build:
88
os: ubuntu-20.04
99
tools:
10-
python: "3.10"
10+
python: "3.12"
1111
jobs:
12+
post_create_environment:
13+
# Install poetry
14+
# https://python-poetry.org/docs/#installing-manually
15+
- pip install "poetry>=2.1.3,<3.0.0"
1216
post_install:
13-
- pip install "poetry>=1.2.0,<1.3.0"
14-
- poetry config virtualenvs.create false
15-
- poetry install --with docs
17+
# Install dependencies with 'docs' dependency group
18+
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
19+
# VIRTUAL_ENV needs to be set manually for now, see #11150
20+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1621

1722
# Build documentation in the docs/source directory with Sphinx
1823
sphinx:

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2025 German Aerospace Center (DLR)
3+
4+
SPDX-License-Identifier: CC0-1.0
5+
-->
6+
7+
# Changelog
8+
9+
All notable changes to this project will be documented in this file.
10+
11+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
12+
and this project tries to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
13+
14+
## [0.9.1] - 2026-01-12
15+
16+
### Added
17+
18+
- Added ADR for `init` plugin (#324)
19+
20+
### Fixed
21+
22+
- Broken HERMES DOI in marketplace plugin metadata (#326)
23+
- hermes init fails with cryptic error message in non-git directory (#308)
24+
- Make --initial deposits work on Rodare (#348)
25+
- Fix GitHub link in docs (#319)
26+
- `hermes init` cancellation should remove created files (#328)
27+
- `pyproject.toml` compliance with PEP 621 (#347)
28+
- Improve marketplace visibility (#426)
29+
30+
### Changed
31+
32+
- Update poetry to more recent version. (#347)
33+
34+
### Security
35+
36+
- Patch raw logging of '-O' values that could have included arbitrary secrets. (https://github.com/softwarepub/hermes/security/advisories/GHSA-jm5j-jfrm-hm23)
37+
38+
## [0.9.0] - 2025-02-26
39+
40+
### Added
41+
42+
- Added the hermes init subcommand
43+
44+
### Fixed
45+
46+
- Fixes multiple bugs
47+
48+
### Changed
49+
50+
- Refactored plugin system further
51+
52+
## [0.8.1] - 2024-08-13
53+
54+
### Added
55+
56+
- Integrated pyproject.toml plugin into the publication process
57+
58+
### Changed
59+
60+
- Improved logging output for better error dissemination

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: hermes
1414
message: >-
1515
If you use this software, please cite it using the
1616
metadata from this file.
17-
version: 0.9.0
17+
version: 0.9.1
1818
license: "Apache-2.0"
1919
abstract: "Tool to automate software publication. Not stable yet."
2020
type: software

GOVERNANCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ If no successor is named,
8080
the Steering Group seeks a successor.
8181
One member of the Steering Group steps in as interim maintainer until a successor is found.
8282

83-
In addition, all contributors with write access to repositories and regular activities should be added as "authors" to project and build system metadata in alphabetical order.
84-
They may also qualify for scholarly authorship, which is managed in citation metadata as necessary and may be ordered by other criteria.
83+
Authorship is defined by the [steering group](#hermes-steering-group) and declared in
84+
[`CITATION.cff`](https://github.com/softwarepub/hermes/blob/main/CITATION.cff).

docs/adr/0002-use-a-common-data-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ We need a data model that's
2020
to exchange data between modules.
2121

2222
The chosen option determines the serialization of the data model, too.
23-
See also [ADR 11](./0011-record-provenance-of-metadata.md) about provenance records in the data model.
23+
See also [ADR 11](./0011-record-provenance-of-metadata) about provenance records in the data model.
2424

2525
## Considered Options
2626

docs/adr/0003-define-interfaces-for-inter-module-data-exchange.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
1414
This depends on the data model (ADR 0002).
1515
Do we have to expose different parts of the data model structure at different points in the workflow?
1616

17-
Superseded: decisions in [ADR 2](./0002-use-a-common-data-model.md) (use JSON-LD) and [ADR 11](./0011-record-provenance-of-metadata.md) (create a unified data model of metadata and provenance) will result in a context [DAO](https://en.wikipedia.org/wiki/Data_access_object) from beginning till end of a run.
17+
Superseded: decisions in [ADR 2](./0002-use-a-common-data-model) (use JSON-LD) and [ADR 11](./0011-record-provenance-of-metadata) (create a unified data model of metadata and provenance) will result in a context [DAO](https://en.wikipedia.org/wiki/Data_access_object) from beginning till end of a run.
1818

1919
## Decision Drivers
2020

0 commit comments

Comments
 (0)