You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* improve RFC 3339 datetime handling
* install build-essential
* sudo, rearrange files
* gapt -> apt
* install build-essential in docker img
* move ciso8601 dep
* fix typing for parse_interval function
* fix import of parse_interval
* more changes for datetimes
* get the types right
* remove unnecessary parens
* remove classmethod
* add some interval tests
* replace rfc3339_str with pystac.utils.datetime_to_str
* fix search datetime parameter parsing to support empty string as open end of interval
* rename methods
* fix accidental method name repacement for parse_rfc3339
* update tests for double open ended temporal interval
* fix handling of empty string open-ended interval
* fix test that was successful with double-open-ended datetime interval to now fail
* replace ciso8601 with python-dateutil
* Revert "replace ciso8601 with python-dateutil"
This reverts commit 9f400f4.
* add pystac dependency to types
* add double-open-ended tests to pgstac tests
* skip mixed open-ended in pgstac
* skip datetime interval empty string in pgstac
* maybe just await the test
* Bump black version to avoid psf/black#2964
* lint
Co-authored-by: Nathan Zimmerman <[email protected]>
Use docker-compose to deploy the application, migrate the database, and ingest some example data:
66
67
```bash
67
68
docker-compose build
@@ -73,11 +74,23 @@ docker-compose up app-sqlalchemy
73
74
docker-compose up app-pgstac
74
75
```
75
76
76
-
For local development it is often more convenient to run the application outside of docker-compose:
77
+
For local development it is often more convenient to run the application outside docker-compose:
77
78
```bash
78
79
make docker-run
79
80
```
80
81
82
+
Before commit, install the [pre-commit](https://pre-commit.com) hooks with:
83
+
84
+
```shell
85
+
pre-commit install
86
+
```
87
+
88
+
The pre-commit hooks can be run manually with:
89
+
90
+
```shell
91
+
pre-commit run --all-files
92
+
```
93
+
81
94
#### Note to Docker for Windows users
82
95
83
96
You'll need to enable experimental features on Docker for Windows in order to run the docker-compose, due to the "--platform" flag that is required to allow the project to run on some Apple architectures. To do this, open Docker Desktop, go to settings, select "Docker Engine", and modify the configuration JSON to have `"experimental": true`.
0 commit comments