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

admin: malware refactor and small features #16047

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

miketheman
Copy link
Member

A few pieces of work I wanted to get out of the way before other code changes take advantage of these.

@miketheman miketheman added admin Features needed for the Admin UI (people running the site) malware-detection Issues related to automated malware detection. labels Jun 4, 2024
@miketheman miketheman requested a review from a team as a code owner June 4, 2024 19:18
@miketheman miketheman enabled auto-merge (squash) June 4, 2024 19:32
@miketheman miketheman merged commit 750693f into pypi:main Jun 4, 2024
17 checks passed
"""
View helper to prohibit and remove a project.
"""
# TODO: See if we can constrain `project` to be a `Project` only.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intend to come back to this, and probably take a str only, since we don't actively use the Project object other than the name. It's resolved to a Project later on before calling remove_project().

@miketheman miketheman deleted the miketheman/malware-pieces branch June 4, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin Features needed for the Admin UI (people running the site) malware-detection Issues related to automated malware detection.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants