Commit Graph

18 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy 9a16557016
repo: remove fs implementation
Closes #34
2022-08-21 12:48:47 +03:00
Dmitriy Pleshevskiy 45672c2964
fixup: insert task without finished at 2022-08-21 00:08:29 +03:00
Dmitriy Pleshevskiy 8bd588070e
bin: add migration of finished fs tasks 2022-08-21 00:01:28 +03:00
Dmitriy Pleshevskiy 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
Dmitriy Pleshevskiy e2ac408c35
db: add migration 2022-08-20 16:47:55 +03:00
Dmitriy Pleshevskiy 6a31732d1b
shell/zsh: add remove cmd
Closes #31
2022-08-20 16:14:17 +03:00
Dmitriy Pleshevskiy 862b3218e5
repo/sqlite: don't update tas info without changes 2022-08-20 15:54:17 +03:00
Dmitriy Pleshevskiy 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
Dmitriy Pleshevskiy 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
Dmitriy Pleshevskiy 66c950f6ab
cli: rename the status subcommand to show
add missed licence headers
2022-08-18 11:37:52 +03:00
Dmitriy Pleshevskiy 238e4b0b03
add path to task
Closes #3
2022-08-16 22:24:21 +03:00
Dmitriy Pleshevskiy 817c704efc
repo/fs: support of update group 2022-08-16 16:47:51 +03:00
Dmitriy Pleshevskiy 519162a8db
add optional group to the task
Closes #17
2022-08-16 16:36:53 +03:00
Dmitriy Pleshevskiy ee8d185071
repo/fs: fixup update task index 2022-08-16 16:16:41 +03:00
Dmitriy Pleshevskiy bcc4e59c12
fixup: dont validate current task data 2022-08-16 13:07:05 +00:00
Dmitriy Pleshevskiy 72a37b4a1d
add move other methods to repo 2022-08-16 15:43:44 +03:00
Dmitriy Pleshevskiy 4dbfe41e84
repo: add update data method 2022-08-05 23:40:26 +03:00
Dmitriy Pleshevskiy 8934f4ceef
repo: add repository trait and base fs impl
Closes #1
2022-08-05 23:11:44 +03:00