Giter Club home page Giter Club logo

backport's People

Contributors

gaurav0 avatar gaurav0test avatar m-kuhn avatar tibdex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

backport's Issues

In the backport description message, include original author name

It would be nice to include the name of the original author in the PR description :

This would trigger a notification of the original author and he can keep track of the backport PR. Maybe he is not "watching" the repository on GH so he won't be notified of the following PR.

git cherry-pick -x

Hi,
Was wondering if there was a reason -x wasn't in the git cherry-pick command line in

await git("cherry-pick", "-m1", "-n", commitToBackport);

Forgive me if I'm missing something, my gitfoo is weak

support rebase merges by collecting series of commits from PR

The current bot implementation supports only single-commit PR merges. This works great for squash merges, and I see it now sort-of works for merge commits. But it doesn't support rebased merges (unless there's only one eventual commit merged).

The electron/trop bot seems to handle multi-commit merges: https://github.com/electron/trop/blob/f3facf6f854f24e5d8453f2b3caae9c97fbfa876/src/utils.ts#L213-L310

Specifically, it asks for the list of commits on the PR, and pulls down the patches for those commits and then applies them in series. See https://github.com/electron/trop/blob/f3facf6f854f24e5d8453f2b3caae9c97fbfa876/src/operations/backport-commits.ts

It's likely much faster for single-commit PRs to keep the current cherry-pick logic, but for multi-commit PRs this may be useful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.