Konrad Windszus created SLING-10129:
---------------------------------------

             Summary: Introduce version statement
                 Key: SLING-10129
                 URL: https://issues.apache.org/jira/browse/SLING-10129
             Project: Sling
          Issue Type: Improvement
          Components: Repoinit
            Reporter: Konrad Windszus


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)

Reply via email to