-
- Downloads
deposit moderation view: Improve deposit types visualization
This explicits the deposit's type, either 'code' or 'meta'. The uri column is now filled depending on that type. Mostly, the parsing of the deposit's raw xml content is done to try and extract that potentially provided information. If not found, this uses the same heuristics as before (either use the origin_url if provided or extract the origin out of the swhid_context). Related to T3680
parent
57a83b9a
No related branches found
Tags v0.0.375
Showing
- assets/src/bundles/admin/deposit.js 20 additions, 23 deletionsassets/src/bundles/admin/deposit.js
- cypress/integration/deposit-admin.spec.js 12 additions, 4 deletionscypress/integration/deposit-admin.spec.js
- swh/web/admin/deposit.py 41 additions, 9 deletionsswh/web/admin/deposit.py
- swh/web/common/utils.py 68 additions, 1 deletionswh/web/common/utils.py
- swh/web/templates/admin/deposit.html 9 additions, 7 deletionsswh/web/templates/admin/deposit.html
- swh/web/tests/common/test_utils.py 43 additions, 2 deletionsswh/web/tests/common/test_utils.py
- swh/web/tests/resources/deposit/raw-metadata-add-to-origin.xml 13 additions, 0 deletions...eb/tests/resources/deposit/raw-metadata-add-to-origin.xml
- swh/web/tests/resources/deposit/raw-metadata-create-origin.xml 13 additions, 0 deletions...eb/tests/resources/deposit/raw-metadata-create-origin.xml
- swh/web/tests/resources/deposit/raw-metadata-no-swh.xml 7 additions, 0 deletionsswh/web/tests/resources/deposit/raw-metadata-no-swh.xml
- swh/web/tests/resources/deposit/raw-metadata-provenance.xml 14 additions, 0 deletionsswh/web/tests/resources/deposit/raw-metadata-provenance.xml
-
Some references in the commit message have been migrated:
- T3680 is now swh-deposit#3680
-
mentioned in merge request !1060 (closed)
Please register or sign in to comment