-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use Sponsor Logos #19803
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
Open
JacobCoffee
wants to merge
20
commits into
main
Choose a base branch
from
sponsor-footer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Use Sponsor Logos #19803
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
fef4aa3
use sponsor logos
JacobCoffee 5c88fec
feat: show PSF sponsors in footer ordered by level
JacobCoffee 764dac9
test: verify footer flag set based on sponsor level
JacobCoffee d0f1d1d
fmt
JacobCoffee 75b3226
fix test
JacobCoffee 1b21773
Update warehouse/sponsors/tasks.py
JacobCoffee 1df95c4
do sponsor stuff in python for the speeds
JacobCoffee d2641c2
test: add footer sponsor ordering and white logo sync coverage
JacobCoffee 43e6195
try to clean up test a lil
JacobCoffee 9b34573
fmt
JacobCoffee 094f0fb
fmt
JacobCoffee 3811f09
Merge branch 'main' into sponsor-footer
JacobCoffee 942958c
Merge branch 'main' into sponsor-footer
JacobCoffee 97d75c7
dont sort in html it is slow
JacobCoffee ff59483
sort with pythooons
JacobCoffee 165d72e
test: make sure we test for oroder now
JacobCoffee 9e80da1
fmt
JacobCoffee 8f8ce97
we dont want anything except white logos
JacobCoffee 9d78c6b
visually separate infra sponsors from PSF sponsors in footer
JacobCoffee 99aea70
fmt
JacobCoffee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,8 +50,11 @@ def update_pypi_sponsors(request): | |
| sponsor.service = sponsor_info["description"] | ||
| sponsor.link_url = sponsor_info["sponsor_url"] | ||
| sponsor.color_logo_url = sponsor_info["logo"] | ||
| if sponsor_info.get("white_logo"): | ||
| sponsor.white_logo_url = sponsor_info["white_logo"] | ||
| sponsor.level_name = sponsor_info["level_name"] | ||
| sponsor.level_order = sponsor_info["level_order"] | ||
| sponsor.is_active = True | ||
| sponsor.psf_sponsor = True | ||
| sponsor.footer = sponsor_info["level_name"] in {"Visionary", "Sustainability"} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This condition is no longer used in the template |
||
| sponsor.origin = "remote" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.