Task #10811 (closed)
FilesetEntry should record template path.
Reported by: | jamoore | Owned by: | mtbcarroll |
---|---|---|---|
Priority: | critical | Milestone: | 5.0.0-beta1 |
Component: | Model | Version: | n.a. |
Keywords: | fs | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | FS demo 4.2 |
Description
The FilesetEntry should contain the templatePrefix which has been prepended to the user specified path. In addition to the clientPath field which is the client-side absolute path value, the templatePrefix will allow a scripted cleanup of the repository directory despite changes to the server-side template.
Change History (9)
comment:1 Changed 11 years ago by jamoore
- Keywords fs added
comment:2 Changed 11 years ago by mtbcarroll
- Owner set to mtbcarroll
comment:3 Changed 11 years ago by mtbcarroll
- Status changed from new to accepted
comment:4 Changed 11 years ago by mtbcarroll
comment:5 Changed 11 years ago by mtbcarroll
- Resolution set to fixed
- Status changed from accepted to closed
comment:6 Changed 11 years ago by jamoore
As long as nothing else is being encoded, adding to Fileset makes sense.
comment:7 Changed 11 years ago by mtbcarroll
To upgrade older FS DBs, if omero.fslite.path from omero.properties is still at its default setting of having four /-separated path components, the fileset.templateprefix column should be populated with the value of originalfile.path of one of the fileset's uploaded files, truncated after the fourth / to omit the extra directories from the user's client-side path.
comment:8 Changed 11 years ago by Mark Carroll <m.t.b.carroll@…>
- Remaining Time set to 0
(In [b822d477aa7145467c52762d11ee19620f58f134/ome.git] on branch develop) fix #10811: add templatePrefix to Fileset
See from https://trac.openmicroscopy.org.uk/ome/ticket/10811#comment:7
for instructions on upgrading older FS DBs to accommodate this change.
comment:9 Changed 11 years ago by Josh Moore <josh@…>
(In [0f6ba671504d9808c068112d63d6aa5d3513a781/ome.git] on branch develop) Merge pull request #1168 from mtbc/trac-10811
fix #10811: add templatePrefix to Fileset
Would it be better to have this property on the Fileset instead? It'll be the same for all the entries.