[PR #13] [MERGED] feat(license-updator): ready #21

Closed
opened 2026-10-27 21:08:51 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/13
Author: @snomiao
Created: 7/31/2024
Status: ✅ Merged
Merged: 7/31/2024
Merged by: @snomiao

Base: main ← Head: sno-license-updator


📝 Commits (6)

  • 9f367ee feat(license-updator): ready
  • 1e266a5 fix(add): licenCe note
  • 46ac9df fix(add): licenCe note
  • d6a659e fix(create-pr): respect bypass rule
  • 1850f08 fix(create-comfy-pr): remove comments
  • 203c07d fix(license-updator): handle desiredLicenseIsFile

📊 Changes

19 files changed (+363 additions, -162 deletions)

View changed files

📝 .eslintrc.json (+5 -1)
📝 README.md (+6 -4)
📝 app/(dashboard)/details/page.tsx (+1 -1)
📝 app/(dashboard)/page.tsx (+1 -1)
➕ bypass.yaml (+8 -0)
📝 docker-compose.yml (+11 -0)
📝 package.json (+30 -28)
📝 packages/mongodb-pipeline-ts/Task.ts (+1 -1)
➕ src/bypassRepos.spec.ts (+10 -0)
➕ src/bypassRepos.ts (+8 -0)
📝 src/createComfyRegistryPullRequests.ts (+1 -12)
📝 src/createGithubForkForRepo.ts (+25 -12)
📝 src/createGithubPullRequest.ts (+69 -45)
📝 src/gh/createGithubFork.ts (+4 -1)
📝 src/index.ts (+2 -0)
📝 src/makeUpdateTomlLicenseBranch.ts (+160 -40)
📝 src/updateCNReposInfo.ts (+5 -4)
📝 src/updateCNReposPulls.ts (+14 -11)
📝 src/utils/tLog.ts (+2 -1)

📄 Description

This pr updates license field on pyproject.toml

before example 1: license = "LICENSE.md" | license = "LICENCE.txt"
before example 2: license = "MIT"
before example 3: repo without license file, - AIGODLIKE/ComfyUI-CUP: Bridge between ComfyUI and blender ComfyUI-BlenderAI-node addon.

after example 1: license = { file = "LICENSE.md" } | license = { file = "LICENCE.txt" }
after example 2: license = { text = "MIT" }
after example 3: *ignore repos without license files

  1. point to license file first, matches ./LICENSE* file and replace into after example 1, *Note: example 1 also accept ./LICEN[C]E files
  2. fallback into {text=...} while no files matched

cc @robinjhuang @haohaocreates


🔄 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/Comfy-PR/pull/13 **Author:** [@snomiao](https://github.com/snomiao) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@snomiao](https://github.com/snomiao) **Base:** `main` ← **Head:** `sno-license-updator` --- ### 📝 Commits (6) - [`9f367ee`](https://github.com/Comfy-Org/Comfy-PR/commit/9f367ee0d17d7bc3ffa93359a2ddee2d36ff5c7b) feat(license-updator): ready - [`1e266a5`](https://github.com/Comfy-Org/Comfy-PR/commit/1e266a5c3bd4d68bfdc5b4479ea03d8907d44b88) fix(add): licenCe note - [`46ac9df`](https://github.com/Comfy-Org/Comfy-PR/commit/46ac9df87f88c7695110ef6e963ec34757adc97a) fix(add): licenCe note - [`d6a659e`](https://github.com/Comfy-Org/Comfy-PR/commit/d6a659e1dd97cf47463b5fe6ae4adf7f190c3f67) fix(create-pr): respect bypass rule - [`1850f08`](https://github.com/Comfy-Org/Comfy-PR/commit/1850f08cb2657a85a39f3c22d35a31633c303294) fix(create-comfy-pr): remove comments - [`203c07d`](https://github.com/Comfy-Org/Comfy-PR/commit/203c07d7630ac1704e119be5bffb44999842f7e3) fix(license-updator): handle desiredLicenseIsFile ### 📊 Changes **19 files changed** (+363 additions, -162 deletions) <details> <summary>View changed files</summary> 📝 `.eslintrc.json` (+5 -1) 📝 `README.md` (+6 -4) 📝 `app/(dashboard)/details/page.tsx` (+1 -1) 📝 `app/(dashboard)/page.tsx` (+1 -1) ➕ `bypass.yaml` (+8 -0) 📝 `docker-compose.yml` (+11 -0) 📝 `package.json` (+30 -28) 📝 `packages/mongodb-pipeline-ts/Task.ts` (+1 -1) ➕ `src/bypassRepos.spec.ts` (+10 -0) ➕ `src/bypassRepos.ts` (+8 -0) 📝 `src/createComfyRegistryPullRequests.ts` (+1 -12) 📝 `src/createGithubForkForRepo.ts` (+25 -12) 📝 `src/createGithubPullRequest.ts` (+69 -45) 📝 `src/gh/createGithubFork.ts` (+4 -1) 📝 `src/index.ts` (+2 -0) 📝 `src/makeUpdateTomlLicenseBranch.ts` (+160 -40) 📝 `src/updateCNReposInfo.ts` (+5 -4) 📝 `src/updateCNReposPulls.ts` (+14 -11) 📝 `src/utils/tLog.ts` (+2 -1) </details> ### 📄 Description This pr updates license field on pyproject.toml before example 1: `license = "LICENSE.md"` | `license = "LICENCE.txt"` before example 2: `license = "MIT"` before example 3: repo without license file, - [AIGODLIKE/ComfyUI-CUP: Bridge between ComfyUI and blender ComfyUI-BlenderAI-node addon.]( https://github.com/AIGODLIKE/ComfyUI-CUP ) after example 1: `license = { file = "LICENSE.md" }` | `license = { file = "LICENCE.txt" }` after example 2: `license = { text = "MIT" }` after example 3: *ignore repos without license files 1. point to license file first, matches ./LICENSE* file and replace into after example 1, *Note: example 1 also accept ./LICEN[C]E files 2. fallback into {text=...} while no files matched cc @robinjhuang @haohaocreates --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:08:51 +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/Comfy-PR#21
No description provided.