Skip to content

Ignore all resources in .gitignore when scanning #78

@fabapp2

Description

@fabapp2

What needs to be done

Contents of .gitignore should be ignored when scanning a given application with PathScanner.

Why it needs to be done

Some resources and dirs (like target) are ignored by default, this can be configured by setting sbm.ignoredPathsPatterns. But all ignored resources in .gitignore should also be ignored.

Acceptance Criteria

Given the project to migrate contains a resource some-file.txt
When the .gitgnore contains some-file.txt
Then PathScanner.scan(Path) should not return the ignored resource(s)

It must handle all kinds of ignore patterns from .gitignore.

Additional Information

See sbm.ignoredPathsPatterns in components/sbm-core/src/main/resources/application-core.properties
See PathScanner

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions