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 #8746: rudder-dev should check we are in the right repo fefore fetching an external branch #190

Conversation

peckpeck
Copy link
Member

# compare remote_branch/repo_name with upstream/repo_name
remote_url = os.popen("git ls-remote --get-url " + Config.UPSTREAM_REPOSITORY)
match = re.match(r'.*/([^/]+)\.git$', remote_url)
if pr.repo_name != matcg.group(1):
Copy link
Member

Choose a reason for hiding this comment

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

matcg -> match

@peckpeck peckpeck force-pushed the bug_8746/rudder_dev_should_check_we_are_in_the_right_repo_fefore_fetching_an_external_branch branch from 137b3d9 to 11db509 Compare July 22, 2016 15:40
@peckpeck
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 11db509 into Normation:master Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants