Commit graph

98 commits

Author SHA1 Message Date
Arne Beer 6c5ab4d244 Clean up state reset and log handling 2020-05-15 17:55:49 +02:00
Arne Beer 5b1cc6eecd Clippy adjustments 2020-05-14 14:57:59 +02:00
Arne Beer e8f80973a8 Cargo fmt 2020-05-14 14:54:36 +02:00
Arne Beer 35c66bb480 Add -g flag for 'status' 2020-05-14 14:54:28 +02:00
Arne Beer 9436819418 Add -d to 'kill' and improve -a behavior for 'start', 'pause' and 'kill' 2020-05-14 14:45:34 +02:00
Arne Beer 0dc29184ea Rename show to follow and respect read_local_logs 2020-05-13 22:18:36 +02:00
Arne Beer 145e64a917 Docs and formatting 2020-05-13 20:31:40 +02:00
Arne Beer 1a2fbc03d6 Better output for 'status' 2020-05-13 20:06:12 +02:00
Arne Beer a4e09faf6e Start and pause groups 2020-05-13 19:11:17 +02:00
Arne Beer 9118318c85 Catch environment variables for tasks 2020-05-12 20:25:08 +02:00
Arne Beer 209b00d83c Fmt 2020-05-11 19:14:10 +02:00
Arne Beer daf221a74f Clippy fixes 2020-05-11 19:10:05 +02:00
Arne Beer c6f8e68276 Rename groups to group 2020-05-11 10:47:01 +02:00
Arne Beer fa71007404 Command for managing groups 2020-05-11 02:14:02 +02:00
Arne Beer dafa4623ee Code and comment refactoring 2020-05-11 01:30:29 +02:00
Arne Beer 818d95fc15 Basic groups 2020-05-11 00:49:51 +02:00
Arne Beer f19ad9d55d Some proofreading 2020-05-01 22:02:44 +02:00
Arne Beer 9700773bb6 Add option for clients to read logs from disk 2020-05-01 21:39:20 +02:00
Arne Beer bab791bd59 Review adjustments 2020-05-01 16:25:42 +02:00
Arne Beer 78cac824d4 Fix search-replace error 2020-04-30 22:57:20 +02:00
Arne Beer e1e66f9251 Use bincode for transport and snap for in-memory compression 2020-04-30 22:56:06 +02:00
Arne Beer 01eadeb473 Using brotli 2020-04-30 21:09:24 +02:00
Arne Beer 6a6a2f09d8 Process output no longer storeed in memory 2020-04-30 13:56:21 +02:00
Arne Beer 11cd8adc41 Task refactoring 2020-04-27 01:55:15 +02:00
Arne Beer f21992d75c Add dependencies to 'status' and do some refactoring 2020-04-26 15:29:01 +02:00
Arne Beer b9704efb10 Merge remote-tracking branch 'origin' into HEAD 2020-04-24 16:23:49 +02:00
Martin Pool 0d540324d6 Fix some Clippy warnings 2020-04-18 12:46:36 -07:00
MATILLAT Quentin 77bf9b0318
Improve comment / function name 2020-04-15 09:33:51 +01:00
MATILLAT Quentin 33d1d7cc9e
Cascade error for dependent tasks 2020-04-11 18:58:42 +01:00
MATILLAT Quentin 9f41ca8e75
Add a dependencies system 2020-04-10 21:40:11 +01:00
Arne Beer 01832e9d5b Fix pueue log formatting 2020-04-03 16:56:00 +02:00
Arne Beer 49c3e6ff6a Only send needed logs and refactor some code 2020-04-03 16:04:48 +02:00
Arne Beer 774cf61598 Message struct cleanup 2020-04-03 15:11:57 +02:00
Arne Beer d4c1dbdd4d Add better error message for failing client connection 2020-03-31 14:32:31 +02:00
Arne Beer 99f08c9730 Add editing of task's paths 2020-03-28 18:54:40 +01:00
Arne Beer de3239d1fc Add --stashed flag to restart 2020-03-28 01:29:02 +01:00
Arne Beer ed3de4c8c6 Add pause_on_failure flag 2020-03-28 00:38:06 +01:00
Arne Beer b46ff01a94 Fix edit command 2020-03-25 21:58:42 +01:00
Arne Beer be09348efd Fix wrong state restorations after restart 2020-03-25 21:20:26 +01:00
Arne Beer 649aa0438f Move completion file logic to subcommand 2020-03-25 19:15:29 +01:00
Taylor Everding aebb07b107 Run cargo fmt
The one true way to format rust code is `rustfmt`. This runs applies it
to all the code.
2020-03-12 19:11:33 -06:00
Taylor Everding 00415cbf94 Add "Enqueued At" to pueue status
If at least one task is delayed, show a column titled "Enqueue At" with
a timestamp when it will be moved from stashed to queued.
2020-03-12 18:07:13 -06:00
Taylor Everding 3c7bc7c746 Support --delay in add 2020-03-12 18:07:13 -06:00
Taylor Everding 3588af08c5 Support --delay in enqueue 2020-03-12 18:07:13 -06:00
Taylor Everding 99ae892a31 Handle enqueue_at in add messsages
...in preparation for delayed enqueuing.
2020-03-12 18:07:13 -06:00
Taylor Everding 3b5d89546f Add --stash flag to pueue add
If the queue is empty and the user adds a task, the deamon will start it
at its convince. This is faster than most people can type. However, if
the user wants it to be stashed, they missed their opportunity. By
adding a `--stash` flag, the user can specify the task should be created
in the stashed state allowing them to `pueue enqueue` them at a future
time.

Since it does not make sense to specify both `--immediate` and
`--stash`, I marked the options as conflicting.
2020-02-23 14:00:10 -07:00
Taylor Everding 05ca81e668 Correct "commandse" to "commands" 2020-02-23 13:59:27 -07:00
Arne Beer c433030cbe Revert "Remove conflicts_with to fix zsh completion build for now"
This reverts commit 095751e118.
2020-02-07 22:14:35 +01:00
Arne Beer 095751e118 Remove conflicts_with to fix zsh completion build for now 2020-02-07 22:02:16 +01:00
Arne Beer 25c681f105 Better help texts. Fixes #65 2020-02-04 18:24:58 +01:00