Skip to content

Building a runtime with a dash to a local repo, then building an app using that runtime from the local repo doesn't work #654

@ell1e

Description

@ell1e

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • 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.

  1. Create a manifest for a local runtime and in the id field, put something like org.codeberg.whatever-dash
  2. Build it with flatpak-builder and save it to some local --repo./repo folder
  3. Build an app with flatpak-builder that uses --install-deps-from=./repo --repo=./repo and which uses that runtime as a base.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions