-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Pay out Gitcoin Grants Rounds automatically with a payout script #6476
Conversation
Codecov Report
@@ Coverage Diff @@
## stable #6476 +/- ##
==========================================
- Coverage 27.20% 27.06% -0.14%
==========================================
Files 289 290 +1
Lines 26473 26691 +218
Branches 3924 3954 +30
==========================================
+ Hits 7201 7223 +22
- Misses 19005 19197 +192
- Partials 267 271 +4
Continue to review full report at Codecov.
|
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.
Just two notes but looks good
subscription.is_postive_vote = True | ||
subscription.active = False | ||
subscription.error = True | ||
subscription.contributor_address = '/NA' |
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.
whats this string mean?
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.
fat finger of n/a
app/marketing/mails.py
Outdated
coupon = "Pick up ONE item of Gitcoin Schwag at http://store.gitcoin.co/ at 50% off with coupon code {settings.GRANTS_COUPON_50_OFF}" | ||
if match.amount > 1000: | ||
coupon = "Pick up ONE item of Gitcoin Schwag at http://store.gitcoin.co/ at 100% off with coupon code {settings.GRANTS_COUPON_100_OFF}" | ||
# NOTE: WE WILL SCREEN AND APPROVE ANY ORDERS TO THE STORE, SO IF YOURE A CLEVER BISCOUT |
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.
LOL - i think we actually dont have to worry about this, since they are set as ENV vars :) you should make the default worth 10% off or something though and add a message here saying since you were reading our codebase you get a discount!
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.
maybe ill make a 100% off code with a limit of 1 or 2 purchases and sneak it in here as an easter egg.
Description
Pay out Gitcoin Grants Rounds automatically with a payout script
Usage:
Refers/Fixes
#5382
Testing
use the commands above, or to test just the emails try