[PR #1367] [CLOSED] cm-cli.py :specify commit ID /tag or branch when installing nodes and add 'exit-on-fail' parameter to control failure behavior #1867

Closed
opened 2026-10-28 21:05:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/1367
Author: @VitoChenLY
Created: 12/24/2024
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

  • af114ec Add the ability to specify commit ID /tag or branch when installing nodes
  • 3dbd0c3 Add 'exit-on-fail' parameter to control failure behavior

📊 Changes

2 files changed (+45 additions, -11 deletions)

View changed files

📝 cm-cli.py (+26 -8)
📝 glob/manager_core.py (+19 -3)

📄 Description

  • Details:

  • The @@ delimiter allows users to specify a specific commit ID, tag, or branch for the node installation.

  • This feature enhances flexibility by enabling users to install nodes from specific versions of a repository.

  • Add 'exit-on-fail' parameter to control failure behavior

  • Example:

  • Install a node from a specific branch:

    python3 cm-cli.py install git@github.com:evanspearman/ComfyMath.git@@main
    
  • Install a node from a specific tag:

    python3 cm-cli.py install https://github.com/Nourepide/ComfyUI-Allor.git@@v1.0.0
    
  • Install a node from a specific commit ID:

    python3 cm-cli.py install git@github.com:evanspearman/ComfyMath.git@@2ee689
    
  • The exit_on_fail parameter determines whether the process should exit when an action fails.

     python3 cm-cli.py install --exit-on-fail git@github.com:evanspearman/ComfyMath.git@@rag https://github.com/Nourepide/ComfyUI-Allor.git@@2ee689
    
  • Impact:
    This change improves the usability of the cm-cli.py script by allowing users to install nodes from specific versions of repositories, rather than always using the default branch. Parameter '--exit-on-fail' enhances the flexibility of the cm-cli.py by allowing users to control the behavior when an action fails, without forcing an immediate exit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/1367 **Author:** [@VitoChenLY](https://github.com/VitoChenLY) **Created:** 12/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`af114ec`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/af114eccccea7c5fcdf5cad7b0ef9996f72a6d25) Add the ability to specify commit ID /tag or branch when installing nodes - [`3dbd0c3`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/3dbd0c324e6a998485eb976fa299d42f79f0800a) Add 'exit-on-fail' parameter to control failure behavior ### 📊 Changes **2 files changed** (+45 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `cm-cli.py` (+26 -8) 📝 `glob/manager_core.py` (+19 -3) </details> ### 📄 Description - **Details**: - The `@@` delimiter allows users to specify a specific commit ID, tag, or branch for the node installation. - This feature enhances flexibility by enabling users to install nodes from specific versions of a repository. - Add 'exit-on-fail' parameter to control failure behavior - **Example**: - Install a node from a specific branch: ``` python3 cm-cli.py install git@github.com:evanspearman/ComfyMath.git@@main ``` - Install a node from a specific tag: ``` python3 cm-cli.py install https://github.com/Nourepide/ComfyUI-Allor.git@@v1.0.0 ``` - Install a node from a specific commit ID: ``` python3 cm-cli.py install git@github.com:evanspearman/ComfyMath.git@@2ee689 ``` - The `exit_on_fail` parameter determines whether the process should exit when an action fails. ``` python3 cm-cli.py install --exit-on-fail git@github.com:evanspearman/ComfyMath.git@@rag https://github.com/Nourepide/ComfyUI-Allor.git@@2ee689 ``` - **Impact**: This change improves the usability of the `cm-cli.py` script by allowing users to install nodes from specific versions of repositories, rather than always using the default branch. Parameter '--exit-on-fail' enhances the flexibility of the cm-cli.py by allowing users to control the behavior when an action fails, without forcing an immediate exit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:05:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#1867
No description provided.