[BUG] Syncing config breaks my config because of regex in procedure #584

Open
opened 2025-10-31 15:15:51 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lukasgierth on GitHub (Sep 18, 2025).

ERROR: failed to read resources from "/repo-cache/forgejo-prod-1.casa.gierth.nl/lgierth-deployment-templates/main/latest/main.toml"

TRACE:
	1: failed to parse resource file contents
	2: TOML parse error at line 492, column 122
    |
492 |   { execution.type = "BatchDeployStackIfChanged", execution.params.pattern = "\^([^tk]|t[^r]|k[^o]).*\", enabled = true }
    |                                                                                                                          ^
newlines are unsupported in inline tables, expected nothing

Komodo rewrites it like that in double quotes and then it breaks the regex. When i manually change it to use single quotes around the regex and push it to komodo, komodo will break it again the next time i change something different in the UI and commit that...

Happened two times now, maybe we should to default single quotes here?

Edit: Would also be a great feature to filter by tags here! Then i could just tag all that i wanna match 👍

Originally created by @lukasgierth on GitHub (Sep 18, 2025). ``` ERROR: failed to read resources from "/repo-cache/forgejo-prod-1.casa.gierth.nl/lgierth-deployment-templates/main/latest/main.toml" TRACE: 1: failed to parse resource file contents 2: TOML parse error at line 492, column 122 | 492 | { execution.type = "BatchDeployStackIfChanged", execution.params.pattern = "\^([^tk]|t[^r]|k[^o]).*\", enabled = true } | ^ newlines are unsupported in inline tables, expected nothing ``` Komodo rewrites it like that in double quotes and then it breaks the regex. When i manually change it to use single quotes around the regex and push it to komodo, komodo will break it again the next time i change something different in the UI and commit that... Happened two times now, maybe we should to default single quotes here? Edit: Would also be a great feature to filter by tags here! Then i could just tag all that i wanna match 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#584