Add more file and directories to exclude filters
AbandonedPublic

Authored by bruns on Oct 3 2019, 3:18 PM.

Details

Reviewers
ngraham
ognarb
Group Reviewers
Baloo
Test Plan

None for the moment

Diff Detail

Repository
R293 Baloo
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17295
Build 17313: arc lint + arc unit
ognarb created this revision.Oct 3 2019, 3:18 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptOct 3 2019, 3:18 PM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
ognarb requested review of this revision.Oct 3 2019, 3:18 PM
ognarb added a reviewer: Baloo.Oct 3 2019, 3:19 PM
ngraham requested changes to this revision.Oct 3 2019, 3:49 PM
ngraham added a subscriber: ngraham.
ngraham added inline comments.
src/file/fileexcludefilters.cpp
109

Gotta bump this number whenever you change s_defaultFileExcludeFilters

137

This one makes me a little nervous since it's a not-very-uncommon English word, not something implicitly technical that we can be safe excluding.

Is there any other way we could exclude the contents of these folders? Maybe by filename, mimetype, or the naming of sub-folders?

147

Gotta bump this number whenever you change s_defaultFolderExcludeFilters

This revision now requires changes to proceed.Oct 3 2019, 3:49 PM
ognarb added inline comments.Oct 3 2019, 3:52 PM
src/file/fileexcludefilters.cpp
137

This directory contains only pure PHP code, so not possible by filename or minetype. Maybe we could use the fact that a composer.json is always included in the same directory?

ngraham added inline comments.Oct 3 2019, 6:01 PM
src/file/fileexcludefilters.cpp
137

PHP source code files are already supposed to be getting excluded though (search for application/x-php in this file). Are the PHP files in question using a different mime type?

bruns commandeered this revision.Mar 13 2020, 11:35 PM
bruns added a reviewer: ognarb.
bruns added a subscriber: bruns.

open questions unanswered ...

bruns abandoned this revision.Mar 13 2020, 11:36 PM

open questions unanswered, does not look right/useful