Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-pylib
Commits
c259eb9f
Verified
Commit
c259eb9f
authored
4 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into f-fsm
parents
1ff14940
c53e6f1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
F fsm
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitlab-ci.yml
+8
-7
8 additions, 7 deletions
.gitlab-ci.yml
CHANGELOG.md
+2
-2
2 additions, 2 deletions
CHANGELOG.md
README.md
+29
-7
29 additions, 7 deletions
README.md
README_SETUP.md
+3
-0
3 additions, 0 deletions
README_SETUP.md
unittests/docker/Dockerfile
+1
-1
1 addition, 1 deletion
unittests/docker/Dockerfile
with
43 additions
and
17 deletions
.gitlab-ci.yml
+
8
−
7
View file @
c259eb9f
...
...
@@ -22,7 +22,7 @@
variables
:
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
# improved performance.
...
...
@@ -65,7 +65,7 @@ trigger_build:
stage
:
deploy
script
:
-
/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[PYLIB]=$CI_COMMIT_REF_NAME"
-F "variables[TriggerdBy]=PYLIB"
...
...
@@ -92,15 +92,16 @@ build-testenv:
-
docker push $CI_REGISTRY_IMAGE
# 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
pages
:
stage
:
deploy
only
:
# TODO this should be for master only, once releases are more regularly
-
dev
refs
:
-
/^release-.*$/i
-
master
variables
:
# run pages only on gitlab.com
-
$CI_SERVER_HOST == "gitlab.com"
script
:
-
echo "Deploying"
-
make doc
...
...
This diff is collapsed.
Click to expand it.
CHANGELOG.md
+
2
−
2
View file @
c259eb9f
...
...
@@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ###
*
Entity State support (experimental, no StateModel support yet). See the
`caosdb.State`
class for
more information.
*
Entity State support (experimental, no StateModel support yet). See the
`caosdb.State`
class for
more information.
*
`etag`
property for the
`caosdb.Query`
class. The etag allows to debug the
caching and to decide whether the server has changed between queries.
...
...
This diff is collapsed.
Click to expand it.
README.md
+
29
−
7
View file @
c259eb9f
# Welcome
# README
## Welcome
This is the
**CaosDB Python Client Library**
repository and a part of the
CaosDB project.
# Setup
#
# Setup
Please read the
[
README_SETUP.md
](
README_SETUP.md
)
for instructions on how to
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
project
](
https://gitlab.com/caosdb/caosdb
)
for more information.
### Code of Conduct
# 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
for Dynamics and Self-Organization Göttingen.
...
...
@@ -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
License
](
LICENCE.md
)
(
version
3 or later).
This diff is collapsed.
Click to expand it.
README_SETUP.md
+
3
−
0
View file @
c259eb9f
...
...
@@ -156,3 +156,6 @@ Build documentation in `build/` with `make doc`.
-
`sphinx`
-
`sphinx-autoapi`
-
`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
This diff is collapsed.
Click to expand it.
unittests/docker/Dockerfile
+
1
−
1
View file @
c259eb9f
...
...
@@ -5,6 +5,6 @@ RUN apt-get update && \
curl pycodestyle
\
python3-sphinx
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
.
RUN
pip3
install
recommonmark sphinx-rtd-theme
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment