Allow migration script cli to work ignoring edge case scripts
Historic files are present in our sql modules which cannot be executed by the cli migration (without complicating too much the code). So ignore those without breaking the db upgrade cli.
[1] Refs. swh/infra/sysadm-environment#4933 (comment 141771)
Merge request reports
Activity
Jenkins job DCORE/gitlab-builds #84 succeeded .
See Console Output and Coverage Report for more details.mentioned in issue swh/infra/sysadm-environment#4933 (closed)
added 1 commit
- a45eb0ac - Allow migration script cli to work ignoring edge case scripts
added 1 commit
- 0a143f5b - Allow migration script cli to work ignoring edge case scripts
Jenkins job DCORE/gitlab-builds #85 succeeded .
See Console Output and Coverage Report for more details.I've changed the implementation to ignore those historic files which are not following the proper convention.
The other way would have been to improve the current implementation which is also possible. As that would have overcomplicated the code, i settled on ignoring those instead.
Jenkins job DCORE/gitlab-builds #86 succeeded .
See Console Output and Coverage Report for more details.added 1 commit
- 7d830658 - Allow migration cli to work ignoring historically misnamed scripts
enabled an automatic merge when the pipeline for 7d830658 succeeds
Jenkins job DCORE/gitlab-builds #87 succeeded .
See Console Output and Coverage Report for more details.