Skip to content
Snippets Groups Projects
Verified Commit 87a3104c authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-fsm-v0.2' into f-acm-permissions

parents 7ea8700d 0bbaee5b
No related branches found
No related tags found
1 merge request!3F fsm
Pipeline #6020 passed with warnings
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
variables: variables:
DEPLOY_REF: dev DEPLOY_REF: dev
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/caosdb-pylib/testenv:latest CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-pylib/testenv:latest
# When using dind, it's wise to use the overlayfs driver for # When using dind, it's wise to use the overlayfs driver for
# improved performance. # improved performance.
...@@ -65,7 +65,7 @@ trigger_build: ...@@ -65,7 +65,7 @@ trigger_build:
stage: deploy stage: deploy
script: script:
- /usr/bin/curl -X POST - /usr/bin/curl -X POST
-F token=$DEPLOY_TRIGGER_TOKEN -F token=$CI_JOB_TOKEN
-F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME" -F "variables[F_BRANCH]=$CI_COMMIT_REF_NAME"
-F "variables[PYLIB]=$CI_COMMIT_REF_NAME" -F "variables[PYLIB]=$CI_COMMIT_REF_NAME"
-F "variables[TriggerdBy]=PYLIB" -F "variables[TriggerdBy]=PYLIB"
...@@ -92,15 +92,16 @@ build-testenv: ...@@ -92,15 +92,16 @@ build-testenv:
- docker push $CI_REGISTRY_IMAGE - docker push $CI_REGISTRY_IMAGE
# Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Build the sphinx documentation and make it ready for deployment by Gitlab Pages
# documentation:
# stage: deploy
# Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages
pages: pages:
stage: deploy stage: deploy
only: only:
# TODO this should be for master only, once releases are more regularly refs:
- dev - /^release-.*$/i
- master
variables:
# run pages only on gitlab.com
- $CI_SERVER_HOST == "gitlab.com"
script: script:
- echo "Deploying" - echo "Deploying"
- make doc - make doc
......
...@@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### ### Added ###
* Entity State support (experimental, no StateModel support yet). See the `caosdb.State` class for * Entity State support (experimental, no StateModel support yet). See the
more information. `caosdb.State` class for more information.
* `etag` property for the `caosdb.Query` class. The etag allows to debug the * `etag` property for the `caosdb.Query` class. The etag allows to debug the
caching and to decide whether the server has changed between queries. caching and to decide whether the server has changed between queries.
......
# Welcome
# README
## Welcome
This is the **CaosDB Python Client Library** repository and a part of the This is the **CaosDB Python Client Library** repository and a part of the
CaosDB project. CaosDB project.
# Setup ## Setup
Please read the [README_SETUP.md](README_SETUP.md) for instructions on how to Please read the [README_SETUP.md](README_SETUP.md) for instructions on how to
setup this code. setup this code.
# Further Reading ## Further Reading
Please refer to the [official documentation](https://docs.indiscale.com/caosdb-pylib/) for more information.
## Contributing
Thank you very much to all contributers—[past, present](https://gitlab.com/caosdb/caosdb/-/blob/dev/HUMANS.md), and prospective ones.
Please refer to the [official gitlab repository of the CaosDB ### Code of Conduct
project](https://gitlab.com/caosdb/caosdb) for more information.
# License By participating, you are expected to uphold our [Code of Conduct](https://gitlab.com/caosdb/caosdb/-/blob/dev/CODE_OF_CONDUCT.md).
### How to Contribute
* You found a bug, have a question, or want to request a feature? Please
[create an issue](https://gitlab.com/caosdb/caosdb-pylib/-/issues).
* You want to contribute code? Please fork the repository and create a merge
request in GitLab and choose this repository as target. Make sure to select
"Allow commits from members who can merge the target branch" under Contribution
when creating the merge request. This allows our team to work with you on your request.
- If you have a suggestion for the [documentation](https://docs.indiscale.com/caosdb-pylib/),
the preferred way is also a merge request as describe above (the documentation resides in `src/doc`).
However, you can also create an issue for it.
- You can also contact us at **info (AT) caosdb.de**.
## License
* Copyright (C) 2018 Research Group Biomedical Physics, Max Planck Institute * Copyright (C) 2018 Research Group Biomedical Physics, Max Planck Institute
for Dynamics and Self-Organization Göttingen. for Dynamics and Self-Organization Göttingen.
...@@ -22,4 +45,3 @@ project](https://gitlab.com/caosdb/caosdb) for more information. ...@@ -22,4 +45,3 @@ project](https://gitlab.com/caosdb/caosdb) for more information.
All files in this repository are licensed under a [GNU Affero General Public All files in this repository are licensed under a [GNU Affero General Public
License](LICENCE.md) (version 3 or later). License](LICENCE.md) (version 3 or later).
...@@ -156,3 +156,6 @@ Build documentation in `build/` with `make doc`. ...@@ -156,3 +156,6 @@ Build documentation in `build/` with `make doc`.
- `sphinx` - `sphinx`
- `sphinx-autoapi` - `sphinx-autoapi`
- `recommonmark` - `recommonmark`
### Troubleshooting ##
If the client is to be executed directly from the `/src` folder, an initial `.\setup.py install --user` must be called.
\ No newline at end of file
...@@ -5,6 +5,6 @@ RUN apt-get update && \ ...@@ -5,6 +5,6 @@ RUN apt-get update && \
curl pycodestyle \ curl pycodestyle \
python3-sphinx python3-sphinx
ARG COMMIT="dev" ARG COMMIT="dev"
RUN git clone -b dev https://gitlab.com/caosdb/caosdb-pylib.git && \ RUN git clone -b dev https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git && \
cd caosdb-pylib && git checkout $COMMIT && pip3 install . cd caosdb-pylib && git checkout $COMMIT && pip3 install .
RUN pip3 install recommonmark sphinx-rtd-theme RUN pip3 install recommonmark sphinx-rtd-theme
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment