Skip to content

Commit 03eea8c

Browse files
committed
fixed: source url of nightly should be repository not reference
1 parent 76b1ade commit 03eea8c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

glob/manager_core.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from node_package import InstalledNodePackage
4242

4343

44-
version_code = [3, 7, 5]
44+
version_code = [3, 7, 6]
4545
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
4646

4747

@@ -753,6 +753,8 @@ async def get_custom_nodes(self, channel, mode):
753753
v['title'] = cnr['name']
754754
v['description'] = cnr['description']
755755
v['health'] = '-'
756+
if 'repository' in cnr:
757+
v['repository'] = cnr['repository']
756758
added_cnr.add(cnr['id'])
757759
node_id = v['id']
758760
else:
@@ -1331,7 +1333,7 @@ async def install_by_id(self, node_id, version_spec=None, channel=None, mode=Non
13311333
if version_spec == 'unknown':
13321334
repo_url = the_node['files'][0]
13331335
else: # nightly
1334-
repo_url = the_node['reference']
1336+
repo_url = the_node['repository']
13351337
else:
13361338
result = ManagedResult('install')
13371339
return result.fail(f"Node '{node_id}@{version_spec}' not found in [{channel}, {mode}]")

glob/manager_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ async def install_custom_node(request):
867867
node_spec_str = f"{cnr_id}@{selected_version}"
868868
else:
869869
node_spec_str = f"{cnr_id}@nightly"
870-
git_url = [json_data.get('reference')]
870+
git_url = [json_data.get('repository')]
871871
if git_url is None:
872872
logging.error(f"[ComfyUI-Manager] Following node pack doesn't provide `nightly` version: ${git_url}")
873873
return web.Response(status=404, text=f"Following node pack doesn't provide `nightly` version: ${git_url}")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-manager"
33
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
4-
version = "3.7.5"
4+
version = "3.7.6"
55
license = { file = "LICENSE.txt" }
66
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]
77

0 commit comments

Comments
 (0)