Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the language is html not python in the dashboard? #2069

Closed
crazy-canux opened this issue Dec 23, 2016 · 5 comments

Comments

@crazy-canux
Copy link

@crazy-canux crazy-canux commented Dec 23, 2016

Why the language is html not python in the dashboard?

@justinmayer

This comment has been minimized.

Copy link
Member

@justinmayer justinmayer commented Dec 23, 2016

I have no idea what this question is supposed to mean. It's really not possible to help you unless you provide more detail. Would you care to elaborate?

@leotrs

This comment has been minimized.

Copy link

@leotrs leotrs commented Dec 23, 2016

I think @crazy-canux means that github flags pelican as consisting of 55% html?

@avaris

This comment has been minimized.

Copy link
Member

@avaris avaris commented Dec 23, 2016

Mainly, test input/output is skewing the language statistics. FWIW, this is the breakdown (numbers are total bytes):

{
  "HTML": 590118,
  "Python": 407677,
  "CSS": 59060,
  "Makefile": 4449,
  "Shell": 2268,
  "GCC Machine Description": 3
}

I'm not sure there is anything to "fix" here, but possible workaround is to mark some as "vendored" (even though they are not) in order to exclude that.

@justinmayer

This comment has been minimized.

Copy link
Member

@justinmayer justinmayer commented Dec 23, 2016

Took an initial stab at addressing this. See also: https://github.com/blog/1037-highlighting-repository-languages

justinmayer added a commit that referenced this issue Dec 23, 2016
justinmayer added a commit that referenced this issue Dec 23, 2016
@justinmayer

This comment has been minimized.

Copy link
Member

@justinmayer justinmayer commented Dec 23, 2016

No change, probably because GitHub performs its search indexing only periodically. 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.