mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-08 23:02:40 -05:00
[bug] Forward slash converted to dash in the repo path #175
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexlebens on GitHub (Jan 10, 2025).
I attempted to add a stack from my repo and using path "alexlebens/infrastructure", but I receive the following error:
I've tried a few other characters to see if I need to escape the slash, but it appears to work in differently. This is using "alexlebens/infrastructure":
The default configuration appears to do the same thing:
I'm using version 1.16.12 and making these edits through the ui.
Here's my toml:
@mbecker20 commented on GitHub (Jan 10, 2025):
This is the
repo-cache, which is used by Komodo Core only to get the latest commit hashes, messages, and file contents. See https://github.com/mbecker20/komodo/discussions/252#discussioncomment-11784999In the Stack config you give, the repo will be cloned on server
ps08rpto$PERIPHERY_STACK_DIR/traefik-ps08rpIf this isn't happening, and you aren't sure why but are running Periphery in container, please see https://github.com/mbecker20/komodo/discussions/220
@alexlebens commented on GitHub (Jan 10, 2025):
I am running the periphery agent as a systemd process installed as described here.
On my ps08rp server the repo is being cloned, it is located on the /etc/komodo/stacks/traefik-ps08rp directory.
@alexlebens commented on GitHub (Jan 11, 2025):
Alright, I think I misunderstood what was going on and it turns out I has .yml extension instead of .yaml so the compose file wasn't getting pick up.
I guess that that slash becoming a dash is expected behavior? Otherwise I'll close this issue.
@mbecker20 commented on GitHub (Jan 12, 2025):
Got it, yeah I was thinking that because I was dealing with file paths, I wanted to replace all unexpected
/in any names relating to the git repo, which ensures the path is unique, and avoiding any edge cases if I couldn't guarantee unique paths. It happens here:e274d6f7c8/client/core/rs/src/entities/mod.rs (L439)