openshift-eng / rebasebot Goto Github PK
View Code? Open in Web Editor NEWA tool to sync downstream repositories with their upstream
License: Apache License 2.0
A tool to sync downstream repositories with their upstream
License: Apache License 2.0
We have seen failures where the cause was GitHub not having fully processed data from our previous call.
Failed to create a pull request: 422 Validation Failed
Response: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between openshift:master and openshift-metal3:ironic-bot-master"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"}
When we do rebase from release branch that contains cherry-picked commits from main. The merge base marks these backport commits as downstream commits. Additionally, we incorrectly find base commit on the destination branch. Causing all downstream commits to be reapplied.
One possible solution for this may be marking the "Merge upstream into Destination" commit and trying to find it on the ancestry path from merge-base to destination branch.
Rebasebot creates a .rebase
directory in the current working directory by default. If you are not aware of this, you may end up with multiple instances of this directory in your filesystem.
To avoid this, we should consider creating a temporary directory for rebasebot to use, and remove it after the rebasebot finishes.
The logic here is a bit fragile and breaks when the chosen separator is contained in the commit message.
Lines 167 to 177 in 683a41f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.