- Issue created by @drumm
- @drumm opened merge request.
- Status changed to Fixed
about 2 years ago 7:58pm 20 February 2023
https://www.drupal.org/packages/8/packages.json β
is currently served dynamically by Drupal, since Composer 1 changes something in provider-includes
every time anything changes. To support signing this metadata with TUF, we need a static file.
While we are still supporting Composer 1, and this metadata is changing frequently, it should be okay to write out the file, cache it, and proactively purge our CDN cache when it changes. If this does prove to be problematic, thereβs good precedent to degrade the Composer 1 experience to benefit Composer 2 hosting: https://blog.packagist.com/deprecating-composer-1-support/.
This will have the added benefits of serving the metadata from the CDN instead of bootstrapping Drupal, and saving us from generating it ~43 requests/minute.
Fixed
1.0
Code