From 843629f7bfec3b626bcf6c961319978e2644dc22 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 5 Dec 2025 18:57:05 -0500 Subject: [PATCH] Organize some test JSON better to prevent confusion It was not clear which of thes were JSON for derivation vs JSON for derivation options. --- .../protocols/json/derivation/options.md | 12 +++++----- src/json-schema-checks/meson.build | 12 +++++----- .../ca/{ => derivation-options}/all_set.json | 0 .../structuredAttrs_all_set.json | 0 .../ia/{ => derivation-options}/all_set.json | 0 .../ia/{ => derivation-options}/defaults.json | 0 .../structuredAttrs_all_set.json | 0 .../structuredAttrs_defaults.json | 0 .../derivation-advanced-attrs.cc | 24 +++++++++---------- 9 files changed, 23 insertions(+), 25 deletions(-) rename src/libstore-tests/data/derivation/ca/{ => derivation-options}/all_set.json (100%) rename src/libstore-tests/data/derivation/ca/{ => derivation-options}/structuredAttrs_all_set.json (100%) rename src/libstore-tests/data/derivation/ia/{ => derivation-options}/all_set.json (100%) rename src/libstore-tests/data/derivation/ia/{ => derivation-options}/defaults.json (100%) rename src/libstore-tests/data/derivation/ia/{ => derivation-options}/structuredAttrs_all_set.json (100%) rename src/libstore-tests/data/derivation/ia/{ => derivation-options}/structuredAttrs_defaults.json (100%) diff --git a/doc/manual/source/protocols/json/derivation/options.md b/doc/manual/source/protocols/json/derivation/options.md index 98d166fe9..c40ffe0f3 100644 --- a/doc/manual/source/protocols/json/derivation/options.md +++ b/doc/manual/source/protocols/json/derivation/options.md @@ -7,25 +7,25 @@ #### Default options ```json -{{#include ../schema/derivation-options-v1/ia/defaults.json}} +{{#include ../schema/derivation-options-v1/ia/derivation-options/defaults.json}} ``` #### All options set ```json -{{#include ../schema/derivation-options-v1/ia/all_set.json}} +{{#include ../schema/derivation-options-v1/ia/derivation-options/all_set.json}} ``` #### Default options (structured attributes) ```json -{{#include ../schema/derivation-options-v1/ia/structuredAttrs_defaults.json}} +{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_defaults.json}} ``` #### All options set (structured attributes) ```json -{{#include ../schema/derivation-options-v1/ia/structuredAttrs_all_set.json}} +{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_all_set.json}} ``` ### Content-addressed derivations @@ -33,13 +33,13 @@ #### All options set ```json -{{#include ../schema/derivation-options-v1/ca/all_set.json}} +{{#include ../schema/derivation-options-v1/ca/derivation-options/all_set.json}} ``` #### All options set (structured attributes) ```json -{{#include ../schema/derivation-options-v1/ca/structuredAttrs_all_set.json}} +{{#include ../schema/derivation-options-v1/ca/derivation-options/structuredAttrs_all_set.json}} ```