Skip to content

Repository to handle shared code used in mass management of Sous-Chefs repositories

License

Notifications You must be signed in to change notification settings

sous-chefs/repo-management

Repository files navigation

repo-management

OpenCollective OpenCollective License

A repo of helpful things for managing the many repos in sous-chefs org (easily updatable to use in other orgs)

Usage

Scripts

Most scripts require you be in a directory containing all the repos you'd like to act on, for example:

/home/sous-chefs/
  aptly/
  apache2/
  ...
Script Name Description Usage
add_codeowners_if_not_present.rb Adds/updates a CODEOWNERS file with the repo name as team name ruby add_codeowners_if_not_present.rb <GITHUB_USERNAME> <GITHUB_PASSWORD_OR_TOKEN>
clone_all_repos_in_org.sh clones all repos in github org clone_all_repos_in_org.sh
git_branch_commit_push.sh Pulls main, then checks out a new branch, commits and pushes git_branch_commit_push.sh <path to git ssh key> <branch name> <commit message>
open_pull_requests.rb Opens a pull request `ruby open_pull_requests.rb <user_name> <token
update_labels.sh Removes the Dangerfile PR label check update_labels.sh
watch_repos.rb Watches all repos in org ruby watch_repos.rb <GITHUB_USERNAME> <GITHUB_PASSWORD_OR_TOKEN>

Standard Files

Each folder under standardfiles/ represents a standard file structure we want in a certian type of repository, such as a cookbook.

Automated tools ensure these are kept in sync.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers!

https://opencollective.com/sous-chefs#backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

https://opencollective.com/sous-chefs/sponsor/0/website https://opencollective.com/sous-chefs/sponsor/1/website https://opencollective.com/sous-chefs/sponsor/2/website https://opencollective.com/sous-chefs/sponsor/3/website https://opencollective.com/sous-chefs/sponsor/4/website https://opencollective.com/sous-chefs/sponsor/5/website https://opencollective.com/sous-chefs/sponsor/6/website https://opencollective.com/sous-chefs/sponsor/7/website https://opencollective.com/sous-chefs/sponsor/8/website https://opencollective.com/sous-chefs/sponsor/9/website

About

Repository to handle shared code used in mass management of Sous-Chefs repositories

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published