Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR landing tool #3

Open
7 tasks
lundibundi opened this issue Apr 3, 2019 · 1 comment
Open
7 tasks

PR landing tool #3

lundibundi opened this issue Apr 3, 2019 · 1 comment
Assignees

Comments

@lundibundi
Copy link
Member

lundibundi commented Apr 3, 2019

Basically, a command line tool that will automatically pick up commits from the branch add metadata to them and merge into the specified branch.

  • cherry-pick commits from source branch
  • automatically add PR-URL to the commit message if it's not present (potentially automatically determining it from the GitHub API)
  • support fixup! and squash! commits
  • rebasing source branch if needed and requested
  • allowing to optionally verify\augment each commit message as they are picked up
  • support squash-all that must call squash command on all commits (except first) and prompt (git prompt) user for the resulting commit message
  • allow to automatically comment Landed in ... in the PR.

Edit:
The tool should probably store/restore some kind of state from the fs to be able to support manual editing of commit messages and perhaps fixing of merge conflicts, as it may require to stop the tool and interact with the git itself.

/cc @belochub @nechaido

@JuliaGerasymenko
Copy link
Member

@lundibundi Which objectives do you have for each task? One of them is how should I manage with getting information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants