MarketSquare / MarketSquare/robotframework-robocop

Robocop matches paths from gitignore in every directory

Open
#1,935 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
269
Forks
58
Avg merge
4h 55m
Merged PRs (30d)
45

Description

Given the following gitignore:

```
file.robot
browser/
some/**/path
```

Robocop ignores all above paths, but in every directory - for example browser/ will be ignored if it's placed in other/browser path as well. I need to investigate how the gitignore is working and only ignore paths ignored by git.

Contributor guide

Open the contributing guide

Research direction

Start by tracing Robocop's gitignore handling and compare its path matching with Git's behavior for the shown patterns. Reproduce the examples with file.robot, browser/, and some/**/path in nested directories; done means only paths Git would ignore are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.