Capture package metadata before install start

Authored by davidedmundson on Nov 7 2018, 12:20 PM.

Description

Capture package metadata before install start

Summary:
KPackage (despite being supposedly internally shared) is not kept as a
strong reference inside PackageJob. Potentially it could go out of scope
before a job ends.

The signals to emit changes relied on the package. This patch captures
relevant metadata at the start of the install.

noCrashOnAsyncInstall test now passes again

Test Plan: Ran test

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D16733

(cherry picked from commit 451b1785e8d0de9f656235baad1eaf988ebc1d5a)

Details

Committed
l10n daemon script <scripty@kde.org>Nov 7 2018, 1:09 PM
Differential Revision
D16733: Capture package metadata before install start
Parents
R290:20be1dd121c6: GIT_SILENT Commit translations from l10n-kf5
Branches
Unknown
Tags
Unknown
References
tag: v5.52.0-rc2, tag: v5.52.0