Feature Request: Add Composer Repository Support for PHP Packages
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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!
- 主要语言
- Python
- 星标
- 641
- 派生
- 178
- 平均合并
- 17 小时 36 分钟
- 30 天内合并 PR
- 76
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pulp/pulpcore 的其他 Issue
-
Content cache ignores the query string, so one path serves the response cached for another query未关闭Triage-Needed
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Issue
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Feature
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)可能已有人在做 @dkliban 今天认领。 未关闭Issue Triage-Needed
难度 4/5 3-5 天 新手友好度 18/100
维护者通常 1 天内回复
-
Redis client has no socket timeouts, so a lost Redis connection stalls content requests for minutes未关闭Issue Triage-Needed
难度 3/5 半天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
bug bugfix
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
simplify
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
drevendev/Devostasis#158 · 1 条评论 ·
-
Elko Super TR: temperature stops updating once the thermostat reports its active sensor可能已有人在做 @zigpy-review-bot 今天认领。 未关闭bot: code audit
难度 2/5 1-3 小时 新手友好度 85/100
zigpy/zha-device-handlers#5790 ·
维护者通常 1 天内回复
-
source defect
难度 2/5 1-3 小时 新手友好度 80/100
mampfes/hacs_waste_collection_schedule#8269 ·
维护者通常 1 天内回复