con / con/solidation

(Add an option to?) write out a JSON file per repository

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Comment from the code:

> write to a JSON file per repo
> the git history will have the longitudinal change wrt these scores
> ```python
> status_dir = self.basepath / 'status'
> status_dir.mkdir(parents=True, exist_ok=True)
> with (status_dir / (name.replace('/', '__') + '.json')).open('w') as f:
> json.dump(rstatus, f)
> ```

(where `rstatus` has the fields `full_name`, `size`, `stargazers_count`, `watchers_count`, `forks_count`, `open_issues_count`, `network_count`, `subscribers_count`, and `open_prs_count`, and where `self.basepath` is a directory path given on the command line, defaulting to `$PWD`)

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.