Skip to content

Commit af139c4

Browse files
Merge pull request #2942 from SwissDataScienceCenter/release/v1.4.0
chore: release v1.4.0
2 parents 8eea8eb + ff7124e commit af139c4

File tree

114 files changed

+4247
-1471
lines changed

Some content is hidden

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

114 files changed

+4247
-1471
lines changed

.pre-commit-config.yaml

Lines changed: 53 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,54 @@
1+
default_language_version:
2+
python: python3.8
13
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
4-
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
8-
- repo: https://github.com/psf/black
9-
rev: 22.3.0
10-
hooks:
11-
- id: black
12-
additional_dependencies: ['click==8.0.4']
13-
- repo: https://github.com/pycqa/isort
14-
rev: 5.10.1
15-
hooks:
16-
- id: isort
17-
name: isort (python)
18-
- repo: https://github.com/pycqa/flake8
19-
rev: '3.9.2'
20-
hooks:
21-
- id: flake8
22-
exclude: ^docs/
23-
args:
24-
- "--max-line-length=120"
25-
- "--show-source"
26-
- "--ignore=E121,E126,E203,E226,E231,W503,W504"
27-
- repo: https://github.com/pycqa/pydocstyle
28-
rev: 4.0.1
29-
hooks:
30-
- id: pydocstyle
31-
args:
32-
- --ignore=D105,D107,D202,D203,D212,D213,D401,D406,D407,D410,D411,D413
33-
- repo: https://github.com/koalaman/shellcheck-precommit
34-
rev: v0.8.0
35-
hooks:
36-
- id: shellcheck
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v2.3.0
6+
hooks:
7+
- id: check-yaml
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
- repo: https://github.com/psf/black
11+
rev: 22.3.0
12+
hooks:
13+
- id: black
14+
additional_dependencies: ["click==8.0.4"]
15+
- repo: https://github.com/pycqa/isort
16+
rev: 5.10.1
17+
hooks:
18+
- id: isort
19+
name: isort (python)
20+
- repo: https://github.com/pycqa/flake8
21+
rev: "3.9.2"
22+
hooks:
23+
- id: flake8
24+
exclude: ^docs/
25+
args:
26+
- "--max-line-length=120"
27+
- "--show-source"
28+
- "--ignore=E121,E126,E203,E226,E231,W503,W504"
29+
- repo: https://github.com/pycqa/pydocstyle
30+
rev: 4.0.1
31+
hooks:
32+
- id: pydocstyle
33+
args:
34+
- --ignore=D105,D107,D202,D203,D212,D213,D401,D406,D407,D410,D411,D413
35+
- repo: https://github.com/koalaman/shellcheck-precommit
36+
rev: v0.8.0
37+
hooks:
38+
- id: shellcheck
39+
- repo: https://github.com/pre-commit/mirrors-mypy
40+
rev: "v0.961"
41+
hooks:
42+
- id: mypy
43+
language_version: '3.8'
44+
args:
45+
- --no-strict-optional
46+
- --ignore-missing-imports
47+
additional_dependencies:
48+
- types-python-dateutil>=2.8.10
49+
- types-PyYAML<6.1.0,>=5.4
50+
- types-redis>=3.5.3,<4.1.0
51+
- types-requests<2.27.2,>=2.23.0
52+
- types-tabulate<0.8.10,>=0.7.7
53+
- attrs<21.5.0,>=21.4.0
54+
- filelock>=3.3.0,<3.6.1

CHANGES.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,47 @@
1818
Changes
1919
=======
2020

21+
`1.4.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.3.1...v1.4.0>`__ (2022-06-10)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **core:** automatically cleanup dangling git processes
28+
(`#2928 <https://github.com/SwissDataScienceCenter/renku-python/issues/2928>`__)
29+
(`56b06b5 <https://github.com/SwissDataScienceCenter/renku-python/commit/56b06b5af8486c7f5675fe943259bd9975a7dd5d>`__)
30+
31+
Features
32+
~~~~~~~~
33+
34+
- **dataset:** import dataset at specific tags
35+
(`#2926 <https://github.com/SwissDataScienceCenter/renku-python/issues/2926>`__)
36+
(`c948a77 <https://github.com/SwissDataScienceCenter/renku-python/commit/c948a7763ed9c2b683dd9a622099485408690cd1>`__)
37+
- **cli:** show dataset metadata for tag
38+
(`#2919 <https://github.com/SwissDataScienceCenter/renku-python/issues/2919>`__)
39+
(`713b4a4 <https://github.com/SwissDataScienceCenter/renku-python/commit/713b4a4db1ad514d88bdb211c990b4ab9c389322>`__)
40+
- **api:** add activity support to Renku api
41+
(`#2911 <https://github.com/SwissDataScienceCenter/renku-python/issues/2911>`__)
42+
(`37d50ae <https://github.com/SwissDataScienceCenter/renku-python/commit/37d50ae667a504f046317245dc1047b7023d2d81>`__)
43+
- **cli:** add support for setting custom metadata on Plans
44+
(`#2929 <https://github.com/SwissDataScienceCenter/renku-python/issues/2929>`__)
45+
(`c99659f <https://github.com/SwissDataScienceCenter/renku-python/commit/c99659f93dbdb3898bf9d58634c4d0fcdcdcf831>`__)
46+
- **cli:** add pager support to renku log
47+
(`#2932 <https://github.com/SwissDataScienceCenter/renku-python/issues/2932>`__)
48+
(`31f9514 <https://github.com/SwissDataScienceCenter/renku-python/commit/31f9514c19f97a1260b763cf752326d685fdf2b0>`__)
49+
- **cli:** add renku template validate command
50+
(`#2936 <https://github.com/SwissDataScienceCenter/renku-python/issues/2936>`__)
51+
(`bc56b8b <https://github.com/SwissDataScienceCenter/renku-python/commit/bc56b8be751f6ee376d2d27fd72473f8a31d4676>`__)
52+
- **cli:** improve renku run error messages
53+
(`#2915 <https://github.com/SwissDataScienceCenter/renku-python/issues/2915>`__)
54+
(`5cc006c <https://github.com/SwissDataScienceCenter/renku-python/commit/5cc006caa475c57da7c3b568c8c24dd0601d0e28>`__)
55+
- **core:** add remote Renku instance session provider
56+
(`#2880 <https://github.com/SwissDataScienceCenter/renku-python/issues/2880>`__)
57+
(`f554f19 <https://github.com/SwissDataScienceCenter/renku-python/commit/f554f192ef83fb7f2c7f44ef3da5c6b5487264ca>`__)
58+
- **core:** use oauth 2.0 device auth grant for renku login
59+
(`#2722 <https://github.com/SwissDataScienceCenter/renku-python/issues/2722>`__)
60+
(`eae254e <https://github.com/SwissDataScienceCenter/renku-python/commit/eae254e90d1bf52da9efe68096139df14d84dfd1>`__)
61+
2162
`1.3.1 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.3.0...v1.3.1>`__ (2022-05-23)
2263
-------------------------------------------------------------------------------------------------------
2364

