Right now swh-content-testdata only contains the db schema + functions.
To properly test various parts of the code base without having to do a real injection every time, we need to add actual content, to as many tables as possible.
Right now swh-content-testdata only contains the db schema + functions.
To properly test various parts of the code base without having to do a real injection every time, we need to add actual content, to as many tables as possible.
Status | Assigned | Task | ||
---|---|---|---|---|
Migrated | gitlab-migration | T41 add actual content to swh-storage-testdata | ||
Migrated | gitlab-migration | T42 swh-git-loader: merge bulk-git-loader into master |
As a first step to address this, in rDSTOTb841c72f6a240eac8131e40614c9ce20d75b1c96 I've checked into swh-storage-testdata several sample repositories, both as submodules and fast-export dumps.
Starting from those, we now need a Makefile target that batch import them into the SWH DB, and recreate the test database dumps.