Task #9824 (closed)
Opened 12 years ago
Closed 11 years ago
ManagedRepository should convert all paths to unix-style
Reported by: | jamoore | Owned by: | mtbcarroll |
---|---|---|---|
Priority: | major | Milestone: | 5.0.0-beta1 |
Component: | OmeroFs | Version: | n.a. |
Keywords: | fs | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | FS Demo 2 |
Description
All paths passed into the ManagedRepositoryI implementation should immediately be converted to unix-style paths for storage in FS. The original OS-dependent path will be stored in the database for later comparison, but all values used for DB querying, should be done based on unix path-separators. Then, when a java.io.File object needs to be created based from OriginalFile object, the path-separators can be reversed.
The intent of this standardization is that clients, regardless of their local operating system and ignorant of their server's operating system, can still simply construct paths for retrieving objects.
Note: this is also a part of #2307 since if the choice is made to use unix-style across the board, then testing will need to be done on the Windows front to guarantee that the scripting repository works properly.
Change History (7)
comment:1 Changed 12 years ago by jmoore
comment:2 Changed 11 years ago by mtbcarroll
- Owner set to mtbcarroll
- Status changed from new to accepted
comment:3 Changed 11 years ago by jmoore
- Cc fs@… added; bpindelski jburel cblackburn removed
- Sprint set to 2012-12-18 (3)
comment:4 Changed 11 years ago by jburel
- Sprint changed from 2012-12-18 (3) to 2013-01-15 (4)
Moved from sprint 2012-12-18 (3)
comment:5 Changed 11 years ago by jburel
- Sprint changed from 2013-01-15 (4) to 2013-02-12 (5)
Moved from sprint 2013-01-15 (4)
comment:6 Changed 11 years ago by jmoore
- Milestone changed from OMERO-4.5 to OMERO-5
- Sprint changed from 2013-02-12 (5) to FS Demo 2
comment:7 Changed 11 years ago by mtbcarroll
- Resolution set to fixed
- Status changed from accepted to closed
Referencing ticket #2307 has changed sprint.