You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEKIT_DATA_DIR names dekit's data directory on every system, in
place of the one under XDG_DATA_HOME or LOCALAPPDATA. On Windows
the runners' records move with it, so a service running as SYSTEM can
keep them where an administrator finds them
std.process.exec(cmd, args, {cwd, env}): run the program in another
directory, and set or (with null) remove environment variables for it
pty: false runs a task on pipes instead of a terminal: its log
holds exactly the bytes it wrote. On Windows a terminal task's log is
ConPTY's redrawn screen, cursor movements and all
user: <name> runs a task as that user on Unix, with its groups and HOME, USER, LOGNAME, SHELL; the runner must run as root
session: user | admin runs a task on the desktop of the user signed
in at a Windows console, with their standard or administrator token;
the runner must run as SYSTEM
Windows: every task runs in a job object, so stopping it also stops
the processes it started
Windows: a runner started by a command whose output is being read
(std.process.exec, a captured dekit up) no longer holds that pipe,
which kept the reader waiting forever
The console now runs in dekit rather than as a task in the
runner; an older runner needs dekit runner upgrade before the
console can show it
The console shows a service as STARTING until its ready check
passes, and a task winding down as STOPPING, instead of UP (#253)
A group's count in the console takes the tasks that are ready:
services up and jobs done, so a group of finished jobs reads 2/2.
A running job shows as RUNNING, a task waiting to restart after a
clean exit as RESTARTING, and a group turns yellow while a task in
it is on its way. A service that exited with 0 shows as DOWN, not DOWN (0) (#257)
The console shows a task killed by a signal as DOWN (signal 9) or FAILED (signal 9), and one that could not run at all as FAILED,
instead of DOWN; either counts as failed in its group
The console shows a started task that waits for its deps to get ready
as WAITING, instead of DOWN, and as BLOCKED when a dep won't get
ready by itself, which counts as failed in its group; dekit ls shows
it as idle (waiting on deps) or idle (blocked by deps). A task's state has wanted: true when it is
started or a started task needs it, and live: true while dekit will
run it without anyone acting (#256)
A task keeps its deps up only while its run goes on: once a job is
done, or a task exits and won't be restarted, its deps stop unless
something else needs them, and a task that needs the done job no
longer waits on them. List a dep on every task that uses it
projects: in the user config lists your projects: roots, and ~/projects/* for every dir in a folder. The console's switch tab (<P>)
shows them, running or not
dekit project list shows what the list comes to
toggle-all-projects, in the console's commands menu, shows the
tasks of every running project, each under a row of its own; again,
it goes back to one project. It has no default key
dekit logs [TARGET...] prints merged task logs with -f, -n, --since, --no-prefix, and --json
A key binding can be several keys typed one after another, written as
in vim: gg, <C-w>v
keymap.global holds bindings for every focus, over the focus's own
keymap.<name> is a table of bindings that open-table opens for
the next binding, from any key; send-opener sends the keys that
opened it, and <opener> binds them. By default <C-a> in keymap.global now opens leader instead of toggling focus directly: <C-a><Tab> toggles the focus, and <C-a><C-a> sends <C-a> to the
task. User configs that previously unbound or rebound <C-a> in tasks, term, or term_copy should unbind or rebind it in keymap.global
scroll-to-bottom, bound to <End>, jumps back to the bottom of the
task screen or copy-mode snapshot
Key bindings work on non-Latin layouts: a key that types no ASCII
character counts as the US key in its place, when the terminal
reports it
Restore the terminal's own cursor style at exit instead of leaving
xterm/rxvt with a blinking block (#254)
Fix the console opening on a collapsed folder instead of the first
row (#255). It opens on the first row, a folder or a task, and leaves
a collapsed folder collapsed
RPC: watch, write_back, and logs methods; reloadplan; the screen-state event, scroll-to-bottom screen command, and cursor_reset in terminal capabilities