Take the catalogue's composition rules into the node-engine
ADR 0593 §7: the composer with its refusals leaves mesh-sdk, so mesh-sdk carries no composition rule. The catalogue functions only the node-engine's composition reaches (Resolve, Resolution's Compose, Declaration, DataItems, LeftOut, Rules and the rest, the settings, placeholder and template refusals, the rendering helpers) are copied with their tests into internal/compose/resolution; a method of a mesh-sdk shape becomes a function taking it first. The composition calls its own copies, and the captured catalogue its tests read lives here now, shared by mesh-compose's tests. Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"module": "i3status-rust",
|
||||
"version": "1",
|
||||
"moved": true,
|
||||
"capabilities": [
|
||||
"package-manager"
|
||||
],
|
||||
"requires": [
|
||||
"x11-display"
|
||||
],
|
||||
"claims": [
|
||||
{
|
||||
"name": "node-bar",
|
||||
"scope": "node"
|
||||
}
|
||||
],
|
||||
"tools": [
|
||||
"i3status_rust_reload",
|
||||
"i3status_rust_blocks",
|
||||
"i3status_rust_block_run",
|
||||
"i3status_rust_themes"
|
||||
],
|
||||
"items": [
|
||||
{
|
||||
"collection": "shell:xinitrc:normal",
|
||||
"name": "xinitrc-normal",
|
||||
"template": "files/xinitrc-normal"
|
||||
},
|
||||
{
|
||||
"collection": "contribution:node-display-session:config",
|
||||
"name": "display-session",
|
||||
"template": "files/i3/60-i3status-rust.conf"
|
||||
}
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"id": "package",
|
||||
"type": "package",
|
||||
"package": "i3status-rust"
|
||||
},
|
||||
{
|
||||
"id": "configuration-dir",
|
||||
"type": "directory",
|
||||
"path": "${machine:account-home}/.config/i3status-rust",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"unknown": "move-out"
|
||||
},
|
||||
{
|
||||
"id": "icons-dir",
|
||||
"type": "directory",
|
||||
"path": "${machine:account-home}/.config/i3status-rust/icons",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"unknown": "move-out"
|
||||
},
|
||||
{
|
||||
"id": "top-bar",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/i3status-rust/top-bar.toml",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/top-bar.toml"
|
||||
},
|
||||
{
|
||||
"id": "bottom-bar",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/i3status-rust/bottom-bar.toml",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/bottom-bar.toml"
|
||||
},
|
||||
{
|
||||
"id": "icons",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.config/i3status-rust/icons/custom-icons.toml",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0644",
|
||||
"template": "files/icons/custom-icons.toml"
|
||||
},
|
||||
{
|
||||
"id": "updates",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/i3status-updates",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/i3status-updates"
|
||||
},
|
||||
{
|
||||
"id": "watchdog",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/i3bar-watchdog",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/i3bar-watchdog"
|
||||
},
|
||||
{
|
||||
"id": "value",
|
||||
"type": "file",
|
||||
"path": "${machine:account-home}/.local/bin/i3status-value",
|
||||
"owner": "${machine:account}",
|
||||
"mode": "0755",
|
||||
"template": "files/bin/i3status-value"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "tools",
|
||||
"kind": "bundle",
|
||||
"language": "go",
|
||||
"system": "arch",
|
||||
"from": "cmd/i3status-rust-tools",
|
||||
"binary": "i3status-rust-tools",
|
||||
"loads": [
|
||||
"i3status-rust-tools"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "files",
|
||||
"kind": "archive",
|
||||
"from": "files"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user