Octo icon indicating copy to clipboard operation
Octo copied to clipboard

GitHub thinks Octo files are Roff files

Open tobiasvl opened this issue 5 years ago • 3 comments

GitHub/Linguist is currently misclassifying .8o files as Roff files. This is not entirely uncommon, but the answer always seems to be to override it manually.

We can of course override it manually in all our repositories (JohnEarnest/chip8Archive perhaps being the main one), but what should we override it to?

Should we perhaps consider adding Octo support to Linguist?

tobiasvl avatar Nov 26 '19 23:11 tobiasvl

@tobiasvl yes, this would be a worthwhile enhancement.

Are you interested in attempting to extend Linguist?

JohnEarnest avatar Nov 26 '19 23:11 JohnEarnest

Yep, sure!

tobiasvl avatar Nov 26 '19 23:11 tobiasvl

Is this still something @tobiasvl will be looking at?

I think Octo might meet linguist's language addition guidelines:

  • [x] A supported grammar under one of the permitted licenses: https://github.com/hoovercj/vscode-octo
  • [ ] At least 200 username/repo projects with the required language

I've seen PRs with vscode grammars on the linguist repo, but I'm less sure of the second item given it's not rare for people to put all their Octo projects into a single repo.

pushfoo avatar Dec 10 '22 10:12 pushfoo