-
Notifications
You must be signed in to change notification settings - Fork 33
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
Report PR changes phase B #1294
Conversation
…r_changes_phase_b
if [ "$#" -ne 4 ]; then | ||
echo "Usage: $0 <first_branch_name> <second_branch_name> <output folder path> <run_id>" | ||
if [ "$#" -ne 2 ]; then | ||
echo "Usage: $0 <first_branch_name> <second_branch_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.
Presumably all of the files generated from this script are just saved in the current directory, correct?
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, currently yes.
./report_pr_changes --branch new --computation changed_affected_plugin | ||
git checkout $old_branch | ||
./report_pr_changes --branch old --computation changed_affected_plugin | ||
./report_pr_changes --branch old --computation report_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.
Does the cleanup function automatically delete all of the temporary json files that we've made?
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, I have not deleted them. Maybe should delete it by python scripts. Because they are generated by the python scripts.
@@ -0,0 +1,203 @@ | |||
#!/usr/bin/env python |
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.
Thanks for organizing the code! I really appreciate it. Shall I comment these functions?
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.
Thanks Dacheng, everything makes sense and looks good to me. For record-keeping, we will meet later today to discuss this PR and if we agree that this looks good and works well then I will approve.
Organize codes into python script but there is no functionality changed.