GithubHelp home page GithubHelp logo

repo_manager's Introduction

Eclipse Repo Organiser

Each directory (based on the top level project) contains a repositories.yml file which contains the set of repositories to maintain.

Configuration

There are several parameters available for each repository configuration:

Parameter Description Default Required
name Repository Name n/a yes
description Repository Description n/a yes
homepage Repository Website URL n/a no
private Create a Private Repository False No
has_issues Enable GitHub Issues True No
has_wiki Enable GitHub Wiki True No
has_downloads Enable GitHub Downloads True No
has_projects Enable GitHub Projects Board True No
allow_merge_commit Enable merge commits True No
allow_squash_merge Enable squash merging True No
allow_rebase_merge Enable rebase merging True No
delete_branch_on_merge Automatically delete branches on Merge False No

Branch protection configuration

Parameter Description Default Required
branch Name of Branch to protect n/a yes
dismiss_stale_reviews Dismiss Stale Reviews False No
required_approving_review_count Number of required reviewers 0 No
require_code_owner_reviews Require an approved review from code owner
enforce_admins Enforce same rules for Admins False No
dismissal_users Users that are allowed to dismiss reviews n/a No
dismissal_teams Teams that are allowed to dismiss reviews n/a No

Sample repositories.yml file

repositories:
  - name: test-repo
    description: Test repository
    homepage: https://example.com
    has_wiki: false
    allow_merge_commit: false
    delete_branch_on_merge: true
    branch_protection:
      branch: 'main'
      required_approving_review_count: 2

  - name: test-repo2
    description: Test repository2
    allow_squash_merge: false
    has_wiki: false
    has_issues: false
    has_projects: false

Running locally

Install prerequisites

pip install -r requirements.txt

Run the updater

export GITHUB_TOKEN=<github_personal_access_token>
python repo.py

repo_manager's People

Contributors

gdams avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.