def GetRepoUrlFromContext(context):
  """Constructs repo url using context.

  Args:
    context (findit_v2.services.context.Context): Scope of the analysis.

  Returns:
    (str): repo url.
  """
  return 'https://{host}/{project}.git'.format(
      host=context.gitiles_host, project=context.gitiles_project)