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

Fixes #8429: rudder-dev merge --test can fail #157

Merged

Conversation

peckpeck
Copy link
Member

@peckpeck
Copy link
Member Author

Commit modified

@peckpeck peckpeck force-pushed the bug_8429/rudder_dev_merge_test_can_fail branch from 1f5b6b1 to b5f866c Compare May 31, 2016 14:41
@peckpeck peckpeck force-pushed the bug_8429/rudder_dev_merge_test_can_fail branch from b5f866c to 5a6127a Compare May 31, 2016 15:11
@peckpeck
Copy link
Member Author

Commit modified

@peckpeck peckpeck force-pushed the bug_8429/rudder_dev_merge_test_can_fail branch from 5a6127a to 00e7c61 Compare May 31, 2016 15:17
@peckpeck
Copy link
Member Author

Commit modified

@peckpeck
Copy link
Member Author

This is a test

@@ -846,6 +848,8 @@ def insert_line(filename, regex, text):
# fetch a branch from a PR
def fetch_branch_from_pr(pr):
branch_name = pr.remote_branch()
# PR can be rebased, first destroy existing branch
shell("git branch -D " + branch_name + " 2>/dev/null || true", "Cleaning existing fetched branch")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not be branch_name that should be deleted but a branch created for the fetch (branch_name_remote ? )

@peckpeck
Copy link
Member Author

peckpeck commented Jun 1, 2016

Commit modified

@peckpeck peckpeck force-pushed the bug_8429/rudder_dev_merge_test_can_fail branch from 00e7c61 to 1fcf620 Compare June 1, 2016 12:04
@@ -846,7 +848,8 @@ def insert_line(filename, regex, text):
# fetch a branch from a PR
def fetch_branch_from_pr(pr):
branch_name = pr.remote_branch()
shell("git fetch --update-head-ok " + pr.repo() + " " + branch_name + ":" + branch_name, "Fetching branch from remote " + pr.repo())
# PR can be rebased, first destroy existing branch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commentis noit accurate, we don't destroy branch but force update on a dedicated branch

@peckpeck
Copy link
Member Author

peckpeck commented Jun 1, 2016

Commit modified

@peckpeck peckpeck force-pushed the bug_8429/rudder_dev_merge_test_can_fail branch from 1fcf620 to 16018fa Compare June 1, 2016 12:33
@VinceMacBuche
Copy link
Member

Can be merged :)

@peckpeck peckpeck merged commit 16018fa into Normation:master Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants