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

update on 2020/11/20 #3

Merged
merged 807 commits into from
Nov 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
807 commits
Select commit Hold shift + click to select a range
0822fa2
update docs
hengyunabc Jul 1, 2020
6f5a4d6
remove arthas-site dep in packaging/pom.xml
hengyunabc Jul 1, 2020
07f3f74
fix as.sh select target pid
hengyunabc Jul 8, 2020
9269a36
update doc
hengyunabc Jul 8, 2020
6ee06c1
add link
hengyunabc Jul 8, 2020
634fa70
clean code
hengyunabc Jul 8, 2020
cc17f26
fix save-result options do not work problem. #1298
hengyunabc Jul 8, 2020
7f44222
update doc
hengyunabc Jul 8, 2020
10c973b
update doc
hengyunabc Jul 9, 2020
421dca0
update doc
hengyunabc Jul 9, 2020
85058ad
update doc
hengyunabc Jul 9, 2020
afc5183
update doc
hengyunabc Jul 9, 2020
4a48a7b
Transform commands of pkg klass100 (#1285)
kylixs Jul 10, 2020
94b95b2
fix jsr problem. #1304
hengyunabc Jul 14, 2020
5946227
fix jquery cdn problem.
hengyunabc Jul 14, 2020
40c2c5e
transform command: logger
kylixs Jul 14, 2020
5b7603e
transform command: dashboard, thread
kylixs Jul 14, 2020
25a8ba9
transform commands: heapdump, perfcounter
kylixs Jul 14, 2020
e629ce7
transform command: jvm, improve MEMORY section
kylixs Jul 14, 2020
5c564fb
transform command: mbean
kylixs Jul 14, 2020
661291d
add new tutorials menu. #847
hengyunabc Jul 15, 2020
5d2f555
add tutorials common-resources. #847
hengyunabc Jul 15, 2020
8e5bb61
add help commmand scenario. #847
hengyunabc Jul 15, 2020
154cdb7
fix typo
hengyunabc Jul 15, 2020
f508a8f
Transform commands of pkg monitor200 (#1306)
hengyunabc Jul 16, 2020
c946119
add known user (#1308)
kingyiu87 Jul 16, 2020
9d82196
add cls commmand scenario. #847 (#1312)
HollowMan6 Jul 16, 2020
7c21ae5
add version commmand scenario. #847 (#1315)
HollowMan6 Jul 17, 2020
73e8fcc
make build Reproducible (mostly) (#1128)
hboutemy Jul 17, 2020
eacc508
arthas thread with name
hengyunabc Jul 17, 2020
14b1b32
fix web console js do not close connect problem; fix js ws send state…
hengyunabc Jul 17, 2020
927adc9
fix tunnel client reconnect fail problem. #1284 #1178
hengyunabc Jul 17, 2020
cee21c0
change arthas threads to be daemon #1346
hengyunabc Jul 17, 2020
0556c0a
add session command scenario. (#1313)
HollowMan6 Jul 20, 2020
5f8cd7b
add quit-stop commmand scenario. #847 (#1317)
HollowMan6 Jul 20, 2020
e0fdb84
add reset command scenario. (#1314)
HollowMan6 Jul 20, 2020
d342b8d
add echo command scenario. (#1320)
HollowMan6 Jul 20, 2020
17b9116
add history command scenario. #847 (#1316)
HollowMan6 Jul 20, 2020
c77a4bc
watch/trace/monitor/tt/stack support verbose option, print ConditionE…
hengyunabc Jul 20, 2020
8617d57
add vmoption command scenario. #847 (#1347)
HollowMan6 Jul 21, 2020
2e36ff3
add sysenv command scenario. #847 (#1330)
HollowMan6 Jul 21, 2020
c25dbd9
Arthas cat 命令教程 (#1319)
HollowMan6 Jul 23, 2020
edb5bea
Transform commands of pkg monitor200 (part 2) (#1355)
kylixs Jul 23, 2020
7027705
Arthas tee 命令教程 (#1322)
HollowMan6 Jul 23, 2020
6df465f
Arthas grep 命令教程 (#1321)
HollowMan6 Jul 23, 2020
a7856ff
Arthas dashboard 命令教程 (#1326)
HollowMan6 Jul 23, 2020
ed92143
Arthas sysprop 命令教程 (#1331)
HollowMan6 Jul 23, 2020
0da415f
Arthas perfcounter 命令教程 (#1352)
HollowMan6 Jul 23, 2020
d5fa0d0
Arthas keymap 命令教程 (#1318)
HollowMan6 Jul 23, 2020
96bb9be
Arthas pwd 命令教程 (#1323)
HollowMan6 Jul 23, 2020
20762ef
Arthas jvm 命令教程 (#1329)
HollowMan6 Jul 23, 2020
75d5b15
Arthas thread 命令教程 (#1328)
HollowMan6 Jul 23, 2020
694cbfc
Improve the way to get traceid #1362
hengyunabc Jul 23, 2020
4161af4
upgrade arthas-repackage-logger to 0.0.4, fix #1363
hengyunabc Jul 23, 2020
3e12b15
prepare release 3.3.7
hengyunabc Jul 23, 2020
30b0f5f
[maven-release-plugin] prepare release arthas-all-3.3.7
hengyunabc Jul 23, 2020
e938653
[maven-release-plugin] prepare for next development iteration
hengyunabc Jul 23, 2020
3826dad
update web pages for online tutorial (#1364)
HollowMan6 Jul 24, 2020
20f31d4
fix build Reproducible. #1128
hengyunabc Jul 25, 2020
c0b3272
fix build Reproducible. #1128
hengyunabc Jul 25, 2020
5c9c1b3
fix tt show record missing params (#1387)
kylixs Jul 27, 2020
9758bfa
fix version_gt in as.sh under zsh #1366" (#1369)
lzc-alioo Jul 28, 2020
0508c77
repackage netty (#1389)
kylixs Jul 29, 2020
54d672f
fix js cdn
hengyunabc Jul 29, 2020
8dfe266
fix logger command do not work with Log4j2. ##1394 #1395
wangtaicheng Jul 30, 2020
98bdf68
fix spring-boot-starter.md
hengyunabc Jul 30, 2020
b7af332
switch to alicdn
hengyunabc Aug 3, 2020
ce11773
webconsole support wss (#1401)
dupengcheng Aug 4, 2020
dc6c61d
fix `profiler actions` command does not end (#1403)
kylixs Aug 4, 2020
8e51c91
add wc command scenario. #847 (#1384)
HollowMan6 Aug 6, 2020
247281b
add plaintext command scenario. #847 (#1383)
HollowMan6 Aug 6, 2020
8d88d2b
classloader command support the classLoaderClass option (#1360)
kylixs Aug 6, 2020
4d91839
add options command scenario. #847 (#1382)
HollowMan6 Aug 6, 2020
c4c782e
add getstatic command scenario. #847 (#1368)
HollowMan6 Aug 6, 2020
6b5a8f0
add monitor command scenario. #847 (#1377)
HollowMan6 Aug 6, 2020
d490a6c
add stack command scenario. #847 (#1380)
HollowMan6 Aug 6, 2020
c7dd99e
Arthas mbean 命令教程 #847 (#1357)
HollowMan6 Aug 6, 2020
16ea37d
support cnzz stat
hengyunabc Aug 7, 2020
7a01f23
HTTP API support one-time command execution and add HTTP API docs (#1…
kylixs Aug 7, 2020
47c2da4
Polish http api doc, add web ui snapshot
kylixs Aug 7, 2020
19ed210
add tt command scenario. #847 (#1381)
HollowMan6 Aug 7, 2020
70910d4
add trace command scenario. #847 (#1379)
HollowMan6 Aug 7, 2020
a3e31c8
add heapdump command scenario. #847 (#1373)
HollowMan6 Aug 7, 2020
3ba6451
Arthas watch 命令教程 #847 (#1378)
HollowMan6 Aug 7, 2020
6c43d06
Arthas web console 案例教程 (#1332)
HollowMan6 Aug 7, 2020
c315d74
Update webpage (#1385)
HollowMan6 Aug 7, 2020
e49a934
Merge branch 'master' of github.com:alibaba/arthas
hengyunabc Aug 7, 2020
e1db96b
update download link
hengyunabc Aug 7, 2020
86a45e9
update tutorial links
hengyunabc Aug 7, 2020
e30eaae
Arthas Async Jobs tutorial (#1354)
HollowMan6 Aug 7, 2020
9022fd7
Arthas dump tutorial #847 (#1372)
HollowMan6 Aug 7, 2020
93be862
Arthas arthas-boot tutorial #847 (#1344)
HollowMan6 Aug 7, 2020
75b89ee
Get Spring context tutorial (#1342)
HollowMan6 Aug 7, 2020
b66538e
save output result to file tutorials (#1334)
HollowMan6 Aug 7, 2020
4c7dd96
A case tutorial for troubleshooting HTTP requests returning 401 (#1341)
HollowMan6 Aug 7, 2020
ecda07c
ognl command tutorial #847 (#1327)
HollowMan6 Aug 7, 2020
f9160fc
update link to arthas.aliyun.com. #1411
hengyunabc Aug 10, 2020
6f4391a
fix profiler command --format jfr support(#1406)
oxsean Aug 10, 2020
2edd238
update download link to arthas.aliyun.com. #1411
hengyunabc Aug 10, 2020
1c4eea1
prepare release 3.3.8
hengyunabc Aug 10, 2020
e347fd7
[maven-release-plugin] prepare release arthas-all-3.3.8
hengyunabc Aug 10, 2020
9046dbb
[maven-release-plugin] prepare for next development iteration
hengyunabc Aug 10, 2020
128afe5
fix terminal hanging #1412 (#1413)
kylixs Aug 11, 2020
5286ae0
Split the online tutorial web commands into multiple menus (#1414)
HollowMan6 Aug 11, 2020
a384466
update doc
hengyunabc Aug 11, 2020
3079869
update layout.html
hengyunabc Aug 11, 2020
191b797
restore terminal flags, fix hanging issue #1412 (#1415)
kylixs Aug 11, 2020
c1aee60
polish pr #1412 (#1415)
kylixs Aug 11, 2020
d2be558
prepare release 3.3.9
hengyunabc Aug 11, 2020
feac3a4
[maven-release-plugin] prepare release arthas-all-3.3.9
hengyunabc Aug 11, 2020
1c97b1a
[maven-release-plugin] prepare for next development iteration
hengyunabc Aug 11, 2020
464d4ed
Fix classloaderhash problem in advance tutorial
HollowMan6 Aug 12, 2020
add263b
remove '--target-ip 0.0.0.0' in arthas-boot.md (#1359)
HollowMan6 Aug 12, 2020
a3b2774
Fix typos in 'Async jobs' (#1418)
HollowMan6 Aug 12, 2020
78eb6db
Fix classloaderhash problem in advance tutorial (#1417)
hengyunabc Aug 12, 2020
ef9cf11
Fix typos (#1419)
HollowMan6 Aug 12, 2020
5e3d871
update dashboard docs. #1301
zhengzheng1013 Aug 12, 2020
e297f11
add Troubleshooting HTTP request returns 404 case scenario. (#1340)
HollowMan6 Aug 12, 2020
756a8c4
update blockquote css
hengyunabc Aug 12, 2020
01fdc09
add idea plugin doc
hengyunabc Aug 12, 2020
4045d57
fix typo
hengyunabc Aug 12, 2020
7354d85
Arthas redefine class case tutorial #847 (#1339)
HollowMan6 Aug 12, 2020
c4b1fe9
Arthas jad tutorial #847 (#1374)
HollowMan6 Aug 12, 2020
306866a
Arthas ClassLoader case tutorial #847 (#1343)
HollowMan6 Aug 12, 2020
20a5fda
Arthas Change Logger Level case scenario #847 (#1337)
HollowMan6 Aug 12, 2020
efb6d1c
ignore ClassNotFoundException AgentBootstrap. #1422
hengyunabc Aug 12, 2020
dbc525d
Arthas logger command scenario tutorial #847 (#1365)
HollowMan6 Aug 12, 2020
9b56029
add profiler command scenario #847 (#1421)
HollowMan6 Aug 13, 2020
35aa6cf
add mc-redefine command scenario #847 (#1376)
HollowMan6 Aug 13, 2020
2e979ff
add sc command scenario #847 (#1370)
HollowMan6 Aug 13, 2020
1179fe1
add sm command scenario #847 (#1371)
HollowMan6 Aug 13, 2020
f125099
add Troubleshooting method invoke exception case scenario #847 (#1335)
HollowMan6 Aug 13, 2020
0366205
add Find CPU usage Top N threads case scenario #847 (#1336)
HollowMan6 Aug 13, 2020
e652137
add get java app classpath case of http api (#1426)
kylixs Aug 13, 2020
92dd9a2
Fix intro.md (#1367)
HollowMan6 Aug 13, 2020
3dc3f36
Classloader support matching classloader by class name. (#1428)
HollowMan6 Aug 14, 2020
8f3dd1e
add Troubleshoot logger conflicts case scenario #847 (#1338)
HollowMan6 Aug 14, 2020
52062ea
add HTTP API case scenario #847 (#1423)
HollowMan6 Aug 14, 2020
3d99c44
add classloader command scenario #847 (#1375)
HollowMan6 Aug 14, 2020
30d4a1a
Fix typos and links (#1434)
HollowMan6 Aug 14, 2020
08fa2a0
Fix tutorial links (#1435)
HollowMan6 Aug 14, 2020
80d716c
Fix displaying (#1436)
HollowMan6 Aug 14, 2020
6c70391
ignore .pmd (#1439)
qxo Aug 16, 2020
1bfda2b
fix typo (#1440)
H3RSKO Aug 16, 2020
ea262bd
Add --classLoaderClass for sc/sm (#1433)
HollowMan6 Aug 18, 2020
f8a1d7d
Update sc/sm Online Tutorial for classLoaderClass (#1443)
HollowMan6 Aug 18, 2020
aa81081
Optimize --classLoaderClass #1428 (#1431)
HollowMan6 Aug 18, 2020
69abe31
support skip jacoco by skipTests (#1292)
qxo Aug 18, 2020
1ec6633
fix pom
kylixs Aug 19, 2020
5c367ee
Add Press Q or Ctrl+C to abort for enhanced commands (#1454)
HollowMan6 Aug 24, 2020
bc8a5b8
Fix ID doesn't exist in T4 (#1451)
HollowMan6 Aug 24, 2020
7ecdf93
improve .travis.yml
hengyunabc Aug 24, 2020
6a3bd51
fix typo (#1458)
wangshao Aug 25, 2020
9ae8862
Classloader using --classLoaderClass in Advanced tutorial (#1456)
HollowMan6 Aug 26, 2020
d268306
Fix links, typos, 'intro.md', 'finish.md' for Online Tutorials #847 (…
HollowMan6 Aug 26, 2020
e63e0cf
Add guides for using and contributing (#1455)
HollowMan6 Aug 26, 2020
74c313e
Add --classLoaderClass for logger (#1445)
HollowMan6 Aug 26, 2020
3ce0773
redirect alibaba.github.io/arthas to aliyun
hengyunabc Aug 26, 2020
ed70f64
update doc
hengyunabc Aug 26, 2020
e3283f0
Add --classLoaderClass for dump/getstatic/jad/mc/redifine (#1447)
HollowMan6 Aug 26, 2020
f36959b
Fix typos and accessibility #847 (#1460)
HollowMan6 Aug 27, 2020
9835ee5
update contact-us.md
hengyunabc Aug 28, 2020
60bb714
change version to 3.4.0-SNAPSHOT
hengyunabc Aug 31, 2020
111f597
support maven Parallel builds and speed up as-package.sh
hengyunabc Sep 2, 2020
cd67c4a
Add condition-express param to monitor command (#1420)
mikawudi Sep 2, 2020
0af6ef0
Merge branch 'master' of github.com:alibaba/arthas
hengyunabc Sep 2, 2020
a1c8f43
support listen random port. #524
hengyunabc Sep 2, 2020
dcf50ad
support listen at netty LocalAddress, and tunnel client connect to Lo…
hengyunabc Sep 2, 2020
0ade922
fix do not unReg listener error. #1468
hengyunabc Sep 2, 2020
7742469
prepare release 3.4.0
hengyunabc Sep 2, 2020
b85bc9a
[maven-release-plugin] prepare release arthas-all-3.4.0
hengyunabc Sep 2, 2020
c0721bc
[maven-release-plugin] prepare for next development iteration
hengyunabc Sep 2, 2020
bbb695c
add arthas-properties.md
hengyunabc Sep 3, 2020
41ac103
fix typo (#1472)
bigcoder84 Sep 3, 2020
2d4c59d
improve ArthasAgent API. #1471
hengyunabc Sep 4, 2020
41f86ac
profiler command support framebuf option. #1476
hengyunabc Sep 7, 2020
fa45615
upgrade async-profiler to 1.8.1. #1478
hengyunabc Sep 7, 2020
b522ab1
profiler command support include/exclude options. #1479
hengyunabc Sep 7, 2020
4f24f82
add known user (#1481)
wwt9308040 Sep 8, 2020
ab2d832
fix as.bat set JAVACMD error (#1489)
jufeng98 Sep 11, 2020
6c00962
fix arthas load logback.xml from app problom. #1495
hengyunabc Sep 11, 2020
01142ae
upgrade arthas-repackage-logger to 0.0.5 close #1496
hengyunabc Sep 11, 2020
4a72c3e
prepare release 3.4.1
hengyunabc Sep 11, 2020
d748271
[maven-release-plugin] prepare release arthas-all-3.4.1
hengyunabc Sep 11, 2020
4972f64
[maven-release-plugin] prepare for next development iteration
hengyunabc Sep 11, 2020
bcbd592
update profiler docs. #1478 #1479
hengyunabc Sep 14, 2020
fe84834
Print recommend latest version #1509
hengyunabc Sep 18, 2020
1f9f7d6
Fix metaspace OOM problem when trace large method (#1511)
kylixs Sep 18, 2020
820d463
update spring-boot-starter.md
hengyunabc Sep 18, 2020
9e433a2
improve arthas stop logic. #1514
hengyunabc Sep 21, 2020
ffc411b
update docker.md
hengyunabc Sep 22, 2020
4d06126
Improve arthas stop logic (#1513, #1514) (#1517)
kylixs Sep 22, 2020
503e0de
improve dashboard/thread cpu time sample (#1501)
kylixs Sep 22, 2020
7f16b59
prepare release 3.4.2
hengyunabc Sep 22, 2020
956a27b
[maven-release-plugin] prepare release arthas-all-3.4.2
hengyunabc Sep 22, 2020
e40025a
[maven-release-plugin] prepare for next development iteration
hengyunabc Sep 22, 2020
512472e
Fix the problem that when the --enable-preview feature is enabled, se…
hengyunabc Sep 24, 2020
a7a1c06
Upgrade asm to 9.0 #1527
hengyunabc Sep 24, 2020
4214156
update web-console.md
hengyunabc Sep 25, 2020
f775b0f
Upgrad termd to 1.1.7.10 , remove unnecessary code #1529
hengyunabc Sep 27, 2020
4b2d182
fix arthas-client windows cmd shortcuts support. #616
hengyunabc Sep 27, 2020
4abcac9
avoid retransform lambda class. #1512
hengyunabc Sep 27, 2020
59dd383
avoid retransform lambda class. #1512
hengyunabc Sep 27, 2020
a6b6832
prepare release 3.4.3
hengyunabc Sep 27, 2020
4268b4d
[maven-release-plugin] prepare release arthas-all-3.4.3
hengyunabc Sep 27, 2020
b9aabe4
[maven-release-plugin] prepare for next development iteration
hengyunabc Sep 27, 2020
bdd8017
update spring-boot-starter.md
hengyunabc Sep 28, 2020
f67dbb6
update spring-boot-starter.md
hengyunabc Sep 28, 2020
734e1f9
update web-console.md
hengyunabc Oct 9, 2020
c95205b
tunnel server bind 0.0.0.0 by default. close #1535
hengyunabc Oct 9, 2020
b628eb7
Bump junit from 4.11 to 4.13.1 (#1540)
dependabot[bot] Oct 13, 2020
832573e
Reduce small objects generated by dashboard commands (#1533) #1542
kylixs Oct 16, 2020
ef2b8e5
feature: optimize version management (#1543)
1994 Oct 18, 2020
6be0cc5
Support profiler command on arm64. (#1259)
fornaix Oct 19, 2020
9a84d28
fix eclipse ide support. #1543
hengyunabc Oct 20, 2020
2d0b669
support maven release
hengyunabc Oct 21, 2020
8d43d8c
move bytekit to a independent project. #1545
hengyunabc Oct 21, 2020
5e73f49
fix arthas-agent-attach dependency problem. #1547
hengyunabc Oct 22, 2020
a2b45c4
fix ArthasAgent NullPointerException. #1546
hengyunabc Oct 22, 2020
79c27ad
add tunnel-common module. #1548
hengyunabc Oct 22, 2020
32d4321
tunnel server/client support http proxy. #1553
hengyunabc Oct 23, 2020
8114a97
fix typo (#1551)
xiangmingzhe0928 Oct 24, 2020
f85ad03
tunnel server support brower arthas-output. #1553
hengyunabc Oct 24, 2020
6a359cc
upgrade termd to 1.1.7.11. fix save history command ConcurrentModific…
hengyunabc Oct 24, 2020
e53f355
tunnel client report arthas version. #1556
hengyunabc Oct 26, 2020
f2101f9
add known user (#1557)
yuanrengu Oct 27, 2020
20b507c
tunnel server support package normal jar
hengyunabc Oct 27, 2020
80b5684
tunnel server support save agent info to redis; websocket url support…
hengyunabc Oct 28, 2020
e3786af
tunnel server fat jar support executable. #1558
hengyunabc Oct 30, 2020
84ebb89
tunnel server save AgentClusterInfo into redis; web-console support p…
hengyunabc Oct 30, 2020
8e15695
tunnel server support X-Real-IP/X-Real-Port. #1558
hengyunabc Oct 30, 2020
b64e18e
upgrade bytekit to 0.0.2. #1545
hengyunabc Nov 2, 2020
248e617
clean code
hengyunabc Nov 2, 2020
e13ced6
support config appName;tunnel client/server support add appName prefi…
hengyunabc Nov 2, 2020
cdec506
remove default value in as.sh/arthas-boot. #1561
hengyunabc Nov 2, 2020
288b1ee
fix testcase. #1561
hengyunabc Nov 2, 2020
1eafe43
arthas-spring-boot-starter support appName. #1562
hengyunabc Nov 3, 2020
5c0a1c7
tunnel server add pages about apps/agents, support embedded redis #1563
hengyunabc Nov 3, 2020
85be1fe
add tunnel doc.
hengyunabc Nov 3, 2020
88296cf
fix travis-ci failed problem.
hengyunabc Nov 3, 2020
e4eae4f
release 3.4.4
hengyunabc Nov 4, 2020
1f42326
fix release config
hengyunabc Nov 4, 2020
69064b0
prepare for next development iteration
hengyunabc Nov 4, 2020
10b31ab
fix javadoc
hengyunabc Nov 4, 2020
c75f979
update doc
hengyunabc Nov 4, 2020
6d56f99
fix doc conf.py
hengyunabc Nov 4, 2020
709f088
improve print agentId in welcome message. #1575
hengyunabc Nov 9, 2020
85aa4f2
session command print tunnel client connect status. #1576
hengyunabc Nov 9, 2020
ac458c1
update doc
hengyunabc Nov 11, 2020
bf3e0f6
add qqgroup2
hengyunabc Nov 11, 2020
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
**/.factorypath
/core/core.iml
/agent/agent.iml
/target
Expand All @@ -16,3 +17,8 @@ site/src/site/sphinx/_build
site/src/site/sphinx/en/_build

**/__pycache__

dependency-reduced-pom.xml
pom.xml.versionsBackup
.pmd
**/.flattened-pom.xml
55 changes: 41 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,47 @@
language: generic
language: java
sudo: false

jdk:
- openjdk7
- openjdk8
- openjdk9
- openjdk10
- openjdk11
- oraclejdk7
- oraclejdk8
- oraclejdk9
- oraclejdk10
- oraclejdk11
matrix:
include:
# Target option 6 is no longer supported. Use 7 or later.
# - env:
# - ZULUJDK=12
- env:
- ZULUJDK=11
- env:
- ZULUJDK=10
- env:
- ZULUJDK=9
- env:
- ZULUJDK=8
- env:
- ZULUJDK=7
# TLS error
# - env:
# - ZULUJDK=6

before_install:
# installing the rpm package
- sudo apt-get update -qq
- sudo apt-get install -qq rpm
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
- "[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/"
- curl -sL https://get.sdkman.io | bash
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config
- source "$HOME/.sdkman/bin/sdkman-init.sh"

install:
- sdk install java $(sdk list java | grep -o "$ZULUJDK\.[0-9\.]*-zulu" | head -1)
- unset JAVA_HOME

cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.m2/wrapper"

script:
- ./mvnw clean cobertura:cobertura package -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.linux-x86_64
- ./mvnw -version
- travis_wait 30 ./mvnw clean package --batch-mode -P full

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand All @@ -31,7 +54,11 @@ deploy:
api_key:
- secure: "V+omzrcAJ/awN3EsDkiELejjInz/rpgPLdyb4uZrcQnqhagbHYE+nY2KcjPEtRBVNkqlh6dxIIsUFvKrs5kxe5EVvI6rLQeZLFMqWUeNfWuhbuQWCV9ZPyQiqXCqNicj+LLHArzQRLx5w5YBvxdzMuXSWo1ZE4wy+c3koprulUSjr6XhNPKyyasq4EXKMXuLCjcvBVPHhXviG59Jbshb2lRHbkxMqYeLhWi/gUOBRbNC1CmcGGAMviFX7HpBOx5fMaVKPR7rzcULw3lXnLhdSwhXJ6ybnsN/osfN8zAx6XZIwvwvVQ12yM8S9eVthnjblFh+WKwOT1AS6hHFXkMTjh1FE5CtUVu+sFbGIngJ4C4O78VzWCKvH/IrIi4p2IkF+fcu8USnm7YZGuyoAwe3O5PqmWBuQV0iCEx0IGo/nPwVzj1+jnz38Go/DP1aVDJZMenysBNxi4l45d3J3CgMPvF00DDQKvxYrkBjdnByANrOisZPjIeUOc7GsWoDLCK9jZtXMID2NM+ehQnDbOJ3BS2Bjg7ojPc0Rw2yJjbzwNqaMiOPXp2ym/5DpaB/l5k2gSi2NCRUFCXhFNRCq9ChFXv+pYJwk0e17sleGvo6tnFDVCR6lFcXrYo/vGC43bL1dT4rY8E6VSRlE0jfoXdFFp4jw3v3a+DqVLGVC9UcTpw="
file_glob: true
file: "packaging/target/*.zip"
file:
- "packaging/target/*.zip"
- "packaging/target/*.deb"
- "packaging/target/*.rpm"
- "tunnel-server/target/*.jar"
skip_cleanup: true
on:
tags: true
Expand Down
60 changes: 50 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Welcome to use [issue tracker](https://github.com/alibaba/arthas/issues) to give

Welcome PR to further improve English [documentation](https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/en).

## Online Tutorials

Please refer to [README.MD at tutorials/katacoda](tutorials/katacoda/README.md#contribution-guide)

## Developer

* Arthas runtime supports JDK6+
Expand Down Expand Up @@ -51,19 +55,18 @@ Tip: you can use `--versions` to list all available versions.
* Arthas is using [Sphinx](http://www.sphinx-doc.org/en/master/) to generate the static site
* `sphinx-maven-plugin` configured in [`site/pom.xml`](https://github.com/alibaba/arthas/tree/master/site)
* `sphinx-maven-plugin` executes by downloading`sphinx-binary/`
* a [bug](https://github.com/rtfd/recommonmark/issues/93) in Sphinx plugin `recommonmark`; we fix it by packaging another [version](https://github.com/hengyunabc/sphinx-binary/releases/tag/v0.4.0.1)
* when packaging the whole project (Packaging All), you need to (Only Unix/Linux/Mac supported):
* when packaging the whole project (Packaging All), you need to execute:

```bash
./mvnw clean package -DskipTests -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64
./mvnw clean package -DskipTests -P full
```


---



## issue
## Issue

欢迎在issue里对arthas做反馈,分享使用技巧,排查问题的经历。

Expand All @@ -75,6 +78,10 @@ Tip: you can use `--versions` to list all available versions.

英文文档在`site/src/site/sphinx/en`目录下,欢迎提交翻译PR。

## 改进在线教程

请参考[tutorials/katacoda下的说明](tutorials/katacoda/README_CN.md#贡献指南)

## 开发者相关

* Arthas运行支持JDK6+
Expand Down Expand Up @@ -111,20 +118,53 @@ Tip: you can use `--versions` to list all available versions.
* arthas是用sphinx来生成静态网站
* 在`site/pom.xml`里配置了`sphinx-maven-plugin`
* `sphinx-maven-plugin`通过下载`sphinx-binary/`来执行
* sphinx配置的`recommonmark`插件有bug:https://github.com/rtfd/recommonmark/issues/93 ,因此另外打包了一个修复版本: https://github.com/hengyunabc/sphinx-binary/releases/tag/v0.4.0.1
* 全量打包时,需要配置下面的参数(目前只支持mac/linux):


* 全量打包时,需要配置下面的参数:

```
./mvnw clean package -DskipTests -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64
./mvnw clean package -DskipTests -P full
```
#### 当 sphinx-maven-plugin 下载出错时,可以用下面的方式

到 https://github.com/trustin/sphinx-binary/releases 下载对应版本的二进制文件,并在本地加上可执行权限。例如:

```
wget https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64 -o /tmp/sphinx.osx-x86_64
chmod +x /tmp/sphinx.osx-x86_64
./mvnw clean package -DskipTests -P full -Dsphinx.binUrl=file:/tmp/sphinx.osx-x86_64
```

### Release Steps

发布release版本流程:

* 修改`as.sh`里的版本
* 修改`as.sh`里的版本,最后修改日期, `Bootstrap.java`里的版本,Dockerfile里的版本
* 修改本地的maven settings.xml
* mvn release:prepare -Darguments="-DskipTests"
* mvn release:perform -Darguments="-DskipTests -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64"
* mvn clean deploy -DskipTests -P full -P release

如果在下载 sphinx-binary 出错,参考上面的 全量打包 的说明。

* 到 https://oss.sonatype.org/ 上,“Staging Repositories”然后close掉自己的,再release
* 发布后,可以到这里查看是否同步到仓库里了: https://repo1.maven.org/maven2/com/taobao/arthas/arthas-packaging/
* 发布完maven仓库之后,需要到阿里云的仓库里检查是否同步,有可能有延时

比如下载地址: https://maven.aliyun.com/repository/public/com/taobao/arthas/arthas-packaging/3.x.x/arthas-packaging-3.x.x-bin.zip

* 打上tag,push tag到仓库上
* 需要更新 gh-pages 分支下面的 arthas-boot.jar/arthas-demo.jar/as.sh ,下载 doc.zip,解压覆盖掉文档的更新
* 需要更新docker镜像,push新的tag:https://hub.docker.com/r/hengyunabc/arthas/tags?page=1&ordering=last_updated

以 3.1.0 版本为例:
```
docker build . --build-arg ARTHAS_VERSION=3.1.0 -t hengyunabc/arthas:3.1.0
docker tag hengyunabc/arthas:3.1.0 hengyunabc/arthas:latest
docker push hengyunabc/arthas:3.1.0
docker push hengyunabc/arthas:latest

docker build . --build-arg ARTHAS_VERSION=3.1.0 -f Dockerfile-No-Jdk -t hengyunabc/arthas:3.1.0-no-jdk
docker push hengyunabc/arthas:3.1.0-no-jdk
```
* 更新README.md,比如增加了新命令,要加上说明,更新wiki的链接
* 更新release页面的 issue信息,修改信息等
* 更新内部的版本
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM openjdk:8-jdk-alpine

ARG ARTHAS_VERSION="3.0.5"
ARG ARTHAS_VERSION="3.4.4"
ARG MIRROR=false

ENV MAVEN_HOST=https://repo1.maven.org/maven2 \
ALPINE_HOST=dl-cdn.alpinelinux.org \
MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public \
MIRROR_MAVEN_HOST=https://maven.aliyun.com/repository/public \
MIRROR_ALPINE_HOST=mirrors.aliyun.com

# if use mirror change to aliyun mirror site
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-No-Jdk
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM alpine

ARG ARTHAS_VERSION="3.0.5"
ARG ARTHAS_VERSION="3.4.4"
ARG MIRROR=false

ENV MAVEN_HOST=https://repo1.maven.org/maven2 \
MIRROR_MAVEN_HOST=http://maven.aliyun.com/repository/public
MIRROR_MAVEN_HOST=https://maven.aliyun.com/repository/public

# if use mirror change to aliyun mirror site
RUN if $MIRROR; then MAVEN_HOST=${MIRROR_MAVEN_HOST} ; fi && \
Expand Down
Loading