From c333050f3ca8742c86f03d2feee71bb6bc8d4c1a Mon Sep 17 00:00:00 2001 From: JianMiau Date: Fri, 16 May 2025 16:17:31 +0800 Subject: [PATCH] [add] init --- index.html | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++ repos.json | 110 ++++++++++++++++++++++ teams.json | 116 +++++++++++++++++++++++ 3 files changed, 494 insertions(+) create mode 100644 index.html create mode 100644 repos.json create mode 100644 teams.json diff --git a/index.html b/index.html new file mode 100644 index 0000000..e6c9667 --- /dev/null +++ b/index.html @@ -0,0 +1,268 @@ + + + + + + 手動輸入組織,批次建立 Gitea 儲存庫與團隊 + + + + +

+ 輸入組織名稱並從 JSON 建立儲存庫+設定團隊 +
+ PS.請先建好團隊(或使用下方按鈕批次建立) +

+ + + + + + +
+ + + + + \ No newline at end of file diff --git a/repos.json b/repos.json new file mode 100644 index 0000000..bfb9ae6 --- /dev/null +++ b/repos.json @@ -0,0 +1,110 @@ +[ + { + "name": "Client-Core", + "description": "前端平台大廳(前端美術寫入)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite" + ] + }, + { + "name": "WebUI", + "description": "", + "default_branch": "master", + "teams": [ + "FrontendWrite" + ] + }, + { + "name": "Official-WebDesign", + "description": "官網網頁設計(美術.前端寫入)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite" + ] + }, + { + "name": "Client-Core-WebDesign", + "description": "平台網頁設計(美術f前端寫入)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite" + ] + }, + { + "name": "Html-AddToHomeScreen", + "description": "手刻添加捷徑到桌面HTML說明頁(前端.美術寫入)(前端手動搬去Resource)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite" + ] + }, + { + "name": "Html-PurchaseResultPage", + "description": "手刻第三方購買結果頁面(前端.美術寫入)(前端手動搬去Resource)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite" + ] + }, + { + "name": "Resource-Internal", + "description": "外載資源-內版開發(前端美術企劃寫入)", + "default_branch": "master", + "teams": [ + "ArtWrite", + "FrontendWrite", + "PlanWrite" + ] + }, + { + "name": "Resource-B2B", + "description": "外載資源-廠商串接(前端寫入)", + "default_branch": "master", + "teams": [ + "FrontendWrite" + ] + }, + { + "name": "Resource-Out", + "description": "外載資源-外版(前端寫入)", + "default_branch": "master", + "teams": [ + "FrontendWrite" + ] + }, + { + "name": "Plan-Form", + "description": "Excel設定表(企劃前端寫入.後端讀取)", + "default_branch": "master", + "teams": [ + "BackendRead", + "FrontendRead", + "PlanWrite" + ] + }, + { + "name": "Plan-Form_Json", + "description": "Plan-Form子模組-Resource-Internal引用(企劃寫入.前端讀取)", + "default_branch": "master", + "teams": [ + "FrontendRead", + "PlanWrite" + ] + }, + { + "name": "Plan-Form_Table", + "description": "Plan-Form子模組-Client-Core引用(企劃前端寫入.美術讀取)", + "default_branch": "master", + "teams": [ + "ArtRead", + "FrontendWrite", + "PlanWrite" + ] + } +] \ No newline at end of file diff --git a/teams.json b/teams.json new file mode 100644 index 0000000..0e705ee --- /dev/null +++ b/teams.json @@ -0,0 +1,116 @@ +[ + { + "name": "ArtRead", + "units_map": { + "repo.code": "read", + "repo.issues": "read", + "repo.pulls": "read", + "repo.releases": "read", + "repo.wiki": "read", + "repo.projects": "read", + "repo.packages": "read", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [] + }, + { + "name": "ArtWrite", + "units_map": { + "repo.code": "write", + "repo.issues": "write", + "repo.pulls": "write", + "repo.releases": "write", + "repo.wiki": "write", + "repo.projects": "write", + "repo.packages": "read", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [] + }, + { + "name": "BackendRead", + "units_map": { + "repo.code": "read", + "repo.issues": "read", + "repo.pulls": "read", + "repo.releases": "read", + "repo.wiki": "read", + "repo.projects": "read", + "repo.packages": "read", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [ + "jerky", + "tommylin", + "wnoirck", + "windydo", + "vint0716" + ] + }, + { + "name": "FrontendRead", + "units_map": { + "repo.code": "read", + "repo.issues": "read", + "repo.pulls": "read", + "repo.releases": "read", + "repo.wiki": "read", + "repo.projects": "read", + "repo.packages": "read", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [ + "publicfrontend", + "Awan", + "derek100232", + "cathy19804" + ] + }, + { + "name": "FrontendWrite", + "units_map": { + "repo.code": "write", + "repo.issues": "write", + "repo.pulls": "write", + "repo.releases": "write", + "repo.wiki": "write", + "repo.projects": "write", + "repo.packages": "read", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [ + "publicfrontend", + "Awan", + "derek100232", + "cathy19804" + ] + }, + { + "name": "PlanWrite", + "units_map": { + "repo.code": "write", + "repo.issues": "read", + "repo.pulls": "write", + "repo.releases": "write", + "repo.wiki": "write", + "repo.projects": "write", + "repo.packages": "none", + "repo.actions": "read", + "repo.ext_wiki": "read", + "repo.ext_issues": "read" + }, + "members": [ + "Brandy" + ] + } +] \ No newline at end of file