Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency calculations updates #6189 #1814

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:is-up-to-date: True
:last-updated: 4.0.0
:last-updated: 4.2.0

:orphan:

Expand All @@ -10,7 +10,7 @@ Dependency Resolver Configuration
=================================
Crafter Studio extracts and tracks dependencies between content items to assist authors with publishing, workflow and core content operations like copy and delete. This file configures what file paths Crafter considers a dependency and how they should be extracted.

To modify the Dependency Resolver configuration, click on |projectTools| from the bottom of the Sidebar, then click on **Configuration** and select **Dependency Resolver** from the dropdown list.
To modify the Dependency Resolver configuration, click on |projectTools| from the bottom of the Sidebar, then click on **Configuration** and select **Dependency Resolver** from the list.

.. image:: /_static/images/site-admin/config-open-dependency-config.webp
:alt: Configurations - Open Dependency Resolver Configuration
Expand Down Expand Up @@ -39,3 +39,21 @@ Here's a sample Dependency Resolver Configuration file (click on the triangle on
|
|

-------------------------------
Soft Dependencies Configuration
-------------------------------
.. version_tag::
:label: Since
:version: 4.2.0

Soft dependencies are referenced items that are in a modified state and are optional. When calculating soft
dependencies, CrafterCMS follows dependencies recursively. To set the depth of soft dependencies calculated, configure
the maximum recursion iterations property ``studio.db.maxRecursiveIterations`` with a value between 0 and 20.
The default value is 10.

.. code-block:: yaml
:caption: *bin/apache-tomcat/shared/classes/crafter/studio/extension/studio-config-override.yaml*

# DB max_recursive_iterations value. This property should be set to a value between 0 and 20 (hard limit)
studio.db.maxRecursiveIterations: 10