Max Rossmannek
09e2cb46d6
Simplify task construction
2020-11-30 01:01:26 -05:00
Max Rossmannek
44bcd58051
Fix Undo command
...
The Undo command broke in 48dff11
when the `onModify` hook got added to
its execution in order to fix #2213 . The reason for it begin broke is
that a Task object is created in an unsafe manner because the `prior`
task may be empty.
Catching this case fixes the bug.
2020-11-30 01:01:26 -05:00
Leo
643166a337
Uncoditionally include errno.h instead of guessing
...
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
(cherry picked from commit 041248e7cc
)
2020-11-30 00:53:20 -05:00
John Nguyen
4c714e10a3
Fix typo in man page
...
The example for _unique has typo, should be using attribute for project.
Fixes #2277
(cherry picked from commit cf45f28cc0
)
2020-11-30 00:53:20 -05:00
Max Rossmannek
50cfd92ad5
Fix Arch docker image
2020-11-30 00:51:54 -05:00
Max Rossmannek
596d681be7
Fix faketime packages
2020-11-30 00:51:54 -05:00
Max Rossmannek
07a27cbd3b
Replace libfaketime with faketime in debianstable
...
I verified locally that this avoids skipping all of the
faketime-dependent unittests. The Travis CI logs will have to be
investigated for all of the other docker images on which distros we may
need to apply a similar fix.
2020-11-30 00:51:54 -05:00
Max Rossmannek
61a78d0a6f
Attempt greedy docker config update
...
This is an attempt at updating all docker configurations by simply
replacing the `python` packages with `python3`. The Travis CI will let
us know if this works.
2020-11-30 00:51:54 -05:00
Max Rossmannek
8b91cd97a8
Enforce Python 3 in test_hooks/wrapper
...
This change was not included in the previous commit because the sed
command I used included the `/usr/bin/env` path to ensure I don't
replace any occurences of the word `python` which I did not wish to
replace.
2020-11-30 00:51:54 -05:00
Max Rossmannek
f35989be0e
Enforce Python 3 for unittests
...
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]
For reference:
s;/usr/bin/env python;/usr/bin/env python3;g
[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Dustin J. Mitchell
8f5e299077
Merge remote-tracking branch 'upstream/main' into main
2020-11-29 21:27:35 -05:00
Dustin J. Mitchell
de03209285
bits of docs
2020-11-29 21:26:39 -05:00
Dustin J. Mitchell
0d5635f092
Update RELEASING.md
2020-11-29 21:10:49 -05:00
Dustin J. Mitchell
8601c0cb67
update Cargo.lock
2020-11-29 21:09:28 -05:00
Dustin J. Mitchell
a1747546d6
Update RELEASING.md
2020-11-29 21:09:22 -05:00
Dustin J. Mitchell
e6abfc5f56
more RELEASING stuff
2020-11-29 20:59:52 -05:00
Dustin J. Mitchell
451690afb7
v0.2.0
2020-11-29 20:59:09 -05:00
Dustin J. Mitchell
17a13e0de9
Merge pull request #78 from djmitche/issue49
...
Add release stuff
2020-11-29 20:49:18 -05:00
Dustin J. Mitchell
0e2e60372d
release process
2020-11-29 20:42:10 -05:00
Dustin J. Mitchell
95ada3d2bb
Add metadata for the taskchampion crate
2020-11-29 20:35:25 -05:00
Dustin J. Mitchell
81cee8d375
use CARGO_PKG_VERSION for version
2020-11-29 20:35:25 -05:00
Dustin J. Mitchell
dd01c985ec
fix typo
2020-11-29 20:34:59 -05:00
Dustin J. Mitchell
8f361c28b7
remove unnecessary warning suppression
2020-11-29 20:34:43 -05:00
Dustin J. Mitchell
89a0071136
Merge pull request #77 from djmitche/issue49
...
Add a getting-started section
2020-11-29 20:24:47 -05:00
Dustin J. Mitchell
08faac957a
Add a getting-started section
2020-11-29 20:14:06 -05:00
Dustin J. Mitchell
33283658d5
Merge pull request #75 from djmitche/issue54
...
use log and env_logger, and add some logging around sync
2020-11-29 18:34:01 -05:00
Dustin J. Mitchell
0a1ee470f7
use log and env_logger, and add some logging around sync
2020-11-29 18:18:28 -05:00
Dustin J. Mitchell
c117494ce6
Merge pull request #74 from djmitche/issue66
...
Implement actual on-disk storage for sync-server.
2020-11-29 17:47:11 -05:00
Dustin J. Mitchell
8b233de46e
Merge pull request #73 from djmitche/issue72
...
Add done and delete subcommands
2020-11-29 17:42:02 -05:00
Dustin J. Mitchell
786d5b6a17
Implement actual on-disk storage for sync-server.
2020-11-29 17:41:28 -05:00
Dustin J. Mitchell
1b7dbd0715
remove delete_task from the Replica API so it's not misused
2020-11-29 14:26:47 -05:00
Dustin J. Mitchell
af7363f3aa
add delete subcommand
2020-11-29 14:07:16 -05:00
Dustin J. Mitchell
29ab993397
add done
2020-11-29 14:07:16 -05:00
Dustin J. Mitchell
42d988d601
fix clippy warnings
2020-11-29 14:05:51 -05:00
Dustin J. Mitchell
d832b0b859
fix merge error
2020-11-29 11:18:29 -05:00
Dustin J. Mitchell
47cd051bd7
Merge pull request #71 from djmitche/issue7
...
Add start and stop commands
2020-11-28 23:19:21 -05:00
Dustin J. Mitchell
0e4ab4b88f
Add start and stop commands
2020-11-28 23:12:37 -05:00
Dustin J. Mitchell
7a2857e814
Merge pull request #70 from djmitche/issue9
...
Support configuration of the cli
2020-11-28 22:02:07 -05:00
Dustin J. Mitchell
6d08eacd98
limit config file usage to just yaml
2020-11-28 19:43:30 -05:00
Dustin J. Mitchell
0e926df578
Add configuration-file support to the 'task' command
2020-11-28 18:18:43 -05:00
Dustin J. Mitchell
8af7ba286d
Factor replica and sync configuration into simple owned structs
2020-11-28 16:57:32 -05:00
Dustin J. Mitchell
87596bb1f0
update Cargo.lock to latest
2020-11-28 15:14:49 -05:00
Dustin J. Mitchell
091f5b5b17
use semver ranges for dependencies
2020-11-28 15:13:30 -05:00
Dustin J. Mitchell
3c976a324e
Create dependabot.yml
2020-11-28 11:31:12 -05:00
Dustin J. Mitchell
383f77b5c6
Merge pull request #69 from djmitche/issue6
...
add 'task modify' (that can only modify description right now)
2020-11-28 11:26:02 -05:00
Dustin J. Mitchell
a665ff83de
add 'task modify' (that can only modify description right now)
2020-11-28 11:17:38 -05:00
Dustin J. Mitchell
b34ef34b2a
Merge pull request #67 from djmitche/issue58
...
take configuration in env vars temporarily
2020-11-28 10:16:56 -05:00
Dustin J. Mitchell
1a92613ddc
take configuration in env vars temporarily
2020-11-28 10:02:17 -05:00
Dustin J. Mitchell
97a8a87c24
Merge pull request #64 from djmitche/issue57
...
Add RemoteServer to the taskchampion crate
2020-11-27 20:23:39 -05:00
Dustin J. Mitchell
a02f864b87
Merge pull request #65 from djmitche/issue63
...
do not require taskchampion from sync-server
2020-11-27 20:15:25 -05:00