(args)
| 596 | |
| 597 | |
| 598 | def show_not_backported(args): |
| 599 | last_tag = get_last_tag() |
| 600 | res = run(["git", "log", "-1", "--format=%ai", last_tag], capture_output=True) |
| 601 | commit_history = CommitHistory.from_git(f"--since='{res.stdout}'", "main") |
| 602 | needs_backport = set(get_needs_backport_pr_numbers()) |
| 603 | not_backported = [ |
| 604 | commit |
| 605 | for commit in commit_history.commits.values() |
| 606 | if commit.pr_number not in needs_backport |
| 607 | ] |
| 608 | if args.web: |
| 609 | view_prs(not_backported) |
| 610 | else: |
| 611 | print_commits(not_backported) |
| 612 | |
| 613 | |
| 614 | def make_changelog_branch(args) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…