Gov4Gitを試したい
2024-02-09
管理者でない一般参加者としてPluralityBookのコミュニティには入ってるんだけど、やっぱり管理者の立場を体験しないとなーと思っていた
が、Webサイトを見ても導入の仕方がよくわかんないなーと放置していた
> gov4git: Decentralized governance for git communities
まずは本番ではなく小さい練習用ので
というらしい
> 一般参加者 / やっぱり管理者の立場を体験しないとな
>The first responsibility of the organizer is to deploy the governance system. This task is documented in the Deployment Guide.
> Once the governance system is up and running, the organizer is responsible for governing the day-to-day function of the community, as described in the Governance Guide.
Go install / add to PATH / clone repos
$ go get github.com/gov4git/gov4git/gov4git@latest
:...
go: added github.com/gov4git/gov4git v1.1.15
% gov4git version
zsh: command not found: gov4git
どこにインストールされたのか??
>hnakamur2 Go 1.17から実行ファイルのインストールには go install が必要となっています。
:% ~/go/bin/gov4git version
{
"version": "v1.1.15",
"revision": "",
"last_commit": "0001-01-01T00:00:00Z",
"dirty_build": true
}
>The governance automation — invoked by the GitHub action — executes on behalf of a dedicated GitHub user, which represents the governance system itself. You must create a new GitHub user, designated as the governance automation user — and name it appropriately, as it will speak to the community users via GitHub comments.
> For instance, the Plurality Book Project — @pluralitybook on GitHub — uses a dedicated user called Plurality Book DAO — @pluralitybook-dao on GitHub — to operate the governance system.
account
otameshi-dao
> Invite the automation user to your organization with Owner privileges.
organization
これ?
これか
>Under "Organization permissions" make the following choices:
これが見つからない
>Deploy governance for your project repository
> You are now ready to deploy governance on your project repository. This can be accomplished with a single command:
$GOV4GIT_RELEASE
v2.1.3
>403 You need admin access to the organization before adding a repository to it.
---
repos先に作る?
作った
>403 You need admin access to the organization before adding a repository to it.
関係なさげ