Closed rodrigoalvesvieira closed 11 years ago
P.S: this is not to be confounded with the language
attribute that the API provides. Every project has a prevailing programming language and this attribute only provides it, a single language name.
The commit related to the prevailing language attribute can be is here: https://github.com/spgroup/groundhog/commit/6d1a5f4f6047256f288bf7e3a6815c41e1eb0e3e
is the right side value the number of LoC used in this language?
nops. It's the main language string. Like "Java" or "Python"
Hm... reading again my last comment, I realized that it was difficult to understand. Sorry.
I meant, is the value in this json means the number of LoC in a given language?
Oh, yes!
The only thing left to finish this Issue is something related to JSON parsing that I'm having problems and am currently working on.
If you could point to me where in the project i could try it too. I've already worked with some json parsing.
@pork9 okay! the problem is how to do it in Java. I'm kinda Java newbie.
tell a bit more, @rodrigoalvesvieira
@rodrigoalvesvieira ohhh! Now i get it. Can anyone point me the class who is dealing with the search or anything like that?
@gustavopinto do you have Skype time? :p
now is fine for me. @pork9 ?
For me is fine too.
@pork9 what is your skypeid?
jesus.jackson.sena
Many software projects are composed of more than one programming language. It is relevant for us to know all the languages present in a certain project and know how these languages correspond to the codebase, in terms of LoC.
The Groundhog
Project
class should have some facility to store this important property.The GitHub API amazingly offers us an straightforward way for getting the languages of a given project. Example: https://api.github.com/repos/joyent/node/languages