-
Notifications
You must be signed in to change notification settings - Fork 28
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 Self Hosted License Expiration Date to Config Resolver #283
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #283 +/- ##
=======================================
Coverage 95.64% 95.64%
=======================================
Files 608 610 +2
Lines 15687 15710 +23
=======================================
+ Hits 15004 15026 +22
- Misses 683 684 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #283 +/- ##
=====================================
Coverage 95.55 95.55
=====================================
Files 722 724 +2
Lines 16094 16117 +23
=====================================
+ Hits 15378 15400 +22
- Misses 716 717 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
|
||
@self_hosted_license_bindable.field("expirationDate") | ||
def resolve_expiration_date(license: LicenseInformation, info) -> datetime.date: |
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.
returns Optional[..]
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.
good catch!
…osted-license-investigation
…decov/codecov-api into 849-self-hosted-license-investigation
Purpose/Motivation
We want to surface a banner in the client to show self-hosted customers a CTA to renew their license. This PR surfaces that information to the client
Links to relevant tickets
codecov/engineering-team#849
What does this PR do?
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.