commercetest / nlnet

Analysis of the opensource codebases of NLnet sponsored projects.
MIT License
0 stars 0 forks source link

Gleaning project meta-data #32

Open julianharty opened 3 months ago

julianharty commented 3 months ago

Context

Code repositories (repos) contain code written in one or more programming languages. There may be connections between the programming language and: unit testing frameworks, programming conventions, and code quality, etc. We don't yet know much about these connections, a pre-requisite is to obtain the information. GitHub provides an API and uses an opensource library to obtain this information from a repo (apparently they also use another project that's not well documented).

Let's start by using the GitHub API as that'll quickly enable us to obtain that information for projects hosted on github.com then we can explore the suitability of various opensource

More info

julianharty commented 3 months ago

PS: information gleaned from the Issues of a github hosted repo may also be insightful, https://docs.github.com/en/rest/using-the-rest-api/issue-event-types?apiVersion=2022-11-28 provides one approach, and some work I documented in https://stackoverflow.com/a/56439604/340175 (https://stackoverflow.com/questions/56437562/seeking-a-way-to-clone-the-issues-for-github-projects) another.

julianharty commented 2 months ago
julianharty commented 2 months ago

I've forked guesslang and updated the requirements.txt so that the updated version will run in python versions 3.8 to 3.11 according to the docs (details in https://github.com/commercetest/guesslang/issues/1)

As I've not published an installable package, the updated version needs to be installed locally from a clone of the fork'd repo, see and read the information about the local install there https://github.com/commercetest/guesslang?tab=readme-ov-file#installation. More completely: