Skip to content

Automatically exclude .gitignore content by adopting OmniParser #909

@aheritier

Description

@aheritier

What problem are you trying to solve?

Our project use Git as SCM (classical) and has a .gitignore file to exclude some files and folders which shouldn't be store in the SCM (often large folders like node_modules etc). OpenRewrite proposes a manual option to exclude some folders from the update. By default, or at least optionally it should allow to follow the .gitignore content because it is 99.99999% sure that you never want to update them (whatever are the update rules in the recipes).

Describe the solution you'd like

Either by default and in any case with an option to turn on or off the feature to respect the .gitignore content

Have you considered any alternatives or workarounds?

For now I manually add exclusion entries to avoid to scan the whole project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions