Added basic continuous integration tests to run on any push:
On main branch, the python program is built.
On tagged commit, a gitea release is created.
Fixed first detected build pipeline issues:
Fixing mypy library stubs missing for some imported libraries.
Fixed two small typing errors for Repetitions.
The steps run on basic python containers, onto which the ci steps simply
This takes a little more processing time during pipeline running (~16s
but also gives a lot of flexibility in container usage.
Added script which assists in creating an automatic release by
extracting the current version and newest changes from the semantic
This is then used in the gitea release preparation as title and
content of the release message.
The files built in the dist directory by poetry will be attached.
While in nomie, multiple occurences of the same activity can be recorded
in one single event (e.g. you smoked multiple cigarettes and now record
that fact), Loop has no such concept.
Thus, we work around it by fudging the duplicate timestamps ever so
slightly (one millisecond each) and then adding them to the database.
Program can now be invoked through poetry for development purposes,
invoke as follows from main directory: `poetry run move`.
Alternatively, can still be invoked via `python run.py <nomie-json>` and
now via `./run.py <nomie-json>` which uses system default python
installation. For now both commands are only mainly useful from the
poetry development virtual environment itself.