Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
58beacdc
TDengine
项目概览
taosdata
/
TDengine
大约 2 年 前同步成功
通知
1193
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
58beacdc
编写于
12月 10, 2021
作者:
Z
zyyang-taosdata
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TS-848]<release>: release script modify
上级
52faf346
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
35 addition
and
11 deletion
+35
-11
packaging/release.sh
packaging/release.sh
+7
-1
src/kit/shell/src/shellDarwin.c
src/kit/shell/src/shellDarwin.c
+2
-2
src/kit/shell/src/shellLinux.c
src/kit/shell/src/shellLinux.c
+2
-2
src/kit/shell/src/shellWindows.c
src/kit/shell/src/shellWindows.c
+20
-2
src/kit/taosdemo/taosdemo.c
src/kit/taosdemo/taosdemo.c
+1
-1
src/util/src/tconfig.c
src/util/src/tconfig.c
+3
-3
未找到文件。
packaging/release.sh
浏览文件 @
58beacdc
...
@@ -363,7 +363,7 @@ if [[ "$dbName" == "kh" ]]; then
...
@@ -363,7 +363,7 @@ if [[ "$dbName" == "kh" ]]; then
sed
-i
"s/taosinfo/khinfo/g"
${
top_dir
}
/src/util/src/tnote.c
sed
-i
"s/taosinfo/khinfo/g"
${
top_dir
}
/src/util/src/tnote.c
# src/dnode/CMakeLists.txt
# src/dnode/CMakeLists.txt
sed
-i
"s/taos
\.
cfg/kinghistorian
\.
cfg/g"
${
top_dir
}
/src/dnode/CMakeLists.txt
sed
-i
"s/taos
\.
cfg/kinghistorian
\.
cfg/g"
${
top_dir
}
/src/dnode/CMakeLists.txt
# src/
dnode/CMakeLists.txt
# src/
kit/taosdump/taosdump.c
sed
-i
"s/Default is taosdata/Default is khroot/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
sed
-i
"s/Default is taosdata/Default is khroot/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
sed
-i
"s/
\"
taosdata
\"
/
\"
khroot
\"
/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
sed
-i
"s/
\"
taosdata
\"
/
\"
khroot
\"
/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
sed
-i
"s/TDengine/KingHistorian/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
sed
-i
"s/TDengine/KingHistorian/g"
${
top_dir
}
/src/kit/taosdump/taosdump.c
...
@@ -372,6 +372,12 @@ if [[ "$dbName" == "kh" ]]; then
...
@@ -372,6 +372,12 @@ if [[ "$dbName" == "kh" ]]; then
sed
-i
"s/etc
\/
taos/etc
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
sed
-i
"s/etc
\/
taos/etc
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
sed
-i
"s/lib
\/
taos/lib
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
sed
-i
"s/lib
\/
taos/lib
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
sed
-i
"s/log
\/
taos/log
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
sed
-i
"s/log
\/
taos/log
\/
kinghistorian/g"
${
top_dir
}
/src/os/src/linux/linuxEnv.c
# src/kit/shell/src/shellDarwin.c
sed
-i
"s/TDengine shell/KingHistorian shell/g"
${
top_dir
}
/src/kit/shell/src/shellDarwin.c
sed
-i
"s/2020 by TAOS Data/2021 by Wellintech/g"
${
top_dir
}
/src/kit/shell/src/shellDarwin.c
# src/kit/shell/src/shellLinux.c
sed
-i
"s/TDengine shell/KingHistorian shell/g"
${
top_dir
}
/src/kit/shell/src/shellLinux.c
sed
-i
"s/2020 by TAOS Data/2021 by Wellintech/g"
${
top_dir
}
/src/kit/shell/src/shellLinux.c
# src/os/src/windows/wEnv.c
# src/os/src/windows/wEnv.c
sed
-i
"s/TDengine/KingHistorian/g"
${
top_dir
}
/src/os/src/windows/wEnv.c
sed
-i
"s/TDengine/KingHistorian/g"
${
top_dir
}
/src/os/src/windows/wEnv.c
# src/kit/shell/src/shellEngine.c
# src/kit/shell/src/shellEngine.c
...
...
src/kit/shell/src/shellDarwin.c
浏览文件 @
58beacdc
...
@@ -34,10 +34,10 @@ void insertChar(Command *cmd, char *c, int size);
...
@@ -34,10 +34,10 @@ void insertChar(Command *cmd, char *c, int size);
void
printHelp
()
{
void
printHelp
()
{
char
indent
[
10
]
=
" "
;
char
indent
[
10
]
=
" "
;
printf
(
"taos shell is used to test the
TDengine
database
\n
"
);
printf
(
"taos shell is used to test the database
\n
"
);
printf
(
"%s%s
\n
"
,
indent
,
"-h"
);
printf
(
"%s%s
\n
"
,
indent
,
"-h"
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"
TDengine s
erver IP address to connect. The default host is localhost."
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"
S
erver IP address to connect. The default host is localhost."
);
printf
(
"%s%s
\n
"
,
indent
,
"-p"
);
printf
(
"%s%s
\n
"
,
indent
,
"-p"
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"The password to use when connecting to the server."
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"The password to use when connecting to the server."
);
printf
(
"%s%s
\n
"
,
indent
,
"-P"
);
printf
(
"%s%s
\n
"
,
indent
,
"-P"
);
...
...
src/kit/shell/src/shellLinux.c
浏览文件 @
58beacdc
...
@@ -37,8 +37,8 @@ const char *argp_program_bug_address = "<support@taosdata.com>";
...
@@ -37,8 +37,8 @@ const char *argp_program_bug_address = "<support@taosdata.com>";
static
char
doc
[]
=
""
;
static
char
doc
[]
=
""
;
static
char
args_doc
[]
=
""
;
static
char
args_doc
[]
=
""
;
static
struct
argp_option
options
[]
=
{
static
struct
argp_option
options
[]
=
{
{
"host"
,
'h'
,
"HOST"
,
0
,
"
TDengine s
erver FQDN to connect. The default host is localhost."
},
{
"host"
,
'h'
,
"HOST"
,
0
,
"
S
erver FQDN to connect. The default host is localhost."
},
{
"password"
,
'p'
,
0
,
0
,
"The password to use when connecting to the server."
},
{
"password"
,
'p'
,
0
,
0
,
"The password to use when connecting to the server."
},
{
"port"
,
'P'
,
"PORT"
,
0
,
"The TCP/IP port number to use for the connection."
},
{
"port"
,
'P'
,
"PORT"
,
0
,
"The TCP/IP port number to use for the connection."
},
{
"user"
,
'u'
,
"USER"
,
0
,
"The user name to use when connecting to the server."
},
{
"user"
,
'u'
,
"USER"
,
0
,
"The user name to use when connecting to the server."
},
{
"auth"
,
'A'
,
"Auth"
,
0
,
"The auth string to use when connecting to the server."
},
{
"auth"
,
'A'
,
"Auth"
,
0
,
"The auth string to use when connecting to the server."
},
...
...
src/kit/shell/src/shellWindows.c
浏览文件 @
58beacdc
...
@@ -21,8 +21,26 @@
...
@@ -21,8 +21,26 @@
extern
char
configDir
[];
extern
char
configDir
[];
#ifdef _TD_POWER_
char
WINCLIENT_VERSION
[]
=
"Welcome to the PowerDB shell from %s, Client Version:%s
\n
"
"Copyright (c) 2020 by PowerDB, Inc. All rights reserved.
\n\n
"
;
#elif (_TD_TQ_ == true)
char
WINCLIENT_VERSION
[]
=
"Welcome to the TQ shell from %s, Client Version:%s
\n
"
"Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
\n\n
"
;
#elif (_TD_PRO_ == true)
char
WINCLIENT_VERSION
[]
=
"Welcome to the ProDB shell from %s, Client Version:%s
\n
"
"Copyright (c) 2020 by Hanatech, Inc. All rights reserved.
\n\n
"
;
#elif (_TD_KH_ == true)
char
WINCLIENT_VERSION
[]
=
"Welcome to the KingHistorian shell from %s, Client Version:%s
\n
"
"Copyright (c) 2021 by Wellintech, Inc. All rights reserved.
\n\n
"
;
#elif (_TD_JH_ == true)
char
WINCLIENT_VERSION
[]
=
"Welcome to the jh_iot shell from %s, Client Version:%s
\n
"
"Copyright (c) 2021 by jinheng, Inc. All rights reserved.
\n\n
"
;
#else
char
WINCLIENT_VERSION
[]
=
"Welcome to the TDengine shell from %s, Client Version:%s
\n
"
char
WINCLIENT_VERSION
[]
=
"Welcome to the TDengine shell from %s, Client Version:%s
\n
"
"Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
\n\n
"
;
"Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.
\n\n
"
;
#endif
void
printVersion
()
{
void
printVersion
()
{
printf
(
"version: %s
\n
"
,
version
);
printf
(
"version: %s
\n
"
,
version
);
...
@@ -30,10 +48,10 @@ void printVersion() {
...
@@ -30,10 +48,10 @@ void printVersion() {
void
printHelp
()
{
void
printHelp
()
{
char
indent
[
10
]
=
" "
;
char
indent
[
10
]
=
" "
;
printf
(
"taos shell is used to test the
TDengine
database
\n
"
);
printf
(
"taos shell is used to test the database
\n
"
);
printf
(
"%s%s
\n
"
,
indent
,
"-h"
);
printf
(
"%s%s
\n
"
,
indent
,
"-h"
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"
TDengine s
erver FQDN to connect. The default host is localhost."
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"
S
erver FQDN to connect. The default host is localhost."
);
printf
(
"%s%s
\n
"
,
indent
,
"-p"
);
printf
(
"%s%s
\n
"
,
indent
,
"-p"
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"The password to use when connecting to the server."
);
printf
(
"%s%s%s
\n
"
,
indent
,
indent
,
"The password to use when connecting to the server."
);
printf
(
"%s%s
\n
"
,
indent
,
"-P"
);
printf
(
"%s%s
\n
"
,
indent
,
"-P"
);
...
...
src/kit/taosdemo/taosdemo.c
浏览文件 @
58beacdc
...
@@ -773,7 +773,7 @@ static void printHelp() {
...
@@ -773,7 +773,7 @@ static void printHelp() {
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-c, --config-dir=CONFIG_DIR"
,
"
\t
"
,
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-c, --config-dir=CONFIG_DIR"
,
"
\t
"
,
"Configuration directory."
);
"Configuration directory."
);
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-h, --host=HOST"
,
"
\t\t
"
,
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-h, --host=HOST"
,
"
\t\t
"
,
"
TDengine s
erver FQDN to connect. The default host is localhost."
);
"
S
erver FQDN to connect. The default host is localhost."
);
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-P, --port=PORT"
,
"
\t\t
"
,
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-P, --port=PORT"
,
"
\t\t
"
,
"The TCP/IP port number to use for the connection."
);
"The TCP/IP port number to use for the connection."
);
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-I, --interface=INTERFACE"
,
"
\t
"
,
printf
(
"%s%s%s%s
\n
"
,
indent
,
"-I, --interface=INTERFACE"
,
"
\t
"
,
...
...
src/util/src/tconfig.c
浏览文件 @
58beacdc
...
@@ -467,7 +467,7 @@ bool taosReadGlobalCfg() {
...
@@ -467,7 +467,7 @@ bool taosReadGlobalCfg() {
}
}
void
taosPrintGlobalCfg
()
{
void
taosPrintGlobalCfg
()
{
uInfo
(
"
taos
config & system info:"
);
uInfo
(
"
config & system info:"
);
uInfo
(
"=================================="
);
uInfo
(
"=================================="
);
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
...
@@ -553,7 +553,7 @@ static void taosDumpCfg(SGlobalCfg *cfg) {
...
@@ -553,7 +553,7 @@ static void taosDumpCfg(SGlobalCfg *cfg) {
}
}
void
taosDumpGlobalCfg
()
{
void
taosDumpGlobalCfg
()
{
printf
(
"
taos
global config:
\n
"
);
printf
(
"
global config:
\n
"
);
printf
(
"==================================
\n
"
);
printf
(
"==================================
\n
"
);
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
SGlobalCfg
*
cfg
=
tsGlobalConfig
+
i
;
SGlobalCfg
*
cfg
=
tsGlobalConfig
+
i
;
...
@@ -564,7 +564,7 @@ void taosDumpGlobalCfg() {
...
@@ -564,7 +564,7 @@ void taosDumpGlobalCfg() {
taosDumpCfg
(
cfg
);
taosDumpCfg
(
cfg
);
}
}
printf
(
"
\n
taos
local config:
\n
"
);
printf
(
"
\n
local config:
\n
"
);
printf
(
"==================================
\n
"
);
printf
(
"==================================
\n
"
);
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
for
(
int
i
=
0
;
i
<
tsGlobalConfigNum
;
++
i
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录