Skip to content

docs: add user manual for CLA signing system#454

Open
JavaPythonAIForBAT wants to merge 1 commit into
reviewfrom
docs/add-user-manual
Open

docs: add user manual for CLA signing system#454
JavaPythonAIForBAT wants to merge 1 commit into
reviewfrom
docs/add-user-manual

Conversation

@JavaPythonAIForBAT

Copy link
Copy Markdown
Contributor

Summary

  • Add user-manual-cla-zh.md: Chinese user manual
  • Add user-manual-cla-en.md: English user manual

Both manuals cover all roles (community manager, corp admin, employee manager, contributor) with ASCII onboarding flowchart, three-part step format (what you do / what we do / how to verify), step-by-step API examples, and FAQ.

Test plan

  • Review Chinese manual for accuracy against API behavior
  • Review English manual for accuracy against API behavior
  • Verify all API paths and request body examples are correct

🤖 Generated with Claude Code

Add Chinese and English user manuals covering all roles
(community manager, corp admin, employee manager, contributor)
with step-by-step API examples and FAQ.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@opensourceways-bot

Copy link
Copy Markdown

Welcome To opensourceways Community

Hey @JavaPythonAIForBAT , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: infratructure ,
and any of the maintainers: @GeorgeCao-hw, @TangJia025, @pkking, @zhongjun2 ,
and any of the committers: @JavaPythonAIForBAT, @Zherphy, @tfhddd, @zhongjun2 .

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

JavaPythonAIForBAT, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown

Linking Issue Notice

@JavaPythonAIForBAT , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds comprehensive user manuals in English and Chinese for the CLA system, detailing roles, onboarding flows, and API operations. Feedback was provided to correct the documentation regarding API request formats: the POST /v1/link/ endpoint expects form data instead of JSON, and the link_id field is redundant in the request body for template uploads as it is already a path parameter.

Comment thread user-manual-cla-en.md
Comment on lines +101 to +112
Send a request to `POST /v1/link/` with the following body:

```json
{
"platform": "github",
"org_id": "your-org-name",
"repo_id": "",
"org_alias": "Your Org Display Name",
"org_logo": "https://example.com/logo.png",
"project_url": "https://github.com/your-org"
}
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The LinkController.Link implementation uses fetchInputPayloadFromFormData, which indicates that the API expects form data (either application/x-www-form-urlencoded or multipart/form-data) rather than a JSON request body. Please update the example to reflect the correct content type and format.

Suggested change
Send a request to `POST /v1/link/` with the following body:
```json
{
"platform": "github",
"org_id": "your-org-name",
"repo_id": "",
"org_alias": "Your Org Display Name",
"org_logo": "https://example.com/logo.png",
"project_url": "https://github.com/your-org"
}
```
Send a request to POST /v1/link/ (Content-Type: application/x-www-form-urlencoded) with the following parameters:
platform: github
org_id: your-org-name
repo_id: ""
org_alias: Your Org Display Name
org_logo: https://example.com/logo.png
project_url: https://github.com/your-org

Comment thread user-manual-cla-en.md
Comment on lines +136 to +137
link_id: <link_id from previous step>
apply_to: individual (or corporation)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The link_id is already specified as a path parameter in the URL (/v1/cla/:link_id). It is redundant to include it in the form data body.

Suggested change
link_id: <link_id from previous step>
apply_to: individual (or corporation)
apply_to: individual (or corporation)

Comment thread user-manual-cla-zh.md
Comment on lines +93 to +104
向 `POST /v1/link/` 发送请求,携带以下参数:

```json
{
"platform": "github",
"org_id": "your-org-name",
"repo_id": "",
"org_alias": "Your Org Display Name",
"org_logo": "https://example.com/logo.png",
"project_url": "https://github.com/your-org"
}
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

后端 LinkController.Link 使用了 fetchInputPayloadFromFormData,这表明该接口期望接收表单数据(application/x-www-form-urlencodedmultipart/form-data),而不是 JSON 请求体。请更新示例以符合实际的接口要求。

Suggested change
`POST /v1/link/` 发送请求,携带以下参数:
```json
{
"platform": "github",
"org_id": "your-org-name",
"repo_id": "",
"org_alias": "Your Org Display Name",
"org_logo": "https://example.com/logo.png",
"project_url": "https://github.com/your-org"
}
```
向 POST /v1/link/ 发送请求 (Content-Type: application/x-www-form-urlencoded),携带以下参数:
platform: github
org_id: your-org-name
repo_id: ""
org_alias: Your Org Display Name
org_logo: https://example.com/logo.png
project_url: https://github.com/your-org

Comment thread user-manual-cla-zh.md
Comment on lines +128 to +129
link_id: <上一步获取的 link_id>
apply_to: individual (或 corporation)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

link_id 已经作为路径参数包含在 URL 中(/v1/cla/:link_id),在表单正文中再次包含它是多余的。

Suggested change
link_id: <上一步获取的 link_id>
apply_to: individual (或 corporation)
apply_to: individual (或 corporation)

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
Check代码检查
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants