def url()

in aws/hhvm1/lambdas/common.py [0:0]


def url(path, version=None):
  org = 'hhvm'
  br = branch(version)

  # overrides from Config only apply to URLs without version
  if not version:
    org = Config.override_org or org
    br = Config.override_branch or br

  return f'https://raw.githubusercontent.com/{org}/packaging/{br}/{path}'