[frameworks-baloo] [Bug 342224] Indexing inside a diretory fails if the directory was created in a blacklisted symlinked place then moved to a symlinked directory

2019-02-15 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=342224

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.56

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

[frameworks-baloo] [Bug 342224] Indexing inside a diretory fails if the directory was created in a blacklisted symlinked place then moved to a symlinked directory

2019-02-15 Thread Igor Poboiko
https://bugs.kde.org/show_bug.cgi?id=342224

Igor Poboiko  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/bal
   ||oo/5e1add922ab2a1d6b4a2131b
   ||846c5a9d964c43a2
 Resolution|--- |FIXED

--- Comment #3 from Igor Poboiko  ---
Git commit 5e1add922ab2a1d6b4a2131b846c5a9d964c43a2 by Igor Poboiko.
Committed on 15/02/2019 at 15:41.
Pushed by poboiko into branch 'master'.

[baloo/KInotify] Notify if folder was moved from unwatched place

Summary:
If a folder was moved from an unwatched place, `KInotify` will receive an
`EventMoveTo` event,
which doesn't have an `EventMoveFrom` counterpart, and thus it will emit only
`created` signal
for the moved directory, but not its contents.
It also won't install watches for the directory (as it does in `EventCreate`).

Instead use FilteredDirIterator to emit created() signal for all the contents
as well, and add inotify watches.

It should also now handle the race condition if a directory was created
and files were moved inside it before an inotify watch for this directory was
installed.

Note that it's not really realted to symbolic links, one just has to move a
folder from excluded place to included.

Test Plan:
Added a test case for `KInotifyTest`, similar to one described in Bug 342224.
It passes now.

Reviewers: #baloo, #frameworks, ngraham, bruns

Reviewed By: #baloo, ngraham, bruns

Subscribers: bruns, ngraham, kde-frameworks-devel, #baloo

Tags: #frameworks, #baloo

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

M  +37   -0autotests/unit/file/kinotifytest.cpp
M  +24   -4src/file/kinotify.cpp
M  +8-0src/file/kinotify.h

https://commits.kde.org/baloo/5e1add922ab2a1d6b4a2131b846c5a9d964c43a2

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

[frameworks-baloo] [Bug 342224] Indexing inside a diretory fails if the directory was created in a blacklisted symlinked place then moved to a symlinked directory

2018-05-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=342224

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
  Component|Baloo File Daemon   |Baloo File Daemon
Product|Baloo   |frameworks-baloo
   Assignee|pinak.ah...@gmail.com   |baloo-bugs-n...@kde.org
Version|5.1.2   |unspecified

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