analysispreservation.cern.ch icon indicating copy to clipboard operation
analysispreservation.cern.ch copied to clipboard

i-records-files: checks & updates

Open pamfilos opened this issue 2 years ago • 4 comments

  • [x] we need to upgrade to the commit that intializes views entry-points https://github.com/inveniosoftware/invenio-records-files/commit/27a5f5c3abcb9442042c2f6134e1ca34a2b81752
  • [x] (v1.1.0) investigate behaviour of record class that creates bucket. Same behavior as before? Does it conflict with our bucket creation?
  • [x] try to upgrade to v1.2.0

pamfilos avatar Apr 04 '23 10:04 pamfilos

  • https://github.com/inveniosoftware/invenio-records-files/commit/30d7b0a44de91af9f803621e541e1a9f1639933f

ParthS007 avatar Apr 25 '23 14:04 ParthS007

  • Addition of _bucket in record metadata.
  • Change in bucket creation.
  1. Tested with previous forked version and new one with i-r-files==1.2.1
  2. The behavior of bucket creation is same as before and we are overriding the bucket creation so it stays the same. There is no conflict in bucket creation(means only 1 bucket is created and files are associated with that bucket only).

ParthS007 avatar Apr 25 '23 15:04 ParthS007

  • Added methods for overriding methods coming from i-r-files in Records module api.

ParthS007 avatar May 16 '23 14:05 ParthS007

  • Fixed the get_record method in CAPDeposit to check if files exist before dumps().

ParthS007 avatar May 22 '23 09:05 ParthS007