Based on past discussions we want to consolidate scripts and libraries that currently span across multiple repositories.
The main benefit are:
- atomic deployment/checkout reducing the risk of out-of-sync dependencies
- making changes spanning multiple libraries or scripts in a single commit or code review
- running unit tests and mypy in CI across the whole codebase
- easier refactoring to reduce duplication
In the cookbooks repository we are incrementally moving shared functions into __init__, and for repositories on GitLab we can:
- merge the following repositories as subdirectories (while preserving the commit history):
- db_password_rotation https://gitlab.wikimedia.org/ladsgroup/db-password-rotation/-/merge_requests/ (no MR)
- auto_schema https://gitlab.wikimedia.org/repos/data_persistence/dbtools/auto_schema/-/merge_requests (1+3 MR)
- schema-changes https://gitlab.wikimedia.org/repos/sre/schema-changes/-/merge_requests (1 MR)
- scripts https://gitlab.wikimedia.org/repos/data_persistence/dbtools/scripts/-/merge_requests (1 MR)
- update CI
- update description on legacy repos and set them as "archived"
- update wikitech docs