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

Bug#1109640: closed by William Desportes <williamdes@wdes.fr> (The package already exists in Debian)



Dear William,

Thank you for reviewing my ITP. I need to clarify the technical requirement that led to this filing.

VERSION DEPENDENCY ISSUE:
While php-psr-log does exist in Debian, FOSSology specifically requires version 1.1.4, whereas current Debian provides version 3.x. Although PSR-Log maintains better backward compatibility than other PSR packages, FOSSology encounters specific integration issues.

DEPENDENCY CHAIN COMPATIBILITY:
The core issue is FOSSology's Symfony 3.4.x components require PSR-Log 1.x for proper integration:

- FOSSology uses Symfony 3.4.6 (which we need for compatibility)
- Symfony 3.4.x was designed and tested with PSR-Log 1.x
- Mixed PSR versions in the dependency chain cause subtle integration failures
- FOSSology's logging configuration expects 1.x interface contracts

SPECIFIC TECHNICAL ISSUES ENCOUNTERED:
- Logger interface implementation details differ between versions
- Context handling in specific logging scenarios varies
- Integration with Symfony 3.4's logging bridge expects 1.x behavior
- Autoloader resolution conflicts in mixed PSR version environments

REAL-WORLD EVIDENCE:
FOSSology's composer.json and dependency management specifically locks PSR-Log to 1.1.4 because newer versions cause integration issues with its legacy Symfony components.

PROPOSED SOLUTION:
Package as php-psr-log-1.1 to provide the specific version FOSSology requires alongside the current 3.x package, following Debian's established pattern for version-specific packages.

PRECEDENT:
This follows Debian's approach for maintaining multiple versions when applications have strict compatibility requirements that cannot be easily updated without significant code changes.

JUSTIFICATION:
FOSSology is a mature, widely-used license compliance system. Providing the PSR-Log version it requires enables its successful integration into Debian without forcing extensive upstream modifications.

REQUEST:
Could we reopen this ITP to discuss providing PSR-Log 1.1.4 alongside the current version? This would enable FOSSology's Debian integration while not affecting other applications.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

Technical reference: https://github.com/fossology/fossology/blob/master/src/composer.json

On Sun, Aug 10, 2025 at 2:03 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:

#1109640: ITP: php-psr-log -- Common interface for logging libraries (PSR-3)

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.


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



---------- Forwarded message ----------
From: William Desportes <williamdes@wdes.fr>
To: 1109364-done <1109364-done@bugs.debian.org>, 1109365-done <1109365-done@bugs.debian.org>, 1109613-done <1109613-done@bugs.debian.org>, 1109615-done <1109615-done@bugs.debian.org>, 1109621-done <1109621-done@bugs.debian.org>, 1109624-done <1109624-done@bugs.debian.org>, 1109625-done <1109625-done@bugs.debian.org>, 1109632-done <1109632-done@bugs.debian.org>, 1109633-done <1109633-done@bugs.debian.org>, 1109634-done <1109634-done@bugs.debian.org>, 1109640-done <1109640-done@bugs.debian.org>
Cc: 
Bcc: 
Date: Sun, 10 Aug 2025 15:45:06 +0200
Subject: The package already exists in Debian

Please do some research before opening ITP/RFP bugs.
This package already exists in Debian.

--
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 07:28:31 +0000
Subject: ITP: php-psr-log -- Common interface for logging libraries (PSR-3)
Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9541@gmail.com>

* Package name    : php-psr-log
  Version         : 1.1.4
  Upstream Author : PHP-FIG <http://www.php-fig.org/>
* URL             : https://github.com/php-fig/log
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 Common interface for logging libraries (PSR-3)

 This package provides the standard PSR-3 logging interface for PHP. It defines
 a common interface for logging libraries, allowing applications and libraries
 to use any compatible logger implementation that follows the PSR-3 specification.

 The package contains the standard interfaces for logging messages at various
 levels (debug, info, warning, error, etc.), ensuring interoperability and
 flexibility in PHP applications.

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 PSR-3 logging interface for consistent and
 flexible logging across its components.

 The php-psr-log package is essential for:
 - Providing a standardized logging interface for FOSSology components
 - Ensuring interoperability with PSR-3 compliant logging libraries
 - Supporting consistent logging practices across the codebase
 - Enabling integration with a wide range of logging backends
 - Promoting maintainable and testable code

Technical Details:
 - Requires PHP >= 5.3.0
 - Implements PSR-3 logging interface specification
 - Uses PSR-4 autoloading
 - Provides interfaces for logger interoperability
 - MIT licensed for maximum compatibility
 - Part of the PHP-FIG standards recommendations

Dependencies:
 - php (>= 5.3.0)
 - 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: