MCPcopy
hub / github.com/pyodide/pyodide / show_not_backported

Function show_not_backported

tools/backport.py:598–611  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

596
597
598def 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
614def make_changelog_branch(args) -> None:

Callers

nothing calls this directly

Calls 8

get_last_tagFunction · 0.85
setFunction · 0.85
view_prsFunction · 0.85
print_commitsFunction · 0.85
from_gitMethod · 0.80
runFunction · 0.70
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…