From 5d2f46b2174d3fa483269b2e3b2ba8afd3314c6b Mon Sep 17 00:00:00 2001 From: Alex Casalboni Date: Fri, 21 Feb 2025 11:42:27 +0100 Subject: [PATCH 1/2] rename WIT dependency from protocols to edgee (no code changes) --- wit/deps.lock | 2 +- wit/deps.toml | 2 +- wit/deps/{protocols => edgee}/consent-mapping.wit | 0 wit/deps/{protocols => edgee}/data-collection.wit | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename wit/deps/{protocols => edgee}/consent-mapping.wit (100%) rename wit/deps/{protocols => edgee}/data-collection.wit (100%) diff --git a/wit/deps.lock b/wit/deps.lock index 9a55049..48ee4fb 100644 --- a/wit/deps.lock +++ b/wit/deps.lock @@ -1,4 +1,4 @@ -[protocols] +[edgee] url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz" sha256 = "8b5c8ea97c81d1d6cf4f227e75afb8c4dc5c0a411c3a0401fb7e4f7b745e21ba" sha512 = "16771cd12095409e7c4857a8f5c0b4ad680959e3c35dcd7999e11131bcce05d3b1a1b829daefceabbd853ae5b7f6453e3e359ddfbdebd6e2a94db6c55780368f" diff --git a/wit/deps.toml b/wit/deps.toml index 0a338f0..7f9b78f 100644 --- a/wit/deps.toml +++ b/wit/deps.toml @@ -1 +1 @@ -protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz" +edgee = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz" diff --git a/wit/deps/protocols/consent-mapping.wit b/wit/deps/edgee/consent-mapping.wit similarity index 100% rename from wit/deps/protocols/consent-mapping.wit rename to wit/deps/edgee/consent-mapping.wit diff --git a/wit/deps/protocols/data-collection.wit b/wit/deps/edgee/data-collection.wit similarity index 100% rename from wit/deps/protocols/data-collection.wit rename to wit/deps/edgee/data-collection.wit From 1a09f1ccd1ebf41f67fc2c4f4ad294b477698ee2 Mon Sep 17 00:00:00 2001 From: Alex Casalboni Date: Fri, 21 Feb 2025 11:49:57 +0100 Subject: [PATCH 2/2] use WIT 0.5.0, rename edgee::protocols to edgee::components --- wit/deps.lock | 6 +++--- wit/deps.toml | 2 +- wit/deps/edgee/consent-mapping.wit | 2 +- wit/deps/edgee/data-collection.wit | 2 +- wit/world.wit | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wit/deps.lock b/wit/deps.lock index 48ee4fb..6455ab3 100644 --- a/wit/deps.lock +++ b/wit/deps.lock @@ -1,4 +1,4 @@ [edgee] -url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz" -sha256 = "8b5c8ea97c81d1d6cf4f227e75afb8c4dc5c0a411c3a0401fb7e4f7b745e21ba" -sha512 = "16771cd12095409e7c4857a8f5c0b4ad680959e3c35dcd7999e11131bcce05d3b1a1b829daefceabbd853ae5b7f6453e3e359ddfbdebd6e2a94db6c55780368f" +url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.5.0.tar.gz" +sha256 = "f6e11c5cde39ec04b024b1181f45e896f154f7677ff5a904c99f6af5224dc371" +sha512 = "21b045d0fb82a793a6176f6d9e98dab868563ab7906e3762601e14f06a715e36c965e83e6f5c76cf016af03df48d219b86165a7c18d14284e967d0b837bf99e4" diff --git a/wit/deps.toml b/wit/deps.toml index 7f9b78f..77ea76e 100644 --- a/wit/deps.toml +++ b/wit/deps.toml @@ -1 +1 @@ -edgee = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz" +edgee = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.5.0.tar.gz" diff --git a/wit/deps/edgee/consent-mapping.wit b/wit/deps/edgee/consent-mapping.wit index d6c5bd8..b284aa0 100644 --- a/wit/deps/edgee/consent-mapping.wit +++ b/wit/deps/edgee/consent-mapping.wit @@ -1,4 +1,4 @@ -package edgee:protocols; +package edgee:components; interface consent-mapping { type dict = list>; diff --git a/wit/deps/edgee/data-collection.wit b/wit/deps/edgee/data-collection.wit index a1f8c5d..994c537 100644 --- a/wit/deps/edgee/data-collection.wit +++ b/wit/deps/edgee/data-collection.wit @@ -1,4 +1,4 @@ -package edgee:protocols; +package edgee:components; interface data-collection { type dict = list>; diff --git a/wit/world.wit b/wit/world.wit index 5ced753..d9e1f9f 100644 --- a/wit/world.wit +++ b/wit/world.wit @@ -1,5 +1,5 @@ package edgee:native; world data-collection { - export edgee:protocols/data-collection; + export edgee:components/data-collection; }