Re: [PECL-DEV] PECL seems to ignore newer packages
Le 20/11/2018 à 19:25, Helmut K. C. Tessarek a écrit : > On 2018-11-19 19:36, Peter Kokot wrote: >> Pinging also Rasmus and webmaster mailing list if anyone can help us do >> that... >> >> The script needed to be run to regenerate the XML files is: >> /path/to/pecl/root/bin/generate-rest.php > > FYI: > > Something might be happening. > > I was able to upgrade redis to 4.2.0 with pecl. Yes, this one was affected by the issue, so was removed and uploaded again. So it works now. This is a possible workaround for other affected packages. Remi > > Howeever, I still have problems with libsodium (still thinks 2.0.13 is > the most recent one) and yaml (2.0.2 instead of 2.0.3). > > Cheers, > K. C. > signature.asc Description: OpenPGP digital signature
Re: [PECL-DEV] PECL seems to ignore newer packages
Hello, On Tue, 20 Nov 2018 at 19:24, Helmut K. C. Tessarek wrote: > > FYI: > > Something might be happening. > > I was able to upgrade redis to 4.2.0 with pecl. > > Howeever, I still have problems with libsodium (still thinks 2.0.13 is > the most recent one) and yaml (2.0.2 instead of 2.0.3). > > Cheers, > K. C. Yes, indeed, the releases done after libsodium 2.0.15 and releases done prior to mustache 0.8.1 will work ok (this is the period that REST XML files aren't updated yet). So now the problematic releases not updated yet in xml files are: - ds 1.2.7 - libsodium 2.0.15 - libsodium 2.0.14 - psr 0.6.1 - yaml 2.0.3 - mustache-0.8.1 A quicker workaround here will be to install these specifically manually for now: download https://pecl.php.net/get/packagename extract phpize ./configure make make install adjust the php.ini file to include the extension=packagename.so According to my calculations regenerating the XML files also take a bit of time on the server (there are about 3k files to scan, and ~300 packages and ~50 categories to loop through) so it's not a task for some sort of a cron job exactly yet... Neither can this be made into a development environment 1 on 1 at the moment with the current app state. Taking a look into this what kind of API approach would be better here in the short and long time for the rest v1 and v2 of pecl.php.net... Stay tuned and sorry for the inconvenience this might be causing you. The PECL cli script is need of quite a lot of adjustments itself otherwise... But that is not a story related to this issue at the moment. P.S: PDO migration is now fully operational I think. I'll follow it up if there's anything not working on that matter. Kind regards. -- Peter Kokot -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PECL-DEV] PECL seems to ignore newer packages
On 2018-11-19 19:36, Peter Kokot wrote: > Pinging also Rasmus and webmaster mailing list if anyone can help us do > that... > > The script needed to be run to regenerate the XML files is: > /path/to/pecl/root/bin/generate-rest.php FYI: Something might be happening. I was able to upgrade redis to 4.2.0 with pecl. Howeever, I still have problems with libsodium (still thinks 2.0.13 is the most recent one) and yaml (2.0.2 instead of 2.0.3). Cheers, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ signature.asc Description: OpenPGP digital signature
Re: [PECL-DEV] PECL seems to ignore newer packages
Currently I'm still working on migration to PDO - one more level remained... About regenerating the REST XML files I'll probably add an endpoint to be able to update it from the web by logged-in users or something similar. Yes, a bug report can be done for sure to track the progress of this issue... Pinging also Rasmus and webmaster mailing list if anyone can help us do that... The script needed to be run to regenerate the XML files is: /path/to/pecl/root/bin/generate-rest.php Thank you. On Tue, 20 Nov 2018 at 00:27, Helmut K. C. Tessarek wrote: > On 2018-11-19 00:00, Peter Kokot wrote: > > I'll get to that in one of these days. But running scripts on the server > is > > out of my hands... > > https://wiki.php.net/systems/pecl > > New info: > > I'm still not able to install/update the most recent redis and libsodium. > > However, I was able to install the latest apcu, which means that > something you did helped with packages that have been announced after > your latest change. > > The problem is that the packages that were updated before your latest > change are still not correctly in the index and/or database. > > Would it make sense to open a bug at bugs.php.net? If yes, shall I open > a bug or are you going to do that? > Did you ping Rasmus to run the scripts to reindex the metadata? > > Cheers, > K. C. > > -- > regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 > Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 > > /* >Thou shalt not follow the NULL pointer for chaos and madness >await thee at its end. > */ > > -- Peter Kokot
Re: [PECL-DEV] PECL seems to ignore newer packages
On 2018-11-19 00:00, Peter Kokot wrote: > I'll get to that in one of these days. But running scripts on the server is > out of my hands... > https://wiki.php.net/systems/pecl New info: I'm still not able to install/update the most recent redis and libsodium. However, I was able to install the latest apcu, which means that something you did helped with packages that have been announced after your latest change. The problem is that the packages that were updated before your latest change are still not correctly in the index and/or database. Would it make sense to open a bug at bugs.php.net? If yes, shall I open a bug or are you going to do that? Did you ping Rasmus to run the scripts to reindex the metadata? Cheers, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ signature.asc Description: OpenPGP digital signature
Re: [PECL-DEV] PECL seems to ignore newer packages
On 2018-11-19 00:00, Peter Kokot wrote: > I'll get to that in one of these days. But running scripts on the server is > out of my hands... > https://wiki.php.net/systems/pecl Thank you very much. Although I hope you are aware that nobody (wordlwide) is currently able to use pecl, or better said `pecl install` or `pecl upgrade`. This seems like a problem with a huge impact. Maybe in the future there are ways to make such changes in a test bed first. Cheers, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ signature.asc Description: OpenPGP digital signature
Re: [PECL-DEV] PECL seems to ignore newer packages
On Mon, 19 Nov 2018 at 04:48, Helmut K. C. Tessarek wrote: > Hi, > > Thanks a bunch for the reply. > > On 2018-11-18 22:38, Peter Kokot wrote: > > I've pushed a quick revert of the possible cron job script to the repo to > > see if this updates the xml files... > > I've just tried and it is still not working. But since I do not know the > interval of the cron job, I'll try again tomorrow. > > Cheers, > K. C. > > -- > regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 > Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 > > /* >Thou shalt not follow the NULL pointer for chaos and madness >await thee at its end. > */ > > More than a cron job itself, I suspect the environment variables naming issue. Additionally, I've changed PECL_REST_DIR back to the previous settings of PEAR_REST_DIR. But in any case the above mentioned script will need to be executed on the server probably. Case is that when the PECL package release is created, the XML files are updated. The XML rest files are in need of few bug fixes also https://bugs.php.net/bug.php?id=76719 I'll get to that in one of these days. But running scripts on the server is out of my hands... https://wiki.php.net/systems/pecl I'll also get back with a separate discussion also about upgrading pecl.php.net server to PHP 7.2 or 7.3. Currently this is not possible yet before migrating the code to PDO. -- Peter Kokot
Re: [PECL-DEV] PECL seems to ignore newer packages
Hi, Thanks a bunch for the reply. On 2018-11-18 22:38, Peter Kokot wrote: > I've pushed a quick revert of the possible cron job script to the repo to > see if this updates the xml files... I've just tried and it is still not working. But since I do not know the interval of the cron job, I'll try again tomorrow. Cheers, K. C. -- regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */ signature.asc Description: OpenPGP digital signature
Re: [PECL-DEV] PECL seems to ignore newer packages
Hello, On Mon, 19 Nov 2018 at 02:20, Helmut K. C. Tessarek wrote: > > For a while now PECL ignores newer packages and thinks that older > packages are the most recent ones. > > e.g. I have the following packages installed: > > # pecl list > INSTALLED PACKAGES, CHANNEL PECL.PHP.NET: > = > PACKAGE VERSION STATE > libsodium 2.0.13 stable > redis 4.1.1 stable > > When I try to insall/upgrade to the latest libsodium, I get the > following messages: > > # pecl install libsodium > pecl/libsodium is already installed and is the same as the released > version 2.0.13 > install failed > > # pecl upgrade libsodium > Nothing to upgrade > > This is wrong, since the latest version is 2.0.15. > > I can't upgrade redis either. > > Then I tried to install a new package (which I haven't installed yet): > > # pecl install yaml > downloading yaml-2.0.2.tgz ... > > As you can see, it tries to install 2.0.2, while the latest version is > actually 2.0.3. > > Something is seriously off, but I don't know how to fix this, since it > looks like an issue on the server. > Can someone please explain to me what's going on? > > Cheers, > K. C. > > -- > regards Helmut K. C. Tessarek KeyID 0x172380A011EF4944 > Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944 > > /* >Thou shalt not follow the NULL pointer for chaos and madness >await thee at its end. > */ > Hello, I've recently done quite some upgrades to the app including partial migration to PDO, but am not sure yet why is this one happening exactly... It seems like the XML files haven't got updated when the releases were done. Is it possible that the script /path/to/pecl/project/root/generatePECL_REST.php is a cron job? If someone with access to the server can confirm this and set it to run the new location of: /path/to/pecl/project/root/bin/generate-rest.php https://github.com/php/web-pecl/blob/master/bin/generate-rest.php Another option is also that the environment variable for setting the xml folder is used on the server and the configuration doesn't match... I've pushed a quick revert of the possible cron job script to the repo to see if this updates the xml files... -- Peter Kokot