openvsx
openvsx copied to clipboard
Sitemap date not updated when an extension version is deleted
When an extension version is deleted, the last_updated_date of its extension database entry is not updated. This causes the mirror to be out-of-sync with upstream.
For example:
- Extension Ext has 2 versions
ExtV0.0.1andExtV0.0.2. Then thelast_udpated_datewill be the published date ofExtV0.0.2. - For some reason
ExtV0.0.1is deleted, but the last updated time is not changed. - Thus, the mirror wont update the metadata on its end.
This issue causes the mirror to throw an error when its trying to remove some out-of-date extensions.