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
Changes working towards quantifying repos by their metrics to not overwhelm collection #2227
Conversation
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
… moving towards scheduling repos based on commit count which can't be done until the repos have been cloned Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
Signed-off-by: Isaac Milarsky <imilarsky@gmail.com>
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.
I approve as far as I can tell, and some of he changes are significant enough that I want @ABrain7710 to review before merging.
@@ -457,43 +496,13 @@ def facade_phase(repo_git): | |||
|
|||
# Figure out what we need to do | |||
limited_run = session.limited_run | |||
delete_marked_repos = session.delete_marked_repos |
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.
I think we are getting rid of many of the confusing different settings. yes?
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.
Yes some have been removed but not all. Delete_marked_repos particularly should probably be removed because we never remove repos.
|
||
except NoResultFound as e: | ||
session.logger.debug(f"Failed local login lookup with error: {e}") | ||
if not contributors_with_matching_name: |
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.
Will taking this out of a try except cause the collection to fail in the case that a person is not identified?
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.
No, because it uses first
which will return None if it doesn't exist. Where one
expects a row to exist
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.
No it will not.
@@ -27,161 +27,17 @@ | |||
from augur.tasks.db.refresh_materialized_views import * | |||
# from augur.tasks.data_analysis import * |
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.
I definitely want @ABrain7710 to review this file
Description
Signed commits