Page MenuHomeSoftware Heritage

nixguix: Filter out unsupported artifacts from ingestion
Closed, ResolvedPublic


As [1] revealed, unfiltered loading of unsupported artifacts can impact the
ingestion time for no good reason.

It's not quite reasonable from a resource standpoint, both for the mirror we are
downloading the artifacts and our own infra. So for the time being, we might as
well filter out unsupported artifacts (based on their extension most likely).

The aim is to make that list short and even short-lived (to subside with better
artifacts support).

I recall @lewo should have a fair subset of those unsupported extensions since
he filtered them out of the nix listing ([2] should help)



Event Timeline

ardumont triaged this task as Normal priority.Jul 26 2020, 6:23 AM
ardumont created this task.
ardumont updated the task description. (Show Details)

I'm currently using the following regex to filter the exposed urls .tar.gz$|.zip$|tar.bz2$|.tbz$|.tar.xz$|.tgz$|.tar$ but I'm pretty sure it could be improved.

ardumont claimed this task.