diff --git a/tools/generate_html/daily.json b/tools/generate_html/daily.json index c61192d8a055ed059922d397e84d76046102a2cd..424b23b0b1ccd8788d10af6107e137b5be06acb8 100644 --- a/tools/generate_html/daily.json +++ b/tools/generate_html/daily.json @@ -23,33 +23,24 @@ }, { "id" : 3 , - "name" : "mindscience", + "name" : "tutorials", "branch" : "master", "whl_path" : "", "whl_name" : "", - "environ" : "MSC_PATH", + "environ" : "", "uninstall_name" : "" }, { "id" : 4 , - "name" : "mindquantum", - "branch" : "master", - "whl_path" : "/mindquantum/newest/gpu/x86_64/cuda-11.1/", - "whl_name" : "mindquantum-.*-cp39-cp39-linux_x86_64.whl$", - "environ" : "MQ_PATH", - "uninstall_name" : "mindquantum" -}, -{ - "id" : 5 , - "name" : "tutorials", + "name" : "mindscience", "branch" : "master", "whl_path" : "", "whl_name" : "", - "environ" : "", + "environ" : "MSC_PATH", "uninstall_name" : "" }, { - "id" : 6 , + "id" : 5 , "name" : "golden_stick", "branch" : "master", "whl_path" : "/golden-stick/newest/any/", @@ -58,7 +49,7 @@ "uninstall_name" : "mindspore_gs" }, { - "id" : 7 , + "id" : 6 , "name" : "mindchemistry", "branch" : "master", "whl_path" : "/mindscience/website/mindchemistry/gpu/x86_64/cuda-11.1/", @@ -67,7 +58,7 @@ "uninstall_name" : "mindchemistry_gpu" }, { - "id" : 8 , + "id" : 7 , "name" : "mindformers", "branch" : "dev", "whl_search" : "any/", @@ -79,34 +70,7 @@ "extra_whl_name" : "mindspore-.*-cp39-cp39-linux_x86_64.whl$" }, { - "id" : 9 , - "name" : "mindflow", - "branch" : "master", - "whl_path" : "mindscience/website/mindflow/gpu/x86_64/cuda-11.1/", - "whl_name" : "mindflow_gpu-.*-py3-none-any.whl$", - "environ" : "MSC_PATH", - "uninstall_name" : "mindflow_gpu" -}, -{ - "id" : 10 , - "name" : "mindearth", - "branch" : "master", - "whl_path" : "mindscience/website/mindearth/gpu/x86_64/cuda-11.1/", - "whl_name" : "mindearth_gpu-.*-py3-none-any.whl$", - "environ" : "MSC_PATH", - "uninstall_name" : "mindearth_gpu" -}, -{ - "id" : 11 , - "name" : "mindarmour", - "branch" : "master", - "whl_path" : "/mindarmour/website/any", - "whl_name" : "mindarmour-.*-py3-none-any.whl$", - "environ" : "MA_PATH", - "uninstall_name" : "mindarmour" -}, -{ - "id" : 12 , + "id" : 8 , "name" : "vllm_mindspore", "branch" : "master", "whl_path" : "", @@ -115,7 +79,7 @@ "uninstall_name" : "" }, { - "id" : 13 , + "id" : 9 , "name" : "mindstudio", "branch" : "master", "whl_path" : "", @@ -124,7 +88,7 @@ "uninstall_name" : "" }, { - "id" : 13 , + "id" : 10 , "name" : "msadapter", "branch" : "master", "whl_path" : "", diff --git a/tools/generate_html/run.py b/tools/generate_html/run.py index 015236561fd3eb047d26552475d1644c988b102e..c6349b18becb35c6579d5991d701161989ae4e9b 100644 --- a/tools/generate_html/run.py +++ b/tools/generate_html/run.py @@ -25,7 +25,7 @@ def git_clone(repo_url, repo_dir): if not os.path.exists(repo_dir): print("Cloning repo.....") os.makedirs(repo_dir, exist_ok=True) - Repo.clone_from(repo_url, repo_dir, branch="master") + Repo.clone_from(repo_url, repo_dir, branch="master", depth=1) print("Cloning Repo Done.") # 更新仓库