'metadata_raw' made sense, to discriminate from 'metadata_dict'; but no
longer does, now that the latter was removed.
Additionally, swh-web expects it to be named 'raw_metadata', so it
could never actually get the metadata.
Paths
| Differential D7522 Authored by vlorentz on Apr 7 2022, 2:34 PM.
Details
Summary 'metadata_raw' made sense, to discriminate from 'metadata_dict'; but no Additionally, swh-web expects it to be named 'raw_metadata', so it
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptApr 7 2022, 2:34 PM2022-04-07 14:34:41 (UTC+2) ardumont accepted this revision. This revision is now accepted and ready to land.Apr 7 2022, 2:40 PM2022-04-07 14:40:49 (UTC+2) Comment Actions Build has FAILED Patch application report for D7522 (id=27289)Rebasing onto 6d1089cb25... Current branch diff-target is up to date. Changes applied before testcommit 4415b647ac1f3ff4f16e4fd338f60272a0418ebc Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 7 14:34:25 2022 +0200 Rename metadata_raw to raw_metadata in the private API 'metadata_raw' made sense, to discriminate from 'metadata_dict'; but no longer does, now that the latter was removed. Additionally, swh-web expects it to be named 'raw_metadata', so it could never actually get the metadata. Link to build: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/830/ Harbormaster failed remote builds in B28220: Diff 27289!Apr 7 2022, 2:41 PM2022-04-07 14:41:24 (UTC+2) Comment Actions Build is green Patch application report for D7522 (id=27290)Rebasing onto 6d1089cb25... Current branch diff-target is up to date. Changes applied before testcommit 56da78d0bf3b6f45ced055d7df644542e471299c Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 7 14:34:25 2022 +0200 Rename metadata_raw to raw_metadata in the private API 'metadata_raw' made sense, to discriminate from 'metadata_dict'; but no longer does, now that the latter was removed. Additionally, swh-web expects it to be named 'raw_metadata', so it could never actually get the metadata. See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/831/ for more details. Harbormaster completed remote builds in B28221: Diff 27290.Apr 7 2022, 2:43 PM2022-04-07 14:43:10 (UTC+2) Closed by commit rDDEP56da78d0bf3b: Rename metadata_raw to raw_metadata in the private API (authored by vlorentz). · Explain WhyApr 7 2022, 2:43 PM2022-04-07 14:43:25 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 27290 swh/deposit/api/private/deposit_read.py
swh/deposit/cli/client.py
swh/deposit/tests/api/test_deposit_private_read_metadata.py
swh/deposit/tests/cli/test_client.py
|