3 Commits
Author SHA1 Message Date
Worph f37f455743 SDK v1.7.0: advertises over beacon v2 as metamesh.feeder/<upstream>
Publish image / publish (push) Failing after 13s
2026-10-04 17:35:19 +00:00
Worph 50d58d41e1 rework domain field
Publish image / publish (push) Failing after 13s
2026-09-02 00:03:39 +02:00
Worph b2c94bdec9 align to metadata keys doc 2026-08-30 19:51:44 +02:00
3 changed files with 11 additions and 3 deletions
Generated
+3 -2
View File
@@ -742,8 +742,8 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
name = "meta-feeder-sdk"
version = "0.1.0"
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.1.0#4baf81e2bf87140175b1f51f6be51a84015e361a"
version = "1.7.0"
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.7.0#027917c8cffe7ca43dadcf3b426cc5f69ecc443a"
dependencies = [
"anyhow",
"async-trait",
@@ -752,6 +752,7 @@ dependencies = [
"bytes",
"futures",
"hyper",
"libc",
"redb",
"regex",
"reqwest",
+1 -1
View File
@@ -28,7 +28,7 @@ path = "src/main.rs"
# ("no matching package named `meta-feeder-sdk`"), because a consumer's checkout
# has no such sibling directory either. A path dep here is not a local
# convenience; it is a defect visible to every downstream repo.
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.1.0" }
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.7.0" }
tokio = { version = "1.40", features = ["full"] }
axum = { version = "0.7", features = ["json"] }
@@ -262,6 +262,13 @@ impl Card {
// is a well-formed query and routing needs no special case.
fields.insert("fileType".to_string(), "card".to_string());
fields.insert("contentKind".to_string(), self.kind.content_kind().to_string());
// Third axis (METADATA_KEYS.md §1): MusicBrainz is the identity graph
// that *defines* the music domain, so both card kinds land there.
// Literal rather than via `meta_feeder_sdk::domain` — this feeder pins
// the SDK by git tag. An album and an artist are both closed works, not
// instalments of a run, so the fourth axis is `standalone`.
fields.insert("domain".to_string(), "music".to_string());
fields.insert("workForm".to_string(), "standalone".to_string());
fields.insert("title".to_string(), title.to_string());
// The id bag. Which field carries the card's own MBID depends on what