Skip to content

Commit

Permalink
Merge branch 'develop' into update-license
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius authored Nov 8, 2023
2 parents afca8dc + d3eedb5 commit 2bc9973
Show file tree
Hide file tree
Showing 487 changed files with 3,740 additions and 2,290 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
!.git
!.gitignore
!Makefile
!gunicorn.conf.py
.git/config
2 changes: 2 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
renku-graph: ${{ steps.deploy-comment.outputs.renku-graph}}
renku-notebooks: ${{ steps.deploy-comment.outputs.renku-notebooks}}
renku-ui: ${{ steps.deploy-comment.outputs.renku-ui}}
renku-data-services: ${{ steps.deploy-comment.outputs.renku-data-services}}
test-enabled: ${{ steps.deploy-comment.outputs.test-enabled}}
extra-values: ${{ steps.deploy-comment.outputs.extra-values}}
persist: ${{ steps.deploy-comment.outputs.persist}}
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:
renku_graph: "${{ needs.check-deploy.outputs.renku-graph }}"
renku_notebooks: "${{ needs.check-deploy.outputs.renku-notebooks }}"
renku_ui: "${{ needs.check-deploy.outputs.renku-ui }}"
renku_data_services: "${{ needs.check-deploy.outputs.renku-data-services }}"
extra_values: "${{ needs.check-deploy.outputs.extra-values }}"
- name: Check existing renkubot comment
uses: peter-evans/find-comment@v2
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,7 @@ jobs:
CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}
CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}
CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}
run: pytest -m "integration and not serial and not service" -v
- name: Start Redis
uses: supercharge/[email protected]
run: pytest -m "integration and not serial and not service and not redis" -v
- name: Test with pytest (serial)
env:
POETRY_VIRTUALENVS_CREATE: false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
.python-version

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get install --no-install-recommends -y build-essential && \
# time the code changes
# set the BUILD_CORE_SERVICE to non null to install additional service dependencies
ARG BUILD_CORE_SERVICE
COPY pyproject.toml poetry.lock README.rst CHANGES.rst Makefile /code/renku/
COPY pyproject.toml poetry.lock README.rst CHANGES.rst Makefile gunicorn.conf.py /code/renku/
COPY .git /code/renku/.git
COPY renku /code/renku/renku
WORKDIR /code/renku
Expand Down Expand Up @@ -46,6 +46,7 @@ RUN addgroup -gid 1000 shuhitsu && \
if [ -n "${BUILD_CORE_SERVICE}" ]; then mkdir /svc && chown shuhitsu:shuhitsu /svc ; fi

COPY --from=builder /code/renku /code/renku
WORKDIR /code/renku
ENV PATH="${PATH}:/code/renku/.venv/bin"

# shuhitsu (執筆): The "secretary" of the renga, as it were, who is responsible for
Expand All @@ -55,5 +56,6 @@ USER shuhitsu
ENV RENKU_SVC_NUM_WORKERS 4
ENV RENKU_SVC_NUM_THREADS 8
ENV RENKU_DISABLE_VERSION_CHECK=1
ENV PROMETHEUS_MULTIPROC_DIR /tmp

ENTRYPOINT ["tini", "-g", "--", "renku"]
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2017-2023 - Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Copyright Swiss Data Science Center (SDSC). A partnership between
# École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion QA_PROTOCOL.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
6 changes: 2 additions & 4 deletions docs/_ext/cheatsheet.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018-2023- Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Copyright Swiss Data Science Center (SDSC). A partnership between
# École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
14 changes: 14 additions & 0 deletions docs/_static/cheatsheet/cheatsheet.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,20 @@
"rp"
]
},
{
"command": "$ renku session pause <name>",
"description": "Pause the specified session.",
"target": [
"rp"
]
},
{
"command": "$ renku session resume <name>",
"description": "Resume the specified paused session.",
"target": [
"rp"
]
},
{
"command": "$ renku session stop <name>",
"description": "Stop the specified session.",
Expand Down
Binary file modified docs/_static/cheatsheet/cheatsheet.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
6 changes: 2 additions & 4 deletions docs/cheatsheet/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2017-2023 - Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Copyright Swiss Data Science Center (SDSC). A partnership between
# École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion docs/cheatsheet_hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ad86ac1d0614ccb692c96e893db4d20d cheatsheet.tex
5316163d742bdb6792ed8bcb35031f6c cheatsheet.tex
c70c179e07f04186ec05497564165f11 sdsc_cheatsheet.cls
2 changes: 1 addition & 1 deletion docs/cheatsheet_json_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1ac51267cefdf4976c29c9d7657063b8 cheatsheet.json
1856fb451165d013777c7c4cdd56e575 cheatsheet.json
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2017-2023 - Swiss Data Science Center (SDSC)
# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
# Copyright Swiss Data Science Center (SDSC). A partnership between
# École Polytechnique Fédérale de Lausanne (EPFL) and
# Eidgenössische Technische Hochschule Zürich (ETHZ).
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion docs/gettingstarted.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:orphan:

..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ License

.. code-block:: text
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
21 changes: 20 additions & 1 deletion docs/plugins.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down Expand Up @@ -33,6 +33,25 @@ data science pipeline.
`Documentation <https://github.com/ratschlab/renku-mls/blob/master/docs/gettingstarted.rst>`_
`Example Project <https://renkulab.io/projects/learn-renku/plugins/renku-mls-plugin>`_

renku-graph-vis
---------------

`renku-graph-vis <https://github.com/oda-hub/renku-graph-vis/>`_ is a plugin that
provides a graphical representation of the renku repository's knowledge graph.
In particular, the plugin enables an interactive graph visualization feature
for real-time monitoring during a renku session introducing the ability to have
a live overview of the ongoing development. It also provides two CLI commands:

* ``display`` to generate a representation of the graph over a png output image
* ``show-graph`` to start an interactive visualization of the graph over the browser

renku-aqs-annotation
--------------------

`renku-aqs-annotation <https://github.com/oda-hub/renku-aqs-annotation/>`_ is a plugin that
intercepts several key astroquery methods and stores a number of dedicated annotations
containing information about the calls to these methods (like the arguments used in the call)
to the project's Knowledge Graph.

Developing a plugin?
--------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/api.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commands/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
21 changes: 16 additions & 5 deletions docs/reference/core.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down Expand Up @@ -65,6 +65,10 @@ Schema classes used to serialize domain models to JSON-LD.
:members:
:show-inheritance:

.. automodule:: renku.command.schema.image
:members:
:show-inheritance:

.. automodule:: renku.command.schema.parameter
:members:
:show-inheritance:
Expand Down Expand Up @@ -105,10 +109,6 @@ Datasets
:members:
:show-inheritance:

.. automodule:: renku.core.dataset.request_model
:members:
:show-inheritance:

.. automodule:: renku.core.dataset.tag
:members:
:show-inheritance:
Expand Down Expand Up @@ -237,6 +237,17 @@ Errors that can be raised by ``renku.core``.
:members:
:show-inheritance:

Project/Dataset Images
----------------------

.. automodule:: renku.core.image
:members:
:show-inheritance:

.. automodule:: renku.domain_model.image
:members:


Utilities
---------

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/database.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/gateways.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models/dataset_provider.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models/datasets.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models/projects.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models/provenance.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/models/workflow.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/plugins.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/service.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/service_errors.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017-2023 - Swiss Data Science Center (SDSC)
Copyright Swiss Data Science Center (SDSC).
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand Down
Loading

0 comments on commit 2bc9973

Please sign in to comment.