Skip to content

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

Description

@jwodder

Comment from the code:

write to a JSON file per repo
the git history will have the longitudinal change wrt these scores

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions