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
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
Now that we've got at least three web-apps it seems like a good time to bump this :).