| Summary: | composer, a PHP dependancy manager. NEW PACKAGE REQUEST | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Xuo <xuoy> |
| Component: | New RPM package request | Assignee: | All Packagers <pkg-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | mageia, xuoy, yvesbrungard |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://getcomposer.org/ | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Xuo
2020-11-14 13:58:03 CET
This does not look like a PHPmyadmin specific requirement, but more general: https://www.mageialinux-online.org/forum/topic-28093-1+ne-devrait-il-pas-y-avoir-un-fichier-composer-phar-dans-l-installation-de-phpmyadmin-e.php#m276067 -------------------------- The file 'composer.phar' seems to be the application, cited as being in for example /usr/local/bin/ . https://getcomposer.org/ "A Dependency Manager for PHP" PHAR = PHP archive. https://getcomposer.org/doc/00-intro.md Introduction Installation - Linux / Unix / macOS "globally as a system wide executable." Global installation "You can place the Composer PHAR anywhere you wish. If you put it in a directory that is part of your PATH, you can access it globally. On Unix systems you can even make it executable and invoke it without directly using the php interpreter. After running the installer following the Download page instructions: https://getcomposer.org/download/ you can run this to move composer.phar to a directory that is in your path: mv composer.phar /usr/local/bin/composer " https://pragmarx.com/#/ PHP Repositories Google2FA v7.0.0 pragmarx/google2fa A One Time Password Authentication package, compatible with Google Authenticator. Can you (Xuo, papoteur) please confirm that my interpretation is correct before launching this request. I think it is fair to limit that to Cauldron, since M7 is due for replacement, and Xuo has installed it all himself on M7. ---------- As for the extra files you refer to in your MLO post, try renaming them, and see whether it still works. Then delete those that you find redundant. Version:
7 =>
Cauldron Yes Lewis, this is also what I understand. composer.phar is an archive file, thus the code is readable. Hi, Yes I think we can do what you suggest ie install composer.phar somewhere so that it will be available to anybody anytime. But I'm not sure /usr/local/bin is a correct place as I don't think it is in the PATH env var by default. /usr/bin would be a better place. Regards. Xuo. CC:
(none) =>
xuoy Thank you both for your confirmations. Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes. You Xuo might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager Component:
RPM Packages =>
New RPM package request @Xuo: patched version of phpmyadmin is already on mirrors. There is no need to do this via composer. As composer is just a phar which must be downloaded, I'm not sure if we really need this. Another problem with all theses "depende ncy managers" is, that they interfer with our package management. I'm not sure if this is solved e.g. for pip or others. From my personal view, I think they look handy, but you end up with another package management for each project and you need to keep them updated in case of security holes. But I see many projects use them, so maybe we should just add this phar too. CC:
(none) =>
mageia Hi, When you say that a patched version of phpmyadmin is on the mirrors, do you mean that the plugin pragmarx/google2fa will be included by default ? Regards. Xuo. @Xuo: exactly. Hi, Thank you very much. I close the ticket. Regards. Xuo. Resolution:
(none) =>
FIXED |