Skip to content
Permalink
Browse files
[ci] Fix dead link checker error when new file add (#676)
* [ci] Fix dead link checker error when new file add

* Change DLC config

* Test new img add

* Test new content file add

* Revert "Test new content file add"

This reverts commit dfb0690

* Revert "Test new img add"

This reverts commit 1fcb6b1

* Revert "[ci] Fix dead link checker error when new file add"

This reverts commit 38ff065

* Remove ignore pattern 127.0.0.1

* Remove ignore pattern http://192.168.xx.xx

* Remove ignore pattern https://stackoverflow.com/

* Remove ignore pattern https://mvnrepository.com/

* Remove ignore pattern http://www.baeldung.com/bdd-mockito

* Remove ignore pattern https://sks-keyservers.net/

* remove link start with /en-us/ except download

* remove link start with /zh-cn/ except download

* Fix 403 link

* Move listdocs to release dir

* fix dead link

* fix dead link

* fix dead link of history versions

* Fix deadlink arch design

* fix deadlink blog

* fix deadlink blog

* fix deadlink community

* fix deadlink community

* fix deadlink development

* fix deadlink development
  • Loading branch information
zhongjiajie committed Feb 10, 2022
1 parent bac049e commit 6d7aa27cf57f57fed8973219f20ed1147a79415f
Showing 222 changed files with 459 additions and 841 deletions.
@@ -2,50 +2,20 @@
"ignorePatterns": [
{
"pattern": "^http://localhost"
},
{
"pattern": "^http://192.168.xx.xx"
},
{
"pattern": "^http://127.0.0.1"
},
{
"pattern": "^https://stackoverflow.com/"
},
{
"pattern": "^https://mvnrepository.com/"
},
{
"pattern": "^https://sks-keyservers.net/"
},
{
"pattern": "^http://www.baeldung.com/bdd-mockito"
}
],
"replacementPatterns": [
{
"pattern": "^/img/",
"replacement": "https://dolphinscheduler.apache.org/img/"
},
{
"pattern": "^/asset/dolphinscheduler-netutils.jar",
"replacement": "https://dolphinscheduler.apache.org/asset/dolphinscheduler-netutils.jar"
},
{
"pattern": "^/en-us/",
"replacement": "https://dolphinscheduler.apache.org/en-us/"
},
{
"pattern": "^/file/",
"replacement": "https://dolphinscheduler.apache.org/file/"
"pattern": "^/en-us/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/en-us/download/download.html"
},
{
"pattern": "^/zh-cn/",
"replacement": "https://dolphinscheduler.apache.org/zh-cn/"
"pattern": "^/zh-cn/download/download.html$",
"replacement": "https://dolphinscheduler.apache.org/zh-cn/download/download.html"
},
{
"pattern": "^/docs/",
"replacement": "https://dolphinscheduler.apache.org/docs/"
"pattern": "^/",
"replacement": "{{BASEURL}}/"
}
],
"timeout": "10s",
@@ -11,7 +11,7 @@ Please also make sure your node version is 10+, version lower than 10.x is not s
## Build instruction

1. Run `npm install` in the root directory to install the dependencies.
2. Run `npm run start` in the root directory to start a local server, you will see the website in 'http://127.0.0.1:8080'.
2. Run `npm run start` in the root directory to start a local server, you will see the website in 'http://localhost:8080'.
3. Run `npm run build` to build source code into dist directory.
4. Verify your change locally: `python -m SimpleHTTPServer 8000`, when your python version is 3 use :`python3 -m http.server 8000` instead.

@@ -4,7 +4,7 @@

On October 22, 2021, we are excited to announce the release of Apache DolphinScheduler 1.3.9. After a month and a half,Apache DolphinScheduler 1.3.9 brings StandaloneServer to users with the joint efforts of the community. StandaloneServer is a major update of this version, which means a huge leap in ease of use, and the details will be introduced below. In addition, this upgrade also fixes two critical bugs in 1.3.8.

## 1.3.9 Download:[1.3.9 Download Link](/en-us/download/download.html)
## 1.3.9 Download:[1.3.9 Download Link](https://dolphinscheduler.apache.org/en-us/download/download.html)

In 1.3.9, the main updates include:

@@ -26,9 +26,9 @@ It shows that 1.3.9 reduces the configuration cost through built-in components.

<img src="/img/login_en.png" width="60%" />

Access the front page address, interface IP (self-modified) [http://192.168.xx.xx:12345/dolphinscheduler](http://192.168.xx.xx:12345/dolphinscheduler), with the default name and password:admin/dolphinscheduler123.
Access the front page address, interface IP (self-modified) [http://localhost:12345/dolphinscheduler](http://localhost:12345/dolphinscheduler), with the default name and password:admin/dolphinscheduler123.

The detailed user docs for Standalone, please refer to:[1.3.9 standalone-server](/en-us/docs/1.3.9/user_doc/standalone-server.html)
The detailed user docs for Standalone, please refer to:[1.3.9 standalone-server](https://dolphinscheduler.apache.org/en-us/docs/1.3.9/user_doc/standalone-server.html)

## Optimization and Fix

@@ -68,11 +68,11 @@ There are many ways to participate in and contribute to the Apache DolphinSchedu
* Contribute to the first PR (document, code). We hope it to be simple and a try to get yourself familiar with the submission process and community collaboration.
* We have compiled a list of issues suitable for novices: [Good First Issues](https://github.com/apache/dolphinscheduler/issues/5689)
* And a list of issues for non-newbie: [Volunteer Wanted](https://github.com/apache/dolphinscheduler/issues?q=is%3Aopen+is%3Aissue+label%3A%22volunteer+wanted%22)
* How to participate in the contribution: [Participate in Contributing](/en-us/community/development/contribute.html)
* How to participate in the contribution: [Participate in Contributing](https://dolphinscheduler.apache.org/en-us/community/development/contribute.html)

Apache DolphinScheduler Community needs you! Even if a small piece of tile will make a big differnce.

If you are interested in contributing code we created [Good First Issues ](https://github.com/apache/dolphinscheduler/issues/5689) to get you started. If you have any questions about [code](https://github.com/apache/dolphinscheduler), [installation](/en-us/download/download.html), and [docs](/en-us/docs/latest/user_doc/guide/quick-start.html) please do not hesitate to reach out to us on [slack](https://app.slack.com/client/T01L3LB96V7/C01LUG59GPR).
If you are interested in contributing code we created [Good First Issues ](https://github.com/apache/dolphinscheduler/issues/5689) to get you started. If you have any questions about [code](https://github.com/apache/dolphinscheduler), [installation](https://dolphinscheduler.apache.org/en-us/download/download.html), and [docs](https://dolphinscheduler.apache.org/en-us/docs/1.3.9/user_doc/quick-start.html) please do not hesitate to reach out to us on [slack](https://app.slack.com/client/T01L3LB96V7/C01LUG59GPR).

**Community Official Website**

@@ -22,7 +22,7 @@ Make sure that your node version is 10+, docsite does not yet support versions h

1. Run `npm install` in the root directory to install the dependencies.

2. Run `npm run start` in the root directory to start a local server, you will see the website in 'http://127.0.0.1:8080'.
2. Run `npm run start` in the root directory to start a local server, you will see the website in 'http://localhost:8080'.

3. Run `npm run build` to build source code into dist directory.

@@ -12,7 +12,9 @@
- Pay attention to boundary conditions.
- Unit tests should be well designed as well as avoiding useless code.
- When you find a `method` is difficult to write unit test, and if you confirm that the `method` is `bad code`, then refactor it with the developer.
<!-- markdown-link-check-disable -->
- DolphinScheduler: [mockito](http://site.mockito.org/). Here are some development guides: [mockito tutorial](http://www.baeldung.com/bdd-mockito), [mockito refcard](https://dzone.com/refcardz/mockito)
<!-- markdown-link-check-enable -->
- TDD(option): When you start writing a new feature, you can try writing test cases first.

### 3. Test coverage setpoint
@@ -29,7 +29,7 @@ bug-report.yml

## Publish Image

Build docker image first, please refer to [How to build a Docker image?](/en-us/docs/latest/user_doc/guide/installation/docker.html)
Build docker image first, please refer to [How to build a Docker image?](https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/installation/docker.html)

And then publish image

@@ -60,7 +60,7 @@ DolphinScheduler have hundreds of contributors, you could find them in our repos

## Becoming a Committer

DolphinScheduler follows the Apache way to build the community. Anyone can become a committer once they have contributed sufficiently to the project and earned the trust. Read [Contributing Guides](/en-us/community/development/contribute.html) to take part in the community.
DolphinScheduler follows the Apache way to build the community. Anyone can become a committer once they have contributed sufficiently to the project and earned the trust. Read [Contributing Guides](https://dolphinscheduler.apache.org/en-us/community/development/contribute.html) to take part in the community.

The DolphinScheduler community follows the [Apache Community’s process](http://community.apache.org/newcommitter.html) on accepting a new committer.

@@ -53,6 +53,8 @@ Error: Process completed with exit code 1.
这种情况下,我们会在check里面得到 check dependency license fail的错误信息,如上,我们缺少了HikariCP-java6-2.3.13、c3p0等的license声明,
按照添加jar的步骤补充即可,提示还是蛮友好的(哈哈)。
### 附件

<!-- markdown-link-check-disable -->
附件:新jar的邮件格式
```
[VOTE][New Jar] jetcd-core(registry plugin support etcd3 )
@@ -94,6 +96,7 @@ https://mvnrepository.com/artifact/io.etcd/jetcd-core
https://mvnrepository.com/artifact/io.etcd/jetcd-launcher
```
<!-- markdown-link-check-enable -->

### 参考文章:
* [COMMUNITY-LED DEVELOPMENT "THE APACHE WAY"](https://apache.org/dev/licensing-howto.html)
@@ -22,7 +22,7 @@ DolphinScheduler 网站由 [docsite](https://github.com/chengshiwen/docsite-ext)

1. 在根目录中运行 `npm install` 以安装依赖项。

2. 在根目录下运行 `npm run start` 启动本地服务器,其将允许在 http://127.0.0.1:8080。
2. 在根目录下运行 `npm run start` 启动本地服务器,其将允许在 http://localhost:8080。

3. 运行 `npm run build` 可以生成文档网站源代码。

@@ -9,7 +9,9 @@ Unit Test
* 注意边界条件。
* 单元测试也应该好好设计,不要写无用的代码。
* 当你发现一个`方法`很难写单元测试时,如果可以确认这个`方法``臭代码`,那么就和开发者一起重构它。
* DolphinScheduler: [mockito](http://site.mockito.org/). 下面是一些开发向导: [mockito tutorial](http://www.baeldung.com/bdd-mockito), [mockito refcard](https://dzone.com/refcardz/mockito)
<!-- markdown-link-check-disable -->
* DolphinScheduler: [mockito](http://site.mockito.org/). 下面是一些开发向导: [mockito tutorial](https://www.baeldung.com/bdd-mockito), [mockito refcard](https://dzone.com/refcardz/mockito)
<!-- markdown-link-check-enable -->
* TDD(可选):当你开始写一个新的功能时,你可以试着先写测试用例。
### 3.测试覆盖率设定值
* 在现阶段,Delta 更改代码的测试覆盖设定值为:>=60%,越高越好。