HomeSoftware Heritage

Ensure uploaded files keep their names

Description

Ensure uploaded files keep their names

When migrating to dexador, we lost the ability of explicitly setting the
filename when uploading a file via POST request. We work around this by
creating a symlink, with the right filename, before uploading.

Setting upload filenames properly allows GitLab's auto image display do
do the right thing, for instance.

Details

Provenance
olasdAuthored on Oct 13 2022, 6:43 PM
olasdPushed on Oct 13 2022, 6:44 PM
Parents
R263:696b4cf32dd2: Implement find-gitlab-project to replace most uses of find-project-by-name
Branches
Unknown
Tags
Unknown