Feature Request: Add Composer Repository Support for PHP Packages
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
The issue proposes a dedicated pulp_composer plugin but names no files, tests, or implementation entry points. First read the pulpcore plugin development documentation and inspect existing package plugins to understand the required repository, remote, metadata, and distribution patterns. Done would mean a Composer-compatible plugin supports private packages and remote synchronization, with metadata and endpoints that work with the shown Composer commands.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Request: Add Composer Repository Support for PHP Packages
Description
I would like to propose adding support for PHP Composer repositories to Pulp through a dedicated plugin, tentatively named pulp_composer.
Composer is the standard dependency manager for PHP, and having native Composer repository support in Pulp would make it possible to manage PHP packages alongside the other package formats already supported by the Pulp ecosystem.
Motivation
Currently, Pulp provides support for several package management ecosystems, but there is no dedicated plugin for managing Composer repositories.
Organizations using Pulp as their centralized artifact repository would benefit from being able to manage their PHP dependencies through the same platform and infrastructure.
This would be particularly useful for organizations that need to:
- Host private PHP packages and libraries.
- Proxy and cache packages from Packagist.
- Mirror external Composer repositories.
- Manage internal and external PHP dependencies centrally.
- Control package versions and promote packages across different environments.
- Reduce dependency on external package repositories.
Proposed Features
A dedicated pulp_composer plugin could provide the following capabilities:
- Repository management: Create and manage Composer-compatible repositories.
- Package upload: Upload private PHP packages to Pulp.
- Remote synchronization: Synchronize packages from Packagist and other Composer repositories.
- Metadata management: Generate and serve Composer-compatible metadata (
packages.jsonand related metadata files). - Package versioning: Manage multiple versions of the same PHP package.
- Dependency information: Preserve package metadata, including dependencies, requirements and autoload configuration.
- Distribution: Publish repositories through Pulp distributions using a standard Composer-compatible endpoint.
Expected Usage
The goal would be to allow developers to configure Pulp as a regular Composer repository:
composer config repositories.pulp composer https://pulp.example.com/pulp/content/php/
composer require my-company/my-library
Ideally, Pulp would support both private package hosting and remote repository synchronization, making it possible to use it as a centralized Composer repository manager.
Benefits to the Pulp Ecosystem
Adding Composer support would extend Pulp's capabilities to the PHP ecosystem and make it an even more comprehensive solution for organizations managing software artifacts across multiple technology stacks.
It would also provide a consistent approach to artifact management for organizations already using Pulp for RPM, Debian, Python or other supported ecosystems.
Discussion
I would be interested in knowing whether this feature is already being considered, whether there are any technical limitations that would make its implementation difficult, and whether the community would be interested in contributing to such a plugin.
I would also be happy to participate in the discussion and help with testing or development if there is interest in moving forward with this proposal.
Thank you for considering this feature request!
- Lenguaje dominante
- Python
- Estrellas
- 641
- Forks
- 178
- Merge medio
- 17 h 36 min
- PR fusionados (30 d)
- 76
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pulp/pulpcore
-
Content cache ignores the query string, so one path serves the response cached for another queryAbiertoTriage-Needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Reclaim Space Server ErrorAbiertoIssue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pulp/pulpcore#5802 · 10 comentarios ·
Los mantenedores suelen responder en 1 día
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)Posiblemente ocupada @dkliban la tomó hoy. AbiertoIssue Triage-Needed
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
Los mantenedores suelen responder en 1 día
-
Redis client has no socket timeouts, so a lost Redis connection stalls content requests for minutesAbiertoIssue Triage-Needed
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de pulp/pulpcore
Issues similares
-
Triage-Needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Ikalus1988/MisakaNet#5718 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
facebookresearch/autoform-bot#872 ·
Los mantenedores suelen responder en 1 día
-
Dataset.to_json() writes "Value": [] for an empty sequencePosiblemente ocupada @DG47 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
finos/open-resource-broker#933 ·
Los mantenedores suelen responder en 1 día