Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #10811 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

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

Would it be better to have this property on the Fileset instead? It'll be the same for all the entries.

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

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.65192 sec.)

We're Hiring!