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

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



Dear William,

I need to clarify the version-specific requirement that led to this ITP filing.

VERSION COMPATIBILITY ISSUE:
FOSSology requires php-psr-log version 1.1.4, while the current Debian package provides version 3.x. Although PSR-Log maintained better backward compatibility than other PSR packages, there are still compatibility issues with FOSSology's specific implementation.

DEPENDENCY CHAIN COMPATIBILITY:
The critical issue is that FOSSology's Symfony 3.4.x components require PSR-Log 1.x for proper integration:
- Symfony 3.4.x was designed for PSR-Log 1.x APIs
- FOSSology's logging configuration expects 1.x interface contracts
- Mixed PSR versions in the dependency chain cause integration failures

TECHNICAL CONTEXT:
While PSR-Log 3.x is generally backward compatible, FOSSology encounters issues with:
- Logger interface implementation details
- Context handling in specific logging scenarios  
- Integration with Symfony 3.4's logging bridge
- Autoloader resolution in mixed PSR version environments

EVIDENCE FROM INTEGRATION:
FOSSology's dependency management specifically requires PSR-Log 1.1.4 to work correctly with its Symfony 3.4.x components and other legacy dependencies.

PROPOSED SOLUTION:
Package as php-psr-log-1.1 to provide the specific version FOSSology requires, following Debian's pattern for version-specific packages when applications have strict compatibility requirements.

JUSTIFICATION:
This ensures FOSSology can use the exact PSR-Log version it was tested and validated with, while not interfering with applications that can use the newer PSR-Log 3.x.

PRECEDENT:
Similar to how Debian maintains multiple versions of core packages when applications have specific version requirements that cannot be easily updated.

REQUEST:
Could we reopen this ITP to discuss providing PSR-Log 1.1.4 alongside the current 3.x version? This would enable FOSSology's successful integration into Debian.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

Reference: https://github.com/php-fig/log/blob/master/CHANGELOG.md

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <owner@bugs.debian.org> wrote:
Your message dated Sun, 10 Aug 2025 15:45:06 +0200
with message-id <198943a261a.128607e99394474.6146403675296746199@wdes.fr>
and subject line The package already exists in Debian
has caused the Debian Bug report #1109640,
regarding ITP: php-psr-log -- Common interface for logging libraries (PSR-3)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--
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: 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



---------- 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

Reply to: