Files
mesh-catalog/modules/xdg/module.json
T
jschoubben ac4ed46359 M1: every manifest says its class; the delivery modules' stores name their caps
A module that claims a seat is core, one that claims none a leaf (141
manifests; the build modules and the registry are the other developer's).
The forge module's, the gate's and the sweep's states each name 8 MiB, and
their findings stream 8 MiB for 7 days.

Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
2026-11-22 01:01:26 +01:00

99 lines
2.6 KiB
JSON

{
"module": "xdg",
"version": "0.1",
"class": "leaf",
"capabilities": [
"package-manager"
],
"tools": [
"xdg_user_dirs",
"xdg_default",
"xdg_open_handlers",
"xdg_autostart",
"xdg_check"
],
"config": {
"desktop-dir": {
"type": "string",
"description": "The desktop folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
},
"publicshare-dir": {
"type": "string",
"description": "The public share folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
},
"videos-dir": {
"type": "string",
"description": "The videos folder, as user-dirs.dirs writes it: \"$HOME/<folder>\", or \"$HOME/\" when the folder is not wanted; it differs between the workstations, so each says its own.",
"trusted": true,
"required": true
}
},
"resources": [
{
"id": "package-xdg-user-dirs",
"type": "package",
"package": "xdg-user-dirs"
},
{
"id": "package-xdg-utils",
"type": "package",
"package": "xdg-utils"
},
{
"id": "user-dirs",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.dirs",
"owner": "${machine:account}",
"mode": "0600",
"template": "files/user-dirs.dirs"
},
{
"id": "user-dirs-locale",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.locale",
"owner": "${machine:account}",
"mode": "0644",
"template": "files/user-dirs.locale"
},
{
"id": "user-dirs-update",
"type": "file",
"path": "${machine:account-home}/.config/user-dirs.conf",
"owner": "${machine:account}",
"mode": "0644",
"template": "files/user-dirs.conf"
},
{
"id": "default-applications",
"type": "file",
"path": "/etc/xdg/mimeapps.list",
"mode": "0644",
"template": "files/mimeapps.list"
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/xdg-tools",
"binary": "xdg-tools",
"loads": [
"xdg-tools"
]
},
{
"name": "files",
"kind": "archive",
"from": "files"
}
]
}
}