commercetest / commercetest/nlnet

Gleaning project meta-data

Open
#32 3 comments 0 reactions 1 assignee Claimed by @julianharty View on GitHub
enhancement
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### 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
- [About repository languages](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages)
- [REST API endpoints for repository statistics](https://docs.github.com/en/rest/metrics/statistics?apiVersion=2022-11-28) - e.g. potentially useful for helping assess liveness vs abandonment of a codebase.
- [REST API endpoints for commits](https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28) (already implemented).
- https://stackoverflow.com/questions/45726013/how-can-i-get-last-commit-from-github-api- is also helpful on ways to obtain the information about the latest commit.
- https://www.feststelltaste.de/reading-a-git-repos-commit-history-with-pandas-efficiently/ and https://github.com/feststelltaste/software-analytics/blob/master/notebooks/Reading%20a%20Git%20repo's%20commit%20history%20with%20Pandas%20efficiently.ipynb is also really useful

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.