Skip to content

Conversation

@bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Sep 26, 2025

A locale or debug extension group may already be written by builder_extension_add_finish_args() if the user specified them via add-extensions or similar manifest properties. In this case, we should not attempt to write our automatic extension groups again. These extensions should either be user supplied or the user should let flatpak-builder handle them, not both at the same time.

Fixes one issue in #618

A locale or debug extension group may already be written by
`builder_extension_add_finish_args()` if the user specified them via
`add-extensions` or similar manifest properties. In this case, we should
not attempt to write our automatic extension groups again. These
extensions should either be user supplied or the user should let
flatpak-builder handle them, not both at the same time.

Fixes one issue in #618
@bbhtt
Copy link
Contributor Author

bbhtt commented Sep 26, 2025

Maybe it'd be a side quest to port the writing here to use g_key_file_* instead of manually writing.

@bbhtt bbhtt added this to the 1.5.0 milestone Oct 4, 2025
@bbhtt bbhtt merged commit 7e8f8fc into main Oct 20, 2025
7 checks passed
@bbhtt bbhtt deleted the bbhtt/prevent-dupe-keyfile-groups branch October 20, 2025 15:45
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.

3 participants