After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673066 - hidden directories get indexed
hidden directories get indexed
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-03-29 11:54 UTC by d.schneider
Modified: 2012-11-18 11:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description d.schneider 2012-03-29 11:54:50 UTC
After setting DOTFILE_DIRS the script specified at FILE_VERSION_FILTER gets called also for files in hidden directories. In my case the subversion meta data in ".svn" directory.

Best (at least in my case) would by to skip all hidden directories.

Another possibility is the specify a filter pattern for dot files.
Comment 1 d.schneider 2012-03-29 11:55:04 UTC
The following patch did work for me.

Index: src/doxygen.cpp
===================================================================
--- src/doxygen.cpp	(Revision 808)
+++ src/doxygen.cpp	(Arbeitskopie)
@@ -8990,9 +8990,9 @@
         }
         else if (recursive &&
             (!Config_getBool("EXCLUDE_SYMLINKS") || !cfi->isSymLink()) &&
-            cfi->isDir() && cfi->fileName()!="." && 
+            cfi->isDir() &&
             !patternMatch(*cfi,exclPatList) &&
-            cfi->fileName()!="..")
+            cfi->fileName().at(0)!='.')
         {
           cfi->setFile(cfi->absFilePath());
           totalSize+=readDir(cfi,fnList,fnDict,exclDict,
Comment 2 Dimitri van Heesch 2012-04-09 13:56:18 UTC
Makes sense. I'll include the patch in the next subversion update.
Comment 3 Dimitri van Heesch 2012-05-19 12:26:34 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.