build: add generated files lists/patterns to .gitattributes#15649
build: add generated files lists/patterns to .gitattributes#15649rmuir merged 1 commit intoapache:mainfrom
Conversation
This is a nice easy win on the PR review, since generated files are folded away and clearly marked in the UI. Some patterns were used to try to keep this low-maintenance, but I tried to not make the patterns too aggressive that they'd bring in false positives. Closes apache#14833
|
Why is this called "linguist-generated"? No worries, I am just interested! |
dweiss
left a comment
There was a problem hiding this comment.
Didn't know about such a thing. Interesting.
|
It would be cool if all regenerate tasks make sure the file is listed there. Basically all files listed with json hash should appear here. |
Could be done with The way in which this is used by the github UI... it is not critical that the attributes are perfect. Github even does a bunch of assumptions and guesswork already today: you can use Try not to think of this feature like a German. :) |
|
also, IMO an easy solution to managing the generated files, is to always put them in a subdirectory named Then you can use glob such as It also stands out MUCH better as file is very clearly indicated as generated by having the word in its path. |
…5649) This is a nice easy win on the PR review, since generated files are folded away and clearly marked in the UI. Some patterns were used to try to keep this low-maintenance, but I tried to not make the patterns too aggressive that they'd bring in false positives. Closes apache#14833
This is a nice easy win on the PR review, since generated files are folded away and clearly marked in the UI.
Some patterns were used to try to keep this low-maintenance, but I tried to not make the patterns too aggressive that they'd bring in false positives.
Closes #14833