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 #9825 (closed)

Opened 12 years ago

Closed 11 years ago

Specific fs-lite path corner-cases/tests

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: 5.0.0-beta1
Component: OmeroFs Version: n.a.
Keywords: fs Cc: bpindelski, jburel, cblackburn, mtbcarroll
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: FS Demo 2

Description

  • ./red.dv and then later ./red.dv results in a directory like: /.-1/a.png
    • I.e. if we move to incrementing part of the server-side path, then this issue should go away.
  • cd /tmp; omero import ./a.png; goes under /private/tmp/a.png in ManagedRepo.
    • What should the default be?
      • The value passed in by the user? (possibly)
      • The equivalent of no -p argument to patch (i.e. a.png) (unlikely)
      • The absolute path (also not optimal)
    • Do we try to detect tmp directories and similar? (probably not)
  • If the client passes in non-normalized versions of the same path, will these be considered to be in the same directory?
    • Server-side after all paths have been converted to unix-style, they should also be normalized. If this results in a duplicate path, what happens?
      • an exception? (possibly optimal)
      • ignoring one file? (this might not work if we're working via sized arrays)
  • What happens if the server-side template is empty? Do we default to the absolute path? How do we communicate that to clients?

Change History (4)

comment:1 Changed 11 years ago by mtbcarroll

Given answers to the described questions, feel free to have me help code actual test cases.

comment:2 Changed 11 years ago by mtbcarroll

  • Cc mtbcarroll added

comment:3 Changed 11 years ago by jburel

Referencing ticket #9821 has changed sprint.

comment:4 Changed 11 years ago by jmoore

  • Milestone changed from OMERO-4.5 to OMERO-5
  • Resolution set to invalid
  • Sprint set to FS Demo 2
  • Status changed from new to closed

Discussions on the path handling in Dundee last week should have resolved all of these issues. Implementation to happen in other tickets.

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

We're Hiring!