From 73e25e668d67a4d552eb7ff24340dea930652d9f Mon Sep 17 00:00:00 2001 From: kflame99 <261674183+kflame99@users.noreply.github.com> Date: Sun, 15 Feb 2026 11:28:04 +0000 Subject: [PATCH] Address review: restore registry files and fix lock/docs/tooling sync --- .github/workflows/publish.yml | 28 +++++++++++++++++++ CHANGELOG.md | 19 ++++++------- Runpod_Comfy/image/active/comfyui.lock | 4 ++- Runpod_Comfy/setup/tools/new_profile.sh | 9 ++++++- pyproject.toml | 36 +++++++++++++++++++++++++ 5 files changed, 85 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/publish.yml create mode 100644 pyproject.toml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..d7fbd80 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +permissions: + issues: write + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'malkuthro' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d724467..d1e43ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,15 +19,16 @@ The format is inspired by Keep a Changelog and SemVer. - `docs/RELEASE_NOTES_TEMPLATE.md` - RunPod_Comfy implementation scaffold: - `Runpod_Comfy/README.md` - - `Runpod_Comfy/docker/Dockerfile` - - `Runpod_Comfy/docker/start.sh` - - `Runpod_Comfy/scripts/bootstrap.sh` - - `Runpod_Comfy/scripts/install_custom_nodes.sh` - - `Runpod_Comfy/scripts/download_models.sh` - - `Runpod_Comfy/config/comfyui.lock` - - `Runpod_Comfy/config/custom_nodes.lock.json` - - `Runpod_Comfy/config/models.json` - - `Runpod_Comfy/docs/DEPLOY_RUNPOD.md` + - `Runpod_Comfy/setup/USER_README.md` + - `Runpod_Comfy/core/docker/Dockerfile` + - `Runpod_Comfy/core/docker/start.sh` + - `Runpod_Comfy/core/scripts/bootstrap.sh` + - `Runpod_Comfy/core/scripts/install_custom_nodes.sh` + - `Runpod_Comfy/core/scripts/download_models.sh` + - `Runpod_Comfy/image/active/comfyui.lock` + - `Runpod_Comfy/image/active/custom_nodes.lock.json` + - `Runpod_Comfy/image/active/models.json` + - `Runpod_Comfy/image/DEPLOY_RUNPOD.md` ## [0.1.0] - 2026-02-14 diff --git a/Runpod_Comfy/image/active/comfyui.lock b/Runpod_Comfy/image/active/comfyui.lock index f493005..6afeb27 100644 --- a/Runpod_Comfy/image/active/comfyui.lock +++ b/Runpod_Comfy/image/active/comfyui.lock @@ -1,5 +1,7 @@ # Generated by Runpod_Comfy/setup/tools/compile_profile.sh -PROFILE_ID=example +RECIPE_ID=example BASE_IMAGE=runpod/pytorch:2.6.0-py3.11-cuda12.4.1-devel-ubuntu22.04 +IMAGE_NAME=ghcr.io/your-user/comfyui-koolook +RUNPOD_IMAGE_TAG=upscaler-v1.0.0 COMFYUI_REPO=https://github.com/comfyanonymous/ComfyUI.git COMFYUI_REF=master diff --git a/Runpod_Comfy/setup/tools/new_profile.sh b/Runpod_Comfy/setup/tools/new_profile.sh index 17eb1a7..84da873 100755 --- a/Runpod_Comfy/setup/tools/new_profile.sh +++ b/Runpod_Comfy/setup/tools/new_profile.sh @@ -22,7 +22,14 @@ for kind in runpod nodes models; do echo "[skip] exists: $dst" else cp "$src" "$dst" - sed -i "s/^profile_id: .*/profile_id: ${ID}/" "$dst" || true + python3 - "$dst" "$ID" <<'PY' +from pathlib import Path +import re, sys +p=Path(sys.argv[1]); rid=sys.argv[2] +t=p.read_text(encoding='utf-8') +t=re.sub(r'^profile_id:\s*.*$', f'profile_id: {rid}', t, flags=re.M) +p.write_text(t, encoding='utf-8') +PY echo "[new] $dst" fi done diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..fac1533 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,36 @@ +[project] +name = "koolook" +description = "This repository provides custom nodes for ComfyUI tailored for VFX and AI image/video generation workflows" +version = "1.0.1" +license = {file = "LICENSE"} +# classifiers = [ +# # For OS-independent nodes (works on all operating systems) +# "Operating System :: OS Independent", +# +# # OR for OS-specific nodes, specify the supported systems: +# "Operating System :: Microsoft :: Windows", # Windows specific +# "Operating System :: POSIX :: Linux", # Linux specific +# "Operating System :: MacOS", # macOS specific +# +# # GPU Accelerator support. Pick the ones that are supported by your extension. +# "Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support +# "Environment :: GPU :: AMD ROCm", # AMD ROCm support +# "Environment :: GPU :: Intel Arc", # Intel Arc support +# "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support +# "Environment :: GPU :: Apple Metal", # Apple Metal support +# ] + + +[project.urls] +Repository = "https://github.com/malkuthro/ComfyUI-Koolook" +# Used by Comfy Registry https://registry.comfy.org +Documentation = "https://github.com/malkuthro/ComfyUI-Koolook/wiki" +"Bug Tracker" = "https://github.com/malkuthro/ComfyUI-Koolook/issues" + +[tool.comfy] +PublisherId = "CristianP" +DisplayName = "ComfyUI-Koolook" +Icon = "" +includes = [] +# "requires-comfyui" = ">=1.0.0" # ComfyUI version compatibility +