pinpoint-apm / pinpoint-c-agent

Pinpoint C Agent helps your monitor your PHP/PYTHON applications into [pinpoint-apm](https://github.com/pinpoint-apm/pinpoint).
http://pinpoint-apm.github.io/pinpoint/
Apache License 2.0
263 stars 77 forks source link

PHP: bad License in package.xml #656

Closed remicollet closed 1 month ago

remicollet commented 1 month ago

package.xml states

<license uri="http://www.php.net/license">PHP</license>

LICENSE file is "Apache-2.0"

Please fix package.xml for consistency

remicollet commented 1 month ago

Notice: it will be nice to have the package.xml file stored in git repository so we can open PR for it

Also nice a have changelog inside the package.xml so useful information will be found at https://pecl.php.net/package-changelog.php?package=pinpoint_php

eeliu commented 1 month ago

@remicollet

Got it, I will change them.

eeliu commented 1 month ago

@remicollet

Can you help me , how to upload windows .dll into pecl.php.net ?

https://github.com/eeliu/pinpoint-c-agent/actions/runs/10141196543#artifacts

image

For pecl, only a upload button for these files

image

But I want to release these .dll as redis

image

remicollet commented 1 month ago

Can you help me , how to upload windows .dll into pecl.php.net ?

Sorry, no, I don't know anything about Windows

Perhaps @cmb69 may help

eeliu commented 1 month ago

@remicollet

Thanks all the same

cmb69 commented 1 month ago

See https://news-web.php.net/php.pecl.dev/17597.

eeliu commented 1 month ago

@cmb69 Thanks

But my problems is how to upload these compiled binary package into pecl.php.net like phpredis dll.

I already got an account.

cmb69 commented 1 month ago

But my problems is how to upload these compiled binary package into pecl.php.net like phpredis dll.

You are not supposed to do this. Instead, make that package buildable on Windows first. While there is a config.m4, there is no config.w32, which is a first requirement to build the extension on Windows.

cmb69 commented 1 month ago

Ah, I've just noticed that there is a config.w32 in the PECL package (but apparently that is missing from this repo), and did a quick test build without any issues. Therefore I requested https://github.com/php/php-windows-builder/issues/3#issuecomment-2260279730, so that the DLLs can be built, and uploaded.

cmb69 commented 1 month ago

The DLLs are available now, thanks to @shivammathur.

eeliu commented 1 month ago

@cmb69 @smalltangcai @remicollet

Thanks your help !

I have another question: can those .dll be uploaded automatically, what should I do when create a new release ?

shivammathur commented 1 month ago

@eeliu We are doing PECL builds for Windows currently, so when you add a new release, the DLLs will be added. Feel free to reach out if there is a delay.

eeliu commented 1 month ago

it looks ok to close

thanks again