tools/bisect_repackage/bisect_repackage.py
def update_upload_revision_map(context):
  """Updates and uploads a dictionary that maps from GitHash to CP number."""
  gs_base_url = '%s/%s' % (context.original_gs_bucket,
                           context.original_remote_path)
  revision_map = get_revision_map(context)
  hash_list = get_list_of_suffix(gs_base_url, context.file_prefix,
                                 bisect_repackage_utils.IsGitCommitHash)
  hash_list = list(set(hash_list)-set(revision_map.values()))
  cp_num_to_hash_map = create_cp_from_hash_map(hash_list)
  merged_dict = dict(cp_num_to_hash_map.items() + revision_map.items())
  upload_revision_map(merged_dict, context)
Updates and uploads a dictionary that maps from GitHash to CP number.
Updates and uploads a dictionary that maps from GitHash to CP number.
Updates and uploads a dictionary that maps from GitHash to CP number .
def update_upload_revision_map(context):
  gs_base_url = '%s/%s' % (context.original_gs_bucket,
                           context.original_remote_path)
  revision_map = get_revision_map(context)
  hash_list = get_list_of_suffix(gs_base_url, context.file_prefix,
                                 bisect_repackage_utils.IsGitCommitHash)
  hash_list = list(set(hash_list)-set(revision_map.values()))
  cp_num_to_hash_map = create_cp_from_hash_map(hash_list)
  merged_dict = dict(cp_num_to_hash_map.items() + revision_map.items())
  upload_revision_map(merged_dict, context)
def update_upload_revision_map ( context ) : gs_base_url = '%s/%s' % ( context . original_gs_bucket , context . original_remote_path ) revision_map = get_revision_map ( context ) hash_list = get_list_of_suffix ( gs_base_url , context . file_prefix , bisect_repackage_utils . IsGitCommitHash ) hash_list = list ( set ( hash_list ) - set ( revision_map . values ( ) ) ) cp_num_to_hash_map = create_cp_from_hash_map ( hash_list ) merged_dict = dict ( cp_num_to_hash_map . items ( ) + revision_map . items ( ) ) upload_revision_map ( merged_dict , context )
Updates and uploads a dictionary that maps from GitHash to CP number.
Updates and uploads a dictionary that maps from GitHash to CP number .
"""Updates and uploads a dictionary that maps from GitHash to CP number."""
context