-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/exclude paths in curation (#206)
* First draft. Add excludedPaths property and inject ComponentInfoCurator into UncuratedScancodeComponentInfoProvider * New approach using SingleFileCurationProvider * Fix typo * Add Unit Tests * Add feature description and release note. * Fix NullPointerException * Revert scancode property to default false * Fix typo and add github issue to release note * Use CurationsProvider, Add curationDataSelector, Move exclusion logic from loop, Format code * Add Unit Test * Cleanup and Formatting * minor cleanup * Renamed interfaces/classes in from "Uncurated..." to "Filtered..." to align with changed semantics --------- Co-authored-by: ohecker <[email protected]>
- Loading branch information
Showing
14 changed files
with
255 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...ava/com/devonfw/tools/solicitor/componentinfo/curation/FilteredComponentInfoProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.devonfw.tools.solicitor.componentinfo.curation; | ||
|
||
import com.devonfw.tools.solicitor.componentinfo.ComponentInfo; | ||
import com.devonfw.tools.solicitor.componentinfo.ComponentInfoProvider; | ||
|
||
/** | ||
* A {@link ComponentInfoProvider} which provides filtered {@link ComponentInfo}s. This is {@link ComponentInfo} which | ||
* is not yet fully curated but data is already filtered to remove information which applies to portions of the original | ||
* scanned code which should be disregarded. | ||
* | ||
*/ | ||
public interface FilteredComponentInfoProvider extends ComponentInfoProvider { | ||
|
||
} |
12 changes: 0 additions & 12 deletions
12
...va/com/devonfw/tools/solicitor/componentinfo/curation/UncuratedComponentInfoProvider.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...evonfw/tools/solicitor/componentinfo/doc-files/componentinfo_classes.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.