Skip to content

puppetlabs/community_management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Community Management

Utilities using octokit to help with managing community repositories and PR Triage.

Github Setup

For authentication, follow the steps here to get your OAth token generated: https://help.github.com/articles/creating-an-access-token-for-command-line-use . The default scope options are fine. You can set your Github OAuth token in the GITHUB_COMMUNITY_TOKEN environment variable instead of using the -t option.

Initial Setup

Install required libraries: eg 'bundle install --path .bundle/gems/'

An Example Run

An example for running stats on all supported puppetlabs modules: 'bundle exec ruby stats.rb -n puppetlabs --puppetlabs-supported -t (ACCESS TOKEN HERE) -o -w'

Pull Requests

Display pull requests on modules in a github organisation, filtered by various criteria. Use the --help flag to see all parameters.

Release Planning

Show modules that should receive a release "soon". Use the --help flag to see all parameters.

Stats

Retrieve modules stats and publishes a report. Use the --help flag to see all parameters. To view the report: 'open report.html'

Labels

Puts a set of labels into each repository. Creates them in a non destructive way. By default, it will run against supported Puppet modules, but you can run it on a single module repository in a few ways:

  • --repo <namespace/repo>
  • --repo (uses the first found of the upstream or origin remotes of CWD)
  • --remote <name> (uses the url of the remote name passed in the CWD)

Topics

Ensures a set of topics on repos. Works in a non destructive way unless you instruct it to delete topics. By default, it will run against IAC supported modules, but you can use the same individual repository options as you can with Labels.

Npc

Updates the modules with comments and labels pull requests that require rebase.

About

Utilities using octokit to help with managing community repositories

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.8%
  • HTML 39.9%
  • Haml 4.4%
  • CSS 1.5%
  • Ruby 1.3%
  • SCSS 0.1%