Thanks for the reply Remi! I'm switching the thread to php-devel (from devel). Responses inline below.
On Mon, 2017-01-16 at 08:44 +0100, Remi Collet wrote:
Le 16/01/2017 à 07:06, Randy Barlow a écrit :
Hello Fedora devs! I recently started working on getting Ampache packaged for Fedora,
and
it turns out it is no small feat. There are two problems: 0) 5 of the packages have been abandoned upstream, and have been replaced with different packages that are now recommended. Ampache
is
aware of this and does intend to switch, but at this time they
still
depend on these 5 packages. Would this be a blocker to getting
Ampache
in, or can we just plan to retire these packages once upstream is
able
to use their new replacements?
I don't think this is a blocker.
Of course you can retire them when no more used by Ampache.
BTW, perhaps another way is to use bundled versions for these, to not expose them as something "stable and maintained".
Bundling them is an interesting idea. It'll save some time, and it'll make it easier to do the packaging initially. Perhaps I'll go this route.
- There are 34 PHP and JavaScript packages that need to be
packaged
Fedora!
Perhaps php-devel@lists.fedoraproject.org worth to be used.
I also recommend you read the SIG pages (especially the packaging tips for autoloaders, and how we get rid of the composer autoloader)
=> https://fedoraproject.org/wiki/SIGs/PHP
Shawn Iwinski can probably help you on the guzzle stuff.
I actually just discovered the PHP packaging tips page last night that mentions a bit about the autoloaders. It might be helpeful to include the information from https://fedoraproject.org/wiki/SIGs/PHP/PackagingT ips in https://fedoraproject.org/wiki/Packaging:PHP, or possibly link to the former from the latter. I had only discovered the latter link when making my first few packages, so knowing about the tips would have been nice.
If anyone would like to help me, this page tracks the packages that are needed:
Le 16/01/2017 à 15:42, Randy Barlow a écrit :
Be aware of name issue for gettext/gettext
We already have
- php-gettext: the gettext.so extension, provided by php-common
- php-php-gettext: another pure PHP implemtation
So you probabvly have to use the full composer name: php-gettext-gettext
Despite this is ugly... dependencies will rely on php-composer(gettext/gettext)
About: https://bugzilla.redhat.com/1413339 (php-evenement)
Please consider fedora/autoloder instead of symfony/class-loader (we are trying to drop as much as possible dep to SF, to simplify dual-version, coming soon, aka: v2 and v3)
Remi.
P.S. more information in this list archive.
I can help with the react lib. I have interest in that lib and already started with one of those libs -- php-react-promise.
Regarding Guzzle v3, I will need to find time to look into the current test failures which make the package unavailable in rawhide. It is available in Fedora <= 25 and EPEL 6/7 though: $ dnf repoquery --provides php-guzzle-Guzzle Last metadata expiration check: 0:34:35 ago on Mon Jan 16 13:59:48 2017. php-composer(guzzle/batch) = 3.9.3 php-composer(guzzle/cache) = 3.9.3 *php-composer(guzzle/common) = 3.9.3* php-composer(guzzle/guzzle) = 3.9.3 *php-composer(guzzle/http) = 3.9.3* php-composer(guzzle/inflection) = 3.9.3 php-composer(guzzle/iterator) = 3.9.3 php-composer(guzzle/log) = 3.9.3 *php-composer(guzzle/parser) = 3.9.3* php-composer(guzzle/plugin) = 3.9.3 php-composer(guzzle/plugin-async) = 3.9.3 php-composer(guzzle/plugin-backoff) = 3.9.3 php-composer(guzzle/plugin-cache) = 3.9.3 php-composer(guzzle/plugin-cookie) = 3.9.3 php-composer(guzzle/plugin-curlauth) = 3.9.3 php-composer(guzzle/plugin-error-response) = 3.9.3 php-composer(guzzle/plugin-history) = 3.9.3 php-composer(guzzle/plugin-log) = 3.9.3 php-composer(guzzle/plugin-md5) = 3.9.3 php-composer(guzzle/plugin-mock) = 3.9.3 php-composer(guzzle/plugin-oauth) = 3.9.3 php-composer(guzzle/service) = 3.9.3 *php-composer(guzzle/stream) = 3.9.3* php-guzzle = 3.9.3-9.fc25 php-guzzle-Guzzle = 3.9.3-9.fc25 php-guzzle-guzzle = 3.9.3-9.fc25 php-pear(guzzlephp.org/pear/Guzzle) = 3.9.3
On Mon, Jan 16, 2017 at 9:59 AM, Remi Collet Fedora@famillecollet.com wrote:
Le 16/01/2017 à 15:42, Randy Barlow a écrit :
Be aware of name issue for gettext/gettext
We already have
php-gettext: the gettext.so extension, provided by php-common
php-php-gettext: another pure PHP implemtation
So you probabvly have to use the full composer name: php-gettext-gettext
Despite this is ugly... dependencies will rely on php-composer(gettext/gettext)
About: https://bugzilla.redhat.com/1413339 (php-evenement)
Please consider fedora/autoloder instead of symfony/class-loader (we are trying to drop as much as possible dep to SF, to simplify dual-version, coming soon, aka: v2 and v3)
Remi.
P.S. more information in this list archive. _______________________________________________ php-devel mailing list -- php-devel@lists.fedoraproject.org To unsubscribe send an email to php-devel-leave@lists.fedoraproject.org
On Mon, 2017-01-16 at 14:37 -0500, Shawn Iwinski wrote:
I can help with the react lib. I have interest in that lib and already started with one of those libs -- php-react-promise.
Regarding Guzzle v3, I will need to find time to look into the current test failures which make the package unavailable in rawhide.
This would all be great Shawn, I'd really appreciate help. Remi, I've appreciated the help you've given me in your reviews too!
I actually just finished with the React stack: https://git.io/vMPXB (see the php-react.order.txt file for build groups and order)
I will submit the review requests soon.
Regarding php-evenement, I have made the necessary changes for you here if you would just like to apply the patch: https://github.com/siwinski/rpms/commit/6a742706850fdae41724b97622c84146a7d8...
On Tue, Jan 17, 2017 at 11:50 PM, Randy Barlow <bowlofeggs@fedoraproject.org
wrote:
On Mon, 2017-01-16 at 14:37 -0500, Shawn Iwinski wrote:
I can help with the react lib. I have interest in that lib and already started with one of those libs -- php-react-promise.
Regarding Guzzle v3, I will need to find time to look into the current test failures which make the package unavailable in rawhide.
This would all be great Shawn, I'd really appreciate help. Remi, I've appreciated the help you've given me in your reviews too!
php-devel mailing list -- php-devel@lists.fedoraproject.org To unsubscribe send an email to php-devel-leave@lists.fedoraproject.org
Le 18/01/2017 à 05:55, Shawn Iwinski a écrit :
I actually just finished with the React stack: https://git.io/vMPXB (see the php-react.order.txt file for build groups and order)
I will submit the review requests soon.
Regarding php-evenement, I have made the necessary changes for you here if you would just like to apply the patch: https://github.com/siwinski/rpms/commit/6a742706850fdae41724b97622c84146a7d8...
Was exactly the changes I was going to suggest on the review ;)
Remi
On Tue, 2017-01-17 at 23:55 -0500, Shawn Iwinski wrote:
Regarding php-evenement, I have made the necessary changes for you here if you would just like to apply the patch: https://github.com/si winski/rpms/commit/6a742706850fdae41724b97622c84146a7d86ae5
Shawn++ thanks so much for the patch! I built it in my bowlofeggs/ampache copr as well. My review is updated with your patch now too.
On Mon, 2017-01-16 at 15:59 +0100, Remi Collet wrote:
Be aware of name issue for gettext/gettext
We already have
php-gettext: the gettext.so extension, provided by php-common
php-php-gettext: another pure PHP implemtation
So you probabvly have to use the full composer name: php-gettext- gettext
Hahaha, I just finished submitting a package for this and I hit it, and then I came here and read this e-mail. I did end up naming it php- gettext-gettext (which is confusing, but OK) and I did use the php- composer(gettext/gettext) provides.
About: https://bugzilla.redhat.com/1413339 (php-evenement)
Please consider fedora/autoloder instead of symfony/class-loader (we are trying to drop as much as possible dep to SF, to simplify dual-version, coming soon, aka: v2 and v3)
I also just learned about the fedora autoloader utility, so I'll see if I can rework evenement to use it. Thanks for the tip!
php-devel@lists.fedoraproject.org