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-mysql-xdevapi: Adding new Pecl extension MySQL X DevAPI for PHP #3887
Conversation
2181b90
to
b6e9c98
Compare
Travis Build #5671 Failed. Lint results
Port php73-mysql-xdevapi fail on xcode10.2. Log |
php/php-mysql-xdevapi/Portfile
Outdated
long_description The X DevAPI is the new common API for MySQL Connectors built on the X Protocol introduced in MySQL 5.7.12. | ||
|
||
depends_build-append port:boost | ||
depends_lib-append port:boost |
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.
The depends_build-append
line can be removed because it is included in depends_lib-append
.
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.
I was not sure which once to include and how, I manages to build it from sources manually other day.
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.
Fixed Protobuf, building now.
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.
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.
@mf2k Apparently. php extension keep dynamic link to protobuf3.
Can you give a hint how to build it static, and remove dependencies if binary is installed?
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.
I'm not understanding what you are asking. We don't normally like static builds. We also don't generally work with non Macports dependencies. So adding a dependency on protobuf3-cpp is correct.
php/php-mysql-xdevapi/Portfile
Outdated
set cap_name mysql_xdevapi | ||
categories-append net devel | ||
platforms darwin freebsd openbsd | ||
maintainers {ryandesign @ryandesign} openmaintainer |
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.
Since Ryan is being added as maintainer, I want him to approve this.
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.
@ryandesign Keeps eye on php, so put him here also.
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.
Changed to nomaintainer
b6e9c98
to
a750bb0
Compare
Travis Build #5673 Failed. Lint results
Port php73-mysql-xdevapi fail on xcode10.2. Log |
a750bb0
to
7e81fb7
Compare
Travis Build #5674 Passed. Lint results
Port php73-mysql-xdevapi success on xcode10.2. Log |
Travis Build #5675 Passed. Lint results
Port php73-mysql-xdevapi success on xcode10.2. Log |
This looks OK but I'm not committing until Ryan approves being maintainer. I'm OK with removing him as maintainer and committing however. |
It is @ryandesign that I am waiting for to approve/commit this. |
Hi, I set nomaintainer as maintainer. |
Travis Build #5949 Passed. Lint results
Port php73-mysql-xdevapi success on xcode10.2. Log |
It looks like there are conflicts that need to be resolved now. |
225e0bf
to
17abe99
Compare
Travis Build #5964 Passed. Lint results
Port php73-mysql-xdevapi success on xcode10.2. Log |
@mf2k No more conflicts. Should we merge? |
I'm using port locally anyway this one comes handy if someone wants to use Mysql as object storage. |
@mf2k ? |
Description
MySQL X DevAPI for PHP
Here is how test it
php -r '$session = \mysql_xdevapi\getSession("mysqlx://root:123123qa@127.0.0.1"); print_r($session->getSchemas());'
Type(s)
Tested on
macOS 10.14.3 18D109
Xcode 10.1 10B61
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?