lyyyuna
|
fae8077705
|
🧪 test: 增加集测用例
|
2021-09-09 14:26:42 +08:00 |
|
lyyyuna
|
51a137411b
|
✨ feat: 新增 profile get/delete, agent get/delete 接口
|
2021-09-08 11:35:42 +08:00 |
|
lyyyuna
|
547016fc9b
|
add store interafce
|
2021-09-08 11:35:42 +08:00 |
|
lyyyuna
|
f8055dcf30
|
update license
|
2021-09-02 17:55:16 +08:00 |
|
lyyyuna
|
456c883987
|
重构
1. 去掉全局的配置 config
2. 合并 pkg/build, pkg/flag, pkg/cover, pkg/config 几个包(这几个包有强相关性,适合放一处。并且分开也容易造成循环依赖)
|
2021-09-02 14:43:08 +08:00 |
|
lyyyuna
|
d55c54d3a1
|
将 watchagent 从全局注入改为随 main 包注入
|
2021-09-02 14:43:08 +08:00 |
|
lyyyuna
|
8b1f28225e
|
watch: add numstmts
|
2021-08-08 16:16:10 +08:00 |
|
lyyyuna
|
52fd763655
|
skip & continue unknown flags
|
2021-08-08 15:45:19 +08:00 |
|
lyyyuna
|
18a5e8bdc8
|
fix: wrong project root
|
2021-08-08 15:44:55 +08:00 |
|
Li Yiyang
|
ffd1d2e2e1
|
Merge pull request #205 from tongjingran/profile
add basic goc profile
|
2021-07-23 10:29:31 +08:00 |
|
lyyyuna
|
9aeb1da8f8
|
TmpFolderName make public
|
2021-07-22 19:54:14 +08:00 |
|
tongjingran
|
cad0aa8bc3
|
rm errorf
|
2021-07-22 15:49:26 +08:00 |
|
tongjingran
|
40eb557acc
|
add profile
|
2021-07-22 15:38:00 +08:00 |
|
lyyyuna
|
81abc49af2
|
add install cmd help
|
2021-07-21 17:06:58 +08:00 |
|
tongjingran
|
465d6c506f
|
cmdLine will return file with args
|
2021-07-19 17:52:50 +08:00 |
|
tongjingran
|
b8b7305fc8
|
add --wide to show service detail
|
2021-07-19 15:50:55 +08:00 |
|
tongjingran
|
17a55bb41c
|
add goc list
|
2021-07-12 16:39:16 +08:00 |
|
lyyyuna
|
edad1f4914
|
add watch cmd
|
2021-06-24 17:28:44 +08:00 |
|
lyyyuna
|
205247b8ec
|
fix: watch client ping err fails to close ws conn
|
2021-06-24 17:28:33 +08:00 |
|
lyyyuna
|
02bd6d460c
|
fix: should close temp injected file after created
|
2021-06-24 15:39:20 +08:00 |
|
lyyyuna
|
244be86304
|
goc server, non-block channel -> block
|
2021-06-24 15:33:49 +08:00 |
|
lyyyuna
|
cf44927ce9
|
add watch mode
|
2021-06-24 15:22:24 +08:00 |
|
lyyyuna
|
3e5ab72240
|
fix: goc build ./xx/main.go miss bridge file
|
2021-06-24 11:46:05 +08:00 |
|
lyyyuna
|
a8bddd3a32
|
fix: cannot remove --mode=counter flag
|
2021-06-23 23:22:37 +08:00 |
|
lyyyuna
|
64504ae67b
|
goc install cmd
|
2021-06-23 12:51:25 +08:00 |
|
lyyyuna
|
4ebf9ee517
|
fix: deadline no need to multiply
|
2021-06-21 22:37:33 +08:00 |
|
lyyyuna
|
b3e9d7dd78
|
fix: del goc flags, still remain some
|
2021-06-21 16:47:36 +08:00 |
|
lyyyuna
|
2774123526
|
fix: macos fail to build
|
2021-06-21 15:59:59 +08:00 |
|
lyyyuna
|
6d50531f57
|
fix: agent stuck in init()
|
2021-06-20 22:16:01 +08:00 |
|
lyyyuna
|
027d31473c
|
add host flag for goc server
|
2021-06-20 21:15:51 +08:00 |
|
lyyyuna
|
ca58af2865
|
fix sync.once bug
必须使用引用,如果单纯值传递,once 也被复制了一份,导致单例不起作用。
|
2021-06-20 21:15:25 +08:00 |
|
lyyyuna
|
8df7498c33
|
goc build init version
|
2021-06-20 21:14:21 +08:00 |
|
lyyyuna
|
4c9163ce64
|
display banner and add agent's reset values
|
2021-06-20 16:25:30 +08:00 |
|
lyyyuna
|
0bebfd84aa
|
inject websocket library & agent
|
2021-06-20 15:44:16 +08:00 |
|
lyyyuna
|
1e2b8485b4
|
rpc: getprofiles rpc client finished
|
2021-06-19 16:17:29 +08:00 |
|
lyyyuna
|
4ae7fa3d31
|
adjust cover project structure
|
2021-06-17 19:53:49 +08:00 |
|
lyyyuna
|
b3647fd9d9
|
add bridge package
|
2021-06-14 15:18:29 +08:00 |
|
lyyyuna
|
495a887dc4
|
list all registered services
|
2021-06-10 20:03:47 +08:00 |
|
lyyyuna
|
30eed71465
|
add cover tool from go official
|
2021-06-09 15:40:02 +08:00 |
|
lyyyuna
|
a18bd08ddd
|
update go.mod in temp, if it has relative replace
|
2021-06-04 15:13:48 +08:00 |
|
lyyyuna
|
79310ccb4d
|
mv listpackages from cover to build package
|
2021-06-04 14:57:31 +08:00 |
|
lyyyuna
|
18c4c4a2da
|
copy project to temp location
|
2021-06-03 22:44:46 +08:00 |
|
lyyyuna
|
922340d8c4
|
parse build args
|
2021-04-19 10:18:37 +08:00 |
|
lyyyuna
|
4f39735095
|
customize log lib
|
2021-04-05 09:06:53 +08:00 |
|
lyyyuna
|
a62ac335e2
|
remove code
|
2021-03-25 23:01:11 +08:00 |
|
jichangjun
|
4ff8ee6a53
|
fix: only replase IP when the ClientIP belongs to IPV4 model
|
2021-03-22 20:38:33 +08:00 |
|
jichangjun
|
145bf7b82b
|
fix: exit successfully when catch specific signal
|
2021-03-03 18:21:08 +08:00 |
|
tangyq
|
369ad23ad3
|
codereview comments
|
2021-02-08 17:17:35 +08:00 |
|
tangyq
|
05131131f6
|
watch signal
|
2021-01-28 16:50:23 +08:00 |
|
tangyq
|
42f38df8ea
|
issue #157 fixed
|
2021-01-26 17:09:16 +08:00 |
|
jichangjun
|
d951afb435
|
remove useless logic
|
2021-01-17 18:29:24 +08:00 |
|
tongjingran
|
cc35564b1d
|
shadow symlink file instead of skip
|
2020-12-31 16:07:07 +08:00 |
|
tongjingran
|
c305472279
|
skip irregular files except dir
|
2020-12-31 11:26:48 +08:00 |
|
tongjingran
|
0be9c822e8
|
change build copy
|
2020-12-31 11:12:52 +08:00 |
|
Changjun Ji
|
51601902e2
|
Revert "optimize the file copy strategy of goc build "
|
2020-12-22 15:22:17 +08:00 |
|
Changjun Ji
|
7c8205500e
|
Revert "Improve performance of getting filelist to copy"
|
2020-12-22 15:21:31 +08:00 |
|
lyyyuna
|
711c14cad1
|
improve performance of getting filelist to copy
|
2020-12-21 13:18:49 +08:00 |
|
qiniu-bot
|
0d9db7f7af
|
Merge pull request #145 from CarlJi/1218
feature: add skipFile flag for profile API
|
2020-12-21 10:49:23 +08:00 |
|
qiniu-bot
|
b97f5f683f
|
Merge pull request #143 from tongjingran/buildCopy
optimize the file copy strategy of `goc build`
|
2020-12-21 10:27:23 +08:00 |
|
jichangjun
|
5cbf6c47ad
|
doc: update wechat image
|
2020-12-20 20:16:06 +08:00 |
|
jichangjun
|
adfacd1713
|
feature: add e2e tests
|
2020-12-20 18:12:38 +08:00 |
|
jichangjun
|
89bb9bd8b6
|
feature: add unit tests
|
2020-12-20 18:12:38 +08:00 |
|
jichangjun
|
ede278cb64
|
feature: add skipFile flag for profile API
|
2020-12-20 18:12:38 +08:00 |
|
tongjingran
|
a72ede39bd
|
change copy function name
|
2020-12-18 19:54:46 +08:00 |
|
tongjingran
|
2493847661
|
add ut
|
2020-12-15 20:43:52 +08:00 |
|
tongjingran
|
1fb530c9ab
|
fix newGopath set & target name
|
2020-12-15 20:38:43 +08:00 |
|
tongjingran
|
d8cd308ce1
|
optmise the copy stratgy
|
2020-12-15 20:38:43 +08:00 |
|
gavwu
|
237bdb3af9
|
go fmt
|
2020-12-13 14:29:40 +08:00 |
|
gavwu
|
8c4a6e7e6f
|
fix GetAll() potentially return an unprotected map
|
2020-12-10 23:35:15 +08:00 |
|
zhengjin
|
fb83028e8c
|
Update as comments.
|
2020-11-14 13:52:53 +08:00 |
|
zhengjin
|
9cfec44091
|
Fix nil issue when failed to register with coverage center.
|
2020-11-11 20:17:37 +08:00 |
|
lyyyuna
|
55fb63917d
|
update
|
2020-10-21 14:22:33 +08:00 |
|
lyyyuna
|
fcc160af52
|
fix unit test
|
2020-10-21 14:22:32 +08:00 |
|
lyyyuna
|
9a024aa009
|
do cover another way
fix
update
update injected http_cover_apis_auto_generated.go
fix legacy project
fix lint
|
2020-10-21 14:22:32 +08:00 |
|
lyyyuna
|
f1d32e7baf
|
check error
|
2020-10-21 11:36:19 +08:00 |
|
lyyyuna
|
382a28f775
|
implement set for filestore
|
2020-10-21 11:36:19 +08:00 |
|
lyyyuna
|
57a56c2d68
|
add remove command
|
2020-10-21 11:36:19 +08:00 |
|
lyyyuna
|
a22229cd1b
|
add store remove
|
2020-10-21 11:36:19 +08:00 |
|
tongjingran
|
cc7ae82b4f
|
new a goc server with New func
|
2020-09-25 20:54:36 +08:00 |
|
tongjingran
|
c175816849
|
convert cover.GocServer to a struct and support set presistence file
|
2020-09-25 20:54:31 +08:00 |
|
tongjingran
|
8aa7057b86
|
fix no profiles
|
2020-09-14 16:35:46 +08:00 |
|
lyyyuna
|
81485d7702
|
add test
|
2020-09-12 16:59:35 +08:00 |
|
lyyyuna
|
c4e12e6d86
|
fix ci
|
2020-09-11 16:06:35 +08:00 |
|
lyyyuna
|
15caa56c73
|
clear coverage by service&addr
|
2020-09-11 15:45:45 +08:00 |
|
jichangjun
|
a02988fb3a
|
add more case for filterProfile method
|
2020-09-07 15:09:54 +08:00 |
|
jichangjun
|
ff8f840b14
|
add case for profile api with coverfile flag
|
2020-09-05 18:32:55 +08:00 |
|
jichangjun
|
c00f871f80
|
add e2e for goc profile with coverfile flag
|
2020-09-05 16:53:27 +08:00 |
|
jichangjun
|
3f29fd78ca
|
redesign profile api
|
2020-09-05 15:52:27 +08:00 |
|
jichangjun
|
d648bef19e
|
add case for filterProfile func
|
2020-09-02 22:22:01 +08:00 |
|
jichangjun
|
ca15b18860
|
goc profile: add coverpkg flag
|
2020-09-02 21:06:37 +08:00 |
|
tongjingran
|
eee494b4a0
|
change do to get http response
|
2020-08-24 11:51:21 +08:00 |
|
lyyyuna
|
accc02a02d
|
alter log
|
2020-08-12 16:55:32 +08:00 |
|
lyyyuna
|
5890daa417
|
add integration test
|
2020-08-12 14:06:13 +08:00 |
|
lyyyuna
|
98b32214fc
|
update test samples
|
2020-08-12 10:42:47 +08:00 |
|
lyyyuna
|
4dfd0bc735
|
add support for go.mod contains replace directive
|
2020-08-11 20:14:24 +08:00 |
|
lyyyuna
|
288f5404b2
|
add merge command
|
2020-08-05 17:50:56 +08:00 |
|
memoryliu
|
81d69dea54
|
Fix cover service listen port issue for #74
|
2020-08-05 14:42:00 +08:00 |
|
tongjingran
|
9d7791dd3c
|
fix misspell
|
2020-07-31 15:58:54 +08:00 |
|
tongjingran
|
6244624e53
|
fix golint and ineffassign
|
2020-07-31 15:26:13 +08:00 |
|
tongjingran
|
4536d67c83
|
add comments for exported method and fix fmt
move mock struct to test file
|
2020-07-30 17:00:27 +08:00 |
|