Skip to content
Snippets Groups Projects

Add support for database flavors to `swh db-init`

This adds a "flavor initialization step" to the initialization of the database, after the execution of the sql file named *-flavor.sql.

I've added a few sanity checks to warn if one of the underlying assumptions for this feature breaks.

Test Plan

called swh db-init with a bunch of combinations of valid and invalid flavors to check the behavior.


Migrated from D3997 (view on Phabricator)

Merge request reports

Approval is optional
Ready to merge by members who can write to the target branch.

Merge details

  • 1 commit will be added to generated-differential-D3125-target.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading