Page MenuHomeSoftware Heritage

Add flag `metadata-only` in deposit storage
Closed, MigratedEdits Locked

Description

To help with an easier query to get all metadata-only deposit.

Here is an example of the current query:

select raw_metadata from deposit_request where raw_metadata like '%:reference>%' limit 10;

Event Timeline

moranegg triaged this task as Normal priority.Jan 26 2021, 11:40 AM
moranegg created this task.

Add property in main table to filter between deposit types.

vlorentz claimed this task.
vlorentz added a subscriber: vlorentz.
softwareheritage-deposit=> select distinct type from deposit;
 type 
------
 meta
 code