James-Oswald / Direction-Guesser

WIP Geo-spatial reasoning dataset collector app
3 stars 0 forks source link

Create .gitattributes to force linguist to ignore bloat files #9

Closed James-Oswald closed 1 month ago

James-Oswald commented 1 month ago

image

I dislike seeing all these languages, use a .gitattributes to force GitHub linguist to ignore any default files in frontend that include code we have not written.

How to: https://stackoverflow.com/questions/19052834/is-it-possible-to-exclude-files-from-git-language-statistics

akaric108 commented 1 month ago

Tried adding it as per, but doesn't seem to take effect.

James-Oswald commented 1 month ago

Tried adding it as per, but doesn't seem to take effect.

Read that link you sent again, no - Infront of linguist-vendored when marking multiple files. Now just have it exclude the makefile and we can close this.

akaric108 commented 1 month ago

That is so confusing... Instead of -linguist-vendored meaning "we aren't the vendor of this thing", it means that we are. I personally think that Makefile should stay, because we do actually vendor it (the other stuff was from autogenerated crap we'll never touch), but whatever I'll go and exclude it for you to make you happy.

James-Oswald commented 1 month ago

If we're writing the makefile ourselves, it can stay

akaric108 commented 1 month ago

I did write that Makefile, and I'll be maintaining it. In that case then, this issue is closed.