Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11791 (new)

Opened 6 years ago

Last modified 4 years ago

Use cleanse to remove minimal original_metadata.txt files

Reported by: cblackburn Owned by:
Priority: minor Milestone: Metadata
Component: General Version: 5.0.0-beta1
Keywords: n.a. Cc: fs@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

For some files imported under 4.4 the original_metadata.txt files may be zero-sized or minimal:

[GlobalMetadata]
[SeriesMetadata]
EOF

These should be removed using the cleanse script and use of that script following an upgrade should be recommended.

Change History (6)

comment:1 Changed 5 years ago by jamoore

  • Milestone changed from 5.1.0 to 5.1.1

comment:2 Changed 5 years ago by jamoore

I don't assume after the 5.1.0 modifications this is any easier?

comment:3 Changed 5 years ago by mtbcarroll

The UsedFilesRequest identifies the metadata file ID for the pre-FS images and from the script the client API (repository, raw file store, etc.) could be used to check the file contents and delete the file by ID if need be?

comment:4 Changed 5 years ago by jamoore

Ah, I was hoping that the sha1s of the original_metadata files would have been set, but it looks like they are all "Pending", otherwise it would have been quite easy to detect the "empty" ones.

comment:5 Changed 5 years ago by jamoore

  • Milestone changed from 5.1.1 to 5.x

comment:6 Changed 4 years ago by jamoore

  • Milestone changed from 5.x to Metadata
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.100699 sec.)

We're Hiring!