Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow variants for extension name in metadata.ini #15290

Conversation

light-and-ray
Copy link
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
3 checks passed
@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