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/07/30 06:16:00 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-8548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-8548.
------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-org-apache-sling-installer-provider-file/commit/fa4b8c3adc79eac30eb702b18caa48e524846ea2 and https://github.com/apache/sling-org-apache-sling-installer-provider-jcr/commit/c772615f22660146c7bfa6c20eaa9f301c70168b.

> 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
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Settings 1.3.12, File Installer 1.2.4, JCR Installer 3.2.4
>
>
> 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)