-
Notifications
You must be signed in to change notification settings - Fork 26
Add collaboration guide for third-parties #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| # 第三方接入 RuyiSDK 的合作模式 | ||
|
|
||
| RuyiSDK 团队欢迎第三方项目寻求接入 RuyiSDK 的生态。我们把目前支持的合作模式列举如下;我们欢迎感兴趣的合作方与我们联系。 | ||
|
|
||
| ## 合作模式 | ||
|
|
||
| ### 源码对接 | ||
|
|
||
| * **第三方**提供相关软件包的**源码**。 | ||
| * **RuyiSDK 团队**将其构建为二进制包。 | ||
| * 二进制包通过 **RuyiSDK 官方镜像源**分发。 | ||
| * 软件包的定义通过 **RuyiSDK 官方软件源仓库**分发。 | ||
|
|
||
| 第三方可向 RuyiSDK 团队分享关于打包的必要做法与建议等信息,以便 RuyiSDK 团队的打包版本能更好体现原产品的风貌。 | ||
|
|
||
| ### 二进制包对接 | ||
|
|
||
| 在源码对接模式不适用的场合,RuyiSDK 也可以单纯做二进制包的分发。第三方需要把相关软件包的二进制兼容情况告知 | ||
| RuyiSDK 团队,如支持架构、支持发行版等,以便 RuyiSDK 团队进行测试等工作。 | ||
|
|
||
| 此种对接方式下,关于二进制包的分发方式,目前存在两种选择: | ||
|
|
||
| * **第三方**提供相关软件包的**二进制分发版本**,并授权 RuyiSDK 团队对其进行再分发。 | ||
| * **RuyiSDK 团队**负责将其上传至 RuyiSDK 官方镜像源。 | ||
| * 二进制包通过 **RuyiSDK 官方镜像源**被再分发。 | ||
| * 软件包的定义通过 **RuyiSDK 官方软件源仓库**分发。 | ||
|
|
||
| 以及: | ||
|
|
||
| * **第三方**自行维护相关软件包的**下载链接**,并提供给 RuyiSDK 团队。 | ||
| * 二进制包通过**第三方自有渠道**分发。 | ||
| * 软件包的定义通过 **RuyiSDK 官方软件源仓库**分发。 | ||
|
|
||
| 如第三方欲自行维护相关资源下载,需要注意放行 RuyiSDK 包管理器的下载请求:目前 RuyiSDK 包管理器不支持特殊的鉴权或登录流程,在服务器看来就是一般的 | ||
| `wget` 或 `curl` 之类的请求,但会携带一个 `User-Agent: ruyi/<包管理器版本号>` 的 HTTP 头。 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在公开的给合作伙伴可见的文章中,"第三方"换成“合作伙伴”是不是更加合适些?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我觉得可能还好吧,还没合作怎么能叫合作伙伴?不过你想改的话可以自己改掉