flatpak-builder
flatpak-builder copied to clipboard
Building a runtime with a dash to a local repo, then building an app using that runtime from the local repo doesn't work
Checklist
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.
flatpak-builder version
1.4.4
Flatpak version
1.16.1
How to reproduce
Building a runtime with a runtime id that contains a dash to a local repo folder, then building an app using that runtime from the local repo folder doesn't work. What happens is that the app build will simply complain there is no such runtime, even though it is there.
- Create a manifest for a local runtime and in the
idfield, put something likeorg.codeberg.whatever-dash - Build it with
flatpak-builderand save it to some local--repo./repofolder - Build an app with
flatpak-builderthat uses--install-deps-from=./repo --repo=./repoand which uses that runtime as a base. - The app will not build, complaining the runtime wasn't found.
Expected Behavior
Dashes work since some domain names or repo names may have dashes.
Actual Behavior
The app will not build, complaining the runtime wasn't found, at least that is what happened to me. However, when I rename the runtime id to no longer have a dash, it works.
Additional Information
No response