Closed ewdurbin closed 6 years ago
Also appears to miss purges due to maintainership changes and _pypi_hidden (legacy) changes.
Legacy doesn't purge Warehouse at all
I think we should just disable editing anything but pypi_hidden on legacy, and disable the journal entry for it then @dstufft ?
fine with me, pypi_hidden is useless in warehouse anyways.
👍
pypi-legacy interference resolved in https://github.com/pypa/pypi-legacy/pull/785
Still need maintainer changes to purge project/
keys though.
Should just require adding:
config.register_origin_cache_keys(
Role,
purge_keys=[
key_factory("user/{obj.user.username}"),
key_factory("project/{obj.project.normalized_name}")
],
)
Noticed this while setting up new mirror. We don't seem to be purging
project/<normalized_name>
key when projects are deleted.This leads bandersnatch to get confused and fall behind until the key is purged so the JSON api returns a 404