diff --git a/.gitvote.yml b/.gitvote.yml new file mode 100644 index 00000000..4771ce9a --- /dev/null +++ b/.gitvote.yml @@ -0,0 +1,68 @@ +# GitVote configuration for cloudnative-pg/plugin-barman-cloud. +# +# Rendered by cnpg-infra's scripts/render-gitvote-config.sh -- see +# cnpg-infra's gitvote-policy.yaml and scripts/check-gitvote-config.sh / +# fix-gitvote-config.sh for how this file is generated and enforced. +# +# Voters are this repository's own plugin-barman-cloud-owners GitHub team (repo-tiers.yaml's +# owners field is what populates it; see sync-project-owner-teams.sh). +# Component Owner-level decisions per CONTRIBUTOR_LADDER.md are scoped to +# the repository, not org-wide. The profiles below mirror +# CONTRIBUTOR_LADDER.md's two repository-level thresholds: +# - default: simple majority, Contributor promotion/removal +# - component-owner: two-thirds majority, Component Owner +# promotion/removal (/vote-component-owner) +# plus, where this repo belongs to a subproject, the same two scoped to +# that subproject's maintainer committee, for the case where this repo has +# too few named owners to decide for itself. +# +# The thresholds are 50.01 and 66.66, not 50 and 66, because gitvote +# passes a vote on >= rather than >: a flat 50 would let an even-sized +# electorate tie and still pass. See cnpg-infra's +# scripts/render-gitvote-config.sh for the full reasoning. +automation: + enabled: false + rules: + - patterns: [] + profile: default + +profiles: + default: + duration: 1w + pass_threshold: 50.01 + allowed_voters: + teams: + - plugin-barman-cloud-owners + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" + + component-owner: + duration: 1w + pass_threshold: 66.66 + allowed_voters: + teams: + - plugin-barman-cloud-owners + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" + + committee: + duration: 1w + pass_threshold: 50.01 + allowed_voters: + teams: + - extensibility-maintainers + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" + + committee-component-owner: + duration: 1w + pass_threshold: 66.66 + allowed_voters: + teams: + - extensibility-maintainers + users: [] + close_on_passing: true + close_on_passing_min_wait: "10 minutes" diff --git a/.spellcheck.yaml b/.spellcheck.yaml index 576fa9fa..3fbbc2e2 100644 --- a/.spellcheck.yaml +++ b/.spellcheck.yaml @@ -2,7 +2,7 @@ matrix: - name: Markdown sources: # Ignore the CHANGELOG.md file, it is autogenerated - - ./*.md|!./CHANGELOG.md + - ./*.md|!./CHANGELOG.md|!./COMPONENT_OWNERS.md - ./web/docs/**/*.md dictionary: wordlists: diff --git a/COMPONENT_OWNERS.md b/COMPONENT_OWNERS.md new file mode 100644 index 00000000..9639cddd --- /dev/null +++ b/COMPONENT_OWNERS.md @@ -0,0 +1,34 @@ +# Component Owners + + + +`plugin-barman-cloud` is a component of the **Extensibility** subproject of +CloudNativePG (see `subprojects/extensibility.md` in +[cloudnative-pg/governance](https://github.com/cloudnative-pg/governance)). + +The people below are its **Component Owners**: they hold `Write` on this +repository through the `plugin-barman-cloud-owners` GitHub team, and are its default +[`CODEOWNERS`](CODEOWNERS) entry, so every pull request here is routed to +them for review. + +| Name | GitHub Handle | Country | +| :--- | :--- | :--- | +| Gabriele Bartolini | [@gbartolini](https://github.com/gbartolini) | | +| Francesco Canovai | [@fcanovai](https://github.com/fcanovai) | | +| Leonardo Cecchi | [@leonardoce](https://github.com/leonardoce) | | +| Niccolò Fei | [@NiccoloFei](https://github.com/NiccoloFei) | Italy | +| Marco Nenciarini | [@mnencia](https://github.com/mnencia) | | +| Armando Ruocco | [@armru](https://github.com/armru) | | + +Component Owner is a rung of the CloudNativePG contributor ladder. A new +owner is added by a ⅔ vote of this repository's existing Component Owners, +held on an issue in this repository; the change is then recorded in +`cnpg-infra`, which grants the access and regenerates this file. See +`CONTRIBUTOR_LADDER.md` in [cloudnative-pg/governance](https://github.com/cloudnative-pg/governance) +for the full process, including what happens when a repository has too few +owners to reach that threshold.