Skip to content

Commit ad092d5

Browse files
authored
optimize: rename module name to seata.apache.org/seata-go (#678)
1 parent 465e8c7 commit ad092d5

File tree

240 files changed

+1011
-1014
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+1011
-1014
lines changed

.github/workflows/integrate-test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ jobs:
6262
${{ runner.os }}-go-
6363
6464
# This step only runs when the event type is a pull_request
65-
- name: Integrate Test
66-
if: ${{ github.event_name == 'pull_request' }}
67-
run: |
68-
chmod +x integrate_test.sh && [[ -n "${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n "${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]] && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}} ${{github.base_ref}}
69-
70-
# This step only runs when the event type is a push
71-
- name: Integrate Test
72-
if: ${{ github.event_name == 'push' }}
73-
run: |
74-
chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY $GITHUB_SHA $GITHUB_BASE_REF
65+
# - name: Integrate Test
66+
# if: ${{ github.event_name == 'pull_request' }}
67+
# run: |
68+
# chmod +x integrate_test.sh && [[ -n "${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n "${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]] && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}} ${{github.base_ref}}
69+
#
70+
# # This step only runs when the event type is a push
71+
# - name: Integrate Test
72+
# if: ${{ github.event_name == 'push' }}
73+
# run: |
74+
# chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY $GITHUB_SHA $GITHUB_BASE_REF
75+
#

CHANGELOG.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,34 @@
55

66
### feature:
77

8-
- [[#1](https://github.com/seata/seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local
9-
- [[#2](https://github.com/seata/seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions
10-
- [[#122](https://github.com/seata/seata-go/pull/122)] feat: add two phase and tcc dubbo
11-
- [[#127](https://github.com/seata/seata-go/pull/127)] feat: transaction at datasource
8+
- [[#1](https://github.com/apache/incubator-seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local
9+
- [[#2](https://github.com/apache/incubator-seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions
10+
- [[#122](https://github.com/apache/incubator-seata-go/pull/122)] feat: add two phase and tcc dubbo
11+
- [[#127](https://github.com/apache/incubator-seata-go/pull/127)] feat: transaction at datasource
1212

1313
### bugfix:
1414

15-
- [[#5](https://github.com/seata/seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug
16-
- [[#15](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug
17-
- [[#34](https://github.com/seata/seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{}
18-
- [[#130](https://github.com/seata/seata-go/pull/130)] fix: getty session auto close bug
19-
- [[#155](https://github.com/seata/seata-go/pull/155)] bugfix: fix rollback response status bug
15+
- [[#5](https://github.com/apache/incubator-seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug
16+
- [[#15](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug
17+
- [[#34](https://github.com/apache/incubator-seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{}
18+
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] fix: getty session auto close bug
19+
- [[#155](https://github.com/apache/incubator-seata-go/pull/155)] bugfix: fix rollback response status bug
2020

2121
### optimize:
2222

23-
- [[#3](https://github.com/seata/seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project
24-
- [[#18](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty
25-
- [[#19](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code
26-
- [[#125](https://github.com/seata/seata-go/pull/125)] optimize named for the resource manager api
27-
- [[#165](https://github.com/seata/seata-go/pull/165)] test: add unit test and labeler workflow
23+
- [[#3](https://github.com/apache/incubator-seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project
24+
- [[#18](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty
25+
- [[#19](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code
26+
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] optimize named for the resource manager api
27+
- [[#165](https://github.com/apache/incubator-seata-go/pull/165)] test: add unit test and labeler workflow
2828

2929
### test:
3030

31-
- [[#9f4d8](https://github.com/seata/seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec
31+
- [[#9f4d8](https://github.com/apache/incubator-seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec
3232

3333
### doc:
3434

35-
- [[#0](https://github.com/seata/seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world
36-
- [[#146](https://github.com/seata/seata-go/pull/146)] doc: add license
37-
- [[#153](https://github.com/seata/seata-go/pull/153)] docs: add readme ,contributing and pr template doc
38-
- [[#167](https://github.com/seata/seata-go/pull/167)] fix typo in reademe
35+
- [[#0](https://github.com/apache/incubator-seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world
36+
- [[#146](https://github.com/apache/incubator-seata-go/pull/146)] doc: add license
37+
- [[#153](https://github.com/apache/incubator-seata-go/pull/153)] docs: add readme ,contributing and pr template doc
38+
- [[#167](https://github.com/apache/incubator-seata-go/pull/167)] fix typo in reademe

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It is warmly welcomed if you have interest to hack on seata-go. First, we encour
1414

1515
## Reporting general issues
1616

17-
To be honest, we regard every user of seata-go as a very kind contributor. After experiencing seata-go, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/seata/seata-go/issues/new/choose).
17+
To be honest, we regard every user of seata-go as a very kind contributor. After experiencing seata-go, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/apache/incubator-seata-go/issues/new/choose).
1818

1919
Since we collaborate project seata-go in a distributed way, we appreciate **WELL-WRITTEN**, **DETAILED**, **EXPLICIT** issue reports. To make the communication more efficient, we wish everyone could search if your issue is an existing one in the searching list. If you find it existing, please add your details in comments under the existing issue instead of opening a brand new one.
2020

@@ -65,14 +65,14 @@ Since you are ready to improve seata-go with a PR, we suggest you could take a l
6565

6666
To put forward a PR, we assume you have registered a GitHub ID. Then you could finish the preparation in the following steps:
6767

68-
1. **FORK** seata-go to your repository. To make this work, you just need to click the button Fork in right-left of [seata/seata](https://github.com/seata/seata-go) main page. Then you will end up with your repository in `https://github.com/<your-username>/seata-go`, in which `your-username` is your GitHub username.
68+
1. **FORK** seata-go to your repository. To make this work, you just need to click the button Fork in right-left of [seata/seata](https://github.com/apache/incubator-seata-go) main page. Then you will end up with your repository in `https://github.com/<your-username>/seata-go`, in which `your-username` is your GitHub username.
6969

7070
1. **CLONE** your own repository to develop locally. Use `git clone [email protected]:<your-username>/seata-go.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make.
7171

72-
1. **Set Remote** upstream to be `[email protected]:seata/seata-go.git` using the following two commands:
72+
1. **Set Remote** upstream to be `[email protected]:apache/seata-go.git` using the following two commands:
7373

7474
```bash
75-
git remote add upstream [email protected]:seata/seata-go.git
75+
git remote add upstream [email protected]:apache/seata-go.git
7676
git remote set-url --push upstream no-pushing
7777
```
7878

@@ -82,15 +82,15 @@ With this remote setting, you can check your git remote configuration like this:
8282
$ git remote -v
8383
origin [email protected]:<your-username>/seata-go.git (fetch)
8484
origin [email protected]:<your-username>/seata-go.git (push)
85-
upstream [email protected]:seata/seata-go.git (fetch)
85+
upstream [email protected]:apache/seata-go.git (fetch)
8686
upstream no-pushing (push)
8787
```
8888

8989
Adding this, we can easily synchronize local branches with upstream branches.
9090

9191
### Branch Definition
9292

93-
Right now we assume every contribution via pull request is for [branch develop](https://github.com/seata/seata-go/tree/develop) in seata-go. Before contributing, be aware of branch definition would help a lot.
93+
Right now we assume every contribution via pull request is for [branch develop](https://github.com/apache/incubator-seata-go/tree/master) in seata-go. Before contributing, be aware of branch definition would help a lot.
9494

9595
As a contributor, keep in mind again that every contribution via pull request is for branch develop. While in project seata-go, there are several other branches, we generally call them release branches(such as 0.6.0,0.6.1), feature branches, hotfix branches and master branch.
9696

CONTRIBUTING_CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## 报告一般问题
1616

17-
老实说我们把每一个 seata-go 用户都视为非常善良的贡献者。在体验了 seata-go 之后,您可能会对项目有一些反馈。然后随时通过 [NEW ISSUE](https://github.com/seata/seata-go/issues/new/choose)打开一个问题。
17+
老实说我们把每一个 seata-go 用户都视为非常善良的贡献者。在体验了 seata-go 之后,您可能会对项目有一些反馈。然后随时通过 [NEW ISSUE](https://github.com/apache/incubator-seata-go/issues/new/choose)打开一个问题。
1818

1919
因为我们在一个分布式的方式合作项目 seata-go,我们欣赏写得很好的,详细的,准确的问题报告。为了让沟通更高效,我们希望每个人都可以搜索您的问题是否在搜索列表中。如果您发现它存在,请在现有问题下的评论中添加您的详细信息,而不是打开一个全新的问题。
2020

@@ -65,14 +65,14 @@
6565

6666
为了提出 PR,我们假设你已经注册了一个 GitHub ID。然后您可以通过以下步骤完成准备工作:
6767

68-
1. **FORK** seata-go 到您的存储库。要完成这项工作,您只需单击 [seata/seata-go](https://github.com/seata/seata-go) 主页右侧的 Fork 按钮。然后你将在 中得到你的存储库`https://github.com/<your-username>/seata-go`,其中 your-username 是你的 GitHub 用户名。
68+
1. **FORK** seata-go 到您的存储库。要完成这项工作,您只需单击 [apache/seata-go](https://github.com/apache/incubator-seata-go) 主页右侧的 Fork 按钮。然后你将在 中得到你的存储库`https://github.com/<your-username>/seata-go`,其中 your-username 是你的 GitHub 用户名。
6969

7070
2. **克隆** 您自己的存储库以在本地开发. 用于 `git clone [email protected]:<your-username>/seata-go.git` 将存储库克隆到本地计算机。 然后您可以创建新分支来完成您希望进行的更改。
7171

72-
3. **设置远程** 将上游设置为 `[email protected]:seata/seata-go.git` 使用以下两个命令:
72+
3. **设置远程** 将上游设置为 `[email protected]:apache/seata-go.git` 使用以下两个命令:
7373

7474
```bash
75-
git remote add upstream [email protected]:seata/seata-go.git
75+
git remote add upstream [email protected]:apache/seata-go.git
7676
git remote set-url --push upstream no-pushing
7777
```
7878

@@ -82,15 +82,15 @@ git remote set-url --push upstream no-pushing
8282
$ git remote -v
8383
origin [email protected]:<your-username>/seata-go.git (fetch)
8484
origin [email protected]:<your-username>/seata-go.git (push)
85-
upstream [email protected]:seata/seata-go.git (fetch)
85+
upstream [email protected]:apache/seata-go.git (fetch)
8686
upstream no-pushing (push)
8787
```
8888

8989
添加这个,我们可以轻松地将本地分支与上游分支同步。
9090

9191
### 分支定义
9292

93-
现在我们假设通过拉取请求的每个贡献都是针对 seata-go 中的 [开发分支](https://github.com/seata/seata-go/tree/master) 。在贡献之前,请注意分支定义会很有帮助。
93+
现在我们假设通过拉取请求的每个贡献都是针对 seata-go 中的 [开发分支](https://github.com/apache/incubator-seata-go/tree/master) 。在贡献之前,请注意分支定义会很有帮助。
9494

9595
作为贡献者,请再次记住,通过拉取请求的每个贡献都是针对分支开发的。而在 seata-go 项目中,还有其他几个分支,我们一般称它们为 release 分支(如0.6.0、0.6.1)、feature 分支、hotfix 分支和 master 分支。
9696

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The principle of seata-go is consistent with that of Seata-java, which is compos
4343

4444
## How to run?
4545

46-
if you want to know how to use and integrate seata-go, please refer to [seata/seata-go-samples](https://github.com/seata/seata-go-samples)
46+
if you want to know how to use and integrate seata-go, please refer to [apache/seata-go-samples](https://github.com/apache/incubator-seata-go-samples)
4747

4848
## How to join us?
4949

README_ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Seata-go 的原理和 Seata-java 保持一致,都是由 TM、RM 和 TC 组成
4545

4646
## 如何运行项目?
4747

48-
关于如何使用和集成 seata-go 的示例,可以参考 [seata/seata-go-samples](https://github.com/seata/seata-go-samples)
48+
关于如何使用和集成 seata-go 的示例,可以参考 [apache/seata-go-samples](https://github.com/apache/incubator-seata-go-samples)
4949

5050

5151
## 如何给Seata-go贡献代码?

changes/0.1.0.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,37 +30,37 @@
3030

3131
### feature:
3232

33-
- [[#1](https://github.com/seata/seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local
34-
- [[#2](https://github.com/seata/seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions
35-
- [[#122](https://github.com/seata/seata-go/pull/122)] feat: add two phase and tcc dubbo
36-
- [[#127](https://github.com/seata/seata-go/pull/127)] feat: transaction at datasource
33+
- [[#1](https://github.com/apache/incubator-seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local
34+
- [[#2](https://github.com/apache/incubator-seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions
35+
- [[#122](https://github.com/apache/incubator-seata-go/pull/122)] feat: add two phase and tcc dubbo
36+
- [[#127](https://github.com/apache/incubator-seata-go/pull/127)] feat: transaction at datasource
3737

3838
### bugfix:
3939

40-
- [[#5](https://github.com/seata/seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug
41-
- [[#15](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug
42-
- [[#34](https://github.com/seata/seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{}
43-
- [[#130](https://github.com/seata/seata-go/pull/130)] fix: getty session auto close bug
44-
- [[#155](https://github.com/seata/seata-go/pull/155)] bugfix: fix rollback response status bug
40+
- [[#5](https://github.com/apache/incubator-seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug
41+
- [[#15](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug
42+
- [[#34](https://github.com/apache/incubator-seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{}
43+
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] fix: getty session auto close bug
44+
- [[#155](https://github.com/apache/incubator-seata-go/pull/155)] bugfix: fix rollback response status bug
4545

4646
### optimize:
4747

48-
- [[#3](https://github.com/seata/seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project
49-
- [[#18](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty
50-
- [[#19](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code
51-
- [[#125](https://github.com/seata/seata-go/pull/125)] optimize named for the resource manager api
52-
- [[#165](https://github.com/seata/seata-go/pull/165)] test: add unit test and labeler workflow
48+
- [[#3](https://github.com/apache/incubator-seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project
49+
- [[#18](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty
50+
- [[#19](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code
51+
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] optimize named for the resource manager api
52+
- [[#165](https://github.com/apache/incubator-seata-go/pull/165)] test: add unit test and labeler workflow
5353

5454
### test:
5555

56-
- [[#9f4d8](https://github.com/seata/seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec
56+
- [[#9f4d8](https://github.com/apache/incubator-seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec
5757

5858
### doc:
5959

60-
- [[#0](https://github.com/seata/seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world
61-
- [[#146](https://github.com/seata/seata-go/pull/146)] doc: add license
62-
- [[#153](https://github.com/seata/seata-go/pull/153)] docs: add readme ,contributing and pr template doc
63-
- [[#167](https://github.com/seata/seata-go/pull/167)] fix typo in reademe
60+
- [[#0](https://github.com/apache/incubator-seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world
61+
- [[#146](https://github.com/apache/incubator-seata-go/pull/146)] doc: add license
62+
- [[#153](https://github.com/apache/incubator-seata-go/pull/153)] docs: add readme ,contributing and pr template doc
63+
- [[#167](https://github.com/apache/incubator-seata-go/pull/167)] fix typo in reademe
6464

6565
### contributors:
6666

0 commit comments

Comments
 (0)