FS#69603 - [php7] Add provides php

Attached to Project: Arch Linux
Opened by Kauron (kauron) - Tuesday, 09 February 2021, 20:15 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 12:40 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Is it feasible to add the metadata provides: php to this package? AUR packages that require php7 will use php<8, php>=7, which does not include this package.

I understand that the main packages should not change for the AUR, but in this case, I believe this is the best course of action. The alternative would be for AUR packagers to set php7 as a dependency instead of using versions of php. This excludes users with previous versions of php (which are available in the AUR, all tagged with provides: php), and forces them to use the php7 package instead of their preferred version.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 30 March 2021, 12:40 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Arch Devs are not responsible for AUR packages. php7 will be removed from the repos as fast as possible again.
Comment by Jelle van der Waa (jelly) - Tuesday, 09 February 2021, 20:19 GMT
If you make php7 provide php that means you can't install both php7 and php8 at the same time which seems like something you'd want to have.
Comment by Eli Schwartz (eschwartz) - Tuesday, 09 February 2021, 20:37 GMT
Only if it also conflicted.

The bigger problem here is that php7 is not a suitable provider of php, since it doesn't have /usr/bin/php or /etc/php/ but instead versions the file/directory names with a "7". So users need to invoke/configure it differently.
Comment by Kauron (kauron) - Tuesday, 09 February 2021, 20:55 GMT
Would creating a php7-from-extra package in the AUR that provided php and included php7 as a dependency solve this problem more easily? This way, that package can provide a warning to users, so that they know to look for php at /usr/bin/php7

Loading...