dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 10 forks source link

Add calculate_sha256 management command to trigger (re)computation for a blob #1938

Open yarikoptic opened 4 months ago

yarikoptic commented 4 months ago

Added ability to specify either blob id (where it applies) or asset id since that is the id we typically know for which a blob lacks sha256.

Refs:

has a chance to properly address the underlying issue but IMHO having an interface to trigger such a task manually could still be valuable e.g. in case of that automation failing to perform for some reason etc.

yarikoptic commented 1 month ago

In 4 days this non-draft PR will celebrate its 3rd month without feedback. @waxlamp please attend to decide on its destiny one way or another.

yarikoptic commented 2 weeks ago

ping @waxlamp @jjnesbitt @mvandenburgh . I felt like this is a trivial PR which could get either blessed or rejected speedily.