Open rafamanzo opened 9 years ago
Where do we need to show this information?
@marcosddourado, I don't think we are going to show this information anywhere.
Others can correct me if I'm wrong, but I believe that what we expect for this feature is to detect the (main?) programming language used on the repository after we download it, or after we register the repository on the database. With that information, we would be able to automatically select a suitable KalibroConfiguration
to be used when we process that repository. Maybe we don't even need to store the language as a repository's attribute.
How can we send this information from the KalibroProcessor to the KalibroConfiguration?
A good start point is to have a look at RepositoriesController
and how kalibro_client's Repository
class makes calls to it.
As a developer, would be nice to have information about the language used by a given repository. This can be achieved using github-linguist gem.