mezuro / kalibro_processor

Reimplementation of Kalibro processing
GNU Affero General Public License v3.0
2 stars 10 forks source link

Repository language detection #124

Open rafamanzo opened 9 years ago

rafamanzo commented 9 years ago

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.

marcosddourado commented 8 years ago

Where do we need to show this information?

diegoamc commented 8 years ago

@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.

marcosddourado commented 8 years ago

How can we send this information from the KalibroProcessor to the KalibroConfiguration?

rafamanzo commented 8 years ago

A good start point is to have a look at RepositoriesController and how kalibro_client's Repository class makes calls to it.