Skip to content

Conversation

@printminion-co
Copy link
Contributor

No description provided.

@printminion-co printminion-co force-pushed the mk/fix/app_config_password_policy branch 6 times, most recently from 496f705 to 148b2e4 Compare November 11, 2025 13:36
Copilot AI and others added 4 commits November 11, 2025 14:42
- Introduced a new target for apps that require composer installation without running scripts.
- Updated build targets to include the new no-scripts category.
- Enhanced output messages to reflect the new build process for composer-only apps.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
Removed 'forms' and 'twofactor_totp' from the app lists, and added 'forms' to the COMPOSER_NO_SCRIPTS_APPS for improved build handling.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
- Introduced a new target `validate_app_list_uniqueness` to ensure apps are only listed in one category without duplication.
- Updated help text for validation targets in the Makefile.
- Integrated the new validation into the existing `validate_all` target.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
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 fixes the app configuration for apps with password policy issues by introducing a new COMPOSER_NO_SCRIPTS_APPS category. The change addresses build failures where apps use @composer bin commands in their post-install scripts but have the bamarni/composer-bin-plugin only in require-dev, causing failures when running composer install --no-dev.

Key Changes:

  • Introduced COMPOSER_NO_SCRIPTS_APPS category for apps requiring the --no-scripts flag during composer installation
  • Moved forms, password_policy, and twofactor_totp from FULL_BUILD_APPS to the new category
  • Refactored validation logic from inline bash in Makefile to standalone scripts for maintainability
  • Added uniqueness validation to prevent apps from being in multiple lists

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
scripts/validate_external_apps.sh New standalone script that validates external app configuration and suggests proper categorization
scripts/validate_app_list_uniqueness.sh New standalone script that validates apps appear in only one list and checks for hardcoded target conflicts
Makefile Added COMPOSER_NO_SCRIPTS_APPS category, moved problematic apps, refactored validation to use external scripts, and added jq precheck

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

Copy link
Contributor

@seriAlizations seriAlizations left a comment

Choose a reason for hiding this comment

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

LGTM

… logic into standalone script.

- Added `validate_external_apps.sh` to validate external apps and suggest proper categorization based on their configuration.
- Updated Makefile to call the new validation scripts for improved app management.

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the mk/fix/app_config_password_policy branch from 6cd1c45 to 09f52c3 Compare November 12, 2025 09:08
@printminion-co printminion-co merged commit 3dc76d7 into main Nov 12, 2025
12 checks passed
@printminion-co printminion-co deleted the mk/fix/app_config_password_policy branch November 12, 2025 09:11
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.

3 participants