Hi Phil,

I think the upcoming better .gitignore parser will be a huge improvement. I 
know .gitignore supports matching against multi-depth directories. I also agree 
that everything in that file should be excluded.

But, I still think .ratignore should not be removed completely... I feel that 
there can be use cases where it is still useful.

Here are some examples…

JSON files are strict and cannot have headers or comment lines. It would be 
considered invalid. There could be other files with similar strict requirements.

A multi-depth directories example in Cordova’s case would be where we place 
test fixtures.

Usually, we have a "test" directory where we write test specs and store test 
fixtures. Test spec files would apply the Apache license header, but "fixtures" 
might not. The “fixtures” folder usually contains sample files to mimic 
projects. It is possible that the folder would be excluded.

In the meantime, I will checkout the current 0.16-SNAPSHOT and test it.

Thank you


> On Dec 21, 2023, at 4:53, P. Ottlinger <pottlin...@apache.org> wrote:
> 
> Hi Bryan,
> 
> thanks for spotting the change .... is it helpful to use the upcoming feature 
> of a better .gitignore parsing and get rid of the .ratignore completely in 
> your use case?
> 
> Feel free to checkout the most current 0.16-SNAPSHOT .... as a release is 
> about to come soon.
> 
> Cheers,
> Phil

Reply via email to