github_helper
package github_helper
GitHub Helper is a tool for checking the various statuses of your repositories.
class GHApi():
Provides access to status functions ontop of gh program.
method init(self)
Initializize a new GHApi, takes no arguments.
method check_auth(self)
Return true if user is logged in.
method get_orgs(self)
Return orgs for a user.
method get_user(self)
Return username.
method get_scopes(self)
Return array of scopes.
method get_repos(self, paginate)
Return repos for a user.
method get_remote_tags(self, repo)
Return tags for a repo.
method get_project_configs(self, repo)
Find all projects in a repo.
method get_pypi(self, repo, testing)
Get all pypi releases for a particular project.
method audit_pypi(self, repo, count, testing)
Get all pypi releases for a project and audit it.
method get_releases(self, repo)
Return releases for a repo.
method audit_releases(self, repo, count)
Run get_releases and process information.
method audit_versions(self, repo)
Verify that version of a repository have differences.
arguments
repo - the name of the repo to verify. Can be "owner/repo" or just "repo" and owner is assumed to be the current user.
method audit_rulesets(self, repo)
Verify that repos have the proper branch/tag protections or find differences.
arguments
repo - the name of the repo to verify. Can be "owner/repo" or just "repo" and owner is assumed to be the current user.