Skip to content

Conversation

@CarlSchwan
Copy link
Member

@CarlSchwan CarlSchwan commented Sep 22, 2021

Backport sabre-io/xml#204

This also adds cweagans/composer-patches to make it possible to patch the vendor files without them getting overwritten the next time composer install is run.

Signed-off-by: Carl Schwan carl@carlschwan.eu

@CarlSchwan CarlSchwan force-pushed the work/better_libxml_version_detection branch from 320d1bd to 13140c5 Compare September 24, 2021 09:29
patches.txt Outdated
- SabreVObject: Broker: add timezone to CANCEL messages https://github.com/sabre-io/vobject/pull/412
- SabreXML: Fix invalid PHP docs https://github.com/fruux/sabre-xml/pull/128
- SabreXML: Prevent infinite loops for empty props element https://github.com/fruux/sabre-xml/pull/132
- SabreXML: Use libxml version instead of PHP version before calling libxml_disable_entity_loader https://github.com/sabre-io/xml/pull/204
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is patchs.txt actually still used? I can't remember applying any of those patches manually when I vendored deps. How do we ensure the patch doesn't get unapplied?

Copy link
Member Author

@CarlSchwan CarlSchwan Oct 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it is indeed a problem. I think something like cweagans/composer-patches symplify/vendor-patches might be a good solution to vendor patches, I'd take a deeper look at these two packages this weekend.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now using cweagans/composer-patches and it seems to work, let see if the ci is happy with it

@CarlSchwan CarlSchwan force-pushed the work/better_libxml_version_detection branch 2 times, most recently from da13032 to 59af070 Compare October 6, 2021 10:45
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan force-pushed the work/better_libxml_version_detection branch from 59af070 to 2a7884e Compare October 6, 2021 12:57
@CarlSchwan CarlSchwan changed the title Backport https://github.com/sabre-io/xml/pull/204 Backport "Use libxml version instead of PHP version before calling libxml_disable_entity_loader" Oct 7, 2021
@CarlSchwan CarlSchwan merged commit 4d16f16 into master Oct 7, 2021
@delete-merged-branch delete-merged-branch bot deleted the work/better_libxml_version_detection branch October 7, 2021 11:33
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.

4 participants