You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2021/02/12 13:36:00 UTC
[jira] [Updated] (SLING-10129) Introduce "required language
version" statement in repoinit scripts
[ https://issues.apache.org/jira/browse/SLING-10129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-10129:
----------------------------------------
Summary: Introduce "required language version" statement in repoinit scripts (was: Introduce version statement)
> Introduce "required language version" statement in repoinit scripts
> -------------------------------------------------------------------
>
> Key: SLING-10129
> URL: https://issues.apache.org/jira/browse/SLING-10129
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Reporter: Konrad Windszus
> Priority: Major
>
> Although with SLING-9186 it is now easy to enforce that repoinit parser and implementation support the same repoinit language version there is currently no way to express for a repoinit script which language version it minimally requires.
> This has been discussed in https://lists.apache.org/thread.html/r7eacbe10217fe0b4c0cfdbef3674b3438a9e7bc7feb71711f116145d%40%3Cdev.sling.apache.org%3E and the proposal is to allow the statement to appear multiple times in a (merged) repoinit script as different sections might have different requirements.
> When the parser tries to process a repoinit in a language version which is newer than the supported one a meaningful warning should be emitted and the processing should be skipped.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)