ruby / ruby/rake

rake/file_list: support all gitignore rule patterns

Open
#356 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.5k
Forks
650
Avg merge
6m
Merged PRs (30d)
3

Description

Hello,

It'd be super nice to have file_list support all the .gitignore rule patterns! :)
cf: https://git-scm.com/docs/gitignore#_pattern_format

For instance, using ! and other things.
Could we have this added, please?

CC: @hsbt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Rake's file_list implementation and compare its current matching behavior with the Git pattern format linked in the issue, including ! rules. Done means file_list supports all documented .gitignore rule patterns; the issue does not name any tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, ruby
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.