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:
Example 2, nothing is packaged:
Example 3, everything is packaged. Inclusion filter appears to be ignored.
Example 4, everything is packaged. Inclusion filter appears to be ignored.
Example 5, everything is packaged.
Example 6, only items under the folder "some-folder-name" are packaged. "some-folder-name" is a direct child of "my-website".
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:
Thank you for opening this issue. We will investigate.
✅ Jira issue CQDOC-21408 is successfully created for this GitHub issue.
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.