Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed of removed packages #6201

Closed
thatch opened this issue Jul 17, 2019 · 2 comments
Closed

Feed of removed packages #6201

thatch opened this issue Jul 17, 2019 · 2 comments

Comments

@thatch
Copy link

thatch commented Jul 17, 2019

What's the problem this feature will solve?

I gather from outside sources that some projects have been removed from pypi because they were malicious (libpesh for example).

I have a bandersnatch mirror, and it appears to have mirrored the source. I'd like to ensure that such packages are not made available to my clients, but there doesn't appear to be a way to communicate removals/deletions/name bans. Can you double-check my example below?

>>> import xmlrpc.client
>>> import arrow
>>> client = xmlrpc.client.ServerProxy("https://test.pypi.org/pypi")
>>> yd = arrow.get("2019-07-01 00:00:00")
>>> recentchanges = client.changelog(yd.timestamp)
>>> len(recentchanges)
18389
>>> for entry in recentchanges:
...   if "pesh" in entry[0]:
...     print(entry)
... 
>>> "pesh" in str(recentchanges)
False

Describe the solution you'd like

I would be happy with a flat file of names that are gone. In addition, recording these administrative removals for transparency/timestamping in the changelog would also be good.

Additional context

This is perhaps related to the efforts in #5863 ?

@cooperlees for context

@di
Copy link
Member

di commented Jul 17, 2019

Thanks for the feature request! This seems like a duplicate of #4703.

@thatch
Copy link
Author

thatch commented Jul 17, 2019

@di looks like it, thanks.

@thatch thatch closed this as completed Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants