Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up mcloud branch to v0.4.0 #38

Merged
merged 49 commits into from
Jan 19, 2020
Merged

Up mcloud branch to v0.4.0 #38

merged 49 commits into from
Jan 19, 2020

Conversation

CasperWA
Copy link
Collaborator

No description provided.

CasperWA and others added 30 commits January 14, 2019 22:35
Update to v0.2.0.

Use FastAPI based on `optimade-python-tools`.
Run pre-commit.
Run py.test.

Add Python 3.8 to github actions

Add github install of optimade-python-tools

Introduce codecov and setup AiiDA for CI

Remove python dependency on pre-commit

Fix GitHub Actions CI

Remove ruby dependency from GitHub Actions CI

Add codecov.yml check to pre-commit

Update new codecov.yml pre-commit hook

Instal tmp optimade in parent CI dir

Fix codecov for GitHub Actions CI

Use github.com/codecov/codecov-action
Add special OPTiMaDe spec version badge.
Use shields.io /endpoint to point to repository json (master).
Add version check for shields-json against config.json.
Publish on PyPI when tags are pushed (any branch)
Add flake8 lint job.
Import config.json directly when checking OPTiMaDe version.
Use server.cfg as implemented in tools.
Update codecov.
Run pre-commit.
Run py.test.

Add Python 3.8 to github actions

Add github install of optimade-python-tools

Introduce codecov and setup AiiDA for CI

Remove python dependency on pre-commit

Fix GitHub Actions CI

Remove ruby dependency from GitHub Actions CI

Add codecov.yml check to pre-commit

Update new codecov.yml pre-commit hook

Instal tmp optimade in parent CI dir

Fix codecov for GitHub Actions CI

Use github.com/codecov/codecov-action
Add special OPTiMaDe spec version badge.
Use shields.io /endpoint to point to repository json (master).
Add version check for shields-json against config.json.
Publish on PyPI when tags are pushed (any branch)
Add flake8 lint job.
Import config.json directly when checking OPTiMaDe version.
Use server.cfg as implemented in tools.
Update codecov.
CasperWA and others added 19 commits December 16, 2019 08:28
Use TOP_LEVEL_NON_ATTRIBUTES_FIELDS to define all non-`attributes`
fields in an entry.

Remove irrelevant code from structures mapper.
pydantic's `AnyUrl` does not support a `?` at the end of a URL.
Add `invoke` to requirements and re-implement some tasks from
`optimade-python-tools` to update package version, as well as the
OPTiMaDe version.

Rework files with pylint.
Fix broken build of docker image
+ add docker build to github actions

Reduce default page size
Revert some unrelated changes.

The command added to .docker/run.sh, which tries to retrieve the local
ip address of the docker, does not work in Linux.
Set default page_limit to 15, in order to be below 1 MB in returned
results for structures.

Minor updates to README.md. Most major one is to redirect OPTiMaDe badge
to optimade-python-tools tag (which doesn't exists at this moment).

Update task set-optimade-ver to optimade-req, to be able to set the
requirement on the dependency on `optimade`, i.e., optimade-python-tools
Reset AiiDA backend instead of local session

Instead of hacking AiiDA by creating our own custom local DB session,
use AiiDA's internal functions to reset the backend before every
response.

Avoid loading the backend until needed, i.e., do not instantiate
`AiidaCollection` with `Entity.objects`, since this will load the
backend.

Remove all references to `backend`.

Remove QueryBuilder instance from memory for all invokations of
QueryBuilder.
Remove irrelevant lines and update tests
Move tests out of package.
Up to v0.4.0

Due to rebase and commit for v0.3.0, some commits will be redone.
This cannot be undone without losing pointers to the v0.3.0 published commit.
One should either merge with --ff-only from command line or make a merge commit
and then merge back into `develop` using a merge commit as well.
This update is considered from commit 12d2237.

Updates:
- OPTiMaDe spec v0.10.1.
- optimade-python-tools v0.3.1 (with grammar for v0.10.1).
- Redone HTTP middleware to handle session per request.
- Update to pydantic v1.
- Add implementation information,
  i.e., information about which version of `aiida-optimade` the server is using,
  to all `meta` responses.
- Use server.cfg.
- Fix broken Docker build, and add it to CI (@ltalirz)
@CasperWA CasperWA merged commit 35ffd08 into mcloud Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants