deposit.tests: Do not override external identifier in metadata
api.private: Refactor common behavior for reading deposit requests
api.private: Refactor common behavior for reading metadata
Details
Tests ok
Diff Detail
- Repository
- rDDEP Push deposit
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 1341 Build 1685: arc lint + arc unit
Event Timeline
swh/deposit/api/private/deposit_check.py | ||
---|---|---|
21 | Here there are 2 types of archive error but in the tests there's invalid, unreadable and unsupported.. | |
22 | Maybe keeping all metadata errors together, so move to line 19 | |
33 | Here is a place where the possible fails of the check can be documented |
Update?
- deposit_check: Reject deposit containing a single archive
- deposit_check: Add test around deposit with 1 archive rejection
- deposit_status: Update the deposit status endpoint
- swh.deposit.models: Reuse status variable
Revert to initial diff
- deposit.tests: Do not override external identifier in metadata
- api.private: Refactor common behavior for reading deposit requests
- api.private: Refactor common behavior for reading metadata
swh/deposit/api/private/deposit_check.py | ||
---|---|---|
21 | mmm, i finally understand you. The diff is not showing correctly the content of the diffs. Also, i might be at fault here since i updated that diff with the content of D380 and that's not what i wanted to do...
I did but we do not see it... (D380) neither... We need to look at the different diff ids in D380 to actually see what we want... |