Skip to content

Conversation

@tanyaka
Copy link
Contributor

@tanyaka tanyaka commented Nov 6, 2025

No description provided.

@printminion-co printminion-co force-pushed the dev/fix/password_policy_build branch 2 times, most recently from 8203528 to 5a4ba39 Compare November 7, 2025 10:57
Signed-off-by: copilot Claude Sonnet 4.5
Co-authored-by: Tatjana Kaschperko Lindt <[email protected]>
@tanyaka tanyaka force-pushed the dev/fix/password_policy_build branch from 5a4ba39 to 5fb7365 Compare November 10, 2025 10:21
Copy link

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 introduces support for building apps that require dev dependencies during the build process. The password_policy app is moved to a new build category that includes dev dependencies when running composer.

  • Adds a new COMPOSER_INSTALL_WITH_DEV command that installs composer dependencies including dev packages
  • Creates a new FULL_BUILD_WITH_DEV_APPS category for apps requiring dev dependencies during build
  • Implements corresponding build targets and functions following existing patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


# Common build commands
COMPOSER_INSTALL = composer install --no-dev -o --no-interaction
COMPOSER_INSTALL_WITH_DEV = composer install -o --no-interaction --no-scripts && composer run-script post-install-cmd --no-interaction 2>/dev/null || true
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

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

Error suppression with 2>/dev/null || true hides all failures of the post-install-cmd script, making debugging difficult if the build silently fails. Consider allowing errors to propagate or at least logging them, especially since this is specifically for dev dependencies where build failures should be caught early.

Suggested change
COMPOSER_INSTALL_WITH_DEV = composer install -o --no-interaction --no-scripts && composer run-script post-install-cmd --no-interaction 2>/dev/null || true
COMPOSER_INSTALL_WITH_DEV = composer install -o --no-interaction --no-scripts && composer run-script post-install-cmd --no-interaction

Copilot uses AI. Check for mistakes.
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.

2 participants