enkidevs / commit

:chart_with_upwards_trend: Level up your dev skills every day.

Home Page:https://enki.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proper workout stats

n6g7 opened this issue · comments

Hi Enki,

Why not use the github/linguist override options to fix GitHub's broken language bar?
capture d ecran 2016-06-21 a 14 18 13

ATM "Git" and "Linux" workouts are both part of the "Shell" section because they have the same file extention (.bash).

Should be easy to fix if you can decide on a mapping between workout topics and file extensions.

Hi Nathan,

hum I used linguist a bit and you only have the power to override the mapping between some file extensions and the language displayed at the language bar. I don't think you can add a language (git is not a language for example) but I might be wrong, do you know how to do it?

I would use a different extension for git (eg. .sh or even .git) and map it onto another language.
It's true that there is no easy choice for that language, it would have to be abstract.

The colour of the Git logo being red, maybe you could go for HTML? Unless you have plan to have html workouts later on.

But it would show HTML in the language bar which would be even more confusing right?

That's right but at the moment the language bar doesn't make sense anyway. I guess you'd have to specify a mapping in the readme.

Well it kind of makes sense, the language that you use for git is shell, same as unix ;)

Do we have a solution on this ?

not really. Any though?

The commit is a really cool idea, if the different topics saved information in their own folders within the language folders, then a script to return the topic values could be used to determine accurate per topic commit info, which could be shared in another way

guys I think we broke github, the language bar is not showing anymore. I guess I will close this issue as we can't do anything here anymore.
We might create a page to show global stats later on.