You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/09/27 05:23:16 UTC
[GitHub] [doris] hf200012 opened a new pull request, #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
hf200012 opened a new pull request, #13005:
URL: https://github.com/apache/doris/pull/13005
# Proposed changes
Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Issue Number: close #xxx
## Problem summary
Describe your changes.
## Checklist(Required)
1. Does it affect the original behavior:
- [ ] Yes
- [ ] No
- [ ] I don't know
2. Has unit tests been added:
- [ ] Yes
- [ ] No
- [ ] No Need
3. Has document been added or modified:
- [ ] Yes
- [ ] No
- [ ] No Need
4. Does it need to update dependencies:
- [ ] Yes
- [ ] No
5. Are there any changes that cannot be rolled back:
- [ ] Yes (If Yes, please explain WHY)
- [ ] No
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13005:
URL: https://github.com/apache/doris/pull/13005#issuecomment-1259070292
#### `sh-checker report`
To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/3133148046") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' found no issues.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' returned error 1 finding the following formatting issues:
----------
--- docs/build_check.sh.orig
+++ docs/build_check.sh
@@ -33,28 +33,28 @@
rm -rf website/community
cp -R docs/en/community website/
rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs/*
-mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
+mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
cp -R docs/zh-CN/docs/* website/i18n/zh-CN/docusaurus-plugin-content-docs/current/
cp docs/dev.json website/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
-rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
+rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current
cp -R docs/zh-CN/community/* website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
cp -R docs/sidebarsCommunity.json website/
cp -R docs/sidebars.json website/
cp -R docs/images website/static/
-sed '2,3d' website/versions.json > website/versions.json1
+sed '2,3d' website/versions.json >website/versions.json1
rm -rf website/versions.json
mv website/versions.json1 website/versions.json
-sed '123,128d' website/docusaurus.config.js > website/docusaurus.config.js1
+sed '123,128d' website/docusaurus.config.js >website/docusaurus.config.js1
rm -rf website/docusaurus.config.js
mv website/docusaurus.config.js1 website/docusaurus.config.js
cd website
npm install -g npm@8.19.1
npm install -g yarn
yarn cache clean
-yarn && yarn build
+yarn && yarn build
cd ../
-rm -rf website
+rm -rf website
echo "***************************************"
echo "Docs build check pass"
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13005:
URL: https://github.com/apache/doris/pull/13005#issuecomment-1259253916
#### `sh-checker report`
To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/3133657438") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' found no issues.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' returned error 1 finding the following formatting issues:
----------
--- docs/build_check.sh.orig
+++ docs/build_check.sh
@@ -33,27 +33,27 @@
rm -rf website/community
cp -R docs/en/community website/
rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs/*
-mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
+mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
cp -R docs/zh-CN/docs/* website/i18n/zh-CN/docusaurus-plugin-content-docs/current/
cp docs/dev.json website/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
-rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
+rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current
cp -R docs/zh-CN/community/* website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
cp -R docs/sidebarsCommunity.json website/
cp -R docs/sidebars.json website/
cp -R docs/images website/static/
-sed '2,3d' website/versions.json > website/versions.json1
+sed '2,3d' website/versions.json >website/versions.json1
rm -rf website/versions.json
mv website/versions.json1 website/versions.json
-sed '123,128d' website/docusaurus.config.js > website/docusaurus.config.js1
+sed '123,128d' website/docusaurus.config.js >website/docusaurus.config.js1
rm -rf website/docusaurus.config.js
mv website/docusaurus.config.js1 website/docusaurus.config.js
cd website
npm install -g npm@8.19.1
npm install -g yarn
yarn cache clean
-yarn && yarn build
-rm -rf website
+yarn && yarn build
+rm -rf website
echo "***************************************"
echo "Docs build check pass"
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13005:
URL: https://github.com/apache/doris/pull/13005#issuecomment-1260328872
#### `sh-checker report`
To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/3140509245") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' found no issues.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' returned error 1 finding the following formatting issues:
----------
--- docs/build_check.sh.orig
+++ docs/build_check.sh
@@ -33,27 +33,27 @@
rm -rf website/community
cp -R docs/en/community website/
rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs/*
-mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
+mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
cp -R docs/zh-CN/docs/* website/i18n/zh-CN/docusaurus-plugin-content-docs/current/
cp docs/dev.json website/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
-rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
+rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current
cp -R docs/zh-CN/community/* website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
cp -R docs/sidebarsCommunity.json website/
cp -R docs/sidebars.json website/
cp -R docs/images website/static/
-sed '2,3d' website/versions.json > website/versions.json1
+sed '2,3d' website/versions.json >website/versions.json1
rm -rf website/versions.json
mv website/versions.json1 website/versions.json
-sed '123,128d' website/docusaurus.config.js > website/docusaurus.config.js1
+sed '123,128d' website/docusaurus.config.js >website/docusaurus.config.js1
rm -rf website/docusaurus.config.js
mv website/docusaurus.config.js1 website/docusaurus.config.js
cd website
npm install -g npm@8.19.1
npm install -g yarn
yarn cache clean
-yarn && yarn build
-rm -rf website
+yarn && yarn build
+rm -rf website
echo "***************************************"
echo "Docs build check pass"
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13005:
URL: https://github.com/apache/doris/pull/13005#issuecomment-1486025487
We're closing this PR because it hasn't been updated in a while.
This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and feel free a maintainer to remove the Stale tag!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #13005:
URL: https://github.com/apache/doris/pull/13005#issuecomment-1259124101
#### `sh-checker report`
To get the full details, please check in the [job]("https://github.com/apache/doris/actions/runs/3133253438") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' found no issues.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' returned error 1 finding the following formatting issues:
----------
--- docs/build_check.sh.orig
+++ docs/build_check.sh
@@ -33,27 +33,27 @@
rm -rf website/community
cp -R docs/en/community website/
rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs/*
-mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
+mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs/current
cp -R docs/zh-CN/docs/* website/i18n/zh-CN/docusaurus-plugin-content-docs/current/
cp docs/dev.json website/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
-rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
+rm -rf website/i18n/zh-CN/docusaurus-plugin-content-docs-community/*
mkdir website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current
cp -R docs/zh-CN/community/* website/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/
cp -R docs/sidebarsCommunity.json website/
cp -R docs/sidebars.json website/
cp -R docs/images website/static/
-sed '2,3d' website/versions.json > website/versions.json1
+sed '2,3d' website/versions.json >website/versions.json1
rm -rf website/versions.json
mv website/versions.json1 website/versions.json
-sed '123,128d' website/docusaurus.config.js > website/docusaurus.config.js1
+sed '123,128d' website/docusaurus.config.js >website/docusaurus.config.js1
rm -rf website/docusaurus.config.js
mv website/docusaurus.config.js1 website/docusaurus.config.js
cd website
npm install -g npm@8.19.1
npm install -g yarn
yarn cache clean
-yarn && yarn build
-rm -rf website
+yarn && yarn build
+rm -rf website
echo "***************************************"
echo "Docs build check pass"
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] closed pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #13005: [chore](docs)Add local documentation compilation checks to reduce subsequent operations caused by pipeline build failures
URL: https://github.com/apache/doris/pull/13005
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org