-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add InvokeAIAppConfig schema migration system #6243
Commits on Apr 19, 2024
-
add InvokeAIAppConfig schema migration system
Lincoln Stein committedApr 19, 2024 Configuration menu - View commit details
-
Copy full SHA for 6ad1948 - Browse repository at this point
Copy the full SHA 6ad1948View commit details -
use packaging.version rather than version-parse
Lincoln Stein committedApr 19, 2024 Configuration menu - View commit details
-
Copy full SHA for 36495b7 - Browse repository at this point
Copy the full SHA 36495b7View commit details
Commits on Apr 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b612c73 - Browse repository at this point
Copy the full SHA b612c73View commit details -
tidy(config): removed extraneous ABC
We don't need separate implementations for this class, let's not complicate it with an ABC
Configuration menu - View commit details
-
Copy full SHA for e39f035 - Browse repository at this point
Copy the full SHA e39f035View commit details -
fix(config): use TypeAlias instead of TypeVar
TypeVar is for generics, but the usage here is as an alias
Configuration menu - View commit details
-
Copy full SHA for aca9e44 - Browse repository at this point
Copy the full SHA aca9e44View commit details -
tidy(config): use dataclass for MigrationEntry
The only pydantic usage was to convert strings to `Version` objects. The reason to do this conversion was to allow the register decorator to accept strings. MigrationEntry is only created inside this class, so we can just create versions from each migration when instantiating MigrationEntry instead. Also, pydantic doesn't provide runtime time checking for arbitrary classes like Version, so we don't get any real benefit.
Configuration menu - View commit details
-
Copy full SHA for 6f128c8 - Browse repository at this point
Copy the full SHA 6f128c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d411e4 - Browse repository at this point
Copy the full SHA 5d411e4View commit details -
fix(config): fix duplicate migration logic
This was checking a `Version` object against a `MigrationEntry`, but what we want is to check the version object against `MigrationEntry.from_version`
Configuration menu - View commit details
-
Copy full SHA for d12fb7d - Browse repository at this point
Copy the full SHA d12fb7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 984dd93 - Browse repository at this point
Copy the full SHA 984dd93View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9ebef - Browse repository at this point
Copy the full SHA ab9ebefView commit details
Commits on Apr 25, 2024
-
check for strictly contiguous from_version->to_version ranges
Lincoln Stein committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 6eaed9a - Browse repository at this point
Copy the full SHA 6eaed9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 048306b - Browse repository at this point
Copy the full SHA 048306bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab086a7 - Browse repository at this point
Copy the full SHA ab086a7View commit details -
updated and reinstated the test_deny_nodes() unit test
Lincoln Stein committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for 8144a26 - Browse repository at this point
Copy the full SHA 8144a26View commit details -
reinstated failing deny_nodes validation test for Graph
Lincoln Stein committedApr 25, 2024 Configuration menu - View commit details
-
Copy full SHA for d248775 - Browse repository at this point
Copy the full SHA d248775View commit details
Commits on Apr 28, 2024
-
added test for non-contiguous migration routines
Lincoln Stein committedApr 28, 2024 Configuration menu - View commit details
-
Copy full SHA for d852ca7 - Browse repository at this point
Copy the full SHA d852ca7View commit details -
Merge branch 'main' into lstein/feat/config-migration
Lincoln Stein committedApr 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 59deef9 - Browse repository at this point
Copy the full SHA 59deef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36b1434 - Browse repository at this point
Copy the full SHA 36b1434View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d5aee87 - Browse repository at this point
Copy the full SHA d5aee87View commit details
Commits on May 3, 2024
-
make config migrator into an instance; refactor location of get_config()
Lincoln Stein committedMay 3, 2024 Configuration menu - View commit details
-
Copy full SHA for a48abfa - Browse repository at this point
Copy the full SHA a48abfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bba7f3 - Browse repository at this point
Copy the full SHA 2bba7f3View commit details -
check that right no. of migration steps run
Lincoln Stein committedMay 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 2dd42d0 - Browse repository at this point
Copy the full SHA 2dd42d0View commit details -
Lincoln Stein committed
May 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 31f6302 - Browse repository at this point
Copy the full SHA 31f6302View commit details -
add more checking of migration step operations
Lincoln Stein committedMay 3, 2024 Configuration menu - View commit details
-
Copy full SHA for fc23b16 - Browse repository at this point
Copy the full SHA fc23b16View commit details
Commits on May 14, 2024
-
feat(config): simplify config migrator logic
- Remove `Migrations` class - unnecessary complexity on top of `MigrationEntry` - Move common classes to `config_common` - Tidy docstrings, variable names
Configuration menu - View commit details
-
Copy full SHA for 6946a38 - Browse repository at this point
Copy the full SHA 6946a38View commit details -
tidy(config): add "config" to class names to differentiate from SQLit…
…e migration classes
Configuration menu - View commit details
-
Copy full SHA for 18b5aaf - Browse repository at this point
Copy the full SHA 18b5aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c081d5 - Browse repository at this point
Copy the full SHA 4c081d5View commit details -
fix(config): fix config _check_for_discontinuities
Need to sort the migrations first.
Configuration menu - View commit details
-
Copy full SHA for d487102 - Browse repository at this point
Copy the full SHA d487102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d8b011 - Browse repository at this point
Copy the full SHA 7d8b011View commit details -
Configuration menu - View commit details
-
Copy full SHA for 964adb8 - Browse repository at this point
Copy the full SHA 964adb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00ccd73 - Browse repository at this point
Copy the full SHA 00ccd73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e40142 - Browse repository at this point
Copy the full SHA 6e40142View commit details -
tests(config): set root to a tmp dir if didn't parse args
This prevents tests from triggering config related parsing on your "live" root.
Configuration menu - View commit details
-
Copy full SHA for 8b76d11 - Browse repository at this point
Copy the full SHA 8b76d11View commit details