Commit Graph
9 Commits
Author SHA1 Message Date
Dr.Lt.Data 9117bce3e1 Fix git_exe, the commit and submodules of a node pack and the git steps of install and update
Three fixes. The CHANGELOG has an entry for each.

- Use the git executable set as git_exe
- Read the commit of a node pack whose refs are packed, and bring its
  submodules to the commit that is checked out
- Fail an update whose pull or submodule update failed, leave the node pack
  at its commit, remove what a clone that failed left, and refuse an install
  of a node pack that another install is working on
2026-11-18 00:10:04 +09:00
Perfect Johny 0b3966f050 Compare a snapshot's pins with the installed commit and version (#3426)
Two comparisons in restore_snapshot never matched.

get_commit_hash returned the line of .git/HEAD as it is when HEAD is
detached, with its newline, and the snapshot saved it that way. On
restore the checkout of that text failed, repo_switch_commit returned
None, and the pack was listed as skipped at the commit it had. A pack
is left at a detached HEAD by a restore, so a snapshot taken after one
has this.

For a registry pack, the installed version was compared through v[1],
the path of the pack, where v[0] is the version. Every installed pack
was therefore sent to cnr_switch_version, which asks the registry
before it finds the version unchanged; with the registry out of reach
the request raised and the restore stopped.

- Return the hash without the newline
- Strip the hash read from a snapshot, so the snapshots already saved
  restore too
- Compare the version
- Add tests for the hash, for a pack at the pinned version and at
  another one, and for the checkout of both forms of the hash in a
  real repository

The same change for manager-v4 is #3531.
2026-11-15 11:06:55 +09:00
Dr.Lt.Data 5c2f4f9e4b fixed: Issue where cloning Comfy-Org/ComfyUI-Manager would cause mismatches with ltdrdata/ComfyUI-Manager, resulting in it not being recognized properly.
https://github.com/Comfy-Org/ComfyUI-Manager/issues/1900
2025-06-08 06:24:19 +09:00
Dr.Lt.Data 4fd17b0bf5 improved: advanced missing node detection based on embedded info
https://github.com/ltdrdata/ComfyUI-Manager/issues/1445

feat: Custom Nodes In Workflow
https://github.com/ltdrdata/ComfyUI-Manager/issues/990
https://github.com/ltdrdata/ComfyUI-Manager/issues/127

improved: show version on main dialog
modified: aux_id - use github_id if possible
removed: `fetch updates` button
2025-02-24 21:18:42 +09:00
Vanisper df3cdfccb0 fix(git_utils): allow duplicate vscode-merge-base sections with strict=False (#1561)
- Set ConfigParser strict mode to False
- Resolves issue #1529 by permitting section duplicates
- Allow `vscode-merge-base` to appear multiple times in `.git/config`
2025-02-19 22:05:04 +09:00
Dr.Lt.Data 5dd8ea8aab feat: update policy for updating ComfyUI
https://github.com/ltdrdata/ComfyUI-Manager/issues/1552

fixed: comfyui versions should be based on commit date
https://github.com/ltdrdata/ComfyUI-Manager/issues/1566

fixed: invalid identifying of nightly node packs which has `git@github.com:...` url
fixed: switch comfyui should be based on `master` branch instead of `main` branch
fixed: switch_to_default_branch - more robust switching
refactor: endpoints for policies
2025-02-19 21:34:13 +09:00
Dr.Lt.Data ad1b4a9a86 feat: reverse proxy
https://github.com/ltdrdata/ComfyUI-Manager/pull/795/files
2025-02-18 23:41:44 +09:00
Dr.Lt.Data 5e5235f5d1 remove suffix for enabled custom nodes 2024-12-22 01:42:32 +09:00
huchenlei 19be1f85da Move to git_utils 2024-12-20 15:02:58 -08:00