Software Heritage - Storage

Abstraction layer over the archive, allowing to access all stored source code artifacts as well as their metadata

The Software Heritage storage consist of a high-level storage layer (swh.storage) that exposes a client/server API (swh.storage.api). The API is exposed by a server (swh.storage.api.server) and accessible via a client (swh.storage.api.client).

The low-level implementation of the storage is split between an object storage (swh.objstorage), which stores all “blobs” (i.e., the leaves of the Data model) and a SQL representation of the rest of the graph (swh.storage.storage).

Database schema

Archive copies