Page MenuHomeSoftware Heritage

cookers: factor filtering of unavailable content
ClosedPublic

Authored by seirl on Oct 20 2017, 5:49 PM.

Diff Detail

Repository
rDVAU Software Heritage Vault
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd added a subscriber: olasd.

There's a bunch of hardcoded sha1s sprinkled around that should probably be replaced by a global variable, but then again that's consistent with how things have been hardcoded at the swh-storage/swh-objstorage interface ๐Ÿคฆโ€

I'll accept this as it makes the code cleaner anyway.

swh/vault/cookers/base.py
96

content is singular here -> has not been retrieved

This revision is now accepted and ready to land.Oct 20 2017, 5:58 PM

rebase + fix "content" singular

This revision was automatically updated to reflect the committed changes.