AdobeDocs/experience-manager-65.en

Clarify how "Inclusion rules" work in package manager, with examples.

Closed this issue · 4 comments

Exclusion rules are fairly easy to write, typing a regex that matches against the full content path generally works.

Inclusion rules are a big mystery. How exactly do they work?

Example 1, nothing is packaged:

image

Example 2, nothing is packaged:

image

Example 3, everything is packaged. Inclusion filter appears to be ignored.

image

Example 4, everything is packaged. Inclusion filter appears to be ignored.

image

Example 5, everything is packaged.

image

Example 6, only items under the folder "some-folder-name" are packaged. "some-folder-name" is a direct child of "my-website".

image

Example 6 is pointless to do because you can just set the root path to "/content/my-website/some-folder-name".

Example 7, nothing is packaged. "some-other-folder-name" is a folder that is not a direct descendant folder of "my-website", but it is inside of as one of its grandchildren:

image

Thank you for opening this issue. We will investigate.

@adobe export issue to Jira project CQDOC

✅ Jira issue CQDOC-21408 is successfully created for this GitHub issue.

aheim0 commented

Thanks for raising this. We have made updates to the documentation - they will be published soon.
Hope this helps, if you have question related to specific regular expressions then you can contact the Community.
Closing this issue.