Skip to content

Commit 8619035

Browse files
committed
doc releases
1 parent ab9c500 commit 8619035

File tree

3 files changed

+60
-16
lines changed

3 files changed

+60
-16
lines changed

.openapi-generator/VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

REALEASES.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Releases
2+
3+
Some notes on how the clients are version and released
4+
5+
## openapi specs (OAS) version != client version
6+
7+
The version found in api/openapi.json for the API is **not used** as the version of the client.
8+
9+
## Versioning Strategy
10+
11+
- We follow **post-release versioning** during development.
12+
- Format: `1.2.3.post0.devN` where `N` represents the number of commits since the last release (`1.2.3`).
13+
- We opt for post-release versioning rather than pre-release to avoid making early decisions about the next release version.
14+
15+
- Official releases follow the format `1.2.3`.
16+
17+
- **Patch releases** (e.g., `1.2.4`) are used instead of post-releases like `1.2.3.postX`.
18+
19+
- Releases are determined by **git tags**. SEE [Releases](https://github.com/ITISFoundation/osparc-simcore-clients/releases).
20+
21+
- For more details, refer to the following:
22+
- GitHub workflow for publishing: `.github/workflows/publish-python-client.yml`
23+
- Version computation script: `scripts/compute_version.bash`
24+
25+
26+
## `osparc` Package in the https://pypi.org Package Index
27+
28+
- Release history in https://pypi.org/project/osparc/#history
29+
- Corresponds to [Releases](https://github.com/ITISFoundation/osparc-simcore-clients/releases).
30+
- Pre-releases in https://test.pypi.org/project/osparc/#history
31+
- all master commits have a pre-released as `X.Y.Z.post0.devN`
32+
33+
### FAQ
34+
35+
#### How to install latest released versions?
36+
37+
```cmd
38+
pip install osparc
39+
```
40+
41+
#### How to list all released versions?
42+
43+
```cmd
44+
pip index versions osparc
45+
```
46+
47+
#### How to list pre-released versions?
48+
49+
For that we need to include the test index, where we decided to push all the pre-releases. An extra
50+
index to the standard pypi repo is necessary in order to find the dependencies
51+
52+
```cmd
53+
pip index versions osparc -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ --pre
54+
```
55+
56+
#### How to install latest pre-release versions?
57+
58+
```cmd
59+
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ osparc
60+
```

VERSIONING.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)