DEVELOPING.rst

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,38 @@ Branching Model
231231
We follow the git-flow_ model of branches for development, with ``master`` being
232232
the release branch and ``develop`` being the development branch.
233233

234-
Release branches should be created off of master, have develop merged into them
235-
and then should be merged (not squash merged) back into master. A Github Action
236-
will then take care of merging master back into develop.
237-
238234
.. _git-flow: https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
235+
236+
Making a Release
237+
----------------
238+
This section uses `v1.2.3` as an example, replace it with the actual version
239+
number.
240+
241+
- Create a new release branch off of **master**. **Do not** call this branch
242+
e.g. `v1.2.3`, it cannot have the same name as the release version.
243+
- Merge changes from `develop` into the release branch (plain merge, **don't
244+
squash**).
245+
- Run `conventional-changelog -r 1 -p angular | pandoc --from markdown --to rst`
246+
to get the changelog and update `CHANGES:rst` with it. Make sure to fill in
247+
the version number in the header and to replace the `=` underline with `-`.
248+
- Proof-read the changelog and adjust messages so they make sense to third
249+
parties reading the changelog
250+
- Update the version in `helm-chart/renku-core/Chart.yaml` and `helm-chart/renku-core/values.yaml`
251+
(for `versions.latest.image.tag`).
252+
- Commit the changes to the release branch, with a message like "chore: release
253+
v1.2.3"
254+
- Push the release branch and create a PR **against master**. Wait for it to be
255+
approved. **Do not squash merge this PR!** Use a regular merge.
256+
- Create a new `github release <https://github.com/SwissDataScienceCenter/renku-python/releases/new>`_.
257+
Set to create a new tag like `v1.2.3` against master, title should be
258+
`v1.2.3` as well. The description should be the output of
259+
`conventional-changelog -r 1 -p angular` with the same adjustments done above
260+
for the `CHANGES.rst` file.
261+
- Once the release PR has been merged, publish the github release. This creates
262+
the tag on master that kicks off the publishing CI.
263+
- Keep an eye on CI, make sure that the `publish-pypi`, `build-images`,
264+
`publish-chart` and `update-develop-branch` finish successfully.
265+
* If any of them don't finish successfully, ask for help.
266+
- Go to the `Renku` repository and approve/merge the automatically created PR
267+
there.
268+
- Announce that we have a new version through appropriate channels.

docs/reference/api.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ Renku Python API
3939

4040
.. automodule:: renku.ui.api.models.plan
4141

42-
.. _api-run:
42+
.. _api-activity:
43+
44+
``Activity``
45+
------------
46+
47+
.. automodule:: renku.ui.api.models.activity
48+
49+
.. _api-parameter:
4350

4451
``Inputs, Outputs, and Parameters``
4552
-----------------------------------

docs/reference/commands.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ Renku Command Line
196196

197197
.. automodule:: renku.ui.cli.githooks
198198

199+
``renku session``
200+
-----------------
201+
202+
.. automodule:: renku.ui.cli.session
203+
204+
.. _cli-session:
205+
199206
Error Tracking
200207
--------------
201208

docs/reference/models/refs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
File References
1919
===============
2020

21-
.. automodule:: renku.domain_model.refs
21+
.. automodule:: renku.core.migration.models.refs
2222
:members:

docs/spelling_wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
acyclic
2+
adhoc
23
admin
34
Amalthea
45
analytics
@@ -243,6 +244,7 @@ Unlink
243244
unlinking
244245
unmapped
245246
unmerged
247+
unpushed
246248
untracked
247249
untracked
248250
updatable

helm-chart/renku-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: renku-core
55
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
6-
version: 1.3.1
6+
version: 1.4.0

helm-chart/renku-core/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ metrics:
7272
enabled: false
7373
image:
7474
repository: renku/rqmetrics
75-
tag: latest
75+
tag: 0.0.2
7676
pullPolicy: IfNotPresent
7777

7878
resources: {}
@@ -109,7 +109,7 @@ versions:
109109
fullnameOverride: ""
110110
image:
111111
repository: renku/renku-core
112-
tag: "v1.3.1"
112+
tag: "v1.4.0"
113113
pullPolicy: IfNotPresent
114114
v8:
115115
name: v8

0 commit comments

Comments
 (0)