Skip to content
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

3.0 #11

Merged
merged 4,795 commits into from
Apr 27, 2021
Merged

3.0 #11

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4795 commits
Select commit Hold shift + click to select a range
e271c45
console.nacos.io has updated to nacos 2.0 and serviceName has changed…
zouyx Mar 27, 2021
445b769
update submodule config
zouyx Mar 27, 2021
5b981f6
update submodule config
zouyx Mar 27, 2021
6342e7c
remove time.format and replace local relative path dependency
ztelur Mar 27, 2021
bcb4a62
remove time.format and replace local relative path dependency
ztelur Mar 27, 2021
d2535e6
Merge pull request #1102 from zouyx/addSamples
AlexStocks Mar 28, 2021
9610074
Merge pull request #1102 from zouyx/addSamples
AlexStocks Mar 28, 2021
b0c9321
add dependency and trigger ci
ztelur Mar 28, 2021
eba1c2c
add dependency and trigger ci
ztelur Mar 28, 2021
4dc3ffc
trigger ci again
ztelur Mar 28, 2021
277d1c1
trigger ci again
ztelur Mar 28, 2021
f9d8dc1
fix:map iteration order
zhaoyunxing92 Mar 28, 2021
7984ce3
fix:map iteration order
zhaoyunxing92 Mar 28, 2021
15ebc46
fix grpc ut failure
ztelur Mar 28, 2021
c7690fe
fix grpc ut failure
ztelur Mar 28, 2021
c4a223a
Merge pull request #1109 from zhaoyunxing92/fix-map
AlexStocks Mar 28, 2021
ad3a6c4
Merge pull request #1109 from zhaoyunxing92/fix-map
AlexStocks Mar 28, 2021
dc3b916
remove log
ztelur Mar 28, 2021
6762cd2
remove log
ztelur Mar 28, 2021
dad9e42
trigger ci
ztelur Mar 28, 2021
bc32e98
trigger ci
ztelur Mar 28, 2021
0b2945d
Merge pull request #2 from apache/1.5
ztelur Mar 28, 2021
cde0d80
Merge pull request #2 from apache/1.5
ztelur Mar 28, 2021
7aaeb18
add lock when destroy
ztelur Mar 28, 2021
05e103d
add lock when destroy
ztelur Mar 28, 2021
1bccab7
Merge pull request #1112 from ztelur/feature-grpc-register
AlexStocks Mar 28, 2021
9ce7b15
Merge pull request #1112 from ztelur/feature-grpc-register
AlexStocks Mar 28, 2021
8661d10
up 1.5.6 changelist
Mar 28, 2021
cb2a10c
up 1.5.6 changelist
Mar 28, 2021
318e7cb
Merge pull request #1113 from cityiron/feature/up-changelist
cityiron Mar 28, 2021
c2d86a4
Merge pull request #1113 from cityiron/feature/up-changelist
cityiron Mar 28, 2021
9dc3a5e
upstream nacos version
xiaoliu10 Mar 29, 2021
3cf3f1b
upstream nacos version
xiaoliu10 Mar 29, 2021
f486b3f
Merge pull request #1116 from xiaoliu10/upgrade_nacos_version
AlexStocks Mar 29, 2021
50042b9
Merge pull request #1116 from xiaoliu10/upgrade_nacos_version
AlexStocks Mar 29, 2021
2f1aa20
fix bad type check logic
wenxuwan Mar 31, 2021
da1c4d6
fix bad type check logic
wenxuwan Mar 31, 2021
693bfcd
Merge remote-tracking branch 'upstream/1.5' into merge1.5to3.0
wenxuwan Mar 31, 2021
7ff77bc
Merge remote-tracking branch 'upstream/1.5' into merge1.5to3.0
wenxuwan Mar 31, 2021
e278d56
fix provider init error
wenxuwan Mar 31, 2021
33e1908
fix provider init error
wenxuwan Mar 31, 2021
eb4cee3
Merge pull request #1120 from wenxuwan/merge1.5to3.0
AlexStocks Mar 31, 2021
d7036a5
Merge pull request #1120 from wenxuwan/merge1.5to3.0
AlexStocks Mar 31, 2021
bf46098
Merge remote-tracking branch 'upstream/3.0' into fix_type_error
wenxuwan Mar 31, 2021
e0c3fdb
Merge remote-tracking branch 'upstream/3.0' into fix_type_error
wenxuwan Mar 31, 2021
1a374c8
feat: format use gofumpt
georgehao Mar 31, 2021
73bd3c1
feat: format use gofumpt
georgehao Mar 31, 2021
8d1fbb1
Merge pull request #1121 from georgehao/3.0
AlexStocks Mar 31, 2021
759bea2
Merge pull request #1121 from georgehao/3.0
AlexStocks Mar 31, 2021
e03861b
Merge pull request #1118 from wenxuwan/fix_type_error
AlexStocks Mar 31, 2021
78bea16
Merge pull request #1118 from wenxuwan/fix_type_error
AlexStocks Mar 31, 2021
5d01a24
Merge remote-tracking branch 'upstream/3.0' into move_etcd
wenxuwan Apr 1, 2021
a28385c
Merge remote-tracking branch 'upstream/3.0' into move_etcd
wenxuwan Apr 1, 2021
81f2098
Bump github.com/magiconair/properties from 1.8.4 to 1.8.5
dependabot[bot] Apr 1, 2021
7a5f629
Bump github.com/magiconair/properties from 1.8.4 to 1.8.5
dependabot[bot] Apr 1, 2021
7521e21
move 3rd import block
qq5272689 Apr 1, 2021
b1839a1
move 3rd import block
qq5272689 Apr 1, 2021
87b9d01
fix panic: sync: negative WaitGroup counter
Apr 2, 2021
856e5ab
fix panic: sync: negative WaitGroup counter
Apr 2, 2021
4b6e2a5
fixï: add hessian support
LaurenceLiZhixin Apr 2, 2021
3452103
fixï: add hessian support
LaurenceLiZhixin Apr 2, 2021
7644129
feat: add triple hessian support
LaurenceLiZhixin Apr 2, 2021
d785615
feat: add triple hessian support
LaurenceLiZhixin Apr 2, 2021
5c6772f
fix: fix conflict
LaurenceLiZhixin Apr 2, 2021
d495d89
fix: fix conflict
LaurenceLiZhixin Apr 2, 2021
d3848f7
fix: change go mod
LaurenceLiZhixin Apr 2, 2021
ddf86b4
fix: change go mod
LaurenceLiZhixin Apr 2, 2021
6a8c453
fix: change go mod
LaurenceLiZhixin Apr 2, 2021
6a76922
fix: change go mod
LaurenceLiZhixin Apr 2, 2021
6a1c325
fix: fix conflict
LaurenceLiZhixin Apr 2, 2021
911fd2d
fix: fix conflict
LaurenceLiZhixin Apr 2, 2021
9d261f4
fix: change consul
LaurenceLiZhixin Apr 2, 2021
69136b3
fix: change consul
LaurenceLiZhixin Apr 2, 2021
f190aaa
fix: rerun ci
LaurenceLiZhixin Apr 2, 2021
e4fefc7
fix: rerun ci
LaurenceLiZhixin Apr 2, 2021
26b691a
change go.mod
wenxuwan Apr 2, 2021
c7bf9b5
change go.mod
wenxuwan Apr 2, 2021
c979223
fix: triple finish
LaurenceLiZhixin Apr 3, 2021
00ae936
fix: triple finish
LaurenceLiZhixin Apr 3, 2021
c93717f
fix: add router weight
LaurenceLiZhixin Apr 3, 2021
32981f0
fix: add router weight
LaurenceLiZhixin Apr 3, 2021
40e827f
fix
LaurenceLiZhixin Apr 3, 2021
a3db267
fix
LaurenceLiZhixin Apr 3, 2021
fd137b3
fix
LaurenceLiZhixin Apr 3, 2021
b182216
fix
LaurenceLiZhixin Apr 3, 2021
18ab0e1
fix ci error
wenxuwan Apr 3, 2021
a6ee0ce
fix ci error
wenxuwan Apr 3, 2021
2165ccd
fix: fix import block
LaurenceLiZhixin Apr 3, 2021
e8bad05
fix: fix import block
LaurenceLiZhixin Apr 3, 2021
29c49db
fix: split router from dubbogo
LaurenceLiZhixin Apr 3, 2021
43ce557
fix: split router from dubbogo
LaurenceLiZhixin Apr 3, 2021
b1e7913
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
8b5ac5d
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
84b2779
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
5a5103b
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
1e17715
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
36fc244
fix: restart ci
LaurenceLiZhixin Apr 3, 2021
b235db6
Merge pull request #1115 from apache/dependabot/go_modules/develop/gi…
AlexStocks Apr 3, 2021
409c745
Merge pull request #1115 from apache/dependabot/go_modules/develop/gi…
AlexStocks Apr 3, 2021
6ba4ba3
fix: update golang ci
LaurenceLiZhixin Apr 3, 2021
9202654
fix: update golang ci
LaurenceLiZhixin Apr 3, 2021
e5eb845
nacos for service_discovery support namespace
Malvin666 Apr 2, 2021
608ae85
nacos for service_discovery support namespace
Malvin666 Apr 2, 2021
98549c5
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 3, 2021
5f4a51d
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 3, 2021
d3e57a4
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
6ff62af
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
6b12856
Merge pull request #1129 from jack15083/1.5
AlexStocks Apr 3, 2021
9635a6a
Merge pull request #1129 from jack15083/1.5
AlexStocks Apr 3, 2021
e8d4c3a
fix: fix merge conflict
LaurenceLiZhixin Apr 3, 2021
7d01274
fix: fix merge conflict
LaurenceLiZhixin Apr 3, 2021
fdba6d4
fix: fix zk import
LaurenceLiZhixin Apr 3, 2021
72abb01
fix: fix zk import
LaurenceLiZhixin Apr 3, 2021
329a292
fix: change ci lint vesion
LaurenceLiZhixin Apr 3, 2021
9b0e5ea
fix: change ci lint vesion
LaurenceLiZhixin Apr 3, 2021
f7ae84a
Merge pull request #1076 from wenxuwan/move_etcd_to_gost
AlexStocks Apr 3, 2021
9119d58
Merge pull request #1076 from wenxuwan/move_etcd_to_gost
AlexStocks Apr 3, 2021
6619560
fix: conflict
LaurenceLiZhixin Apr 3, 2021
2d54f5c
fix: conflict
LaurenceLiZhixin Apr 3, 2021
f09fd71
Merge pull request #1071 from LaurenceLiZhixin/Ftr/triple
AlexStocks Apr 3, 2021
ca7f3a8
Merge pull request #1071 from LaurenceLiZhixin/Ftr/triple
AlexStocks Apr 3, 2021
23c38c4
Merge branch '3.0' into Ftr/proxy-service
LaurenceLiZhixin Apr 3, 2021
e3b2cf2
Merge branch '3.0' into Ftr/proxy-service
LaurenceLiZhixin Apr 3, 2021
22ab636
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
71a50f9
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
b57ae3a
fix: conflict
LaurenceLiZhixin Apr 3, 2021
6879502
fix: conflict
LaurenceLiZhixin Apr 3, 2021
71a014e
fix: change import block
LaurenceLiZhixin Apr 3, 2021
926cfe3
fix: change import block
LaurenceLiZhixin Apr 3, 2021
3614937
fix: change passthrough factory param
LaurenceLiZhixin Apr 3, 2021
82d26db
fix: change passthrough factory param
LaurenceLiZhixin Apr 3, 2021
a2cd760
fix: change passthrough factory param
LaurenceLiZhixin Apr 3, 2021
77f9cea
fix: change passthrough factory param
LaurenceLiZhixin Apr 3, 2021
0152055
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
27ff1f7
fix: fix conflict
LaurenceLiZhixin Apr 3, 2021
4eae5f2
Merge pull request #1081 from LaurenceLiZhixin/Ftr/proxy-service
AlexStocks Apr 3, 2021
f39cc52
Merge pull request #1081 from LaurenceLiZhixin/Ftr/proxy-service
AlexStocks Apr 3, 2021
f85ed31
get from upstream
LaurenceLiZhixin Apr 3, 2021
aefa0e9
get from upstream
LaurenceLiZhixin Apr 3, 2021
4f34e5c
fix: conflict
LaurenceLiZhixin Apr 3, 2021
a668c79
fix: conflict
LaurenceLiZhixin Apr 3, 2021
1e0e6a8
Merge branch '3.0' into Ftr/uniform-router
LaurenceLiZhixin Apr 3, 2021
685c97c
Merge branch '3.0' into Ftr/uniform-router
LaurenceLiZhixin Apr 3, 2021
25969dc
fix: fix comment
LaurenceLiZhixin Apr 3, 2021
ca88c8d
fix: fix comment
LaurenceLiZhixin Apr 3, 2021
ad274b5
Merge branch 'Ftr/uniform-router' of github.com:LaurenceLiZhixin/dubb…
LaurenceLiZhixin Apr 3, 2021
a1e75f7
Merge branch 'Ftr/uniform-router' of github.com:LaurenceLiZhixin/dubb…
LaurenceLiZhixin Apr 3, 2021
e9928aa
fix: fix go mod
LaurenceLiZhixin Apr 3, 2021
15fbcfc
fix: fix go mod
LaurenceLiZhixin Apr 3, 2021
6589a7d
Merge pull request #1083 from LaurenceLiZhixin/Ftr/uniform-router
AlexStocks Apr 3, 2021
d1801c1
Merge pull request #1083 from LaurenceLiZhixin/Ftr/uniform-router
AlexStocks Apr 3, 2021
2dd44a2
Fix: Id -> ID
AlexStocks Apr 4, 2021
6610eae
Fix: Id -> ID
AlexStocks Apr 4, 2021
d7b6a2c
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 4, 2021
e53721e
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 4, 2021
b26354d
3.0 service discovery optimize
Patrick0308 Apr 4, 2021
1370cb8
use once
Patrick0308 Apr 4, 2021
61af2d0
optimize
Patrick0308 Apr 4, 2021
2418f79
remove some thing
Patrick0308 Apr 4, 2021
7320d65
Merge branch '3.0' into 3.0
LaurenceLiZhixin Apr 5, 2021
5c0f7ba
Merge branch '3.0' into 3.0
LaurenceLiZhixin Apr 5, 2021
1a04530
Merge pull request #1099 from qq5272689/3.0
AlexStocks Apr 5, 2021
abbd985
Merge pull request #1099 from qq5272689/3.0
AlexStocks Apr 5, 2021
5d1733c
fix: plugin
LaurenceLiZhixin Apr 5, 2021
be250df
fix: plugin
LaurenceLiZhixin Apr 5, 2021
d74b9b7
fix: refresh tag
LaurenceLiZhixin Apr 5, 2021
a1550a8
fix: refresh tag
LaurenceLiZhixin Apr 5, 2021
503bde6
Merge pull request #1132 from LaurenceLiZhixin/Fix/3.0-plugin
AlexStocks Apr 5, 2021
19c3cc3
Merge pull request #1132 from LaurenceLiZhixin/Fix/3.0-plugin
AlexStocks Apr 5, 2021
4f9e7ea
fix: fix lint bug
LaurenceLiZhixin Apr 5, 2021
9651ec2
fix: fix lint bug
LaurenceLiZhixin Apr 5, 2021
185bce9
fix: change GetID function
LaurenceLiZhixin Apr 5, 2021
d2c4dff
fix: change GetID function
LaurenceLiZhixin Apr 5, 2021
b94c4de
Merge pull request #1133 from LaurenceLiZhixin/Fix/lintbug
AlexStocks Apr 5, 2021
eeaca76
Merge pull request #1133 from LaurenceLiZhixin/Fix/lintbug
AlexStocks Apr 5, 2021
99eff44
inmemory metadata
Patrick0308 Apr 5, 2021
3b4022b
inmemory metadata
Patrick0308 Apr 5, 2021
f0e527b
Add: place v1.5.6 into readme
AlexStocks Apr 9, 2021
771dea8
Add: place v1.5.6 into readme
AlexStocks Apr 9, 2021
95c99f0
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 9, 2021
6463de0
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 9, 2021
851a131
fix config change event error
ztelur Apr 11, 2021
d982a87
comment
ztelur Apr 11, 2021
2ec80b8
Merge pull request #1144 from ztelur/bugfix-config-change-handle
AlexStocks Apr 11, 2021
101d54b
Merge remote-tracking branch 'upstream/3.0' into feature/3.0-service-…
Patrick0308 Apr 12, 2021
896a687
fix
Patrick0308 Apr 12, 2021
801415e
Merge branch 'develop' of https://github.com/apache/dubbo-go into dev…
AlexStocks Apr 14, 2021
00dbac5
Merge branch '3.0' into develop
AlexStocks Apr 14, 2021
b239c55
fix: fix test gomod
LaurenceLiZhixin Apr 14, 2021
a46ea43
fix registery dir cache key issue
Apr 14, 2021
21ee1a1
fix: add test file comment
LaurenceLiZhixin Apr 15, 2021
faf3bfb
优化方法名
Apr 15, 2021
ea7f4e7
Merge pull request #1156 from LaurenceLiZhixin/Fix/gomod
AlexStocks Apr 15, 2021
e2022b0
Merge branch '3.0' into develop
AlexStocks Apr 16, 2021
3d172bf
âfeat: support v3 remote zk metadata report
LaurenceLiZhixin Apr 16, 2021
0bd7945
Merge pull request #1157 from jack15083/3.0
AlexStocks Apr 17, 2021
b63df6c
fix
Patrick0308 Apr 17, 2021
54136c7
fix generateMetadataURL
Patrick0308 Apr 17, 2021
e12e499
register metadata info in hessian
Patrick0308 Apr 17, 2021
3734790
fix getMetadataInfo invoke arguments
Patrick0308 Apr 17, 2021
76a2082
add interface_key param
Patrick0308 Apr 17, 2021
e09ecf7
getMetadataInfo add error return
Patrick0308 Apr 17, 2021
964da2c
getMetadataInfo add error return
Patrick0308 Apr 17, 2021
aba4167
register service info in hessian
Patrick0308 Apr 17, 2021
e3b111c
add comment and remove some unuseless
Patrick0308 Apr 17, 2021
9a3d220
optimize extension local metadataService
Patrick0308 Apr 17, 2021
b28f571
pub metadata constantly
Patrick0308 Apr 17, 2021
0341626
add comment
Patrick0308 Apr 17, 2021
12375e7
Merge branch 'v3metadata-report' into feature/3.0-service-discovery
Patrick0308 Apr 17, 2021
4f7ecdf
Merge remote-tracking branch 'upstream/develop' into feature/3.0-serv…
Patrick0308 Apr 17, 2021
613c3f6
Merge remote-tracking branch 'upstream/3.0' into feature/3.0-service-…
Patrick0308 Apr 17, 2021
9f3bfd0
remove duplicate code, add comment and fix
Patrick0308 Apr 18, 2021
8c57438
optimize and fix import
Patrick0308 Apr 18, 2021
cc72394
add comment and split import
Patrick0308 Apr 18, 2021
a1241e4
fix
Patrick0308 Apr 18, 2021
9387e76
fix
Patrick0308 Apr 18, 2021
e0a7396
modify release_note.md
Patrick0308 Apr 18, 2021
873627d
add TODO
Patrick0308 Apr 18, 2021
ec5851e
fix problems
Patrick0308 Apr 18, 2021
558f074
fix import
Patrick0308 Apr 18, 2021
8d0b841
fix import
Patrick0308 Apr 18, 2021
48b1e4b
fix import and add comment
Patrick0308 Apr 18, 2021
84863bf
fix import and add comment
Patrick0308 Apr 18, 2021
c4caf90
fix mod and fix import
Patrick0308 Apr 18, 2021
393c9ad
fix service instances changed listener
Patrick0308 Apr 18, 2021
ec2809c
fix zookeeper service_discovery.go
Patrick0308 Apr 18, 2021
c5b9675
optimize creator
Patrick0308 Apr 18, 2021
ccf888b
optimize and modify comment
Patrick0308 Apr 18, 2021
d4cfabf
fix import and modify comment
Patrick0308 Apr 18, 2021
8899533
fix
Patrick0308 Apr 18, 2021
54fe4f5
fix import
Patrick0308 Apr 18, 2021
571ab31
fix
Patrick0308 Apr 18, 2021
520f55c
exprot struct field
Patrick0308 Apr 18, 2021
f4e4e69
add error log
Patrick0308 Apr 18, 2021
631e1f3
fix
Patrick0308 Apr 18, 2021
030e8f5
build(deps): bump github.com/RoaringBitmap/roaring from 0.5.5 to 0.6.0
dependabot[bot] Apr 19, 2021
a1e8e53
add BaseApplicationMetadataIdentifier
Patrick0308 Apr 19, 2021
fc8a61d
fix
Patrick0308 Apr 19, 2021
19968a0
fix
Patrick0308 Apr 19, 2021
a4edfbf
fix json classType
Patrick0308 Apr 19, 2021
8477a9b
fix payload json classType
Patrick0308 Apr 19, 2021
4acc46f
fix
Patrick0308 Apr 19, 2021
6b103f1
Merge pull request #1161 from Patrick0308/feature/3.0-service-discovery
AlexStocks Apr 19, 2021
8f66263
Merge pull request #1163 from apache/dependabot/go_modules/develop/gi…
AlexStocks Apr 21, 2021
d386794
Imp: baseUrl -> baseURl
AlexStocks Apr 21, 2021
1c00a04
Merge branch '3.0' of https://github.com/apache/dubbo-go into 3.0
AlexStocks Apr 21, 2021
a14c18f
modify map use in nacos service_discovery; Fix issue-1165 (#1169)
WilliamLeaves Apr 21, 2021
279ccd2
Fix: use triple v0.1.2, split dubbogo from triple (#1168)
LaurenceLiZhixin Apr 23, 2021
e9f16c8
Client pool enhance (#1119)
wenxuwan Apr 25, 2021
3a9956a
fix: change version (#1170)
LaurenceLiZhixin Apr 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .asf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
jira_options: link label link label
notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
jira_options: link label link label
38 changes: 19 additions & 19 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: Bug Report
about: Report a bug
labels: kind/bug

---

<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!

-->


**What happened**:

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:

**Anything else we need to know?**:
---
name: Bug Report
about: Report a bug
labels: kind/bug
---
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->
**What happened**:
**What you expected to happen**:
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: Enhancement Request
about: Suggest an enhancement
labels: kind/feature

---
<!-- Please only use this template for submitting enhancement requests -->

**What would you like to be added**:

---
name: Enhancement Request
about: Suggest an enhancement
labels: kind/feature
---
<!-- Please only use this template for submitting enhancement requests -->
**What would you like to be added**:
**Why is this needed**:
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Thanks for sending a pull request!
Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request.
Read https://github.com/apache/dubbo-go/blob/master/contributing.md before commit pull request.
-->

**What this PR does**:
Expand Down
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
target-branch: "develop"

- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"
target-branch: "develop"
54 changes: 54 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: "CodeQL"

on:
push:
branches: [master, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 4 * * 5'

jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
40 changes: 27 additions & 13 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ jobs:
# If you want to matrix build , you can append the following list.
matrix:
go_version:
- 1.13
- 1.15
os:
- ubuntu-latest

env:
DING_TOKEN: ${{ secrets.DING_TOKEN }}
DING_SIGN: ${{ secrets.DING_SIGN }}

steps:

- name: Set up Go 1.x
Expand All @@ -31,7 +35,7 @@ jobs:
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v2.1.4
with:
# Cache
path: ~/go/pkg/mod
Expand All @@ -50,18 +54,28 @@ jobs:
go get -v -t -d ./...
fi

- name: License Check
- name: gofmt
run: |
go fmt ./... && [[ -z `git status -s` ]]
sh before_validate_license.sh
chmod u+x /tmp/tools/license/license-header-checker
/tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]]
go fmt ./... && git status && [[ -z `git status -s` ]]
# diff -u <(echo -n) <(gofmt -d -s .)

- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0

- name: Test
- name: Run Linter
run: golangci-lint run --timeout=10m -v

- name: Verify
run: |
chmod u+x before_ut.sh && ./before_ut.sh
go mod vendor && go test ./... -coverprofile=coverage.txt -covermode=atomic
chmod +x integrate_test.sh && ./integrate_test.sh
make verify

- name: Integrate Test
run: |
chmod +x integrate_test.sh && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}}

- name: Post Coverage
run: bash <(curl -s https://codecov.io/bash)

- name: Hello world
run: echo Hello world ${{ secrets.DING_TOKEN }} ${{ secrets.DING_SIGN }}

- name: Coverage
run: bash <(curl -s https://codecov.io/bash)
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ config_center/apollo/mockDubbog.properties.json
# vim stuff
*~
.*.sw?
/license-header-checker-linux/
/license-header-checker-linux.zip
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "samples"]
path = samples
url = [email protected]:apache/dubbo-go-samples.git
63 changes: 63 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 10
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2
depguard:
list-type: blacklist
packages:
# logging is allowed only by logutils.Log, logrus
# is allowed to use only in logutils package
- github.com/sirupsen/logrus
misspell:
locale: US
lll:
line-length: 140
goimports:
local-prefixes: github.com/golangci/golangci-lint
gocritic:
enabled-tags:
- performance
- style
- experimental
disabled-checks:
- wrapperFunc

linters:
disable-all: true
enable:
- govet
- staticcheck
- ineffassign
- misspell

run:
skip-dirs:
- test/testdata_etc
- pkg/golinters/goanalysis/(checker|passes)

issues:
exclude-rules:
- text: "weak cryptographic primitive"
linters:
- gosec
- linters:
- staticcheck
text: "SA1019:"

# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.15.x # use the fixed version to not introduce new linters unexpectedly
prepare:
- echo "here I can run custom commands, but no preparation needed for this repo"

35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

Loading