更改项目名为NebulaShell
This commit is contained in:
42
.vscode/launch.json
vendored
42
.vscode/launch.json
vendored
@@ -2,7 +2,7 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "FutureOSS: 启动服务",
|
||||
"name": "NebulaShell: 启动服务",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "oss.cli",
|
||||
@@ -17,7 +17,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试模式启动",
|
||||
"name": "NebulaShell: 调试模式启动",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "oss.cli",
|
||||
@@ -33,7 +33,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 运行测试",
|
||||
"name": "NebulaShell: 运行测试",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "pytest",
|
||||
@@ -53,7 +53,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试插件加载器",
|
||||
"name": "NebulaShell: 调试插件加载器",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/oss/plugin/loader.py",
|
||||
@@ -67,10 +67,10 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试日志终端插件",
|
||||
"name": "NebulaShell: 调试日志终端插件",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/store/@{FutureOSS}/log-terminal/main.py",
|
||||
"program": "${workspaceFolder}/store/@{NebulaShell}/log-terminal/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
@@ -81,10 +81,10 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试WebUI",
|
||||
"name": "NebulaShell: 调试WebUI",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/store/@{FutureOSS}/webui/main.py",
|
||||
"program": "${workspaceFolder}/store/@{NebulaShell}/webui/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
@@ -95,10 +95,10 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试HTTP API",
|
||||
"name": "NebulaShell: 调试HTTP API",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/store/@{FutureOSS}/http-api/main.py",
|
||||
"program": "${workspaceFolder}/store/@{NebulaShell}/http-api/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
@@ -109,10 +109,10 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试WS API",
|
||||
"name": "NebulaShell: 调试WS API",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/store/@{FutureOSS}/ws-api/main.py",
|
||||
"program": "${workspaceFolder}/store/@{NebulaShell}/ws-api/main.py",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
"env": {
|
||||
@@ -123,7 +123,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 调试特定文件",
|
||||
"name": "NebulaShell: 调试特定文件",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": "${file}",
|
||||
@@ -137,7 +137,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 附加到进程",
|
||||
"name": "NebulaShell: 附加到进程",
|
||||
"type": "python",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}",
|
||||
@@ -152,7 +152,7 @@
|
||||
"justMyCode": false
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS: 运行CLI命令",
|
||||
"name": "NebulaShell: 运行CLI命令",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "oss.cli",
|
||||
@@ -167,7 +167,7 @@
|
||||
"python": "${command:python.interpreterPath}"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS 网站: 启动Node.js服务器",
|
||||
"name": "NebulaShell 网站: 启动Node.js服务器",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"skipFiles": [
|
||||
@@ -190,7 +190,7 @@
|
||||
"cwd": "${workspaceFolder}/website"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS 网站: 开发模式启动",
|
||||
"name": "NebulaShell 网站: 开发模式启动",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"skipFiles": [
|
||||
@@ -208,7 +208,7 @@
|
||||
"cwd": "${workspaceFolder}/website"
|
||||
},
|
||||
{
|
||||
"name": "FutureOSS 网站: 附加到Node.js进程",
|
||||
"name": "NebulaShell 网站: 附加到Node.js进程",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 9229,
|
||||
@@ -230,10 +230,10 @@
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "FutureOSS: 完整调试环境",
|
||||
"name": "NebulaShell: 完整调试环境",
|
||||
"configurations": [
|
||||
"FutureOSS: 启动服务",
|
||||
"FutureOSS: 调试日志终端插件"
|
||||
"NebulaShell: 启动服务",
|
||||
"NebulaShell: 调试日志终端插件"
|
||||
],
|
||||
"stopAll": true
|
||||
}
|
||||
|
||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -5,7 +5,7 @@
|
||||
"python.analysis.extraPaths": [
|
||||
"${workspaceFolder}",
|
||||
"${workspaceFolder}/oss",
|
||||
"${workspaceFolder}/store/@{FutureOSS}"
|
||||
"${workspaceFolder}/store/@{NebulaShell}"
|
||||
],
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
|
||||
28
.vscode/tasks.json
vendored
28
.vscode/tasks.json
vendored
@@ -2,7 +2,7 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "FutureOSS: 安装依赖",
|
||||
"label": "NebulaShell: 安装依赖",
|
||||
"type": "shell",
|
||||
"command": "pip install -r requirements.txt",
|
||||
"group": {
|
||||
@@ -23,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 启动开发服务器",
|
||||
"label": "NebulaShell: 启动开发服务器",
|
||||
"type": "shell",
|
||||
"command": "python -m oss.cli serve",
|
||||
"group": "none",
|
||||
@@ -48,7 +48,7 @@
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".*启动 FutureOSS 服务.*",
|
||||
"beginsPattern": ".*启动 NebulaShell 服务.*",
|
||||
"endsPattern": ".*服务已启动.*"
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 运行测试",
|
||||
"label": "NebulaShell: 运行测试",
|
||||
"type": "shell",
|
||||
"command": "pytest -v --tb=short",
|
||||
"group": "test",
|
||||
@@ -89,9 +89,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 代码检查",
|
||||
"label": "NebulaShell: 代码检查",
|
||||
"type": "shell",
|
||||
"command": "python -m pylint oss/ store/@{FutureOSS}/ --rcfile=${workspaceFolder}/.pylintrc || echo 'Pylint检查完成'",
|
||||
"command": "python -m pylint oss/ store/@{NebulaShell}/ --rcfile=${workspaceFolder}/.pylintrc || echo 'Pylint检查完成'",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -122,9 +122,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 格式化代码",
|
||||
"label": "NebulaShell: 格式化代码",
|
||||
"type": "shell",
|
||||
"command": "python -m black oss/ store/@{FutureOSS}/",
|
||||
"command": "python -m black oss/ store/@{NebulaShell}/",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
@@ -140,7 +140,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 清理缓存文件",
|
||||
"label": "NebulaShell: 清理缓存文件",
|
||||
"type": "shell",
|
||||
"command": "find . -type f -name '*.pyc' -delete && find . -type d -name '__pycache__' -delete && find . -type f -name '.pid' -delete",
|
||||
"group": "build",
|
||||
@@ -158,7 +158,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 查看服务状态",
|
||||
"label": "NebulaShell: 查看服务状态",
|
||||
"type": "shell",
|
||||
"command": "if [ -f .pid ]; then echo '服务正在运行,PID: ' && cat .pid; else echo '服务未运行'; fi",
|
||||
"group": "none",
|
||||
@@ -176,7 +176,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 停止服务",
|
||||
"label": "NebulaShell: 停止服务",
|
||||
"type": "shell",
|
||||
"command": "if [ -f .pid ]; then kill $(cat .pid) && rm -f .pid && echo '服务已停止'; else echo '服务未运行'; fi",
|
||||
"group": "none",
|
||||
@@ -194,12 +194,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "FutureOSS: 重启服务",
|
||||
"label": "NebulaShell: 重启服务",
|
||||
"type": "shell",
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": [
|
||||
"FutureOSS: 停止服务",
|
||||
"FutureOSS: 启动开发服务器"
|
||||
"NebulaShell: 停止服务",
|
||||
"NebulaShell: 启动开发服务器"
|
||||
],
|
||||
"group": "none",
|
||||
"presentation": {
|
||||
|
||||
Reference in New Issue
Block a user