-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
php-xhprof: Update to "revived" fork with version 2.3.9 (formerly 2.3.7) #16579
Conversation
Notifying maintainers: |
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. This would resolve https://trac.macports.org/ticket/57340. I'll work on an update that keeps the old version for php 5.x and uses the new one for php >= 7.
New version pushed. Remaining points:
Ciao :-) |
Ah, by coincidence I went to take a look to the Side note, I've seen that the git repo doesn't have that version ( |
I've added a second commit adding the conditional building of the old So, only remaining point is about to add the conflict counterpart in the
And that's all, ciao :-) |
And one more little detail, I've added a 3rd commit, because a new https://github.com/longxinH/xhprof/releases/tag/v2.3.8 BTW, feel free to squash the 3 commits or whatever, or ask me to do so. Just wanted to show the changes incrementally. Ciao :-) |
Added one more commit to support php82 too (seems to be working here). |
@ryandesign can you please decide what to do with this PR. If it has no path forward let's just close it. |
Hi, all I can say is that I'm using it often, from 7.4 to 8.2 and it seems to be working ok. Problem with the tideways alternative reporting some stats with php80 and up made it basically unusable, and, unless I'm wrong, it has been archived recently. That doesn't leave us with many options. So only points to decide is how to specify the incompatibility with tideways and be able to test this PR with old (PHP 5, 7.0...) versions. I've not been able to test it there (no access to old system/xcode to do so). So 🤞 and ciao :-) |
Based on "official" fork that is used by PECL itself. This has been tested with php72-php81 (self tests and some real apps) and it's working ok so far. Note it only includes the minimum changes required, not sure if there is anything else to modify (ports versions or things like that). TODO: Maybe the opposite conflict should be added to the tideways package as part of this too?
It has been released minutes ago and fixes an issue that was annoying us with some big/special scripts when using PHP >= 8.0. longxinH/xhprof#72
Thank you, I've evidently forgotten about this PR. Thanks for the information that tideways_xhprof has been archived. They recommend this fork now. Sounds like the simplest solution is to update php-xhprof as suggested and mark php*-tideways_xhprof replaced_by php*-xhprof. |
Description
Based on "official" fork that is used by PECL itself.
This has been tested with php72-php81 (self tests and some real apps) and it's working ok so far. Note it only includes the minimum changes required, not sure if there is anything else to modify (ports versions or things like that).
Note I'm not 100% sure about the declared incompatibility with the tideways-xhprof package, I borrowed it from other packages having incompatibilities. Maybe the opposite one should be added to the tideways one?
Also, note that this switch to the new package leaves PHP 5.x out from the equation.
Type(s)
Tested on
macOS 12.6.1 21G217 x86_64
Xcode 13.4.1 13F100
Verification
Have you
port lint --nitpick
?sudo port test
?sudo port -vst install
?