Bug 151317 - don't import hidden directories
Summary: don't import hidden directories
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Database (show other bugs)
Version: 0.9.2
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 08:02 UTC by bugs.kde.org
Modified: 2017-07-25 10:30 UTC (History)
1 user (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 bugs.kde.org 2007-10-25 08:02:50 UTC
Version:           0.9.2-final (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages

Ignore files below hidden directories (starting with a '.') when importing folders or checking for new files below previously imported folders etc.  E.g. I'd like to import photos in an svn working copy without also importing the  pristine copies below the .svn directories too.  

Presumably this is also a problem for icons created by other apps.  General purpose filtering pattern options would probably be best.
Comment 1 Arnd Baecker 2007-10-25 08:28:18 UTC
Note that this is also related to 
http://bugs.kde.org/show_bug.cgi?id=123097
http://bugs.kde.org/show_bug.cgi?id=145743
(but not the same ;-).
Comment 2 bugs.kde.org 2007-10-25 09:20:54 UTC
Looks like you're supposed to set the album path to the single location of all your existing photos, as import actually copies files there, rather than adding a path to watch (as in picasa).  Looks like under the album path it ignores hidden directories, so for my purposes it's ok as is.
Comment 3 caulier.gilles 2011-08-12 10:04:47 UTC

*** This bug has been marked as a duplicate of bug 123097 ***
Comment 4 caulier.gilles 2017-07-25 10:29: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