flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

Add support for source switching

Open loonycyborg opened this issue 3 months ago • 0 comments

Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

As per https://github.com/flatpak/flatpak-builder/issues/13 sometimes same .manifest file needs to support both release build and CI build. However those require entirely different source tag in .manifest while rest of it is exactly same. So projects have to patch the release manifest to point to CI sources which is bad from maintainability standpoint because you'd need to remember to check all dependent patches each time you update the manifest.

So the suggestion is to add some feature to have several alternate source tags for same module and ability to switch between them via command line flag to flatpak-builder. It would eliminate need for patching.

This feature request would probably share a lot of implementation with https://github.com/flatpak/flatpak-builder/issues/3 but is driven by a different use-case.

loonycyborg avatar Sep 19 '25 10:09 loonycyborg