diff --git a/.gitignore b/.gitignore index 3e9ee87..bbb4d80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,11 @@ # OGN stuff -ogn.db -beacons.db +*.db +*.log -# Byte-compiled / optimized / DLL files +# Python __pycache__/ *.py[cod] -# C extensions -*.so - # Distribution / packaging bin/ build/ @@ -24,32 +21,12 @@ var/ .installed.cfg *.egg -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - # Unit test / coverage reports -.tox/ .coverage .cache nosetests.xml coverage.xml -# Translations -*.mo - -# Mr Developer -.mr.developer.cfg -.project -.pydevproject - -# Rope -.ropeproject - -# Django stuff: -*.log -*.pot - # Sphinx documentation docs/_build/ @@ -58,4 +35,7 @@ docs/_build/ *.swo # Python virtualenv -env +env/ + +# Celery beat +celerybeat-schedule diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5e2011c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# CHANGELOG + +## 0.2 +- Changed database schema. +- Changed aprs app name to 'ogn-gateway-python'. +- Moved repository to github-organisation glidernet. +- Added exception handling to the packet parser. +- Added some tests for ogn.gateway.client. +- Added setup.py to build this package. +- Added configuration via python modules. +- Added scheduled tasks with celery. +- Renamed command line option `db.updateddb` to `db.import_ddb`. +- Added command line options `db.drop`, `db.import_file`, `db.upgrade`, + `logbook.compute` and `show.devices.stats`. + +## 0.1 +Initial version. diff --git a/README.md b/README.md index 9b0bbb2..b45e2c9 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ A python module for the [Open Glider Network](http://wiki.glidernet.org/). The submodule 'ogn.gateway' is an aprs client which could be invoked via a CLI or used by other python projects. -The CLI allows to save all received beacons into a -[sqlite](https://www.sqlite.org/)-database with [SQLAlchemy](http://www.sqlalchemy.org/). +The CLI allows to save all received beacons into a database with [SQLAlchemy](http://www.sqlalchemy.org/). +The [sqlite](https://www.sqlite.org/)-backend is sufficient for simple testing, +but some tasks (e.g. logbook generation) require a proper backend like [postgresql](http://www.postgresql.org/). An external python project would instantiate ogn.gateway and register a custom callback, called each time a beacon is received.