1
0
mirror of synced 2026-06-26 21:50:48 +00:00
Files
flux2/cmd/flux
3uzbcqje 5afd1d8728 cmd: support type!=status in get --status-selector
`flux get --status-selector` only supported equality (`type=status`),
so finding objects that are not in a given state required multiple
invocations, e.g. listing everything that is not ready needed both
`Ready=False` and `Ready=Unknown`.

Add support for a negated selector `type!=status`. Since all resource
adapters delegate matching to the shared `statusMatches` helper and
filtering is centralised in `getRowsToPrint`, negation is implemented
purely in the parse/filter layer by inverting the match result. This
covers every resource type and the `--watch` path without touching the
per-resource adapters.

A missing condition is treated as not-matching by `statusMatches` (Flux
considers it "waiting to be reconciled"), so `Ready!=True` also surfaces
objects that have no Ready condition yet, i.e. the complete not-ready set:

    flux get all -A --status-selector Ready!=True

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: 3uzbcqje <3uzbcqje@addy.to>
2026-06-24 10:53:37 -07:00
..
2026-06-24 16:00:20 +01:00
2024-04-08 17:54:38 +03:00
2024-04-08 17:54:38 +03:00
2025-10-24 14:52:36 -03:00
2025-09-16 11:00:12 +03:00
2025-09-16 12:08:15 +01:00
2025-09-16 12:08:15 +01:00
2024-05-09 17:18:11 +03:00
2025-09-16 11:00:12 +03:00
2023-06-05 10:07:38 +02:00
2024-06-11 23:56:04 +02:00
2023-12-08 19:47:12 +05:30
2026-04-14 00:46:22 +03:00
2026-04-30 08:19:41 +01:00
2025-10-09 08:45:01 -03:00
2025-09-16 12:08:15 +01:00
2023-12-08 19:47:12 +05:30
2022-01-10 16:30:38 +01:00
2026-05-23 01:44:07 +01:00
2023-08-22 12:36:58 +03:00
2022-01-10 16:30:38 +01:00