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

Set last_synced_at for Removed Repositories #3385

Closed mikeyoung85 closed 1 month ago

mikeyoung85 commented 1 month ago

It seems like we should be setting this if we get a 404 response when requesting repository data.

mikeyoung85 commented 1 month ago

Refactored the update_all_info method a bit to make it a little more straightforward. Let me know what you think of the changes and if I screwed up that unless last_synced_at && last_synced_at < 2.minutes.ago logic change.