Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
688c6f15
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
688c6f15
编写于
12月 20, 2022
作者:
K
kezhenxu94
提交者:
GitHub
12月 20, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add guide to bump up Zipkin dependency (#10186)
上级
6da1ab0d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
85 addition
and
2 deletion
+85
-2
docs/en/guides/How-to-bump-up-zipkin.md
docs/en/guides/How-to-bump-up-zipkin.md
+81
-0
docs/menu.yml
docs/menu.yml
+4
-2
未找到文件。
docs/en/guides/How-to-bump-up-zipkin.md
0 → 100644
浏览文件 @
688c6f15
# How to bump up Zipkin Lens dependency
Because SkyWalking embeds Zipkin Lens UI as a part of the SkyWalking UI, and Zipkin Lens UI contains
a lot of other front-end dependencies that we also distribute in SkyWalking binary tars, so we have
to take care of the dependencies' licenses when we bump up the Zipkin Lens dependency.
Make sure to do the following steps when you bump up the Zipkin Lens dependency:
-
Clone the Zipkin project into a directory.
```
shell
ZIPKIN_VERSION
=
<the Zipkin version you want to bump to>
git clone https://github.com/openzipkin/zipkin
&&
cd
zipkin
git checkout
$ZIPKIN_VERSION
cd
zipkin-lens
```
-
Create
`.licenserc.yaml`
with the following content.
```
shell
cat
>
.licenserc.yaml
<<
EOF
header:
license:
spdx-id: Apache-2.0
copyright-owner: Apache Software Foundation
dependency:
files:
- package.json
licenses:
- name: cli-table
version: 0.3.1
license: MIT
- name: domutils
version: 1.5.1
license: BSD-2-Clause
- name: rework
version: 1.0.1
license: MIT
EOF
```
-
Create license template
`LICENSE.tpl`
with the following content.
```
{{ range .Groups }}
========================================================================
{{ .LicenseID }} licenses
========================================================================
The following components are provided under the {{ .LicenseID }} License. See project link for details.
{{- if eq .LicenseID "Apache-2.0" }}
The text of each license is the standard Apache 2.0 license.
{{- else }}
The text of each license is also included in licenses/LICENSE-[project].txt.
{{ end }}
{{- range .Deps }}
https://npmjs.com/package/{{ .Name }}/v/{{ .Version }} {{ .Version }} {{ .LicenseID }}
{{- end }}
{{ end }}
```
-
Make sure you're using the supported NodeJS version and NPM version.
```
shell
node
-v
# should be v14.x.x
npm
-v
# should be 6.x.x
```
-
Run the following command to generate the license file.
```
shell
license-eye dependency resolve
--summary
LICENSE.tpl
```
-
Copy the generated file
`LICENSE`
to replace the
`zipkin-LICENSE`
in SkyWalking repo.
Note: if there are dependencies that license-eye failed to identify the license, you should manually
identify the license and add it to the step above in
`.licenserc.yaml`
.
docs/menu.yml
浏览文件 @
688c6f15
...
@@ -211,6 +211,8 @@ catalog:
...
@@ -211,6 +211,8 @@ catalog:
path
:
"
/en/guides/how-to-release/"
path
:
"
/en/guides/how-to-release/"
-
name
:
"
Compiling
Guide"
-
name
:
"
Compiling
Guide"
path
:
"
/en/guides/How-to-build"
path
:
"
/en/guides/How-to-build"
-
name
:
"
How
to
bump
up
Zipkin
dependency"
path
:
"
/en/guides/How-to-bump-up-zipkin"
-
name
:
"
APIs"
-
name
:
"
APIs"
catalog
:
catalog
:
-
name
:
"
Telemetry
APIs/Protocols"
-
name
:
"
Telemetry
APIs/Protocols"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录