Bug 277619 - SETUP : Exclude folder/subfolder/image from database
Summary: SETUP : Exclude folder/subfolder/image from database
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Database (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-12 12:57 UTC by philippe.quaglia
Modified: 2017-07-25 10:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philippe.quaglia 2011-07-12 12:57:53 UTC
Version:           2.0.0
OS:                Linux

Currently, it is not possible to exclude a folder/subfolder/image from the indexation. It should be usefull to be able to do it (for example, to avoid indexing/displaying a folder with pictures used to create panoramas. Only the panorama are relevant, the other pictures are useless).

Reproducible: Didn't try



Expected Results:  
I would expect an option "remove from database" for pictures, and "remove from album" for folders/subfolders. All the pictures/folders/subfolders must stay on the disk, of course...
Comment 1 caulier.gilles 2011-12-15 09:48:08 UTC
*** Bug 253815 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2014-09-01 07:59:45 UTC

*** This bug has been marked as a duplicate of bug 123097 ***
Comment 3 caulier.gilles 2017-07-25 10:26:28 UTC
Git commit e9bc2261c28fd55cf9f1285f51dbee93f4a3e3c3 by Gilles Caulier.
Committed on 21/02/2017 at 18:53.
Pushed by cgilles into branch 'master'.

Apply patch #104043 from Jan Wolter to ignore some kind of directories at collections
scan and to prevent to bloat database with unwanted/unecessary entries.
FIXED-IN: 5.5.0

M  +3    -1    NEWS
M  +69   -157  libs/database/collection/collectionscanner.cpp
M  +12   -8    libs/database/collection/collectionscanner.h
M  +154  -83   libs/database/coredb/coredb.cpp
M  +12   -4    libs/database/coredb/coredb.h
M  +14   -3    libs/database/coredb/coredbschemaupdater.cpp
M  +5    -3    libs/database/coredb/coredbschemaupdater.h
M  +93   -11   libs/database/utils/dbsettingswidget.cpp
M  +6    -2    libs/database/utils/dbsettingswidget.h
M  +6    -2    utilities/setup/setupdatabase.cpp
M  +2    -2    utilities/setup/setupdatabase.h

https://commits.kde.org/digikam/e9bc2261c28fd55cf9f1285f51dbee93f4a3e3c3