feat(updates): Composer/Packagist private repository feed #354

Closed
opened 2026-05-31 15:59:40 +00:00 by jmiller · 1 comment
Owner

Summary

Implement Composer-compatible packages.json at /{owner}/{repo}/updates/packages.json.

Metadata Fields Required

Field Description Example
name Vendor/package mokoconsulting/mokowaas
description Package description Text
type Package type joomla-package, library
license SPDX identifier GPL-3.0-or-later
require.php PHP constraint >=8.1
dist.url Download URL .zip asset URL
dist.type Archive type zip
dist.shasum SHA-1 checksum Hash

Composer Format

Satis-style packages.json:

Auth via composer config http-basic.hostname token KEY or Bearer token.


Claude Opus 4.6 (1M context) noreply@anthropic.com

## Summary Implement Composer-compatible packages.json at `/{owner}/{repo}/updates/packages.json`. ## Metadata Fields Required | Field | Description | Example | |---|---|---| | name | Vendor/package | `mokoconsulting/mokowaas` | | description | Package description | Text | | type | Package type | `joomla-package`, `library` | | license | SPDX identifier | `GPL-3.0-or-later` | | require.php | PHP constraint | `>=8.1` | | dist.url | Download URL | .zip asset URL | | dist.type | Archive type | `zip` | | dist.shasum | SHA-1 checksum | Hash | ## Composer Format Satis-style `packages.json`: Auth via `composer config http-basic.hostname token KEY` or Bearer token. --- *Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller added the pending: testing label 2026-06-02 14:13:45 +00:00
Author
Owner

Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.

Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.
Sign in to join this conversation.
No labels pending: testing
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#354