Skip to content
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

composer.json - De-fork dependency, marcj/topsort #11687

Merged
merged 1 commit into from
Feb 18, 2018

Conversation

totten
Copy link
Member

@totten totten commented Feb 18, 2018

Overview

When this dependency was originally added, we needed a few patches (for PHP 5.3 compatibility)
and initially used a forked version of library. Of course, it's undesirable to use a fork
in the long term (e.g. harder to apply upgrades; harder to merge into other build processes).

In the intervening period, upstream has merged the patches for PHP 5.3, and
we've politely asked downstream to get over PHP 5.3, so we're covered on
both ends. Let's get back on the mainline branch!

Before

civicrm-core pulls in a forked build of marcj/topsort.

After

civicrm-core pulls in a conventional build of marcj/topsort.

Comments

There should be test-coverage in tests/phpunit/CRM/Extension/ which
touches on core's use of this library.

When this dependency was originally added, we needed a few patches (for PHP 5.3 compatibility)
and initially used a forked version of library. Of course, it's undesirable to use a fork
in the long term (e.g. harder to apply upgrades; harder to merge into other build processes).

In the intervening period, upstream has merged the patches for PHP 5.3, and
we've politely asked downstream to get over PHP 5.3, so we're covered on
both ends.  Let's get back on the mainline branch!
@seamuslee001
Copy link
Contributor

Changes look fine to me and i know there are unit tests on the composer.lock file to ensure compatibility as well. I'm happy with this 👍

@seamuslee001
Copy link
Contributor

Tests have passed now this looks good to merge @eileenmcnaughton @colemanw

@eileenmcnaughton
Copy link
Contributor

merging based on @seamuslee001 analysis

@eileenmcnaughton eileenmcnaughton merged commit 8ca9e69 into civicrm:master Feb 18, 2018
@mlutfy mlutfy added this to the 4.7.32 milestone Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants