Upload metadata.ini
Browse files- !0000-a1111-fix/metadata.ini +55 -0
!0000-a1111-fix/metadata.ini
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[Extension]
|
| 2 |
+
Name = 0000-a1111-fix
|
| 3 |
+
|
| 4 |
+
; Notes:
|
| 5 |
+
; - the real canonical name A1111 uses to match Before/After targets is
|
| 6 |
+
; always the lowercased FOLDER name, not the "Name =" field above.
|
| 7 |
+
; modules/extensions.py:ExtensionMetadata.__init__ reads "Name" and then,
|
| 8 |
+
; a couple of lines later, unconditionally overwrites it with the folder
|
| 9 |
+
; name -- so "Name =" here is documentation only, it has zero effect on
|
| 10 |
+
; matching. Rename the FOLDER, not this line, if you ever need to change
|
| 11 |
+
; how other extensions can reference this one.
|
| 12 |
+
; - the "!0000-" folder prefix forces early alphabetical sort, but that only
|
| 13 |
+
; wins against other entries inside extensions/. A1111 scans
|
| 14 |
+
; extensions-builtin/ to completion before it ever looks inside
|
| 15 |
+
; extensions/ (modules/extensions.py:list_extensions), so a builtin
|
| 16 |
+
; extension is always earlier in the natural, unconstrained order no
|
| 17 |
+
; matter what this folder is named. The Before= lines below are what
|
| 18 |
+
; actually overrides that, via the topological sort in
|
| 19 |
+
; modules/scripts.py:list_scripts().
|
| 20 |
+
; - Before/After targets are matched by EXACT, case-insensitive folder name.
|
| 21 |
+
; A non-matching name fails silently (no error, the edge is just never
|
| 22 |
+
; created) -- verify names against the real extensions/ and
|
| 23 |
+
; extensions-builtin/ directories instead of guessing. "canvas-zoom" used
|
| 24 |
+
; to be a guess here and did not match the extension actually shipped in
|
| 25 |
+
; this repo, which is named canvas-zoom-and-pan.
|
| 26 |
+
; - "name1|name2|name3" (pipe, no surrounding spaces) picks whichever of the
|
| 27 |
+
; alternatives is actually installed and ignores the rest -- see
|
| 28 |
+
; modules/extensions.py:get_script_requirements. Used below for
|
| 29 |
+
; third-party extensions whose exact folder name can vary by how the user
|
| 30 |
+
; installed them.
|
| 31 |
+
|
| 32 |
+
; javascript/fix.js
|
| 33 |
+
; Kept for defense in depth, but not strictly load-bearing for FIX-1/2/3 as
|
| 34 |
+
; currently written: they patch GLOBAL functions (scheduleAfterUiUpdateCallbacks,
|
| 35 |
+
; executeCallbacks, inputAccordionChecked) by reassignment, and FIX-2
|
| 36 |
+
; additionally re-wraps any callback queue right before it runs, regardless
|
| 37 |
+
; of when things were registered. Both patterns only require fix.js to have
|
| 38 |
+
; executed at all before DOMContentLoaded, which holds for any sync or defer
|
| 39 |
+
; <script> tag no matter its position. Ordering would only matter if some
|
| 40 |
+
; other extension captured a direct reference to the original function at
|
| 41 |
+
; its own parse time instead of calling window.xxx(...) fresh on use --
|
| 42 |
+
; uncommon, but the entries below cost nothing if unused.
|
| 43 |
+
[javascript/fix.js]
|
| 44 |
+
Before = sd-webui-tabs-extension|sd-webui-tabs-extension-main sd-webui-controlnet|sd-webui-controlnet-main canvas-zoom|sd-webui-canvas-zoom|canvas-zoom-and-pan
|
| 45 |
+
|
| 46 |
+
; scripts/backend_watchdog.py
|
| 47 |
+
; This one DOES need to run before other extensions' Python: it times each
|
| 48 |
+
; extension's import as it happens, and it needs to be watching before an
|
| 49 |
+
; import starts in order to catch a slow or stuck one live. Builtin
|
| 50 |
+
; extensions are otherwise unreachable by any folder-naming trick (see
|
| 51 |
+
; note above), so they are listed explicitly and exhaustively -- this is
|
| 52 |
+
; every folder currently under extensions-builtin/ in this repo. Add to
|
| 53 |
+
; this list if a future A1111 version ships additional builtin extensions.
|
| 54 |
+
[scripts/backend_watchdog.py]
|
| 55 |
+
Before = ldsr lora scunet swinir canvas-zoom-and-pan extra-options-section hypertile mobile postprocessing-for-training prompt-bracket-checker soft-inpainting
|