Skip to content

Support Lazy Syncing from Mirrored Registry #137

Description

@Kenneth-Sills

Problem

When mirroring, you don't always want to perform an eager sync where every archive for all packages & versions are downloaded to your Pricore instance; especially for large registries with significant history.

Not being able to do this would make mirroring the official Packagist registry untenable.

Proposed Solution

It would be nice to support a feature similar to Packeton's sync_lazy option (see also here). In this mode, the package metadata is what gets fetched immediately, then archives are only fetched on an as-needed basis for first retrieval.

Alternatives Considered

No response

Additional Context

This work would likely intersect with work for #138, since providing a better means of doing lazy sync was a goal in the Composer v2 protocol changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions