gitcode-insight 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {gitcode_insight-0.1.1/src/gitcode_insight.egg-info → gitcode_insight-0.1.2}/PKG-INFO +20 -5
  2. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/README.md +19 -4
  3. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/pyproject.toml +1 -1
  4. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/__init__.py +1 -1
  5. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2/src/gitcode_insight.egg-info}/PKG-INFO +20 -5
  6. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/LICENSE +0 -0
  7. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/setup.cfg +0 -0
  8. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/cli.py +0 -0
  9. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/community.py +0 -0
  10. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/dashboard.py +0 -0
  11. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/issue.py +0 -0
  12. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/pr.py +0 -0
  13. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/repo_stats.py +0 -0
  14. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/report.py +0 -0
  15. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight/utils.py +0 -0
  16. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight.egg-info/SOURCES.txt +0 -0
  17. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight.egg-info/dependency_links.txt +0 -0
  18. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight.egg-info/entry_points.txt +0 -0
  19. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight.egg-info/requires.txt +0 -0
  20. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/src/gitcode_insight.egg-info/top_level.txt +0 -0
  21. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_cli.py +0 -0
  22. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_community.py +0 -0
  23. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_dashboard.py +0 -0
  24. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_issue.py +0 -0
  25. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_pr.py +0 -0
  26. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_repo_stats.py +0 -0
  27. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_report.py +0 -0
  28. {gitcode_insight-0.1.1 → gitcode_insight-0.1.2}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-insight
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: GitCode 平台代码洞察工具
5
5
  Author: GitCode Insight Team
6
6
  License-Expression: MIT
@@ -97,17 +97,32 @@ gc-insight report --repo kernel --owner openeuler --token your_token --days 7
97
97
  {
98
98
  "access_token": "your_gitcode_access_token",
99
99
  "owner": "your_organization_name",
100
+ "label_ci_success": "ci-pipeline-passed",
101
+ "label_ci_running": "ci-pipeline-running",
102
+ "label_yellow_ci_running": "SC-RUNNING",
103
+ "label_yellow_ci_success": "SC-SUCC",
100
104
  "repo_whitelist": ["repo1", "repo2"],
101
105
  "repo_blacklist": ["repo3", "repo4"]
102
106
  }
103
107
  ```
104
108
 
109
+ ### 必选参数
110
+
105
111
  | 字段 | 说明 |
106
112
  |------|------|
107
- | `access_token` | GitCode API 访问令牌(必填) |
108
- | `owner` | 组织/社区名称(必填) |
109
- | `repo_whitelist` | 仓库白名单,仅统计指定仓库 |
110
- | `repo_blacklist` | 仓库黑名单,排除指定仓库 |
113
+ | `access_token` | GitCode API 访问令牌,用于 API 认证 |
114
+ | `owner` | 组织/社区名称,如 `openeuler`、`boostkit` |
115
+
116
+ ### 可选参数
117
+
118
+ | 字段 | 默认值 | 说明 |
119
+ |------|--------|------|
120
+ | `label_ci_success` | `ci-pipeline-passed` | 蓝区 CI 通过标签名称 |
121
+ | `label_ci_running` | `ci-pipeline-running` | 蓝区 CI 运行中标签名称 |
122
+ | `label_yellow_ci_running` | `SC-RUNNING` | 黄区 CI 运行中标签名称 |
123
+ | `label_yellow_ci_success` | `SC-SUCC` | 黄区 CI 通过标签名称 |
124
+ | `repo_whitelist` | `[]` | 仓库白名单,仅统计指定仓库(与黑名单互斥,优先使用) |
125
+ | `repo_blacklist` | `[]` | 仓库黑名单,排除指定仓库 |
111
126
 
112
127
  获取 Access Token:GitCode → 设置 → 访问令牌 → 创建新令牌
113
128
 
@@ -71,17 +71,32 @@ gc-insight report --repo kernel --owner openeuler --token your_token --days 7
71
71
  {
72
72
  "access_token": "your_gitcode_access_token",
73
73
  "owner": "your_organization_name",
74
+ "label_ci_success": "ci-pipeline-passed",
75
+ "label_ci_running": "ci-pipeline-running",
76
+ "label_yellow_ci_running": "SC-RUNNING",
77
+ "label_yellow_ci_success": "SC-SUCC",
74
78
  "repo_whitelist": ["repo1", "repo2"],
75
79
  "repo_blacklist": ["repo3", "repo4"]
76
80
  }
77
81
  ```
