-
Notifications
You must be signed in to change notification settings - Fork 75
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
Support Updating Single Package, Refactoring update_upstream_versions #2139
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2139 +/- ##
==========================================
+ Coverage 69.45% 73.21% +3.76%
==========================================
Files 96 96
Lines 8861 9265 +404
==========================================
+ Hits 6154 6783 +629
+ Misses 2707 2482 -225 ☔ View full report in Codecov by Sentry. |
@xhochy Besides adding the single package CLI option, this PR adds no functionality and is 95% refactoring. Can you have a look on this? |
|
||
# avoid this one since it runs too long and hangs the bot | ||
if name == "ca-policy-lcg": |
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.
We might want to create a general opt-out mechanism in a follow up PR
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.
LGTM
Did you run mypy locally on these changes? |
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.
This looks good, but there are some typing related changes where I would like to have at least a written comment that you ran mypy
locally. Medium-term, it should also be added to the CI if we make more use of types.
Co-authored-by: Uwe L. Korn <xhochy@users.noreply.github.com>
4666119
to
8cc0c4a
Compare
@xhochy Thanks for pointing out, there were actually some minor type issues. They are now fixed. |
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.
one question but otherwise LGTM!
sorry for the delay here!
We'll need to baby sit the bot a bit today to make sure nothing breaks. |
This part of #2131 adds the functionality of updating one single package and refactors the
update_upstream_versions.py
code. It also adds helpful debug output and tests the entire refactored code.