Improved options for dependency handling #2105
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❔What, Why & How
Additional options for handling dependencies. This is mainly needed if you build the same app with different code but use the same id, such as when you have country specific changes.
The issue you might face is that if you have a project B that depends on project A and both A and B builds the same app, but B adds country specific changes, the dependency resolution of AL-Go will take the app from A. This can cause failures.
Additionally a setting has been added to force dependency on a specific project. Imagine you have project A, B and C. A and B builds the same app, but B has country specific changes. C depends on that app, but only expect the base version without country specific changes. In this case, AL-Go will think C depends on both A and B since the app id is the same in both projects. The new setting allows you to manually set C to only depend on A.
Note: if you don't use the same app id for apps with country specific changes, this is not relevant for you.
Related to issue: #
✅ Checklist