1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-21 11:19:00 +00:00

[PR #11748/972bed66 backport][stable-12] flatpak: add from_url parameter, deprecate URLs in name (#11814)

flatpak: add from_url parameter, deprecate URLs in name (#11748)

* flatpak: add from_url parameter, deprecate URLs in name

Adds a new `from_url` parameter for installing flatpaks from a
.flatpakref URL, using `flatpak install --from <url>`. The `name`
parameter then carries the reverse DNS application ID, enabling
reliable idempotency checks.

Passing URLs directly in `name` is now deprecated and will be
removed in community.general 14.0.0.

Fixes #4000



* flatpak: add changelog fragment for PR #11748



* flatpak: remove deprecation, adjust docs tone



* flatpak: add integration tests for from_url parameter



---------


(cherry picked from commit 972bed66f4)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
patchback[bot] 2026-04-13 21:30:31 +02:00 committed by GitHub
parent e278490fe7
commit 32c4bbea30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 189 additions and 16 deletions

View file

@ -0,0 +1,4 @@
minor_changes:
- flatpak - add new parameter ``from_url`` to install a flatpak from a ``.flatpakref`` URL
(https://github.com/ansible-collections/community.general/issues/4000,
https://github.com/ansible-collections/community.general/pull/11748).