{"id":15502416,"url":"https://github.com/matsubara0507/git-plantation","last_synced_at":"2025-04-22T22:23:10.877Z","repository":{"id":52968515,"uuid":"141085051","full_name":"matsubara0507/git-plantation","owner":"matsubara0507","description":"mixi git challenge の新しい採点システム","archived":false,"fork":false,"pushed_at":"2023-07-06T09:48:52.000Z","size":657,"stargazers_count":18,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-17T13:32:40.992Z","etag":null,"topics":["elm-application","haskell-application"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matsubara0507.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-16T04:08:07.000Z","updated_at":"2023-06-17T15:04:31.000Z","dependencies_parsed_at":"2024-11-08T19:02:41.428Z","dependency_job_id":"a3969346-fafd-420d-af56-02b4b722e379","html_url":"https://github.com/matsubara0507/git-plantation","commit_stats":{"total_commits":287,"total_committers":4,"mean_commits":71.75,"dds":0.132404181184669,"last_synced_commit":"593a0d99b9a5b4af59e35b7931e588bedb31a6e4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fgit-plantation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fgit-plantation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fgit-plantation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fgit-plantation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsubara0507","download_url":"https://codeload.github.com/matsubara0507/git-plantation/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250332430,"owners_count":21413206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elm-application","haskell-application"],"created_at":"2024-10-02T09:09:44.494Z","updated_at":"2025-04-22T22:23:10.850Z","avatar_url":"https://github.com/matsubara0507.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-plantation\n\n![](./image/scoreboard.png)\n\n## Usage\n\nconfig 以下で docker-compose を使う\n\n### 1. git-plantation の設定を記述\n\nref. `config/.git-plantation.yaml`\n\n### 2. 環境変数を設定する\n\n\n`config/docker-compose.yml` の `app` の `environment` を参照\n\n```\n# スコアボードにログインするための GitHub OAuth のクライアントIDとシークレット\nAUTHN_CLIENT_ID\nAUTHN_CLIENT_SECRET\n\n# スコアサーバーが GitHub Webhook を受けたときにリクエストを検証するためのシークレット\n# 同様の値を回答リポジトリに設定している（リポジトリ作成は自作 CLI ツール）\nGH_SECRET\n\n# 回答リポジトリの push を受け取ったことを Slack へ通知するための Incomming Webhook\n# 管理者側で誰がいつ push したのかを観測するために利用する（基本、参加者には見えないようにする）\nSLACK_PUSH_NOTIFY_WEBHOOK\n\n# ジョブサーバーから採点の結果をスニペットで通知するための Slack API トークン\nSLACK_API_TOKEN\n\n# 以下は Slack のスラッシュコマンドで回答リポジトリのリセットを受けるための秘匿情報\nSLACK_SIGNING_SECRET # Slack からのリクエストを検証するのに使う\nSLACK_VERIFY_TOKEN   # 同上\nSLACK_SLASH_WEBHOOK  # スラッシュコマンドの受け付けメッセージを送るための Incomming Webhook\n\n# 以下は回答リポジトリのリセットをする際に使う\nGH_TOKEN # GitHub API を実行したり、リポジトリを操作するための API トークン\nGH_USER  # トークンのアカウント（リポジトリの操作で必要）\n```\n\ngit-plantation-tool が利用する環境変数は下記の通り(用途は同じ):\n\n- `GH_TOKEN`\n- `GH_USER`\n- `GH_SECRET`\n- `APP_SERVER` は git-plantation-app が動作してる URL (例: `https://example.com`) で GitHub Webhook に設定する\n\n### 3. Create team's repository in team\n\nusing `git-plantation-tool`:\n\n```\n$ git-plantation-tool -c .git-plantation.yaml --work .temp repo new sample\n```\n\n### 4. Run app\n\n```\n$ docker-compose up app store\n```\n\n## Build with Docker\n\n```\n$ make image tag=matsubara0507/git-plantation:dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fgit-plantation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsubara0507%2Fgit-plantation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fgit-plantation/lists"}