Registry: the description fits its 1000 byte limit
The 2.8.0 upload was refused with "description is too long": naming Image Folder and Callout took the description to 1024 bytes and the Registry takes 1000. It is 989 now, and release_preflight.py fails on a description over the limit, so this is caught before a version lands. The Registry's scan also warned about two statements on one line in tests/test_image_folder.py and says that becomes an error. They are two lines now.
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
name = "ausboss-nodes"
|
||||
# Manager/registry search matches against this text, so it names the actual
|
||||
# nodes instead of describing the collection abstractly.
|
||||
description = "ComfyUI-AusBoss (AusBoss nodes): image and video nodes with compact controls: Image and Video Crop + Rotate + Pad (frame or clip), Load Image + Pad, Image Folder (run a workflow on each picture you pick from a folder), Image Resize, Align Image, Image Size, Color Match, Image Compare A/B, Realign to Source (experimental: lines an edited picture back up with the original), Save Image (PNG, lossless WebP/JXL, exact names, captions), Load Video, Save Video, Select Frame, Frame Interpolate, Mask Refine, Mask by Name (type what to find in a picture and get its mask, with ComfyUI's SAM 3), LaMa Inpaint, Crop For Inpaint, Stitch Inpaint, LoRA Loader, Krea 2 Encode and Outpaint Model Patch, Latent Size, Seed, Select Every Nth, Split Batch, Merge Batches, Text, Integer, Float, Math Expression, Show Text, Free Memory, Workflow Note, Callout (a canvas note with big text and arrows), Workflow Switches (turn parts of a workflow off and on), and Run Timer. Example workflows for Qwen Image 2.1, Krea 2, Klein 9B and LTX 2.3."
|
||||
description = "ComfyUI-AusBoss (AusBoss nodes): image and video nodes with compact controls: Image and Video Crop + Rotate + Pad (frame or clip), Load Image + Pad, Image Folder (run a workflow on a folder of pictures), Image Resize, Align Image, Image Size, Color Match, Image Compare A/B, Realign to Source (experimental: lines an edited picture back up with the original), Save Image (PNG, lossless WebP/JXL, exact names, captions), Load Video, Save Video, Select Frame, Frame Interpolate, Mask Refine, Mask by Name (type what to find and get its mask, with ComfyUI's SAM 3), LaMa Inpaint, Crop For Inpaint, Stitch Inpaint, LoRA Loader, Krea 2 Encode and Outpaint Model Patch, Latent Size, Seed, Select Every Nth, Split Batch, Merge Batches, Text, Integer, Float, Math Expression, Show Text, Free Memory, Workflow Note, Callout (a note with big text and arrows), Workflow Switches (turn parts of a workflow off and on), and Run Timer. Example workflows for Qwen Image 2.1, Krea 2, Klein 9B and LTX 2.3."
|
||||
version = "2.8.0"
|
||||
# comfy-cli serializes this to JSON verbatim, so `file` publishes the literal
|
||||
# string {"file": "LICENSE"} to the registry listing. `text` puts a readable
|
||||
|
||||
@@ -59,6 +59,17 @@ if match:
|
||||
else:
|
||||
errors.append('pyproject.toml has no version = "..." line')
|
||||
|
||||
# The Registry refuses an upload whose description is over 1000 bytes
|
||||
# ("description is too long"), and it says so only after the version is
|
||||
# on main.
|
||||
DESCRIPTION_LIMIT = 1000
|
||||
match = re.search(rb'^description\s*=\s*"([^"]*)"', raw, re.MULTILINE)
|
||||
if match and len(match.group(1)) > DESCRIPTION_LIMIT:
|
||||
errors.append(
|
||||
f"the pyproject description is {len(match.group(1))} bytes; "
|
||||
f"the Registry takes {DESCRIPTION_LIMIT} at most"
|
||||
)
|
||||
|
||||
# --- 2. the frontend version constant matches --------------------------------
|
||||
js_version = None
|
||||
try:
|
||||
|
||||
@@ -204,7 +204,8 @@ class LoadingTests(FolderCase):
|
||||
def test_a_turned_photo_comes_out_upright(self):
|
||||
path = self.root / "turned.jpg"
|
||||
photo = Image.new("RGB", (40, 20), (5, 5, 5))
|
||||
exif = photo.getexif(); exif[0x0112] = 6
|
||||
exif = photo.getexif()
|
||||
exif[0x0112] = 6
|
||||
photo.save(path, exif=exif)
|
||||
image, _mask = load_picture(path)
|
||||
self.assertEqual(tuple(image.shape), (1, 40, 20, 3))
|
||||
|
||||
Reference in New Issue
Block a user