Skip to content
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

Pr metrics improvements #102

Open
wants to merge 8 commits into
base: dev/mpg/pr-metrics
Choose a base branch
from

Conversation

daverodgman
Copy link
Contributor

Adding some fixes/updates to the pr-metrics scripts

@daverodgman daverodgman requested a review from mpg April 6, 2023 12:49
Signed-off-by: Dave Rodgman <[email protected]>
@daverodgman daverodgman changed the title Pr metrics dr Pr metrics improvements Apr 6, 2023
Signed-off-by: Dave Rodgman <[email protected]>
pr-metrics/get-pr-data.py Outdated Show resolved Hide resolved
@@ -38,4 +39,13 @@
p.update()

with open("pr-data.p", "wb") as f:
pickle.dump(prs, f)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put this comment here as it does not let me put it in unchanged lines of code:
Nit: Maybe we can change r = g.get_repo("ARMMbed/mbedtls") from line 18 to r = g.get_repo("Mbed-TLS/mbedtls") ?

pr-metrics/get-pr-data.py Outdated Show resolved Hide resolved
pr-metrics/prs.py Outdated Show resolved Hide resolved
@@ -86,7 +91,7 @@ def is_community(pr):
def quarter(date):
"""Return a string decribing this date's quarter, for example 19q3."""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this comment should be changed now?

git_worktree_path, "visualc", "VS2010"
)
solution_dir = glob.glob(os.path.join(
git_worktree_path, "visualc", "VS*"))[0]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just in case: we are not expecting it to have more than one VS* folder, right? Otherwise this would bring a problem I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants