tencent cloud

Tencent Infrastructure Automation for Terraform

Product Introduction
Overview
Strengths
Scenarios
Purchase Guide
Getting Started
Use Terraform in Local PC
User Guide
Configuration Guide
Syntax Guide
Resource List
Combination with DevOps
Code Management
Continuous Integration and Deployment
Use Cases
Deploying Cloud Native Service
Cross-Region Replication of Resources
Case Studies
Convertlab's IaC Practices Based on Tencent Cloud for Terraform
Provider Contributor Guide
Welcome
Contribute
Developer Reference
FAQs
Signature Error
Init Acceleration
Enabling Log Tracking
Managing Existing Resource
State Lock

Creating Pull Request

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-12-02 16:01:33
Any individual or team can contribute code to TencentCloud Provider and send a pull request to it in the following process:

Official repository

Forking code

You need to fork the main repository and make changes to the code in the newly created repository.


Branch naming convention

Generally, a branch needs to be named in the format of type/scope-content so that others can quickly locate the changed scope and content. Common prefixes are:
fix/*: Issue fix.
feat/*: Feature addition.
doc/*: Document change.
style/*: Format, spelling, or other code changes that do not affect the logic.
chore/*: Chore submission that is irrelevant to the code logic.
Summarize the changed module and content in the suffix, such as:
fix/tke-auth-retry: The authentication retrial issue is fixed for the TKE module.
feat/new-free-ssl-resource: An SSL resource is added.
doc/cvm-field-misspell: The spelling of a word is corrected in the CVM document.
Avoid names such as:
john-test: The name of a developer.
fix/20221027: The changed scope and content are not indicated.
fix/bug: Improper content is contained.

Acceptance test

To ensure that your changes work properly, you need to write and execute an acceptance test for logic changes as instructed in Writing Test Case.

Sending a pull request

After the change, create a merge request to the main repository. Select the main repository in the red box and your repository in the green box as shown below:


Submitting the changelog inventory

After sending the pull request, you need to submit a .changelog/<Pull request number>.txt file describing the request type, module, and change as follows:
resource/<module>: something has done
For more information, see Submitting Changelog.

Pull request check

After the pull request is sent, basic merge checks will be performed by the action.

If your code requires an acceptance test, the code repository personnel will mark it with run-check to trigger execution of the test cases that can cover your changes.

Code merge

After the merge checks are passed and the repository personnel confirm that the branch can be merged, the branch will be merged into the main branch. Version release will be based on the merge. As this point, you have contributed your code.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan