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

Opened 11 years ago

Closed 10 years ago

RFE: Add append/remove methods to omero config

Reported by: spli Owned by: sbesson
Priority: minor Milestone: 5.1.0
Component: Configuration Version: 4.4.8
Keywords: n.a. Cc: jamoore, sbesson, aknab
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Some configuration keys are lists, e.g. omero.web.apps

omero config set omero.web.apps '["omero_searcher"]'

If there are multiple webapps installed it's quite difficult to parse the existing value of omero.web.apps in an installation script to check for existing values, so append/remove methods would be helpful- though this assumes the config values are all unique (sets) rather than ordered lists.

Change History (7)

comment:1 Changed 11 years ago by spli

  • Cc jamoore added

comment:2 Changed 10 years ago by spli

  • Cc sbesson added

Now that we've got at least three web-apps it seems like a good time to bump this :).

comment:3 Changed 10 years ago by jamoore

  • Cc aknab added
  • Milestone changed from Unscheduled to 5.0.0-beta2

See Andreas' recent work on reading multi-line parameters from file: bin/omero config set foo --file X Something similar with append omero.apps --json webfigure might work.

comment:4 Changed 10 years ago by sbesson

  • Owner set to sbesson

comment:5 Changed 10 years ago by sbesson

  • Status changed from new to accepted

comment:6 Changed 10 years ago by jamoore

  • Milestone changed from 5.0.0-beta2 to 5.0.0-beta3

comment:7 Changed 10 years ago by sbesson

  • Resolution set to fixed
  • Status changed from accepted to closed
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.65332 sec.)

We're Hiring!