Comments (4)
my docker image version:
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
smarketshq/marge-bot latest 22433019da23 47 years ago 275.9 MB
from marge-bot.
also i think git reset --hard master origin/master
is needed if someone does force push on master branch. but i still think it's just simplier to rebase against origin/master
than local master
branch
default git fetch configuration will overwrite changes in origin/*
from marge-bot.
I'm not sure I understand if there is indeed an issue here. It is true that in the end the, repo points to (local) master
and not origin/master
but as I understand it that shouldn't be a problem:
Assume we start with the repo in master
, which as you observe, may be different from origin/master
. We then do (following the pasted log above):
git fetch origin
, so we are still inmaster
, butorigin/master
andorigin/merge-request-branch
are up-to date.git checkout -B merge-request-branch origin/merge-request-branch --
, so now the working branch is the branch to be rebasedgit rebase origin/master
, here we rebase against the remote master branch, and fail because of a merge conflict.
So up to this point, everything has been done as one would expect. The following steps are just clean-ups, aimed to leaving the repo i) in a usable state (git rebase --abort
), and ii) with a minimum number of branches (git checkout master; git branch -D merge-request-branch
).
So we end up in master
only because it is a branch we can assume exists locally. Does this make sense?
from marge-bot.
ok, looking the log i pasted, indeed the rebase is done on origin/master
after fetch origin
. so it's behaving as i suggested. and i have no clues why the rebase failed in that scenario.
closing as i have no more information or suggestions to add.
thanks for looking into this!
from marge-bot.
Related Issues (20)
- Marge-bot logs "Someone skipped the queue! Will have to try again..." even though she merged an MR
- Guarantee final pipeline when assigned to marge-bot
- Bot cannot receive pipeline status with no-ff-merge HOT 10
- feature request: rebase without pushing
- Feature request: let marge bot leave a comment when she notices that an MR was assigned to her
- SSO User Support
- Bug: `--guarantee-final-pipeline` does not work with Gitlab CI
- "Branch cannot be merged" still happening HOT 1
- Source branches are not deleted when using batch mode HOT 4
- LetsEncrypt cert from the included CA Bundle is expired
- Marge Bot is logging PAT while fetching the repository
- Document group access tokens HOT 2
- Marge uses SSH even if I configure it to use HTTPS
- Marge ignores /etc/hosts
- Hard-to-interpret messages when discussions are unresolved
- Feature Request: Configure who to assign if merge doesn't work HOT 1
- Marge-bot container keeps restarting
- A holistic approach to versioning, CICD and audit reporting HOT 1
- Fix merging action when last source commit is not last target commit (gitlab_rebase) HOT 1
- Wait for CI to pass checks happen too fast for Jenkins plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marge-bot.