av icon indicating copy to clipboard operation
av copied to clipboard

Add restack command

Open draftcode opened this issue 1 year ago • 2 comments

This uses the new sequencer object to restack the branches.

2024-05-16 13-55-08

draftcode avatar May 17 '24 22:05 draftcode

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes. Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.

Stack

  1. 👉 Add restack command #293 👈 (this pr)

See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

aviator-app[bot] avatar May 17 '24 22:05 aviator-app[bot]

FlexReview Summary

Based on the code complexity and the author's expertise score, these are the suggested reviewers:

  • @jainankit (current review load: 7)

See the list of alternate reviewers in the detailed breakdown below.

Detailed Breakdown Author’s expertise score for the modified files:
  • cmd/av/stack.go (1.00)
  • cmd/av/stack_restack.go (1.00)
  • cmd/av/stack_switch.go (1.00)
  • cmd/av/stack_tree.go (1.00)
  • e2e_tests/stack_restack_amend_test.go (1.00)
  • go.mod (1.00)
  • go.sum (1.00)
  • internal/actions/pr.go (1.00)
  • internal/actions/sync_branch.go (1.00)
  • internal/git/state_file.go (1.00)
  • internal/sequencer/planner/planner.go (0.00)
  • internal/sequencer/sequencer.go (0.00)
  • internal/utils/stackutils/stackutils.go (1.00)
Files Reviewers
cmd/av/stack.go †,
cmd/av/stack_restack.go †,
cmd/av/stack_switch.go †,
cmd/av/stack_tree.go †,
e2e_tests/stack_restack_amend_test.go †,
go.mod †,
go.sum †,
internal/actions/pr.go †,
internal/actions/sync_branch.go †,
internal/git/state_file.go †,
internal/utils/stackutils/stackutils.go
@jainankit (score: 0.56, current review load: 7)

† Indicates that the file doesn't need an expert review. (?)

See full breakdown of the reviewers on the Aviator webapp.

aviator-app[bot] avatar May 17 '24 22:05 aviator-app[bot]

This PR is stacked on top of #288 which was merged. This PR (and its dependents) need to be synchronized on the commit that was merged into master. From your repository, run the following commands:

# Switch to this branch
git checkout restack
# Sync this branch (and its children) on top of the merge commit
av stack sync
# Optionally update pull requests to match new stack
av stack submit

aviator-app[bot] avatar May 21 '24 17:05 aviator-app[bot]