78
82
 
83
+ ### 必选参数
84
+
79
85
  | 字段 | 说明 |
80
86
  |------|------|
81
- | `access_token` | GitCode API 访问令牌(必填) |
82
- | `owner` | 组织/社区名称(必填) |
83
- | `repo_whitelist` | 仓库白名单,仅统计指定仓库 |
84
- | `repo_blacklist` | 仓库黑名单,排除指定仓库 |
87
+ | `access_token` | GitCode API 访问令牌,用于 API 认证 |
88
+ | `owner` | 组织/社区名称,如 `openeuler`、`boostkit` |
89
+
90
+ ### 可选参数
91
+
92
+ | 字段 | 默认值 | 说明 |
93
+ |------|--------|------|
94
+ | `label_ci_success` | `ci-pipeline-passed` | 蓝区 CI 通过标签名称 |
95
+ | `label_ci_running` | `ci-pipeline-running` | 蓝区 CI 运行中标签名称 |
96
+ | `label_yellow_ci_running` | `SC-RUNNING` | 黄区 CI 运行中标签名称 |
97
+ | `label_yellow_ci_success` | `SC-SUCC` | 黄区 CI 通过标签名称 |
98
+ | `repo_whitelist` | `[]` | 仓库白名单,仅统计指定仓库(与黑名单互斥,优先使用) |
99
+ | `repo_blacklist` | `[]` | 仓库黑名单,排除指定仓库 |
85
100
 
86
101
  获取 Access Token:GitCode → 设置 → 访问令牌 → 创建新令牌
87
102
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gitcode-insight"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "GitCode 平台代码洞察工具"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -3,7 +3,7 @@
3
3
  GitCode Insight - GitCode 平台代码洞察工具
4
4
  """
5
5
 
6
- __version__ = "0.1.1"
6
+ __version__ = "0.1.2"
7
7
  __author__ = "GitCode Insight Team"
8
8
 
9
9
  from .community import GitCodeCommunityStats
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-insight
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: GitCode 平台代码洞察工具
5
5
  Author: GitCode Insight Team
6
6
  License-Expression: MIT
@@ -97,17 +97,32 @@ gc-insight report --repo kernel --owner openeuler --token your_token --days 7
97
97
  {
98
98
  "access_token": "your_gitcode_access_token",
99
99
  "owner": "your_organization_name",
100
+ "label_ci_success": "ci-pipeline-passed",
101
+ "label_ci_running": "ci-pipeline-running",
102
+ "label_yellow_ci_running": "SC-RUNNING",
103
+ "label_yellow_ci_success": "SC-SUCC",
100
104
  "repo_whitelist": ["repo1", "repo2"],
101
105
  "repo_blacklist": ["repo3", "repo4"]
102
106
  }
103
107
  ```
104
108
 
109
+ ### 必选参数
110
+
105
111
  | 字段 | 说明 |
106
112
  |------|------|
107
- | `access_token` | GitCode API 访问令牌(必填) |
108
- | `owner` | 组织/社区名称(必填) |
109
- | `repo_whitelist` | 仓库白名单,仅统计指定仓库 |
110
- | `repo_blacklist` | 仓库黑名单,排除指定仓库 |
113
+ | `access_token` | GitCode API 访问令牌,用于 API 认证 |
114
+ | `owner` | 组织/社区名称,如 `openeuler`、`boostkit` |
115
+
116
+ ### 可选参数
117
+
118
+ | 字段 | 默认值 | 说明 |
119
+ |------|--------|------|
120
+ | `label_ci_success` | `ci-pipeline-passed` | 蓝区 CI 通过标签名称 |
121
+ | `label_ci_running` | `ci-pipeline-running` | 蓝区 CI 运行中标签名称 |
122
+ | `label_yellow_ci_running` | `SC-RUNNING` | 黄区 CI 运行中标签名称 |
123
+ | `label_yellow_ci_success` | `SC-SUCC` | 黄区 CI 通过标签名称 |
124
+ | `repo_whitelist` | `[]` | 仓库白名单,仅统计指定仓库(与黑名单互斥,优先使用) |
125
+ | `repo_blacklist` | `[]` | 仓库黑名单,排除指定仓库 |
111
126
 
112
127
  获取 Access Token:GitCode → 设置 → 访问令牌 → 创建新令牌
113
128
 
File without changes