mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
fixed: source url of nightly should be repository not reference
This commit is contained in:
parent
76b1adebc4
commit
03eea8ce15
@ -41,7 +41,7 @@ import manager_downloader
|
|||||||
from node_package import InstalledNodePackage
|
from node_package import InstalledNodePackage
|
||||||
|
|
||||||
|
|
||||||
version_code = [3, 7, 5]
|
version_code = [3, 7, 6]
|
||||||
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
|
||||||
|
|
||||||
|
|
||||||
@ -753,6 +753,8 @@ class UnifiedManager:
|
|||||||
v['title'] = cnr['name']
|
v['title'] = cnr['name']
|
||||||
v['description'] = cnr['description']
|
v['description'] = cnr['description']
|
||||||
v['health'] = '-'
|
v['health'] = '-'
|
||||||
|
if 'repository' in cnr:
|
||||||
|
v['repository'] = cnr['repository']
|
||||||
added_cnr.add(cnr['id'])
|
added_cnr.add(cnr['id'])
|
||||||
node_id = v['id']
|
node_id = v['id']
|
||||||
else:
|
else:
|
||||||
@ -1331,7 +1333,7 @@ class UnifiedManager:
|
|||||||
if version_spec == 'unknown':
|
if version_spec == 'unknown':
|
||||||
repo_url = the_node['files'][0]
|
repo_url = the_node['files'][0]
|
||||||
else: # nightly
|
else: # nightly
|
||||||
repo_url = the_node['reference']
|
repo_url = the_node['repository']
|
||||||
else:
|
else:
|
||||||
result = ManagedResult('install')
|
result = ManagedResult('install')
|
||||||
return result.fail(f"Node '{node_id}@{version_spec}' not found in [{channel}, {mode}]")
|
return result.fail(f"Node '{node_id}@{version_spec}' not found in [{channel}, {mode}]")
|
||||||
|
|||||||
@ -867,7 +867,7 @@ async def install_custom_node(request):
|
|||||||
node_spec_str = f"{cnr_id}@{selected_version}"
|
node_spec_str = f"{cnr_id}@{selected_version}"
|
||||||
else:
|
else:
|
||||||
node_spec_str = f"{cnr_id}@nightly"
|
node_spec_str = f"{cnr_id}@nightly"
|
||||||
git_url = [json_data.get('reference')]
|
git_url = [json_data.get('repository')]
|
||||||
if git_url is None:
|
if git_url is None:
|
||||||
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
|
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
|
||||||
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")
|
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "comfyui-manager"
|
name = "comfyui-manager"
|
||||||
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
|
||||||
version = "3.7.5"
|
version = "3.7.6"
|
||||||
license = { file = "LICENSE.txt" }
|
license = { file = "LICENSE.txt" }
|
||||||
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user