mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-10-07 22:16:39 +00:00
fix(oci): clarify Rclone dry runs and preserve HedgeDoc description
This commit is contained in:
@@ -402,6 +402,10 @@ class Catalog:
|
||||
overlay_path = self.overlays_dir / f"{item['id']}.json"
|
||||
overlay_ui = json.loads(overlay_path.read_text(encoding="utf-8")).get("catalog_ui", {}) if overlay_path.exists() else {}
|
||||
item["hidden"] = overlay_ui.get("hidden", False)
|
||||
# The index is rebuilt from upstream README summaries; preserve a
|
||||
# locally curated English description from the existing overlay.
|
||||
item["description"] = overlay_ui.get("description", {}).get(
|
||||
"en_US", item.get("description"))
|
||||
path = self.apps_dir / f"{item['id']}.json"
|
||||
if not path.exists():
|
||||
item["architectures"] = supported_architectures(
|
||||
|
||||
@@ -621,8 +621,9 @@ def build_rclone_mount_deployment(
|
||||
) -> dict[str, Any]:
|
||||
ui = ui or TerminalUI()
|
||||
schema = template["proxmox"]["laboratory_contract"]["configuration_schema"]
|
||||
ui.message(translate("The remote must already be created and authorized in the Rclone web UI. This "
|
||||
"operation restarts the CT and publishes two FUSE views on the host."))
|
||||
ui.message(translate("Configure the remote in the Rclone Web UI first. Checking its name may start a "
|
||||
"stopped CT, even in a dry run. Applying the mount restarts the CT and attempts "
|
||||
"to publish two FUSE views on the host; a dry run does not publish them."))
|
||||
vmid = int(ui.ask(translate("VMID of the Rclone OCI container")))
|
||||
remote_name = ui.ask(translate("Exact name of the remote"))
|
||||
if not re.fullmatch(r"[A-Za-z0-9._-]{1,64}", remote_name):
|
||||
|
||||
Reference in New Issue
Block a user