Package install extract only when snapshot#311
Merged
krystian-panek-vmltech merged 2 commits intomainfrom Aug 4, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new configuration option install_extract_only to control package installation behavior in AEM. The feature allows setting whether packages should be extracted only during installation, which saves disk space but prevents later uninstallation.
- Adds
install_extract_onlyconfiguration option with a default value of "snapshot" - Implements logic to dynamically determine the extract-only behavior based on package type
- Updates all default configuration files to include the new setting
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/project/instance/aem/default/etc/aem.yml | Adds install_extract_only configuration |
| pkg/project/app_cloud/aem/default/etc/aem.yml | Adds install_extract_only configuration |
| pkg/project/app_classic/aem/default/etc/aem.yml | Adds install_extract_only configuration |
| examples/docker/src/aem/default/etc/aem.yml | Adds install_extract_only configuration |
| pkg/pkg/constants.go | Defines constant for snapshot value |
| pkg/package_manager.go | Implements extract-only logic and parameter handling |
| pkg/cfg/defaults.go | Sets default configuration value |
Comments suppressed due to low confidence (1)
pkg/package_manager.go:603
- [nitpick] The variable name 'extractOnly' could be more descriptive. Consider renaming it to 'extractOnlyValue' or 'extractOnlyParam' to better indicate its purpose as the parameter value.
var extractOnly string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
fixes #299