Feature Request: Add Composer Repository Support for PHP Packages
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- Python
- Stelle
- 641
- Fork
- 178
- Merge medio
- 17h 36m
- PR unite (30g)
- 76
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pulp/pulpcore
-
Content cache ignores the query string, so one path serves the response cached for another queryApertaTriage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Reclaim Space Server ErrorApertaIssue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pulp/pulpcore#5802 · 10 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)Forse già presa @dkliban l’ha presa oggi. ApertaIssue Triage-Needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
-
Redis client has no socket timeouts, so a lost Redis connection stalls content requests for minutesApertaIssue Triage-Needed
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pulp/pulpcore
Issue simili
-
Triage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Ikalus1988/MisakaNet#5718 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
facebookresearch/autoform-bot#872 ·
I maintainer di solito rispondono entro 1 giorno
-
Dataset.to_json() writes "Value": [] for an empty sequenceForse già presa @DG47 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
finos/open-resource-broker#933 ·
I maintainer di solito rispondono entro 1 giorno