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

Implement PEP 592: Yanked Releases #5838

Merged
merged 34 commits into from
Apr 22, 2020
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
42cbd54
Remove an outdated comment
dstufft May 12, 2019
e17181d
Add Release.yanked to the database model
dstufft May 12, 2019
9bf0022
Emit the data-yanked attribute in the simple api
dstufft May 12, 2019
c170953
Initial work on a UI for yanking releases
dstufft May 12, 2019
26018e5
Update down_revision on migration
di Mar 12, 2020
84806bc
Remove z-index for callout-block
di Mar 13, 2020
ccefa1e
Add ability to specify modifier when creating a confirm_button or con…
di Mar 13, 2020
8978cc1
Update copy
di Mar 13, 2020
a7abbd4
Switch to boolean column
di Mar 13, 2020
f438385
Support yanking/unyanking in the UI
di Mar 13, 2020
0907bc1
Filter out yanked releases
di Mar 13, 2020
a12482d
Tests
di Mar 13, 2020
9501a8a
Updates from #7689
di Apr 3, 2020
101abee
Update icon and copy
nlhkabu Apr 3, 2020
6e5eac0
Update un-yank icon as well
di Apr 3, 2020
eb54532
Update migration
di Apr 3, 2020
d99fc09
Update email templates to remove translations
di Apr 3, 2020
fd2102f
Only reindex non-yanked releases
di Apr 3, 2020
9d863ed
Don't filter yanked releases from JSON API
di Apr 3, 2020
9497b35
Show yanked status in JSON API
di Apr 3, 2020
be9f509
Don't filter yanked releases
di Apr 4, 2020
128a826
Only show 'Releases' header when there are releases
di Apr 4, 2020
790996d
Show badge for yanked release
di Apr 4, 2020
31a588a
Add warning label on detail page for yanked releases
di Apr 4, 2020
27c5538
Add help section on yanked releases
di Apr 4, 2020
6bdb3a3
Update PEP number on help page
di Apr 4, 2020
d6b8ce8
Update tests
di Apr 4, 2020
cfce65a
Update conditional in simple/detail.html
di Apr 4, 2020
32a295a
Apply suggestions from code review
di Apr 6, 2020
295873f
Update translations
di Apr 20, 2020
b6894f7
Update migration
di Apr 20, 2020
2d4af02
Merge branch 'master' into yanked
di Apr 22, 2020
a0e79cb
Merge branch 'master' into yanked
di Apr 22, 2020
f25af63
Add missing commas
di Apr 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions docs/api-reference/json.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ Project
"requires_dist": null,
"requires_python": null,
"summary": "A sample Python project",
"version": "1.2.0"
"version": "1.2.0",
"yanked": false
},
"last_serial": 1591652,
"releases": {
Expand All @@ -92,7 +93,8 @@ Project
"python_version": "2.7",
"size": 3795,
"upload_time_iso_8601": "2015-06-14T14:38:05.093750Z",
"url": "https://files.pythonhosted.org/packages/30/52/547eb3719d0e872bdd6fe3ab60cef92596f95262e925e1943f68f840df88/sampleproject-1.2.0-py2.py3-none-any.whl"
"url": "https://files.pythonhosted.org/packages/30/52/547eb3719d0e872bdd6fe3ab60cef92596f95262e925e1943f68f840df88/sampleproject-1.2.0-py2.py3-none-any.whl",
"yanked": false
},
{
"comment_text": "",
Expand All @@ -108,7 +110,8 @@ Project
"python_version": "source",
"size": 3148,
"upload_time_iso_8601": "2015-06-14T14:37:56Z",
"url": "https://files.pythonhosted.org/packages/eb/45/79be82bdeafcecb9dca474cad4003e32ef8e4a0dec6abbd4145ccb02abe1/sampleproject-1.2.0.tar.gz"
"url": "https://files.pythonhosted.org/packages/eb/45/79be82bdeafcecb9dca474cad4003e32ef8e4a0dec6abbd4145ccb02abe1/sampleproject-1.2.0.tar.gz",
"yanked": false
}
]
},
Expand All @@ -127,7 +130,8 @@ Project
"python_version": "2.7",
"size": 3795,
"upload_time_iso_8601": "2015-06-14T14:38:05.234526",
"url": "https://files.pythonhosted.org/packages/30/52/547eb3719d0e872bdd6fe3ab60cef92596f95262e925e1943f68f840df88/sampleproject-1.2.0-py2.py3-none-any.whl"
"url": "https://files.pythonhosted.org/packages/30/52/547eb3719d0e872bdd6fe3ab60cef92596f95262e925e1943f68f840df88/sampleproject-1.2.0-py2.py3-none-any.whl",
"yanked": false
},
{
"comment_text": "",
Expand All @@ -143,7 +147,8 @@ Project
"python_version": "source",
"size": 3148,
"upload_time_iso_8601": "2015-06-14T14:37:56.000001Z",
"url": "https://files.pythonhosted.org/packages/eb/45/79be82bdeafcecb9dca474cad4003e32ef8e4a0dec6abbd4145ccb02abe1/sampleproject-1.2.0.tar.gz"
"url": "https://files.pythonhosted.org/packages/eb/45/79be82bdeafcecb9dca474cad4003e32ef8e4a0dec6abbd4145ccb02abe1/sampleproject-1.2.0.tar.gz",
"yanked": false
}
]
}
Expand Down Expand Up @@ -201,7 +206,8 @@ Release
"requires_dist": null,
"requires_python": null,
"summary": "",
"version": "1.0"
"version": "1.0",
"yanked": false
},
"last_serial": 1591652,
"releases": {
Expand All @@ -222,6 +228,7 @@ Release
"size": 3795,
"upload_time_iso_8601": "2015-06-14T14:38:05.869374Z",
"url": "https://files.pythonhosted.org/packages/30/52/547eb3719d0e872bdd6fe3ab60cef92596f95262e925e1943f68f840df88/sampleproject-1.2.0-py2.py3-none-any.whl"
"yanked": false
di marked this conversation as resolved.
Show resolved Hide resolved
},
{
"comment_text": "",
Expand All @@ -238,6 +245,7 @@ Release
"size": 3148,
"upload_time_iso_8601": "2015-06-14T14:37:56.394783Z",
"url": "https://files.pythonhosted.org/packages/eb/45/79be82bdeafcecb9dca474cad4003e32ef8e4a0dec6abbd4145ccb02abe1/sampleproject-1.2.0.tar.gz"
"yanked": false
}
]
},
Expand Down
Loading