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.
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_lazyoption (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.