-
Notifications
You must be signed in to change notification settings - Fork 19
Install WP-CLI with Composer in tests to introduce utils/make-phar.php
#2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@schlessera I don't think wp-cli/wp-cli#3921 fixed this issue. Composer still returns this error: |
|
@danielbachhuber The issue is that Composer cannot rely on the fact that your dev branch automatically meets the That's why you need to explicitly tell it that your dev branch matches that requirement. You can do so by adding a branch alias to the |
|
You have |
|
@schlessera Here's the fatal from removing the Also, we seem to be pulling in |
|
From our phone call today, the fatal from removing the |
|
The prefer-stable should fix the issue of having the But just for future reference, you can also define package-specific aliases from within the requiring package by adding them to the version string as follows: |
|
Some more specifics about the fatal: |
This reverts commit 56be2a2.
|
Chatted in Slack, and decided to go with |
Also add the branch alias `dev-master as 1.x-dev` as well, to conform to the setup of the other packages.
|
I think that the test failures after the latest changes are due to changed behaviour because of switching from included We will probably need to rethink these tests. |
|
@schlessera I've just pushed some changes. The build should pass now. |
|
The build still fails. It seems to be able to pull in Maybe GitHub rate limit? |
Must be. It's flagged with the Updated to use |
Install WP-CLI with Composer in tests to introduce `utils/make-phar.php`

Fixes #1
Fixes #3
Uses wp-cli/scaffold-package-command#89