Commit graph

30 commits

Author SHA1 Message Date
0e31975cb0
Create missing PRAGMA values
Created missing schema_version and user_version values for import.
user_version is especially important here since Loop Habit looks for the
corresponding sql schema migration files and does not find files for
versions under 9.

user_version = 23 or 24 seems correct for Loop Habit Tracker v2.0.3 (or
rather, 2.0.x).

Migration files here:
https://github.com/iSoron/uhabits/tree/dev/uhabits-core/src/jvmMain/resources/migrations

Used by migration helper, with an error message on non-existing version
file here:
https://github.com/iSoron/uhabits/blob/dev/uhabits-core/src/jvmMain/java/org/isoron/uhabits/core/database/MigrationHelper.kt
2021-12-02 12:54:11 +01:00
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
6af4638845
Remove pandas dependencies from pyproject.timl and poetry.lock. 2021-10-07 10:17:20 +02:00
a09f248113
Refactor habit list collection in repetition migration 2021-08-31 18:05:59 +02:00
189d1bb8af
Bump version number 2021-08-30 23:40:04 +02:00
db0121966c
Refactor repetition creation function 2021-08-30 23:38:49 +02:00
b9c08758f9
Add range tracker conversion 2021-08-30 23:00:28 +02:00
595b4e4898
Set range targets to half of nomie max value 2021-08-30 22:59:11 +02:00
82054087f9
Refactor repetitions, Add comments 2021-08-30 10:39:07 +02:00
e050acd288
Extract habit counter from event tags additionally 2021-08-29 11:22:55 +02:00
18cdd34300
Refactor repetition habit list 2021-08-29 11:11:58 +02:00
269a255885
Refactor repetitions migration 2021-08-29 10:13:45 +02:00
49fdf47657
Fix crash on duplicate repetition import 2021-08-29 09:47:27 +02:00
c41a492b07
Rename table module to schema module 2021-08-29 09:46:55 +02:00
3184e5d6fa
Add database merging to README 2021-08-28 23:07:30 +02:00
3c081f745c
Add repetition import 2021-08-28 23:03:12 +02:00
76fcae499a
Remove debug statement 2021-08-28 22:04:09 +02:00
1a5004e333
Add range habits 2021-08-28 22:03:45 +02:00
21fd1e5aaf
Fix habit import position 2021-08-28 10:59:20 +02:00
837d77481f
Add recoloring for negative trackers 2021-08-28 10:54:15 +02:00
8d4c32a652
Add habit duplicate checking 2021-08-28 10:35:29 +02:00
52fa6474ad
Rename loop import modules 2021-08-28 09:54:41 +02:00
7c606436eb
Fix habit creation
Habit creation fully works successfully for the first time with this
setup.
2021-08-27 23:34:19 +02:00
270635a17e
Fix table construction to closely mimic loop 2021-08-27 23:33:52 +02:00
d33c6a232e
Correctly close database at the end 2021-08-27 23:33:21 +02:00
a9ac2f27c2
Add simple habit migration test 2021-08-27 21:27:42 +02:00
7ea2c1cf57
Add gitignore for data and outputs 2021-08-27 10:13:22 +02:00
f5e8861252
Put loop code into own file 2021-08-27 10:11:00 +02:00
c8f6e034a5
Create loop sqlite tables 2021-08-26 23:13:56 +02:00
a213afded4
initial commit 2021-08-26 21:57:49 +02:00