Skip to content

allow variants for extension name in metadata.ini#15290

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:allow_variants_for_extension_name_in_metadata.ini
Mar 17, 2024
Merged

allow variants for extension name in metadata.ini#15290
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:allow_variants_for_extension_name_in_metadata.ini

Conversation

@light-and-ray
Copy link
Copy Markdown
Contributor

@light-and-ray light-and-ray commented Mar 17, 2024

Description

Allow require one of few extensions in metadata.ini. E.g.

# This section contains information about the extension itself.
# This section is optional.
[Extension]

# A canonical name of the extension. 
# Only lowercase letters, numbers, dashes and underscores are allowed. 
# This is a unique identifier of the extension, and the loader will refuse to 
# load two extensions with the same name. If the name is not supplied, the 
# name of the extension directory is used. Other extensions can use this 
# name to refer to this extension in the file.
Name = sd-webui-cn-in-extras-tab

# A comma-or-space-separated list of extensions that this extension requires 
# to be installed and enabled.
# The loader will generate a warning if any of the extensions in this list is
# not installed or disabled.
Requires = sd-webui-controlnet | sd_forge_controlnet

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 4ce2e25 into AUTOMATIC1111:dev Mar 17, 2024
@light-and-ray light-and-ray deleted the allow_variants_for_extension_name_in_metadata.ini branch March 17, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants