-
Notifications
You must be signed in to change notification settings - Fork 160
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
add merge-replace config #233
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that my approval is worth anything here, but this is a simple change with limited to no side effects.
Is this project still maintained? There has been next to no activity for the past year. |
I've just gone with the approach of not including the Winter plugins in my projects' merge config. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch. merge-replace
needs documenting in README.md like other settings.
@reedy I documented Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Sorry to be a pain. Can we also mark it as optional in README.md (line 111) like we do for other similar config for consistency?
Like:
* [require-dev](https://getcomposer.org/doc/04-schema.md#require-dev)
(optional, see [merge-dev](#merge-dev) below)
@reedy sorry, I checked the README.md file at line 111 and I don't understand what you mean by "make it optional" |
@reedy If you mean the "*" in front of replace on line 111, this is for a bulletted list... not the usual "this is optional". |
@reedy sorry, brain cramp this morning... commit has been added for this. Thanks. |
@reedy anything else required to be modified for this? |
Not unless you want to write some tests to test the I'd like to try and get #240 fixed so CI is actually useful before merging more new features (even though this one is trivial)... |
@reedy Sure, fix your CI and I'll write a testcase. |
@reedy unless you're planning on taking care of #240 in the next week or so can we just get this PR merged for now? 😄 I know how easy it is for things to slip by the wayside for the sake of wishful thinking, so if you're willing to I'd really rather just get this simple change merged and then look at fixing CI later when someone actually has time to do it. |
Haha. Fair point. I'll do it later today. The tests confuse me tbh (I didn't write them!), and unless someone else looks at them and has any idea any time soon... |
yay |
great patch! |
@reedy any way to tag a release so this can be used in stable composer installation? Thanks. |
Sorry for the slow reply... I've created https://github.com/wikimedia/composer-merge-plugin/tree/v2 to revert out the dropping of old PHP support (but no CI due to supported images by GH Actions) and testing of 8.2 (because of different library requirements) to remove the more breaking changes in master... Ideally the next major release wants even more breaking changes (ie dropping composer 1.x support (ala #243).. But those code updates haven't been done yet. And then turned that into https://github.com/wikimedia/composer-merge-plugin/releases/tag/v2.1.0 |
Hello Sam, I see a 2.1.0 tag, but no release yet... Am I too impatient ?
Thanks!
…On Sat, Apr 15, 2023 at 3:12 PM Sam Reed ***@***.***> wrote:
@reedy <https://github.com/reedy> any way to tag a release so this can be
used in stable composer installation?
Thanks.
Sorry for the slow reply... I've created
https://github.com/wikimedia/composer-merge-plugin/tree/v2 to revert out
the dropping of old PHP support (but no CI due to supported images by GH
Actions) and testing of 8.2 (because of different library requirements) to
remove the more breaking changes in master... Ideally the next major
release wants even more breaking changes (ie dropping composer 1.x support
(ala #243 <#243>)..
But those code updates haven't been done yet.
And then turned that into
https://github.com/wikimedia/composer-merge-plugin/releases/tag/v2.1.0
—
Reply to this email directly, view it on GitHub
<#233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPLTPRNE2JRNMYSQZFIKPTXBLXJHANCNFSM5Z4NRVSQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Marc
|
We don't need a release for it to work... They're primarily for binary releases etc - https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases https://packagist.org/packages/wikimedia/composer-merge-plugin#v2.1.0 shows it's there, so it can be installed just fine. |
Fix #221
This allows to control merging of composer replace section.