librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

Remove Custom Update Code to Add Versions to Base Go Module #3331

Closed mikeyoung85 closed 3 months ago

mikeyoung85 commented 3 months ago

This code existed to make it easier to lookup versions for a Go module without needing the specific version of the module in the name. Since we have been updating things to be more correct around version information this feature is now a problem and a lot of the versions tied to the base module for version 2.x and up are marked as being removed from the upstream source. This PR removes the custom update method that was creating versions for the base module name if we were updating a versioned module name. There will be some follow up clean up work to get rid of invalid versions on the base module Projects, but this PR will stop creating any new incorrect versions.