Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!--
Thank you for reporting an issue.
This issue tracker is for bugs and issues found within Alibaba Cloud SDK for Python.
If you require more general support please file an issue on our help
repo. https://help.aliyun.com/
Please fill in as much of the template below as you're able.
Python Version: output of `python --version`
aliyunsdkcore Version: output of `aliyunsdkcore.__version__`
API: The API of the product, for example `DescribeRegionsRequest`
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you are able.
-->

* **Python Version**:
* **aliyunsdkcore Version**:
* **API**:

<!-- Enter your issue details below this comment. -->
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve

---

<!--
Thank you for reporting a possible bug.
Please fill in as much of the template below as you can.
Python Version: output of `python --version`
aliyunsdkcore Version: output of `aliyunsdkcore.__version__`
API: The API of the product, for example `DescribeRegionsRequest`
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
-->

* **Python Version**:
* **aliyunsdkcore Version**:
* **API**:


<!-- Please provide more details below this comment. -->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "\U0001F680 Feature request"
about: Suggest an idea for this project

---

<!--
Thank you for suggesting an idea to make Alibaba Cloud SDK better.
Please fill in as much of the template below as you're able.
-->

**Is your feature request related to a problem? Please describe.**
Please describe the problem you are trying to solve.

**Describe the solution you'd like**
Please describe the desired behavior.

**Describe alternatives you've considered**
Please describe alternative solutions or features you have considered.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/3-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: "⁉️ Need help with Alibaba Cloud?"
about: Please submit a work order in our work order system

---

If you have a question about Alibaba Cloud that is not a bug report or feature
request, please post it in https://selfservice.console.aliyun.com/ticket/createIndex

Questions posted to this repository will be closed.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/4-bug-report-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: "\U0001F41B 缺陷问题反馈"
about: 提交缺陷问题反馈

---

<!--
感谢提交问题反馈。
请提供尽量全面的信息协助问题定位修复。
Python Version: output of `python --version`
aliyunsdkcore Version: output of `aliyunsdkcore.__version__`
API: The API of the product, for example `DescribeRegionsRequest`
如果可能,请提供一份最小问题复现代码。
-->

* **Python Version**:
* **aliyunsdkcore Version**:
* **API**:

<!-- 请提供其他可能协助问题定位的信息 -->

19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/5-feature-request-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "\U0001F680 功能建议"
about: 建议在项目中增加功能

---

<!--
感谢您向我们提建议,我们会做得更好!
请尽可能多地填写下面的模板。
-->

**您的功能请求是否与问题有关? 请描述一下。**
请描述您要解决的问题。

**描述你想要的解决方案**
请描述所需的行为。

**描述您考虑过的替代方案**
请描述您考虑的替代解决方案或功能。
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/6-help-cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--
name: "⁉️ 需要阿里云的帮助?"
about: 请在我们的工单系统提出工单

---

如果您对阿里云 SDK 的问题不是 Bug 或希望添加新功能,
请在我们的工单系统提出工单:https://selfservice.console.aliyun.com/ticket/createIndex

此类问题将被关闭。
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "Bug Report"
about: Create a report to help us improve

---

<!--
Thank you for reporting a possible bug in Alibaba Cloud C++ SDK
Please fill in as much of the template below as you can.
Product and API: the product and API you are working on when bug occurs
Platform: output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows)
If possible, please provide code that demonstrates the problem, keeping it as
simple and free of external dependencies as you can.
If crash, please provide the stack trace.
If build error, please provide compiler infomation: compiler and version, etc
-->

* **Product and API**:
* **Platform**:
* **Mininum Code**

<!-- Please provide more details below this comment. -->
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_cn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: "缺陷问题反馈"
about: 提交缺陷问题反馈

---

<!--
感谢提交问题反馈。
请提供尽量全面的信息协助问题定位修复。
产品和接口:问题发生时工作所在的产品和调用的API
平台:操作系统信息,类型,版本
如果可能,请提供一份最小问题复现代码。
如果崩溃,请提供错误栈。
如果编译出错,请提供 cmake 版本,编译器版本,编译命令等信息。
-->

* **产品和接口**:
* **平台**:
* **最小代码**:

<!-- 请提供其他可能协助问题定位的信息 -->
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
Thank you for your pull request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests and possibly benchmarks.
Contributors guide: https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/CONTRIBUTING.md
-->

##### You need to complete
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->

- [ ] unit tests and/or feature tests
- [ ] documentation is changed or added
Copy link
Contributor

Choose a reason for hiding this comment

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

为什么缩进不一样。

24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Contributing to the Aliyun Openapi Python SDK

We work hard to provide a high-quality and useful SDK for Alibaba Cloud, and
we greatly value feedback and contributions from our community. Please submit
your [issues][issues] or [pull requests][pull-requests] through GitHub.

## Tips

- The SDK is released under the [Apache license][license]. Any code you submit
will be released under that license. For substantial contributions, we may
ask you to sign a [Alibaba Documentation Corporate Contributor License
Agreement (CLA)][cla].
- We maintain a high percentage of code coverage in our unit tests. If you make
changes to the code, please add, update, and/or remove tests as appropriate.
- If your code does not conform to the PSR standards, does not include adequate
tests, or does not contain a changelog document, we may ask you to update
your pull requests before we accept them. We also reserve the right to deny
any pull requests that do not align with our standards or goals.


[issues]: https://github.com/aliyun/aliyun-openapi-python-sdk/issues
[pull-requests]: https://github.com/aliyun/aliyun-openapi-python-sdk/pulls
[license]: http://www.apache.org/licenses/LICENSE-2.0
[cla]: https://alibaba-cla-2018.oss-cn-beijing.aliyuncs.com/Alibaba_Documentation_Open_Source_Corporate_CLA.pdf
11 changes: 4 additions & 7 deletions test_all.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from subprocess import check_call, CalledProcessError
from subprocess import check_call
access_key_id = os.environ.get('ACCESS_KEY_ID')
access_key_secret = os.environ.get('ACCESS_KEY_SECRET')
if access_key_id and access_key_secret:
Expand All @@ -13,9 +13,6 @@

os.environ.__setitem__('PYTHONPATH', ';'.join(path_list))

try:
check_call(
'coverage run --branch --source="./aliyun-python-sdk-core/aliyunsdkcore" -m pytest python-sdk-functional-test/',
shell=True)
except CalledProcessError as e:
raise
check_call(
'coverage run --branch --source="./aliyun-python-sdk-core/aliyunsdkcore" -m pytest python-sdk-functional-test/',
shell=True)