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

Opened 9 years ago

Closed 9 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 9 years ago by jmoore

  • Cc jburel cblackburn added
  • Description modified (diff)

comment:2 Changed 9 years ago by jmoore

  • Description modified (diff)

comment:3 Changed 9 years ago by cxallan

  • Sprint 2010-03-05 (4) deleted

comment:4 Changed 9 years ago by jmoore

  • Component changed from General to Scripting

comment:5 Changed 9 years ago by jmoore

  • Sprint set to 2010-04-16 (7)

comment:6 Changed 9 years ago by jmoore

  • Remaining Time changed from 2 to 0
  • Resolution set to fixed
  • Status changed from new to closed

#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.

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

We're Hiring!