Niko1221
fec06e9f78
setup: --output jsonl, machine-readable progress for a program that installs a model ( #4941 )
...
An app that installs a model for its user with `setup.py --yes --no-start`
had only setup's human text to follow. With --output jsonl setup writes one
JSON object per line to stdout (schema_version 1): step, ok, warning,
progress (label, done_bytes, total_bytes; at most once a second per file and
once at the end), error (message, hint, exit_code; kind no_space with path,
free_bytes, needed_bytes for the disk refusal, refused, interrupted) and last
done (exit_code, run_config: the strata-<model>.json it wrote). Exit codes
are unchanged; without the option nothing changes.
stdout's file descriptor is kept for the JSON and stdout itself is pointed at
stderr, so every human line and every program setup runs (pip, the fetch
helpers, the packer) writes there and no other byte reaches the JSON stream.
docs/DETAILS.md "Installing a model from another program" has the table.
Tests: tools/test_setup_jsonl.py (every stdout line parses, also after a
child program writes raw bytes with no newline and a partial human line; the
error event's fields and exit code; nothing changes without the option; done
names the run config); tools/test_setup_*.py and tests/tuning on p1006.
2026-11-16 17:25:59 +01:00
..
2026-11-09 04:09:03 +01:00
2026-11-14 20:01:14 +01:00
2026-11-11 07:46:49 +01:00
2026-11-07 16:28:41 +01:00
2026-11-06 17:31:44 +01:00
2026-11-07 16:28:41 +01:00
2026-11-07 17:22:06 +01:00
2026-11-14 07:06:08 +01:00
2026-10-26 20:23:06 +01:00
2026-10-13 04:36:04 +02:00
2026-11-09 04:00:35 +01:00
2026-10-07 20:42:39 +02:00
2026-10-09 15:23:32 +02:00
2026-10-14 07:00:09 +02:00
2026-10-30 11:08:53 +01:00
2026-10-07 04:07:42 +02:00
2026-11-07 23:37:51 +01:00
2026-10-19 21:23:19 +02:00
2026-11-10 17:45:53 +01:00
2026-11-09 04:09:03 +01:00
2026-11-16 02:23:03 +01:00
2026-11-07 23:37:51 +01:00
2026-11-11 11:47:48 +01:00
2026-11-13 21:19:34 +01:00
2026-11-06 00:51:10 +01:00
2026-11-07 23:37:51 +01:00
2026-11-02 01:12:02 +01:00
2026-11-16 00:02:28 +01:00
2026-11-09 22:04:32 +01:00
2026-10-11 07:58:34 +02:00
2026-11-10 01:18:48 +01:00
2026-09-30 17:52:12 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-10-03 19:29:26 +02:00
2026-11-14 07:31:03 +01:00
2026-11-02 11:46:16 +01:00
2026-10-27 17:12:36 +01:00
2026-11-08 08:46:50 +01:00
2026-10-03 18:19:49 +02:00
2026-10-03 08:04:53 +02:00
2026-11-09 04:09:03 +01:00
2026-11-15 22:26:13 +01:00
2026-11-10 09:33:27 +01:00
2026-11-09 04:00:35 +01:00
2026-10-31 09:51:11 +01:00
2026-10-22 15:43:12 +02:00
2026-11-07 23:37:51 +01:00
2026-11-09 04:09:03 +01:00
2026-11-09 04:09:03 +01:00
2026-10-09 15:21:30 +02:00
2026-10-11 07:58:34 +02:00
2026-10-05 19:57:36 +02:00
2026-10-19 16:23:26 +02:00
2026-10-19 16:23:26 +02:00
2026-10-15 10:23:23 +02:00
2026-11-15 11:25:51 +01:00
2026-11-09 04:09:03 +01:00
2026-11-09 04:09:03 +01:00
2026-11-08 23:15:53 +01:00
2026-11-09 04:09:03 +01:00
2026-11-09 04:09:03 +01:00
2026-11-09 04:09:03 +01:00
2026-11-07 16:28:41 +01:00
2026-10-30 11:08:53 +01:00
2026-11-07 16:28:41 +01:00
2026-10-30 11:08:53 +01:00
2026-10-03 18:14:59 +02:00
2026-10-14 11:58:16 +02:00
2026-10-01 10:31:23 +02:00
2026-10-19 16:35:51 +02:00
2026-10-19 16:35:51 +02:00
2026-11-08 15:44:25 +01:00
2026-11-09 04:09:03 +01:00
2026-10-14 07:08:58 +02:00
2026-11-04 10:38:09 +01:00
2026-11-01 01:54:24 +01:00
2026-10-18 22:22:31 +02:00
2026-11-08 13:36:58 +01:00
2026-11-16 02:23:03 +01:00
2026-10-09 21:09:03 +02:00
2026-10-07 00:01:12 +02:00
2026-10-07 21:07:59 +02:00
2026-11-07 16:28:41 +01:00
2026-10-06 14:58:47 +02:00
2026-11-07 16:28:41 +01:00
2026-11-07 16:28:41 +01:00
2026-11-09 04:00:35 +01:00
2026-11-09 04:09:03 +01:00
2026-10-20 14:07:31 +02:00
2026-11-16 10:57:32 +01:00
2026-11-07 16:28:41 +01:00
2026-11-09 04:00:35 +01:00
2026-11-09 04:00:35 +01:00
2026-11-06 19:19:52 +01:00
2026-11-05 05:24:48 +01:00
2026-10-07 04:07:42 +02:00
2026-10-14 06:52:37 +02:00
2026-11-07 23:37:51 +01:00
2026-11-14 20:01:14 +01:00
2026-11-10 17:45:53 +01:00
2026-11-16 02:23:03 +01:00
2026-11-13 17:32:24 +01:00
2026-10-20 13:59:25 +02:00
2026-11-07 23:37:51 +01:00
2026-11-02 01:12:02 +01:00
2026-11-16 00:02:28 +01:00
2026-10-26 18:38:42 +01:00
2026-10-26 18:38:42 +01:00
2026-10-26 18:38:42 +01:00
2026-10-26 18:38:42 +01:00
2026-10-26 18:38:42 +01:00
2026-10-26 18:38:42 +01:00
2026-10-03 19:29:26 +02:00
2026-10-19 23:38:49 +02:00
2026-10-31 23:33:22 +01:00
2026-11-02 13:37:26 +01:00
2026-11-15 22:20:04 +01:00
2026-10-07 17:34:36 +02:00
2026-11-16 16:52:37 +01:00
2026-10-03 18:19:49 +02:00
2026-10-10 11:11:20 +02:00
2026-11-14 00:24:14 +01:00
2026-11-09 04:09:03 +01:00
2026-11-10 09:33:27 +01:00
2026-11-02 06:47:11 +01:00
2026-11-11 11:31:51 +01:00
2026-11-08 23:15:53 +01:00
2026-10-26 18:55:57 +01:00
2026-10-27 01:57:57 +01:00
2026-11-09 04:09:03 +01:00
2026-10-30 19:45:23 +01:00
2026-10-11 08:25:30 +02:00
2026-10-03 18:14:52 +02:00
2026-11-10 19:44:31 +01:00
2026-11-08 19:23:20 +01:00
2026-11-14 00:34:29 +01:00
2026-10-26 18:56:54 +01:00
2026-10-30 11:08:53 +01:00
2026-10-19 20:59:29 +02:00
2026-11-11 06:08:02 +01:00
2026-10-18 13:18:38 +02:00
2026-11-11 07:46:48 +01:00
2026-11-11 06:13:15 +01:00
2026-11-11 06:19:11 +01:00
2026-11-11 06:05:39 +01:00
2026-11-15 22:19:53 +01:00
2026-11-04 10:38:09 +01:00
2026-11-15 22:54:35 +01:00
2026-11-10 20:16:02 +01:00
2026-11-16 02:23:03 +01:00
2026-10-07 00:01:12 +02:00
2026-11-11 07:46:49 +01:00
2026-11-11 05:26:49 +01:00
2026-11-10 16:02:24 +01:00
2026-11-10 19:11:11 +01:00
2026-11-07 13:09:12 +01:00
2026-10-26 18:23:22 +01:00
2026-11-10 17:39:28 +01:00
2026-10-30 19:18:01 +01:00
2026-10-26 18:28:23 +01:00
2026-10-31 03:10:24 +01:00
2026-11-11 11:37:48 +01:00
2026-10-26 18:20:42 +01:00
2026-10-08 02:31:56 +02:00
2026-10-20 00:11:11 +02:00
2026-10-05 15:58:35 +02:00
2026-11-14 02:09:54 +01:00
2026-10-13 00:49:11 +02:00
2026-11-04 17:35:55 +01:00
2026-11-15 11:25:51 +01:00
2026-10-26 18:48:49 +01:00
2026-11-11 00:15:00 +01:00
2026-11-12 23:26:18 +01:00
2026-11-10 19:44:31 +01:00
2026-10-07 20:46:11 +02:00
2026-10-21 00:21:24 +02:00
2026-11-11 11:37:48 +01:00
2026-10-24 13:28:02 +02:00
2026-10-31 12:52:12 +01:00
2026-11-07 22:03:28 +01:00
2026-11-10 13:17:10 +01:00
2026-10-20 19:48:20 +02:00
2026-11-08 20:52:43 +01:00
2026-10-21 00:21:24 +02:00
2026-10-19 23:25:46 +02:00
2026-11-16 17:25:59 +01:00
2026-11-14 05:06:33 +01:00
2026-10-19 19:56:01 +02:00
2026-11-16 10:48:58 +01:00
2026-11-16 15:04:12 +01:00
2026-11-07 18:45:38 +01:00
2026-11-10 19:44:31 +01:00
2026-11-11 10:21:31 +01:00
2026-10-19 07:23:44 +02:00
2026-10-03 23:35:52 +02:00
2026-10-28 23:53:00 +01:00
2026-10-24 16:43:46 +02:00
2026-10-09 15:16:03 +02:00
2026-11-16 14:30:22 +01:00
2026-10-06 15:57:38 +02:00
2026-11-10 19:44:31 +01:00
2026-11-10 01:49:32 +01:00
2026-10-01 20:46:19 +02:00
2026-11-15 22:42:11 +01:00
2026-10-17 20:16:02 +02:00
2026-10-14 01:16:56 +02:00
2026-11-02 10:45:03 +01:00
2026-10-07 03:57:38 +02:00
2026-11-10 19:44:31 +01:00
2026-10-26 18:47:46 +01:00
2026-11-08 20:59:37 +01:00
2026-10-31 09:51:11 +01:00
2026-10-13 13:51:01 +02:00
2026-11-16 11:36:44 +01:00
2026-10-24 13:35:43 +02:00
2026-10-09 03:15:12 +02:00
2026-11-10 19:44:31 +01:00
2026-10-22 19:39:27 +02:00
2026-11-01 09:51:26 +01:00
2026-11-08 20:52:43 +01:00
2026-11-10 20:16:02 +01:00
2026-10-09 03:15:12 +02:00
2026-10-24 13:08:46 +02:00
2026-10-07 03:02:55 +02:00
2026-10-13 00:26:51 +02:00
2026-11-07 13:54:23 +01:00
2026-11-09 04:09:03 +01:00
2026-10-13 02:06:01 +02:00
2026-11-10 01:49:32 +01:00
2026-11-16 10:57:32 +01:00
2026-11-06 17:21:51 +01:00
2026-10-20 00:47:08 +02:00
2026-11-15 22:19:53 +01:00
2026-10-09 03:04:21 +02:00
2026-11-15 04:58:22 +01:00
2026-10-20 00:11:11 +02:00
2026-11-11 07:57:16 +01:00
2026-11-11 16:46:33 +01:00
2026-10-13 04:12:24 +02:00
2026-10-20 19:59:48 +02:00
2026-11-05 07:23:41 +01:00
2026-10-26 20:22:05 +01:00