Commit Graph

16 Commits

Author SHA1 Message Date
Marty Oehme 03dd1a485d
Add continuous integration pipeline
ci/woodpecker/push/woodpecker Pipeline failed Details
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
install poetry.
This takes a little more processing time during pipeline running (~16s
per step),
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
changelog.
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.
2022-01-19 16:26:37 +01:00
Marty Oehme b0f8c48e99
Prepare pypi release
Added License, repository information and extended README.
Added installation instructions to README.
Added testing instructions to README.
2022-01-05 13:32:59 +01:00
Marty Oehme 031145db01
Make program downward compatible until python 3.7
Add multi-version tests with nox to keep regressions from happening.
2021-12-15 22:34:30 +01:00
Marty Oehme 0b8bddb588
Bump version 2021-12-06 20:45:08 +01:00
Marty Oehme f9044daba1
Check for writable database before starting 2021-12-06 20:40:37 +01:00
Marty Oehme 3da96a3ef8
Add all simultaneous activities to loop
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.
2021-12-06 20:40:37 +01:00
Marty Oehme bea6c0eca5
Fix ability to be run via poetry and cli
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.
2021-10-07 10:17:42 +02:00
Marty Oehme 6af4638845
Remove pandas dependencies from pyproject.timl and poetry.lock. 2021-10-07 10:17:20 +02:00
Marty Oehme 189d1bb8af
Bump version number 2021-08-30 23:40:04 +02:00
Marty Oehme b9c08758f9
Add range tracker conversion 2021-08-30 23:00:28 +02:00
Marty Oehme 595b4e4898
Set range targets to half of nomie max value 2021-08-30 22:59:11 +02:00
Marty Oehme 49fdf47657
Fix crash on duplicate repetition import 2021-08-29 09:47:27 +02:00
Marty Oehme 3c081f745c
Add repetition import 2021-08-28 23:03:12 +02:00
Marty Oehme 1a5004e333
Add range habits 2021-08-28 22:03:45 +02:00
Marty Oehme 21fd1e5aaf
Fix habit import position 2021-08-28 10:59:20 +02:00
Marty Oehme 837d77481f
Add recoloring for negative trackers 2021-08-28 10:54:15 +02:00