[Differential] [Request, 4 lines] D4043: fix handling of archives with a folder in them

Marco Martin noreply at phabricator.kde.org
Mon Jan 9 14:40:25 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170109/5ab2c5e0/attachment.html>


More information about the Plasma-devel mailing list