)
)
)
- logging.getLogger('lib.git_helper').setLevel(logging.DEBUG)
- options, args = getopts()
- if git_helper.git_clone_remote_repository(GIT_REPO_PATH, GIT_TARGET_DIR):
- logger.info('git clone was successfull')
- else:
- logger_loud_error('git clone was not successfull')
- exit_error()
+ #logging.getLogger('lib.git_helper').setLevel(logging.DEBUG)
+ #options, args = getopts()
+ #if git_helper.git_clone_remote_repository(GIT_REPO_PATH, GIT_TARGET_DIR):
+ # logger.info('git clone was successfull')
+ #else:
+ # logger_loud_error('git clone was not successfull')
+ # exit_error()
- atexit.register(remove_git_target_workspace)
- os.chdir(GIT_TARGET_DIR)
+ #atexit.register(remove_git_target_workspace)
+ #os.chdir(GIT_TARGET_DIR)
# FIXME: this is just needed for gbp and can go away eventually
if GIT_BRANCH_NAME:
# treeish refspec when a name was given (i.e. tag names, branch names,
# etc.)
# TODO: upgrade git-buildpackage
- GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(
- os.path.join('origin', GIT_UPSTREAM_BRANCH)
- )
+ #GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(
+ # os.path.join('origin', GIT_UPSTREAM_BRANCH)
+ #)
# now checkout the requested branch
if git_helper.git_checkout_branch(GIT_UPSTREAM_BRANCH):