Repository navigation
Не паковать тестовую обвязку в transport.zip - #789
Open
Ibochkarev wants to merge 1 commit into
Open
Ibochkarev wants to merge 1 commit into
Ibochkarev wants to merge 1 commit into
Conversation
Stage a filtered core tree before packaging so tests, composer metadata and phpunit junk never ship. Purge the same leftovers on upgrade for sites that already have them.
Ibochkarev
force-pushed
the
fix/issue-781-exclude-test-harness
branch
from
September 25, 2026 03:07
011d76e to
0ce3e79
Compare
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.
Описание
В transport уезжали
tests/,scripts/,.phpunit.cache/,phpunit*.xml,composer.json/lockи.gitignore. File vehicle копировал весь core без фильтра, аxPDOFileVehicleпри pack не передаётcopy_exclude_*вcopyTree. Сборка теперь стейджит отфильтрованное дерево в_build/_package_stage/, аresolver_10чистит уже установленные копии черезobsolete_package_files.php(в том числе каталоги).Тип изменений
Связанные Issues
Closes #781
Как это было протестировано?
Полный
php _build/build.phpна этой машине не гонялся (нужен чистый--no-devvendor и MODX).composer ci:php/composer test,npm run lint:ci,composer stan/ GitHub Actions CI)Конфигурация тестирования:
Скриншоты (если применимо)
Чеклист
composer stan/ CI jobPHPStan)npm run lint:ciдля Vue)Дополнительные заметки
Список исключений:
_build/package_exclude.php. Staging:_build/_package_stage/(в.gitignore). В исходниках Extratests/иcomposer.jsonостаются для CI. Связано с #779 (vendor--no-dev).