Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 97:19:08 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,468 |
# Arthur Zamarin<arthurzam@gentoo.org> (2024-06-21)<!DOCTYPE html>
# Last dev-php/* EAPI=6 packages, and reverse dependencies of them.
# composer has active security vulnerabilities. Others are waiting
# for version bumps, and unbundling of dependencies.
# Removal on 2024-07-21. Bugs #934666.
dev-php/phpDocumentor
dev-php/phpcov
dev-php/phpdepend
dev-php/phpdocumentor-reflection-common dev-php/phpdocumentor-reflection-docblock
dev-php/phpdocumentor-type-resolver
dev-php/stringparser_bbcode
dev-php/symfony-config
dev-php/symfony-console
dev-php/symfony-dependency-injection
dev-php/symfony-event-dispatcher
dev-php/symfony-yaml
dev-php/composer
On Wed, 2024-09-11 at 09:33 +0200, Jaco Kroon wrote:
Hi,I'd re-commit if you're interested in keeping up with it. It brings a
I missed this announcement, looking specifically for composer again.
If I make the effort of bumping to newest version, is this something
that would be re-added to the tree?
lot of dependencies with it though. It was initially added in
https://github.com/gentoo/gentoo/pull/2905
(where you can see the deps) and I'll bet the list is even longer now.
Updating them is more annoying than usual because they all want
autoload.php files that aren't in the source tarball:
https://wiki.gentoo.org/wiki/Composer_packaging
IIRC the "classmap" format is particularly annoying because you have to regenerate it with every release.
I missed this announcement, looking specifically for composer again.
If I make the effort of bumping to newest version, is this something
that would be re-added to the tree?
I note there were active security vulnerabilities under very specific conditions (composer.phar is exposed via http).
Or should I rather just deploy this into a local overlay?
1. Let users (myself included) just download and use that.
2. We package the phar file rather than the individual deps. Yes, this
is cheating. Like using embedded libs, however, I've seen and observed
that in some cases this makes more sense than splitting them up (eg
clippy and frr).
3. We go about figuring everything out again and bumping all those individual packages and keeping them all up to date individually. I
don't think this is worth our time and effort.
I honestly think in this case 2 may well be acceptable. Otherwise 1, but
I think 3 is not worth the effort based on your feedback and further
reading from when I originally posed the question to now.
On 2024-09-11 17:23:16, Jaco Kroon wrote:
1. Let users (myself included) just download and use that.I agree that (3) is probably too much trouble. It might be worth it if someday people want to bring back other packages that would benefit
2. We package the phar file rather than the individual deps. Yes, this
is cheating. Like using embedded libs, however, I've seen and observed
that in some cases this makes more sense than splitting them up (eg
clippy and frr).
3. We go about figuring everything out again and bumping all those
individual packages and keeping them all up to date individually. I
don't think this is worth our time and effort.
I honestly think in this case 2 may well be acceptable. Otherwise 1, but
I think 3 is not worth the effort based on your feedback and further
reading from when I originally posed the question to now.
from the deps, like PHPUnit.
I don't like (2) because there's no way for the security team to know
what's inside composer.phar, and no way for users to tell that they've
got ~15 bundled dependencies in a tool that's extremely
sensitive. So... what I've been doing is putting composer.phar in /usr/local/bin. (I also run it as a separate user because I don't
trust the code it's downloading but that has nothing to do with
Gentoo.)