Reduce included files (behat/phpunit in particular). Add 'cli' test build option.#4185
Merged
Reduce included files (behat/phpunit in particular). Add 'cli' test build option.#4185
Conversation
Member
Contributor
Author
|
Yes, are there ideas floating around as to how to do that?! |
Member
@schlessera had it running, but I'm unsure of its current status. |
Member
|
I'll try to move #4108 forward, it is one of the tasks I wanted to be done for 1.3.0 as well. |
danielbachhuber
approved these changes
Jul 31, 2017
Member
|
@gitlost Happy with this? If so, feel free to merge at your convenience. I'd like to get this landed sooner rather than later so we can see if any bugs shake out of it. |
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.
Issue #4170
Does not include behat or phpunit files.
Tries in general to only include files needed - for instance only specific symfony components, and no spdx-licenses, command, console or Pear stuff for composer.
Excludes "composer/ca-bundle/res/cacert.pem" as it doesn't seem to be needed as "rmccue/requests/library/Requests/Transport/cacert.pem" is used instead.
Processes the autoload_* files to remove unused entries.
Also adds a
buildoption to make a much reduced test phar that can only runclicommands such aswp --versionandwp cli check-update- although not used here it will be in a future patch to speed up testing (cli.featurein particular). (See gitlost#12 for the gory details.)Also removes the "Include base project files, because the autoloader will load them" branch, added in #3923, that doesn't seem to be needed (I think).