Skip to content

Package install extract only when snapshot#311

Merged
krystian-panek-vmltech merged 2 commits intomainfrom
pkg-deploy-extract-only
Aug 4, 2025
Merged

Package install extract only when snapshot#311
krystian-panek-vmltech merged 2 commits intomainfrom
pkg-deploy-extract-only

Conversation

@krystian-panek-vmltech
Copy link
Copy Markdown
Contributor

@krystian-panek-vmltech krystian-panek-vmltech commented Jul 30, 2025

fixes #299

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_only configuration 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

@krystian-panek-vmltech krystian-panek-vmltech merged commit a2931cf into main Aug 4, 2025
1 check passed
@krystian-panek-vmltech krystian-panek-vmltech deleted the pkg-deploy-extract-only branch August 4, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AEM Instance Size Grows Significantly Over Time

2 participants