https://bugs.kde.org/show_bug.cgi?id=466997

ratijas <m...@ratijas.tk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/flatpak-kcm/-/commit/bce |ma/flatpak-kcm/-/commit/6c0
                   |3fa5baaaa6fe2ca2ce3d24f6571 |616c12632952c66fc0b8100b3ae
                   |bf16062c41                  |40913634b4

--- Comment #4 from ratijas <m...@ratijas.tk> ---
Git commit 6c0616c12632952c66fc0b8100b3ae40913634b4 by ivan tkachenko.
Committed on 12/06/2023 at 12:55.
Pushed by ratijas into branch 'Plasma/5.27'.

FlatpakPermissionModel: Merge defaults from a list of overrides

The model now takes a list of all permissions files (metadata + every
override except the very last one which we operate on), and merges them
one by one into an in-memory KConfig object. The rest is unchanged.

While loading default values, we are not interested in keeping or
processing unknown/unparsable entries in any way, which simplifies code
a bit comparing to loadCurrentValues() method.
(cherry picked from commit bce3fa5baaaa6fe2ca2ce3d24f6571bf16062c41)

A  +16   -0    autotests/fixtures/metadata/com.example.cascade.metadata
A  +12   -0   
autotests/fixtures/overrides.in/com.example.cascade.system-global
A  +16   -0    autotests/fixtures/overrides.in/com.example.cascade.user-app
A  +9    -0    autotests/fixtures/overrides.in/com.example.cascade.user-global
A  +19   -0    autotests/fixtures/overrides.out/com.example.cascade.final
M  +266  -9    autotests/flatpakpermissiontest.cpp
M  +139  -13   flatpakpermission.cpp
M  +13   -0    flatpakpermission.h

https://invent.kde.org/plasma/flatpak-kcm/-/commit/6c0616c12632952c66fc0b8100b3ae40913634b4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to