Task #1953 (closed)
Opened 14 years ago
Closed 14 years ago
Guarantee UNIQUE script names
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | n.a. | Milestone: | OMERO-Beta4.2 |
Component: | Scripting | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, cblackburn |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-04-16 (7) |
Description (last modified by jmoore)
The may only be marginally possible for the internal repository, but shouldn't be a problem for the FS-based repositories. Note: there are other tickets which speculate as to whether or not we should only have scripts in FS-based repos to make importing, etc. more straight-forward.
Depending on unique files discussion:
- remove findOriginalFile(string)
- uploadScript(path, str)
- everything path-based (stdout/sterr "name")
- default script identification?
Change History (6)
comment:1 Changed 14 years ago by jmoore
- Cc jburel cblackburn added
- Description modified (diff)
comment:2 Changed 14 years ago by jmoore
- Description modified (diff)
comment:3 Changed 14 years ago by cxallan
- Sprint 2010-03-05 (4) deleted
comment:4 Changed 14 years ago by jmoore
- Component changed from General to Scripting
comment:5 Changed 14 years ago by jmoore
- Sprint set to 2010-04-16 (7)
comment:6 Changed 14 years ago by jmoore
- Remaining Time changed from 2 to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
#2261 (esp. #2073) add the scripting repository which handles this logic. The db changes of #1750 make ofile paths unique, but not names. (That is still to be discussed under #1753) Non-official scripts can still be duplicated, but they will be stored in the legacy repo under omero.data.dir so it won't matter.