You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/27 16:52:00 UTC
[jira] [Commented] (SLING-8548) Allow specifying negative runmode
match
[ https://issues.apache.org/jira/browse/SLING-8548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024491#comment-17024491 ]
Konrad Windszus commented on SLING-8548:
----------------------------------------
[~Henry Kuijpers] Do you have an idea for a reasonable syntax which is allowed in JCR node names as well as in folder names of most filesystems? Although "!" might work, it needs to be escaped e.g. in bash script.
> Allow specifying negative runmode match
> ---------------------------------------
>
> Key: SLING-8548
> URL: https://issues.apache.org/jira/browse/SLING-8548
> Project: Sling
> Issue Type: New Feature
> Components: Installer, JCR
> Affects Versions: JCR Installer 3.1.26
> Reporter: Henry Kuijpers
> Priority: Major
>
> Currently, runmodes can be specified as the name of the "config" or "install" folders. I.e. "config.author" or "install.dev".
> We often see the use-case where we want to do a configuration for every environment, except one (most often "local").
> It would be nice if we can do something about the configuration syntax to be able to specify a negative match, i.e.:
> * install.author.!local
> * install.author.local
> Instead of:
> * install.author.local
> * install.author.dev
> * install.author.test
> * install.author.acp
> * install.author.prod
> This way, we do not have to duplicate our configurations 3 times. :)
> Any thoughts on this?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)