D26415: Ensure to store resource uri without a trailing slash

Méven Car noreply at phabricator.kde.org
Mon Jan 6 10:18:11 GMT 2020


meven added a comment.


  In D26415#588501 <https://phabricator.kde.org/D26415#588501>, @ivan wrote:
  
  > TBH, I'd like more to have dirs always end with a slash, but I guess this is fine as well.
  
  
  The sqlite database is not used direcly by users so we don't need to have a denominator when the path is a directory like an ending /.
  The most important thing is data consolidation : some apps may send url with / while others don't, but anyway for the sake of our users we need to have only one format saved so they don't have to play the guess game or not handle it like most Kicker does currently.
  The first thing all user of KActivityStat does is stating the file resource anyway and they should.
  I will land this soonish.
  
  And btw I am adding a KRunner runner for KActivityStats D26111 <https://phabricator.kde.org/D26111>
  Another steps towards better kactivity data integration.
  Regarding this, I will probably implement some sort of fuzzy search for filename in KActivitiesStats' Terms for this use case.

REPOSITORY
  R6 KActivities

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D26415

To: meven, ivan, #frameworks
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200106/91aa8399/attachment.html>


More information about the Kde-frameworks-devel mailing list