dbr
8069d1badc
Remove path from ta command in usage text
...
Previously would show things like "target/bin/ta [filter] list"
2021-06-05 11:54:30 +10:00
Dustin J. Mitchell
5f28eb3a74
produce Tag instances in the parser ( #260 )
...
and..
* fix usage-docs plugin
* upgrade mdbook
2021-06-04 09:26:12 -04:00
Dustin J. Mitchell
5a454a5dfd
Merge pull request #250 from taskchampion/issue83
...
Support "wait"
2021-06-03 17:51:57 -04:00
Dustin J. Mitchell
ac6b020b6d
minor updates from review
2021-06-01 09:24:40 -04:00
Dustin J. Mitchell
b18701c3cb
remove many duration strings to simplify
2021-06-01 09:20:14 -04:00
Dustin J. Mitchell
0259a5e2e2
parse durations and timestamps
2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
288f29d9d5
refactor argparse::args into submodules
2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
1aae7e059d
Add wait to reports, for display and sorting
2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
cf078e1233
add 'wait' to the info output
2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
e977fb294c
Implement modifying tasks' "wait" value
2021-05-31 08:49:35 -04:00
Dustin J. Mitchell
d7d703f135
Merge pull request #256 from taskchampion/issue233
...
Summarize tasks nicely in console output
2021-05-31 08:47:17 -04:00
Dustin J. Mitchell
1bd97fd15d
Merge pull request #254 from taskchampion/issue216
...
Define and test an MSRV
2021-05-31 08:39:01 -04:00
Dustin J. Mitchell
ae56313162
Merge pull request #257 from taskchampion/sec-md
...
Create SECURITY.md based on POLICY.md
2021-05-30 22:00:36 -04:00
Dustin J. Mitchell
e81a078506
Create SECURITY.md based on POLICY.md
2021-05-30 21:41:35 -04:00
Dustin J. Mitchell
9e3646bf84
Summarize tasks nicely in console output
2021-05-30 16:36:20 -04:00
Dustin J. Mitchell
d4f669ed6e
Define and test an MSRV
2021-05-30 16:07:41 -04:00
dbr
7c665c9a77
Clippy things
2021-05-28 20:41:03 +10:00
dbr
0f6323e2de
Unused
2021-05-28 20:35:57 +10:00
dbr
3c8c7d4888
Updated Cargo.lock
2021-05-28 12:19:49 +10:00
dbr
aa2340965e
Merge branch 'main' into sqlstore
2021-05-28 12:17:09 +10:00
dbr
baa6b59e39
Remove KvStorage
2021-05-28 12:10:18 +10:00
dbr
98f2ab51cb
Functional sqlite backend
...
..but not too efficient, creating a new connection pretty much per-query
2021-05-28 12:09:36 +10:00
dbr
f91f797244
Implement storage for local server
2021-05-28 11:38:46 +10:00
Dustin J. Mitchell
adfde8be15
Merge pull request #236 from taskchampion/issue140
...
Generate usage documentation
2021-05-26 11:03:49 -04:00
dbr/Ben
1d14737e30
Merge pull request #247 from taskchampion/defaultrun
...
Make 'cargo run' run ta binary
2021-05-25 15:21:21 +10:00
Dustin J. Mitchell
09558f9329
Substitute usage information into the documentation
...
This will simplify keeping documentation in sync with the code.
2021-05-24 08:51:05 -04:00
dbr
b944e27880
Make 'cargo run' run ta binary
2021-05-24 19:44:32 +10:00
Dustin J. Mitchell
e9dc6e987d
Merge pull request #245 from taskchampion/issue138
...
add 'ta config path'
2021-05-23 09:12:44 -04:00
Dustin J. Mitchell
45db886f2a
add 'ta config path'
2021-05-23 09:12:04 -04:00
Dustin J. Mitchell
7f046a8e27
Merge pull request #225 from taskchampion/issue217
...
Support multiple exit codes
2021-05-21 10:26:24 -04:00
Dustin J. Mitchell
ae5511623c
Merge pull request #244 from taskchampion/codeowners
...
Add CODEOWNERS pointing to @dbr and me
2021-05-21 10:26:16 -04:00
Dustin J. Mitchell
9d78654573
Merge pull request #221 from taskchampion/issue177
...
Require a filter be specified for modifications
2021-05-21 10:25:45 -04:00
dbr/Ben
3e4437ab14
Merge pull request #242 from dbr/betterversion
...
Include git HEAD rev in version output
2021-05-21 23:11:02 +10:00
Dustin J. Mitchell
8ba72d19df
Add CODEOWNERS pointing to @dbr and me
2021-05-21 09:07:35 -04:00
dbr
00089639fe
Include git HEAD rev in version output
...
Closes #241
2021-05-21 16:31:25 +10:00
dbr
991b29da6c
WIP
2021-05-21 15:52:07 +10:00
Dustin J. Mitchell
bb7130f960
Support multiple exit codes
...
..with more specific error enums.
2021-05-18 18:57:55 +00:00
Dustin J. Mitchell
0852bfd195
Require a filter be specified for modifications
...
This filter can either be `*` or some "real" filter. But an empty set
of arguments no longer automatically matches all tasks.
2021-05-18 18:57:46 +00:00
Dustin J. Mitchell
2345a57940
fix clippy warning
2021-05-18 18:57:29 +00:00
Dustin J. Mitchell
023e638335
Merge pull request #231 from taskchampion/working_set_rebuild_bug
...
Fix a working set rebuild bug
2021-05-17 21:36:56 -04:00
Dustin J. Mitchell
fd4b35f3fe
Merge pull request #228 from taskchampion/issue164-edit
...
Support editing config file from the command line
2021-05-17 21:35:54 -04:00
Dustin J. Mitchell
47b3148a38
Merge pull request #239 from taskchampion/fix-new-clippy
...
fix new clippy warnings
2021-05-17 21:34:03 -04:00
Dustin J. Mitchell
3bb198425c
Use ta config set
in documentation
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
fd62c8327b
Add a ta config set
subcommand
...
This uses `toml_edit` to edit the config file in-place. For the moment,
it only supports top-level arguments, but can be extended to do other
things later.
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
a778423cbc
store the filename of the loaded config file
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
09efb33073
move Settings to its own module
...
..and add some tests for it
2021-05-16 09:53:40 -04:00
Dustin J. Mitchell
73b6648d06
assert that working-set element 0 is None
2021-05-16 09:42:18 -04:00
Dustin J. Mitchell
5f6918fbc7
Skip element 0 when rebuilding the working set
...
The existing code was correct, assuming that element 0 is always None,
but this is clearer.
2021-05-16 09:42:17 -04:00
Dustin J. Mitchell
fa7623ebe7
Handle setting a working set item to None twice
...
Without this, setting an item to None that did not already exist failed,
because the kv delete operation did not find the referenced key.
This also checks that the index is not 0, which is not allowed as the
working set is 1-indexed.
2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
3a2450cb23
provide context for errors to help debugging
2021-05-16 09:40:35 -04:00