backend: Fix git_bare bundle download URL sent in email notification
Closed
requested to merge generated-differential-D8818-source into generated-differential-D8818-target
1 unresolved thread
Previous URL was starting with /api/1/vault/git_bare/ leading to a 404 while the correct one must start with /api/1/vault/git-bare/.
Migrated from D8818 (view on Phabricator)
Merge request reports
Activity
Filter activity
Build is green
Patch application report for D8818 (id=31794)
Rebasing onto d6de3a4d...
Current branch diff-target is up to date.
Changes applied before test
commit b77c5ecef778427829123a499bc3436511b40bfc Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Mon Nov 7 13:50:09 2022 +0100 backend: Fix git_bare bundle download URL sent in email notification Previous URL was starting with /api/1/vault/git_bare/ leading to a 404 while the correct one must start with /api/1/vault/git-bare/.
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/256/ for more details.
451 451 # the table 452 452 # * use this url for the notification e-mail 453 453 url = "https://archive.softwareheritage.org/api/1/vault/{}/{}/" "raw".format( 454 bundle_type, swhid 454 bundle_type.replace("_", "-"), swhid
Please register or sign in to reply