mart created this revision. mart added a reviewer: Plasma. Restricted Application added projects: Plasma, Frameworks. Restricted Application added subscribers: Frameworks, plasma-devel.
REVISION SUMMARY package archives are found in the wild in 2 forms: with the files (including metadata at the root, or with just one folder at the root. in the second case which was supposed to be managed, the procedure was incorrect as QFileInfo::path() will be the name of the folder the file (or subdirectory) is into, not the file name, which we need BUG:374782 TEST PLAN kpackagetool5 -i of a downloaded l&f file works now without explicitly setting the type, the warning about missing metadata is not visible anymore REPOSITORY R290 KPackage BRANCH phab/subdir REVISION DETAIL https://phabricator.kde.org/D4043 AFFECTED FILES src/kpackage/package.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: mart, #plasma Cc: plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, andreaska, sebas