Lines Matching +full:- +full:- +full:branch

9 #      http://www.apache.org/licenses/LICENSE-2.0
40 branch_name = 'update-' + (build or 'local')
41 logging.info('Creating branch {branch} in {dir}'.format(
42 branch=branch_name, dir=os.getcwd()))
59 def install_snapshot(branch, build, local_dir, install_dir, temp_artifact_dir): argument
66 branch: string or None, branch name of build artifacts
73 artifact_pattern = 'android-vndk-*.zip'
75 if branch and build:
78 logging.info('Fetching {pattern} from {branch} (bid: {build})'.format(
79 pattern=artifact_pattern, branch=branch, build=build))
80 utils.fetch_artifact(branch, build, artifact_pattern)
83 logging.info('Fetching {file} from {branch} (bid: {build})'.format(
84 file=manifest_pattern, branch=branch, build=build))
85 utils.fetch_artifact(branch, build, manifest_pattern,
96 utils.check_call(['unzip', '-qn', artifact, '-d', install_dir])
184 def commit(branch, build, version): argument
190 Taken from branch {branch}.""").format(
191 version=version, branch=branch, build=build)
192 utils.check_call(['git', 'commit', '-m', message])
195 def run(vndk_version, branch, build_id, local, use_current_branch, remote, argument
201 branch: string, Branch to pull build from.
205 use-current-branch: boolean, Perform the update in the current branch.
216 if build_id or branch:
218 'When --local option is set, --branch or --build cannot be '
225 if not (build_id and branch):
227 'Please provide both --branch and --build or set --local '
252 install_snapshot(branch, build_id, local_path, install_dir,
262 if not local_path and not branch.startswith('android'):
279 commit(branch, build_id, vndk_version)
294 parser.add_argument('-b', '--branch', help='Branch to pull build from.')
295 parser.add_argument('--build', help='Build number to pull.')
297 '--local',
300 'Example: --local=/path/to/local/dir'))
302 '--use-current-branch',
304 help='Perform the update in the current branch. Do not repo start.')
306 '--remote',
311 '-v',
312 '--verbose',
315 help='Increase output verbosity, e.g. "-v", "-vv".')
322 run(args.vndk_version, args.branch, args.build, args.local,