[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109631: closed by William Desportes <williamdes@wdes.fr> (php-symfony-dependency-injection already exists in Debian)



Dear William,

Thank you for reviewing my ITP. However, I believe there's a misunderstanding about the technical requirements that needs clarification.

TECHNICAL INCOMPATIBILITY ISSUE:
While php-symfony-dependency-injection does exist in Debian, FOSSology specifically requires version 3.4.6, whereas the current Debian package (https://tracker.debian.org/pkg/symfony) provides version 5.4.x+.

These are not simply different versions - they have breaking API changes that make them incompatible:

CONCRETE EVIDENCE FROM TESTING:
During FOSSology integration, we encountered this dependency conflict:
"php-symfony-console (5.4.4+dfsg-1ubuntu8) breaks php-symfony-dependency-injection (<< 4.4~~)"

This error proves that Symfony 5.x cannot work with applications requiring 3.4.x APIs.

BREAKING CHANGES BETWEEN VERSIONS:
- Container interface methods changed
- Service definition syntax modified  
- Autowiring behavior altered
- Parameter handling restructured

PROPOSED SOLUTION:
Package as php-symfony-dependency-injection-3.4 with version-specific naming, similar to how Debian maintains:
- php7.4-* alongside php8.1-* packages
- Multiple PostgreSQL versions (postgresql-13, postgresql-14, etc.)
- Different Node.js versions when applications have incompatible requirements

JUSTIFICATION:
FOSSology is a significant open-source license compliance system used by major organizations. Getting it into Debian requires resolving this version dependency issue.

This is legitimate version-specific packaging, not duplicate work.

REQUEST:
Could we reopen this ITP to discuss a version-specific approach? I'm happy to adjust the package name to php-symfony-dependency-injection-3.4 to make the version distinction clear.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

P.S. I can provide additional technical documentation of the API incompatibilities if needed.

On Sun, Aug 10, 2025 at 2:07 PM Debian Bug Tracking System <owner@bugs.debian.org> wrote:
This is an automatic notification regarding your Bug report
which was filed against the wnpp package:

#1109631: ITP: php-symfony-dependency-injection -- Symfony Dependency Injection component

It has been closed by William Desportes <williamdes@wdes.fr>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact William Desportes <williamdes@wdes.fr> by
replying to this email.


--
1109631: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109631
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems



---------- Forwarded message ----------
From: William Desportes <williamdes@wdes.fr>
To: 1109631 <1109631-done@bugs.debian.org>
Cc: 
Bcc: 
Date: Sun, 10 Aug 2025 15:49:51 +0200
Subject: php-symfony-dependency-injection already exists in Debian
Control: tags + wontfix

This package already exists in Debian and is provided by Symfony: https://tracker.debian.org/pkg/symfony

--
William Desportes


---------- Forwarded message ----------
From: Ahmed Gamal <ahmed.gamal9541@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: 
Bcc: 
Date: Mon, 21 Jul 2025 06:57:48 +0000
Subject: ITP: php-symfony-dependency-injection -- Symfony Dependency Injection component
Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9541@gmail.com>

* Package name    : php-symfony-dependency-injection
  Version         : 3.4.6
  Upstream Author : Fabien Potencier <fabien@symfony.com>
* URL             : https://github.com/symfony/dependency-injection
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 Symfony Dependency Injection component

 This package provides the Symfony Dependency Injection component, which allows
 developers to standardize and centralize the way objects are constructed and
 dependencies are managed in PHP applications. It implements a powerful
 dependency injection container that supports autowiring, service configuration,
 and advanced features for managing complex object graphs.

 The component is widely used in the Symfony framework and by many other PHP
 projects to promote modular, testable, and maintainable code.

Rationale:
 This package is required as a dependency for FOSSology, an open source license
 compliance system. FOSSology uses PHP-based tools for source code analysis and
 license detection, which rely on the Symfony Dependency Injection component to
 manage service objects and their dependencies in a flexible and maintainable
 way.

 The php-symfony-dependency-injection package is essential for:
 - Managing service dependencies in FOSSology's PHP components
 - Supporting modular and testable code architecture
 - Enabling advanced service configuration and autowiring
 - Promoting maintainable and scalable code in FOSSology
 - Ensuring compatibility with other Symfony-based libraries

Technical Details:
 - Requires PHP >= 5.5.9
 - Implements a feature-rich dependency injection container
 - Supports autowiring, service configuration, and advanced features
 - MIT licensed for maximum compatibility
 - Widely used in the PHP ecosystem

Dependencies:
 - php (>= 5.5.9)
 - Build dependencies: phpunit, php-codesniffer

The package will be maintained by Ahmed Gamal <ahmed.gamal9541@gmail.com> as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team

Reply to: