Gateway.octobercms.com missing files used in project composer.json

https://gateway.octobercms.com is missing files that previously installed trough plugin installation.
In this case it is rainlab/sitemap-plugin (v1.2.4)

What we are trying to do is to install a current project. This project has continuous development and is used for multiple customers (al with different licenses off course). Not being able to install a used plugin is not the ideal situation.

When i start composer installation i get the following error.

The "https://gateway.octobercms.com/composer/dist/rainlab/sitemap-plugin/rainlab-sitemap-plu  
  gin-d877af77073288d13105d7d8a931fe310f1654f8-zip-11d121.zip" file could not be downloaded (H  
  TTP/1.1 404 Not Found) 

image

Obviously this should not be happening. Version of a plugin should not be removed from the gateway.octobercms.com repo.

Hi @gldrenthe89

The plugin has moved locations to https://api.github.com/repos/rainlab/sitemap-plugin/zipball/ba0d48bf2cfc8b79f6b85223da99fc4135629130

Could this be coming from a stale composer.lock file?

Plugin has moved?? Why? a lock file is there to set and lock the specific version used. It should not move. Otherwise in case of recovery a install doesn’t work, because the needed file is gone.

Technically the plugin existed in two places, packagist and gateway. There is an option to select packagist when publishing a plugin.

The composer software (satis) used internally by the gateway does not make packages immutable, sadly. Composer also does not store the alternative location in the lock file.

It is a rare thing to happen, but not impossible, the same as deleting a version/tag. Updating the lock file should fix it.

Thanks for the explanation. I guess there is nothing we can do but to just try to reinstall trough composer and hope this wont happen to often.

Sorry, it was not directly related to this topic