From 7ee95bef8a02c26245f4fc752975632bfdd99c38 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 24 Sep 2026 08:38:10 +0200 Subject: [PATCH 1/3] fix(catalog_specs): rename regex_base_id into regex_title + version bump --- catalog_specs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog_specs.yaml b/catalog_specs.yaml index 090dab4..ad7250e 100644 --- a/catalog_specs.yaml +++ b/catalog_specs.yaml @@ -1,6 +1,6 @@ # STAC CATALOG SPECIFICATIONS -version: v1.0.2 +version: v1.1.0 catalog_properties: name: stac @@ -11,7 +11,7 @@ catalog_properties: - name: alternate-assets version: v1.2.0 regex_id: '^obs4REF(\.[A-Za-z0-9-]+){5}\.v[0-9]{8}$' - regex_base_id: '^obs4REF(\.[A-Za-z0-9-]+){5}$' + regex_title: '^obs4REF(\.[A-Za-z0-9-]+){5}$' dataset_properties: - source_collection: activity_id From 18f0ad9bbb1e7161d00a1352e79ca93b9a8b4baf Mon Sep 17 00:00:00 2001 From: TROUSSELLIER Laurent Date: Mon, 28 Sep 2026 11:20:46 +0200 Subject: [PATCH 2/3] fix(catalog_specs): remove duplicated variable_units property --- catalog_specs.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/catalog_specs.yaml b/catalog_specs.yaml index ad7250e..5faca3c 100644 --- a/catalog_specs.yaml +++ b/catalog_specs.yaml @@ -99,12 +99,6 @@ dataset_properties: catalog_field_value_type: string is_required: true - - source_collection: variable_id - source_collection_key: units - catalog_field_name: variable_units - catalog_field_value_type: string - is_required: true - - source_collection: variant_label catalog_field_value_type: string is_required: true From 7e49f129fa02df526e993bfe8a8644414920a791 Mon Sep 17 00:00:00 2001 From: TROUSSELLIER Laurent Date: Mon, 28 Sep 2026 15:09:38 +0200 Subject: [PATCH 3/3] chore(esgvoc): require esgvoc >= 6.2.0 and test with it catalog_specs now uses regex_title, only readable by esgvoc >= 6.2.0. setup-esgvoc installs the esgvoc required by esgvoc.min_version of the manifest instead of any esgvoc >= 4.0.0. --- .github/actions/setup-esgvoc/action.yml | 15 ++++++++++++++- esgvoc_manifest.yaml | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-esgvoc/action.yml b/.github/actions/setup-esgvoc/action.yml index 26d89b0..cf6e600 100644 --- a/.github/actions/setup-esgvoc/action.yml +++ b/.github/actions/setup-esgvoc/action.yml @@ -18,4 +18,17 @@ runs: - name: Install esgvoc shell: bash - run: uv pip install --system "esgvoc>=4.0.0" ${{ inputs.extra-packages }} + run: | + # Test with an esgvoc able to use the DB built from this CV: esgvoc.min_version of the manifest. + MIN_VERSION=$(python3 - <<'PYEOF' + import re + try: + text = open("esgvoc_manifest.yaml").read() + except FileNotFoundError: + text = "" + match = re.search(r"^esgvoc:[ \t]*\n(?:[ \t]+.*\n)*?[ \t]+min_version:[ \t]*[\"']?([0-9][^\"'\s]*)", text, re.M) + print(match.group(1) if match else "4.0.0") + PYEOF + ) + echo "Installing esgvoc>=${MIN_VERSION} (esgvoc.min_version of esgvoc_manifest.yaml)" + uv pip install --system "esgvoc>=${MIN_VERSION}" ${{ inputs.extra-packages }} diff --git a/esgvoc_manifest.yaml b/esgvoc_manifest.yaml index 3d256eb..892327f 100644 --- a/esgvoc_manifest.yaml +++ b/esgvoc_manifest.yaml @@ -5,6 +5,6 @@ project: cv_version: 1.0.0 universe_version: 1.0.23 esgvoc: - min_version: 4.1.0 + min_version: 6.2.0 release_notes: | Initial manifest.