From 78fb01fa775a17fb737aec317a2ef3146d083fdc Mon Sep 17 00:00:00 2001 From: Breadway Date: Thu, 23 Jul 2026 10:52:02 +0800 Subject: [PATCH] Fix bread-theme/bread-utils dependency: path -> git (broke bakery CI) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The path dependency on ../../bread-ecosystem/bread-theme (and bread-utils) assumed a sibling checkout that doesn't exist on the CI runner — this was the actual cause of release.yml never having succeeded, on top of the Tauri build-path issue fixed separately. Switched to a git dependency pinned to branch = "main" rather than a tag, since the functions this migration needs (css_custom_properties/css_tokens) aren't in a tagged bread-theme release yet. Verified with a full local build. --- src/Cargo.lock | 2 ++ src/Cargo.toml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Cargo.lock b/src/Cargo.lock index 74cae45..ed1c9de 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -307,6 +307,7 @@ dependencies = [ [[package]] name = "bread-theme" version = "0.3.1" +source = "git+https://github.com/Breadway/bread-ecosystem?branch=main#afa3686e9acf348bc86d62b64a7b9be16739ac40" dependencies = [ "dirs 5.0.1", "serde", @@ -316,6 +317,7 @@ dependencies = [ [[package]] name = "bread-utils" version = "0.3.1" +source = "git+https://github.com/Breadway/bread-ecosystem?branch=main#afa3686e9acf348bc86d62b64a7b9be16739ac40" dependencies = [ "dirs 5.0.1", "serde", diff --git a/src/Cargo.toml b/src/Cargo.toml index 85c808a..16d19d7 100644 --- a/src/Cargo.toml +++ b/src/Cargo.toml @@ -38,8 +38,9 @@ notify = "7" regex = "1" # TODO(owner): switch to a tag-pinned git dependency once bread-theme cuts a # release including css_custom_properties/css_tokens (added 2026-07-21 for -# this migration, unreleased) — matches the same pending-tag pattern -# bos-settings' old GTK Cargo.toml used for bread-utils. -bread-theme = { path = "../../bread-ecosystem/bread-theme" } -bread-utils = { path = "../../bread-ecosystem/bread-utils", features = ["toml"] } +# this migration) — pinned to branch = "main" for now rather than a path +# dependency (which broke bakery/CI builds — no sibling bread-ecosystem +# checkout exists on the runner) since no tag has these functions yet. +bread-theme = { git = "https://github.com/Breadway/bread-ecosystem", branch = "main" } +bread-utils = { git = "https://github.com/Breadway/bread-ecosystem", branch = "main", features = ["toml"] }