You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Henry Kuijpers (JIRA)" <ji...@apache.org> on 2019/07/01 11:17:00 UTC

[jira] [Created] (SLING-8548) Allow specifying negative runmode match

Henry Kuijpers created SLING-8548:
-------------------------------------

             Summary: 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


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
(v7.6.3#76005)