-
Notifications
You must be signed in to change notification settings - Fork 985
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
Add disallow deletion AdminFlag #6518
Conversation
Testing upload:
|
@di This PR is ready to review. |
@calvin Thank you for this PR! Would you mind fixing the merge conflict and then say here when you've done that, and I'll try to find some reviewers to help move this along? Thanks! |
07600e2
to
1246ab2
Compare
@brainwane resolved conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I think we need to update templates as noted in comments.
We probably don't want to remove a chunk of html that users expect to see without explaining why.
1246ab2
to
0595da3
Compare
that was a really solid suggestion @di! |
8f0ff1d
to
d20dda2
Compare
Thank you @calvin! |
* Add AdminFlagValue * Add disallow deletion AdminFlag See pypi#3218 * Add disallow new upload AdminFlag * Convert `AdminFlagValue` to enum
@calvin I just want to note that this was great for a first PR not just in this repo but in PyPA as a whole. Thank you! If you're interested in helping more, we would welcome it, and I could suggest a couple things if you like! |
@brainwane I do want to make more contributions. Please tell me more. |
Add new AdminFlags which prevent projects/release from deletion or new uploads when enabled.
Closes #3218