bugbug
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: bugbug | ||
| Version: 0.0.611 | ||
| Version: 0.0.612 | ||
| Summary: ML tools for Mozilla projects | ||
@@ -5,0 +5,0 @@ Author: Marco Castelluccio |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: bugbug | ||
| Version: 0.0.611 | ||
| Version: 0.0.612 | ||
| Summary: ML tools for Mozilla projects | ||
@@ -5,0 +5,0 @@ Author: Marco Castelluccio |
@@ -296,2 +296,3 @@ # -*- coding: utf-8 -*- | ||
| diff_errors = 0 | ||
| mapping_errors = 0 | ||
| for bug_id, obj in tqdm( | ||
@@ -308,15 +309,20 @@ fixed_by_commit_pushes.items(), total=len(fixed_by_commit_pushes) | ||
| diff = diff_failure_vs_fix( | ||
| repo_path, | ||
| [ | ||
| utils.hg2git(commit["node"]) | ||
| for commit in obj["commits"] | ||
| if commit["backedoutby"] | ||
| ], | ||
| [ | ||
| utils.hg2git(commit["node"]) | ||
| for commit in obj["commits"] | ||
| if not commit["backedoutby"] and not commit["backsout"] | ||
| ], | ||
| ) | ||
| try: | ||
| diff = diff_failure_vs_fix( | ||
| repo_path, | ||
| [ | ||
| utils.hg2git(commit["node"]) | ||
| for commit in obj["commits"] | ||
| if commit["backedoutby"] | ||
| ], | ||
| [ | ||
| utils.hg2git(commit["node"]) | ||
| for commit in obj["commits"] | ||
| if not commit["backedoutby"] and not commit["backsout"] | ||
| ], | ||
| ) | ||
| except requests.exceptions.HTTPError as e: | ||
| logger.error("Failure mapping hg commit hash to git commit hash %s", e) | ||
| mapping_errors += 1 | ||
| continue | ||
@@ -336,2 +342,3 @@ if diff is not None and len(diff) > 0: | ||
| logger.info(f"Failed mapping {mapping_errors} hashes") | ||
| logger.info(f"Failed generating {diff_errors} diffs") | ||
@@ -338,0 +345,0 @@ |
+1
-1
@@ -1,1 +0,1 @@ | ||
| 0.0.611 | ||
| 0.0.612 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
1377549
0.02%22363
0.03%