Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
4858bee7
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4858bee7
编写于
12月 29, 2020
作者:
H
Hui Li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TD-2103]<feature> taosdemo enhancement
上级
ea63bec0
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
27 addition
and
5 deletion
+27
-5
packaging/deb/DEBIAN/prerm
packaging/deb/DEBIAN/prerm
+1
-0
packaging/deb/makedeb.sh
packaging/deb/makedeb.sh
+1
-0
packaging/rpm/tdengine.spec
packaging/rpm/tdengine.spec
+3
-1
packaging/tools/install.sh
packaging/tools/install.sh
+2
-0
packaging/tools/install_client.sh
packaging/tools/install_client.sh
+2
-0
packaging/tools/install_client_power.sh
packaging/tools/install_client_power.sh
+4
-2
packaging/tools/install_power.sh
packaging/tools/install_power.sh
+2
-0
packaging/tools/makeclient.sh
packaging/tools/makeclient.sh
+1
-1
packaging/tools/makeclient_power.sh
packaging/tools/makeclient_power.sh
+1
-0
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+1
-1
packaging/tools/makepkg_power.sh
packaging/tools/makepkg_power.sh
+1
-0
packaging/tools/post.sh
packaging/tools/post.sh
+4
-0
packaging/tools/remove.sh
packaging/tools/remove.sh
+1
-0
packaging/tools/remove_client.sh
packaging/tools/remove_client.sh
+1
-0
packaging/tools/remove_client_power.sh
packaging/tools/remove_client_power.sh
+1
-0
packaging/tools/remove_power.sh
packaging/tools/remove_power.sh
+1
-0
未找到文件。
packaging/deb/DEBIAN/prerm
浏览文件 @
4858bee7
...
...
@@ -26,6 +26,7 @@ else
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
cfg_link_dir
}
/
*
||
:
${
csudo
}
rm
-f
${
inc_link_dir
}
/taos.h
||
:
...
...
packaging/deb/makedeb.sh
浏览文件 @
4858bee7
...
...
@@ -48,6 +48,7 @@ cp ${compile_dir}/../packaging/deb/taosd ${pkg_dir}${install_home_pat
cp
${
compile_dir
}
/../packaging/tools/post.sh
${
pkg_dir
}${
install_home_path
}
/script
cp
${
compile_dir
}
/../packaging/tools/preun.sh
${
pkg_dir
}${
install_home_path
}
/script
cp
${
compile_dir
}
/build/bin/taosdemo
${
pkg_dir
}${
install_home_path
}
/bin
cp
${
compile_dir
}
/build/bin/taosdemox
${
pkg_dir
}${
install_home_path
}
/bin
cp
${
compile_dir
}
/build/bin/taosdump
${
pkg_dir
}${
install_home_path
}
/bin
cp
${
compile_dir
}
/build/bin/taosd
${
pkg_dir
}${
install_home_path
}
/bin
cp
${
compile_dir
}
/build/bin/taos
${
pkg_dir
}${
install_home_path
}
/bin
...
...
packaging/rpm/tdengine.spec
浏览文件 @
4858bee7
...
...
@@ -58,6 +58,7 @@ cp %{_compiledir}/../packaging/tools/preun.sh %{buildroot}%{homepath}/scri
cp %{_compiledir}/build/bin/taos %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosd %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosdemo %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosdemox %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/bin/taosdump %{buildroot}%{homepath}/bin
cp %{_compiledir}/build/lib/${libfile} %{buildroot}%{homepath}/driver
cp %{_compiledir}/../src/inc/taos.h %{buildroot}%{homepath}/include
...
...
@@ -135,7 +136,8 @@ if [ $1 -eq 0 ];then
${csudo} rm -f ${bin_link_dir}/taos || :
${csudo} rm -f ${bin_link_dir}/taosd || :
${csudo} rm -f ${bin_link_dir}/taosdemo || :
#${csudo} rm -f ${bin_link_dir}/taosdump || :
${csudo} rm -f ${bin_link_dir}/taosdemox || :
${csudo} rm -f ${bin_link_dir}/taosdump || :
${csudo} rm -f ${cfg_link_dir}/* || :
${csudo} rm -f ${inc_link_dir}/taos.h || :
${csudo} rm -f ${inc_link_dir}/taoserror.h || :
...
...
packaging/tools/install.sh
浏览文件 @
4858bee7
...
...
@@ -175,6 +175,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
...
...
@@ -186,6 +187,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/taos
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taos
${
bin_link_dir
}
/taos
||
:
[
-x
${
install_main_dir
}
/bin/taosd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosd
${
bin_link_dir
}
/taosd
||
:
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosdemox
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemox
${
bin_link_dir
}
/taosdemox
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
install_main_dir
}
/bin/remove.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove.sh
${
bin_link_dir
}
/rmtaos
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/install_client.sh
浏览文件 @
4858bee7
...
...
@@ -86,6 +86,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
fi
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
...
...
@@ -97,6 +98,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/taos
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taos
${
bin_link_dir
}
/taos
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/taosdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
install_main_dir
}
/bin/taosdemox
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdemox
${
bin_link_dir
}
/taosdemox
||
:
[
-x
${
install_main_dir
}
/bin/taosdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/taosdump
${
bin_link_dir
}
/taosdump
||
:
fi
[
-x
${
install_main_dir
}
/bin/remove_client.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client.sh
${
bin_link_dir
}
/rmtaos
||
:
...
...
packaging/tools/install_client_power.sh
浏览文件 @
4858bee7
...
...
@@ -85,8 +85,9 @@ function install_bin() {
# Remove links
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
fi
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -97,6 +98,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/power
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/power
${
bin_link_dir
}
/power
||
:
if
[
"
$osType
"
!=
"Darwin"
]
;
then
[
-x
${
install_main_dir
}
/bin/powerdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemo
${
bin_link_dir
}
/powerdemo
||
:
[
-x
${
install_main_dir
}
/bin/powerdemox
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemox
${
bin_link_dir
}
/powerdemox
||
:
[
-x
${
install_main_dir
}
/bin/powerdump
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdump
${
bin_link_dir
}
/powerdump
||
:
fi
[
-x
${
install_main_dir
}
/bin/remove_client_power.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_client_power.sh
${
bin_link_dir
}
/rmpower
||
:
...
...
packaging/tools/install_power.sh
浏览文件 @
4858bee7
...
...
@@ -174,6 +174,7 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -184,6 +185,7 @@ function install_bin() {
[
-x
${
install_main_dir
}
/bin/power
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/power
${
bin_link_dir
}
/power
||
:
[
-x
${
install_main_dir
}
/bin/powerd
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerd
${
bin_link_dir
}
/powerd
||
:
[
-x
${
install_main_dir
}
/bin/powerdemo
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemo
${
bin_link_dir
}
/powerdemo
||
:
[
-x
${
install_main_dir
}
/bin/powerdemox
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/powerdemox
${
bin_link_dir
}
/powerdemox
||
:
[
-x
${
install_main_dir
}
/bin/remove_power.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/remove_power.sh
${
bin_link_dir
}
/rmpower
||
:
[
-x
${
install_main_dir
}
/bin/set_core.sh
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/set_core.sh
${
bin_link_dir
}
/set_core
||
:
[
-x
${
install_main_dir
}
/bin/tarbitrator
]
&&
${
csudo
}
ln
-s
${
install_main_dir
}
/bin/tarbitrator
${
bin_link_dir
}
/tarbitrator
||
:
...
...
packaging/tools/makeclient.sh
浏览文件 @
4858bee7
...
...
@@ -45,7 +45,7 @@ if [ "$osType" != "Darwin" ]; then
strip
${
build_dir
}
/bin/taos
bin_files
=
"
${
build_dir
}
/bin/taos
${
script_dir
}
/remove_client.sh"
else
bin_files
=
"
${
build_dir
}
/bin/taos
${
build_dir
}
/bin/taosdump
${
build_dir
}
/bin/taosdemo
${
script_dir
}
/remove_client.sh
${
script_dir
}
/set_core.sh
${
script_dir
}
/get_client.sh"
bin_files
=
"
${
build_dir
}
/bin/taos
${
build_dir
}
/bin/taosdump
${
build_dir
}
/bin/taosdemo
${
build_dir
}
/bin/taosdemox
${
script_dir
}
/remove_client.sh
${
script_dir
}
/set_core.sh
${
script_dir
}
/get_client.sh"
fi
lib_files
=
"
${
build_dir
}
/lib/libtaos.so.
${
version
}
"
else
...
...
packaging/tools/makeclient_power.sh
浏览文件 @
4858bee7
...
...
@@ -77,6 +77,7 @@ if [ "$osType" != "Darwin" ]; then
cp
${
build_dir
}
/bin/taos
${
install_dir
}
/bin/power
cp
${
script_dir
}
/remove_power.sh
${
install_dir
}
/bin
cp
${
build_dir
}
/bin/taosdemo
${
install_dir
}
/bin/powerdemo
cp
${
build_dir
}
/bin/taosdemox
${
install_dir
}
/bin/powerdemox
cp
${
build_dir
}
/bin/taosdump
${
install_dir
}
/bin/powerdump
cp
${
script_dir
}
/set_core.sh
${
install_dir
}
/bin
cp
${
script_dir
}
/get_client.sh
${
install_dir
}
/bin
...
...
packaging/tools/makepkg.sh
浏览文件 @
4858bee7
...
...
@@ -36,7 +36,7 @@ if [ "$pagMode" == "lite" ]; then
strip
${
build_dir
}
/bin/taos
bin_files
=
"
${
build_dir
}
/bin/taosd
${
build_dir
}
/bin/taos
${
script_dir
}
/remove.sh"
else
bin_files
=
"
${
build_dir
}
/bin/taosd
${
build_dir
}
/bin/taos
${
build_dir
}
/bin/taosdump
${
build_dir
}
/bin/taosdemo
${
build_dir
}
/bin/tarbitrator
${
script_dir
}
/remove.sh
${
script_dir
}
/set_core.sh
${
script_dir
}
/get_client.sh"
bin_files
=
"
${
build_dir
}
/bin/taosd
${
build_dir
}
/bin/taos
${
build_dir
}
/bin/taosdump
${
build_dir
}
/bin/taosdemo
${
build_dir
}
/bin/ta
osdemox
${
build_dir
}
/bin/ta
rbitrator
${
script_dir
}
/remove.sh
${
script_dir
}
/set_core.sh
${
script_dir
}
/get_client.sh"
fi
lib_files
=
"
${
build_dir
}
/lib/libtaos.so.
${
version
}
"
...
...
packaging/tools/makepkg_power.sh
浏览文件 @
4858bee7
...
...
@@ -77,6 +77,7 @@ else
cp
${
build_dir
}
/bin/taosd
${
install_dir
}
/bin/powerd
cp
${
script_dir
}
/remove_power.sh
${
install_dir
}
/bin
cp
${
build_dir
}
/bin/taosdemo
${
install_dir
}
/bin/powerdemo
cp
${
build_dir
}
/bin/taosdemox
${
install_dir
}
/bin/powerdemox
cp
${
build_dir
}
/bin/taosdump
${
install_dir
}
/bin/powerdump
cp
${
build_dir
}
/bin/tarbitrator
${
install_dir
}
/bin
cp
${
script_dir
}
/set_core.sh
${
install_dir
}
/bin
...
...
packaging/tools/post.sh
浏览文件 @
4858bee7
...
...
@@ -96,6 +96,8 @@ function install_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
@@ -105,6 +107,8 @@ function install_bin() {
[
-x
${
bin_dir
}
/taos
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taos
${
bin_link_dir
}
/taos
||
:
[
-x
${
bin_dir
}
/taosd
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosd
${
bin_link_dir
}
/taosd
||
:
[
-x
${
bin_dir
}
/taosdemo
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdemo
${
bin_link_dir
}
/taosdemo
||
:
[
-x
${
bin_dir
}
/taosdemox
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdemox
${
bin_link_dir
}
/taosdemox
||
:
[
-x
${
bin_dir
}
/taosdump
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/taosdump
${
bin_link_dir
}
/taosdump
||
:
[
-x
${
bin_dir
}
/set_core.sh
]
&&
${
csudo
}
ln
-s
${
bin_dir
}
/set_core.sh
${
bin_link_dir
}
/set_core
||
:
}
...
...
packaging/tools/remove.sh
浏览文件 @
4858bee7
...
...
@@ -72,6 +72,7 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
...
...
packaging/tools/remove_client.sh
浏览文件 @
4858bee7
...
...
@@ -38,6 +38,7 @@ function clean_bin() {
# Remove link
${
csudo
}
rm
-f
${
bin_link_dir
}
/taos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/taosdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmtaos
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/remove_client_power.sh
浏览文件 @
4858bee7
...
...
@@ -38,6 +38,7 @@ function clean_bin() {
# Remove link
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/set_core
||
:
...
...
packaging/tools/remove_power.sh
浏览文件 @
4858bee7
...
...
@@ -72,6 +72,7 @@ function clean_bin() {
${
csudo
}
rm
-f
${
bin_link_dir
}
/power
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerd
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemo
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdemox
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/powerdump
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/rmpower
||
:
${
csudo
}
rm
-f
${
bin_link_dir
}
/tarbitrator
||
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录