同步:完善质量分析工作台并更新主题字体
同步已上线的智能分析执行协议、来源查询、图表报告与管理页面配套代码。 补齐数据库迁移、运行依赖和回归测试,保留原有指标计算口径。 统一午夜黑及其他主题的控件细节、中文和业务数字字体。 排除本地业务数据、凭据、预览、发布与验收产物。 验证:生产构建通过,320项前端回归通过;本轮仅同步Git,不再次部署。
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Install checksum-pinned, project-local runtimes from official distributions."""
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import hashlib
|
||||
import json
|
||||
@@ -47,6 +48,9 @@ def install(name, item):
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument('--without-ai', action='store_true', help='Explicitly install only the database and Java runtimes')
|
||||
args = parser.parse_args()
|
||||
if platform.system() != 'Darwin' or platform.machine() != 'arm64':
|
||||
raise SystemExit('The locked local runtime packages target Apple Silicon macOS. Use a supported system JDK 21/MySQL 8.4 on other hosts.')
|
||||
(RUNTIME / 'downloads').mkdir(parents=True, exist_ok=True)
|
||||
@@ -55,6 +59,9 @@ def main():
|
||||
futures = [pool.submit(install, name, item) for name, item in lock.items()]
|
||||
for future in futures:
|
||||
future.result()
|
||||
if not args.without_ai:
|
||||
from setup_nao_runtime import install as install_assistant
|
||||
install_assistant()
|
||||
print('All local runtimes are ready.', flush=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user