[
https://issues.apache.org/jira/browse/SLING-11488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570778#comment-17570778
]
Niek Raaijmakers commented on SLING-11488:
------------------------------------------
[~cziegeler] what do you think? I talked to [~davidb] about this.
Some options from our end:
*1: Instead of removing the repoinit extension in the SDK feature, we could
just leave the register namespace statements.*
Upside: CPConverter doesn't need to be touched
Downside: Can create confusion in the SDK feature. Why only register namespace
statements? Could provide a wrongful impression that this is the complete
repoinit.
*2: We could pass an argument to the cpconverter that would allow you to choose
with extension it uses to load in a repoinit statement, to extract namespaces
with.*
Upside: We can write a new extension, that is more clear: An extension that is
for a specific purpose.
Downside: Another option for the CPConverter - it's already a beast.
What do you think? Any other possibilities from your end?
> CPConverter - use extension "extracted-repo-namespaces"
> ---------------------------------------------------------
>
> Key: SLING-11488
> URL: https://issues.apache.org/jira/browse/SLING-11488
> Project: Sling
> Issue Type: Bug
> Components: Content-Package to Feature Model Converter
> Affects Versions: Content-Package to Feature Model Converter 1.1.14
> Reporter: Niek Raaijmakers
> Assignee: Niek Raaijmakers
> Priority: Major
>
> We at Adobe are introducing a new extension "extracted-repo-namespaces" in
> the aem SDK feature model.
> In here we put "register namespace repoinit statements" of the repository, so
> we can use the namespaces without issues.
> We need to use a separate extension with just the register namespace
> statements, instead of all the repoinit statements of the SDK, because then
> the aemanalyser will analyse a huge repoinit statement that is irrelevant for
> the end-users.
>
> But we do need the namespaces for sling initial content to work in the
> CPConverter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)