Dear William,

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

VERSION COMPATIBILITY REQUIREMENT:
FOSSology requires php-squizlabs-php-codesniffer version 3.7.2, which may
differ from the version currently available in Debian. This is essential
for FOSSology's development workflow and code quality standards.

DEVELOPMENT TOOLCHAIN DEPENDENCY:
FOSSology's development and build process relies on specific CodeSniffer
functionality:
- Consistent code style enforcement across FOSSology's PHP components
- Integration with FOSSology's existing development workflow
- Compatibility with FOSSology's custom coding standards and rules
- Build process integration for automated code quality checks

TECHNICAL INTEGRATION REQUIREMENTS:
FOSSology's development pipeline expects:
- Specific CodeSniffer rule implementations from version 3.7.2
- Compatible command-line interfaces for build scripts
- Consistent behavior in automated code quality checks
- Integration with FOSSology's CI/CD and packaging workflows

VERSION-SPECIFIC FUNCTIONALITY:
FOSSology's build system relies on:
- Particular CodeSniffer API methods from version 3.7.2
- Specific rule configurations and standard definitions
- Compatible output formats for development tools
- Tested integration with FOSSology's code quality pipeline

EVIDENCE FROM INTEGRATION:
FOSSology's development dependencies specify CodeSniffer 3.7.2 to ensure:
- Consistent code quality enforcement
- Stable build process behavior
- Compatibility with FOSSology's development tools
- Reliable integration with packaging workflows

PROPOSED SOLUTION:
Package as php-squizlabs-php-codesniffer-3.7 if the current Debian version
differs, ensuring FOSSology can use the tested and validated CodeSniffer
version.

JUSTIFICATION:
FOSSology's development workflow and code quality depend on consistent
CodeSniffer behavior, making version compatibility important for
maintainable packaging and development processes.

REQUEST:
Please reopen to discuss providing CodeSniffer 3.7.2 for FOSSology's
development requirements if version incompatibility exists.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <
[email protected]> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the wnpp package:
>
> #1109621: ITP: php-squizlabs-php-codesniffer -- PHP coding standard
> enforcement tool
>
> It has been closed by William Desportes <[email protected]>.
>
> 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 <
> [email protected]> by
> replying to this email.
>
>
> --
> 1109621: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109621
> Debian Bug Tracking System
> Contact [email protected] with problems
>
>
>
> ---------- Forwarded message ----------
> From: William Desportes <[email protected]>
> To: 1109364-done <[email protected]>, 1109365-done <
> [email protected]>, 1109613-done <[email protected]>,
> 1109615-done <[email protected]>, 1109621-done <
> [email protected]>, 1109624-done <[email protected]>,
> 1109625-done <[email protected]>, 1109632-done <
> [email protected]>, 1109633-done <[email protected]>,
> 1109634-done <[email protected]>, 1109640-done <
> [email protected]>
> 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 <[email protected]>
> To: Debian Bug Tracking System <[email protected]>
> Cc:
> Bcc:
> Date: Mon, 21 Jul 2025 04:20:52 +0000
> Subject: ITP: php-squizlabs-php-codesniffer -- PHP coding standard
> enforcement tool
> Package: wnpp
> Severity: wishlist
> Owner: Ahmed Gamal <[email protected]>
>
> * Package name    : php-squizlabs-php-codesniffer
>   Version         : 3.7.2
>   Upstream Author : Greg Sherwood <[email protected]>
> * URL             : https://github.com/squizlabs/PHP_CodeSniffer
> * License         : BSD-3-Clause
>   Programming Lang: PHP
>   Section         : php
>
> Description:
>  PHP coding standard enforcement tool
>
>  This package provides PHP_CodeSniffer, a set of two PHP scripts that
> tokenize
>  PHP, JavaScript and CSS files to detect violations of defined coding
> standards.
>  The main `phpcs` script detects violations, while `phpcbf` automatically
>  corrects coding standard violations.
>
>  PHP_CodeSniffer is an essential development tool that ensures code remains
>  clean and consistent by enforcing coding standards like PSR-12, PEAR, and
>  custom standards. It helps maintain code quality and consistency across
>  development teams.
>
> 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 need comprehensive code quality tools to ensure
>  maintainable and consistent codebase.
>
>  The php-squizlabs-php-codesniffer package is essential for:
>  - Enforcing coding standards in FOSSology's PHP components
>  - Maintaining code quality and consistency across the codebase
>  - Automated code style checking and fixing
>  - Supporting development workflow with coding standard compliance
>  - Ensuring readable and maintainable code for license detection algorithms
>  - Integration with CI/CD pipelines for automated code quality checks
>
> Technical Details:
>  - Requires PHP >= 5.4.0
>  - Provides two command-line tools: phpcs and phpcbf
>  - Supports multiple coding standards (PSR-12, PEAR, custom)
>  - Tokenizes PHP, JavaScript, and CSS files
>  - Includes extensive rule sets for various coding standards
>  - BSD-3-Clause licensed for maximum compatibility
>  - Provides both library and executable components
>
> Dependencies:
>  - php (>= 5.4.0)
>  - php-ext-tokenizer
>  - php-ext-xmlwriter
>  - php-ext-simplexml
>  - Build dependencies: phpunit
>
> The package will be maintained by Ahmed Gamal <[email protected]>
> as part
> of the FOSSology packaging effort.
>
> --
> Ahmed Gamal
> FOSSology Debian Packaging Team
>

Reply via email to