Nodes/MD Nodes/MD: Repo Fortress
ComfyUI Node

MD: Repo Fortress

A ComfyUI node in MD_Nodes/Utility with 9 inputs and 3 outputs.

By MDMAchine·Created about a year ago·Updated 2 months ago· 14
MD: Repo Fortress
    • status_report
    • changelog_preview
    • restart_required
    modeCheck Status Only
    branchmain
    dry_runfalse
    changelog_depth5
    restore_filelatest
    do_backuptrue
    backup_keep_count5
    trigger0
    debug_mode0 - Silent
    CategoryMD_Nodes/Utility

    Inputs (9)

    NameTypeDefaultDescription
    modeCOMBOCheck Status OnlyOPERATION MODE • Purpose: Select the maintenance action to perform. • Options: - Check Status: View git hash and sync state safely. - List Backups: Show available zip restore points. - Standard Update: Pull latest changes. - FORCE RESET: Discard local changes and reset to origin. ⭐ Recommended: Always Check Status before Updating.
    branchSTRINGmainGIT BRANCH • Purpose: Target branch for git updates/resets. ⭐ Recommended: 'main'. Do not change unless testing.
    dry_runBOOLEANfalseDRY RUN (SIMULATION) • Purpose: Simulate actions without modifying files. • Effect: Prints what WOULD happen to the console. ⭐ Recommended: True when previewing destructive actions.
    changelog_depthINT51–50CHANGELOG DEPTH • Purpose: Number of recent commit messages to display in the status report.
    restore_fileSTRINGlatestRESTORE FILENAME • Purpose: Exact backup zip filename to restore. • Note: 'latest' automatically picks the newest file in the backup dir.
    do_backupBOOLEANtrueAUTO-BACKUP • Purpose: Create a full zip snapshot before modifying code. ⭐ Recommended: True. Essential for atomic rollbacks.
    backup_keep_countINT51–50BACKUP RETENTION • Purpose: Number of recent backups to keep on disk. • Effect: Older backups are automatically rotated/deleted to save space.
    triggeroptINT00–9007199254740991EXECUTION TRIGGER • Purpose: Connect a Seed node to force execution on queue. • Note: Any change in value triggers the node.
    debug_modeoptCOMBO0 - SilentLOGGING VERBOSITY • Controls console output and enables System/IO profiling.

    Outputs (3)

    NameTypeDescription
    status_reportSTRING
    changelog_previewSTRING
    restart_requiredBOOLEAN