Commit graph

12 commits

Author SHA1 Message Date
9a16557016
repo: remove fs implementation
Closes #34
2022-08-21 12:48:47 +03:00
8bd588070e
bin: add migration of finished fs tasks 2022-08-21 00:01:28 +03:00
a8f8e23cf4
repo/sqlite: returns finished tasks
- repo/fs: returns finished tasks
- cli/list: add --finished flag to get finished tasks

Closes #4
2022-08-20 23:38:45 +03:00
e2ac408c35
db: add migration 2022-08-20 16:47:55 +03:00
eb78dad91a
Replace FS with Sqlite (#20)
- [x] Deps: add rusqlite
- [x] Deps: add time
- [x] Add created_at to the domain Task
- [x] Add schema and first migration
- [x] Check current version and run migration
- [x] Implement Repository trait
- [x] Add script to migrate from FS implementation

Closes #5
Closes #19

Reviewed-on: #20
Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
2022-08-20 12:42:20 +00:00
18004c24d0
ux improvements
- rename group to project
- rename path to dir_path
- cli/show: add project to the print part
- cli/show: improve print part error message

Closes #25
2022-08-18 14:10:20 +03:00
66c950f6ab
cli: rename the status subcommand to show
add missed licence headers
2022-08-18 11:37:52 +03:00
238e4b0b03
add path to task
Closes #3
2022-08-16 22:24:21 +03:00
519162a8db
add optional group to the task
Closes #17
2022-08-16 16:36:53 +03:00
72a37b4a1d
add move other methods to repo 2022-08-16 15:43:44 +03:00
4dbfe41e84
repo: add update data method 2022-08-05 23:40:26 +03:00
8934f4ceef
repo: add repository trait and base fs impl
Closes #1
2022-08-05 23:11:44 +03:00