Repository navigation
feat(pr): bdt pr info --all and several --pr-id (also other repos) - #112
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
…view) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
aersam
marked this pull request as ready for review
October 22, 2026 11:36
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
This was referenced Oct 22, 2026
owner/repo#N, project/repo#N, org/project/repo#N or the PR's URL per entry; JSON objects gain a repo. One failing entry does not hide the others. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
…ection URLs, same-PR dedupe (codex review) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
…r-id, bmsuisse/skills#69) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
…be (codex review) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds to
bdt pr info(needed by bmsuisse/skills#69, the bdt-status mod showing several PRs):--all: every open PR from the current branch (e.g. one intodev, one intomain), where plainpr infohas to ask which one. With--jsonan array of the usual objects,[]and exit 0 when there is none;--target-branchnarrows it.--pr-idtakes several PRs (repeat it and/or comma-separate), also of other repos. Per entry: a number (current repo),owner/repo#N(GitHub),project/repo#Nororg/project/repo#N(Azure DevOps, host/org from the current repo unless given), or the PR's URL (GitHub, dev.azure.com, *.visualstudio.com; the only form needing no checkout).--json: an array like--all's), duplicates (also differently spelled, case-insensitive) once.error: <entry>: <reason>on stderr, the rest printed, exit 1. An unreadable entry is a usage error (exit 2) before anything is looked up.--pr-idwith--all.--target-branchis ignored for--pr-id, as before.repo(owner/repo, ororg/project/repoon Azure DevOps): additive, existing consumers (the mod's validation) ignore it.Tested:
tests/test_pr_info.py(89 pass) incl. ref parsing, GitHub/ADO, partial failure, dedupe; real runs against bmsuisse/skills and bmsuisse/devtools PRs. Reviewed with codex (bms-code-review --full) in three rounds; all findings fixed except GitHub's unpaginated 30-PR lookup (same as the existingresolve_pr_id).🤖 Generated with Claude Code
https://claude.ai/code/session_012tjH222WEjgNKS52CyY1wK