Skip to content

flatpak-builder: Add buildDebugBundle flag#256

Open
electricbrass wants to merge 2 commits into
flatpak:masterfrom
electricbrass:debug-bundle
Open

flatpak-builder: Add buildDebugBundle flag#256
electricbrass wants to merge 2 commits into
flatpak:masterfrom
electricbrass:debug-bundle

Conversation

@electricbrass

Copy link
Copy Markdown
Contributor

Resolves #116
When enabled, uploaded artifacts will contain a bundle for the .Debug extension, with the same name except for '-debug' before the .flatpak file extension

@electricbrass

Copy link
Copy Markdown
Contributor Author

I wasn't sure whether the default should be to build the debug bundle or not. I can change it to whichever is preferred

Comment thread flatpak-builder/action.yml Outdated
Comment thread flatpak-builder/index.js Outdated
Comment thread flatpak-builder/index.js
@bbhtt

bbhtt commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

I'm not sure if the test manifests here include any debug data because all of them are too simple. The one with libhandy seems to be only tested for hash. Might want to check if something is getting exported or not (and add a test if not) once CI passes.

@electricbrass electricbrass marked this pull request as draft June 17, 2026 21:07
@electricbrass electricbrass force-pushed the debug-bundle branch 3 times, most recently from eadd016 to 2eb2270 Compare June 18, 2026 00:42
Resolves flatpak#116
When enabled, uploaded artifacts will contain a bundle for the .Debug
extension, with the same name except for '-debug' before the .flatpak
file extension
The job will fail if the debug bundle is unable to be created or
uploaded.
@electricbrass

Copy link
Copy Markdown
Contributor Author

I'm not sure if the test manifests here include any debug data because all of them are too simple.

The Vala program (the one in flatpak-builder/tests/test-project) creates a debug extension.

@electricbrass electricbrass marked this pull request as ready for review June 18, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a .Debug package?

3 participants