rpm-ostree module - repo URL with the same name not supported? #24
-
I have the following modules:
- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/varlad/zellij/repo/fedora-%OS_VERSION%/varlad-zellij-fedora-%OS_VERSION%.repo
- https://pkgs.tailscale.com/stable/fedora/tailscale.repo
- https://packages.microsoft.com/config/fedora/40/prod.repo
- https://packages.microsoft.com/yumrepos/edge/config.repo
- https://packages.microsoft.com/yumrepos/vscode/config.repo
- https://downloads.k8slens.dev/rpm/lens.repo
install:
- fish
- zellij
- chromium
- tailscale
- podman-docker
- docker-compose
- microsoft-edge-stable
- code
- lens Two repos have the same name of
It seems like the build doesn't treat that well. In the logs I see:
So, the ms-edge repo gets saved as Later on, I see that vs-code fails to be installed:
It seems that the vs-code repo was not even taken into account while downloading packages, probably due to that file name Is there anything I could do to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There seems to be some automatic name deduplicating mechanism in the module, we might be able to tweak that to preserve the For now, you could download the repo file in a script with wget or curl, setting the output file name to whatever you like. |
Beta Was this translation helpful? Give feedback.
There seems to be some automatic name deduplicating mechanism in the module, we might be able to tweak that to preserve the
.repo
file extension. I'd file this as a module bug / feature req.For now, you could download the repo file in a script with wget or curl, setting the output file name to whatever you like.