mirror of https://github.com/sipwise/db-schema.git
* ngcp-update-db-schema is rewritten in python. that simplifies the code, as well as enables flexibility and more complex features support, as well as performance improvements * full strict mypy compliant * flake8 compliant * google docstring complied * add .down scripts support * add docstring full documentation * add mypy, isort, flake8 checks during build phase * add command line arguments that support --to-revision, to stop .up/.down scripts execution when it reaches a certain revision * better support for ngcp-sync-db * preserve AUTOMATED_INSTALL_MODE and SKIP_SYNC_DB env vars support for backward compatibility, in the future it is recommented to switch to the existing (--automated, --skip-ro-sync-db) options * experimental batch mode support where instead of applying changes one by one, they are accumulated into a file along with db_schema revision tracking changes and applied at once Change-Id: I4632393d52d1a60c945b4d87a779f1a073ed9a5fmr12.2
parent
38e80cca4d
commit
b084c5e47a
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,39 @@
|
||||
[metadata]
|
||||
name = ngcp-update-db-schema
|
||||
version = 2.0
|
||||
home_page = https://www.sipwise.com
|
||||
project_urls =
|
||||
GitHub: issues = https://github.com/sipwise/db-schema/issues
|
||||
GitHub: repo = https://github.com/sipwise/db-schema
|
||||
description = NGCP database schema versioning tool
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
author = Sipwise Development Team <support@sipwise.com>
|
||||
author_email = support@sipwise.com
|
||||
license = GPL
|
||||
license_files = LICENSE.txt
|
||||
platform = Debian/Linux
|
||||
|
||||
[options]
|
||||
python_requires = >=3.9
|
||||
|
||||
[flake8]
|
||||
exclude =
|
||||
.git
|
||||
.env
|
||||
__pycache__
|
||||
.eggs
|
||||
tools
|
||||
max-line-length = 79
|
||||
docstring-convention = google
|
||||
extend-ignore =
|
||||
# unused import
|
||||
F401,
|
||||
# missing docstring in public module
|
||||
D100,
|
||||
# missing docstring in public package
|
||||
D104,
|
||||
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
strict = True
|
Loading…
Reference in new issue