---
metadata:
    name: "Beet Mover Manifest"
    description: "Maps artifact locations to s3 key names for the en-US locale"
    owner: "release@mozilla.com"

mapping:
{% for locale in locales %}
  {{ locale }}:

  {% if platform == "win32" %}
    buildinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.json
    mozinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.mozinfo.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.mozinfo.json
    socorroinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.txt
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.txt
    jsshell:
      artifact: {{ artifact_base_url }}/jsshell-{{ platform }}.zip
      s3_key: {{ s3_prefix }}jsshell-{{ platform }}.zip
    mozharness_package:
      artifact: {{ artifact_base_url }}/mozharness.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/mozharness.zip
    xpi:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.langpack.xpi
      s3_key: {{ s3_prefix }}{{ platform }}/xpi/{{ locale }}.xpi
    symbols:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.crashreporter-symbols.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.crashreporter-symbols.zip
    buildid_info:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}_info.txt
      s3_key: {{ s3_prefix }}win32_info.txt
    sdk:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.sdk.zip
      s3_key: {{ s3_prefix }}firefox-{{ version }}.{{ platform }}.sdk.zip
    mar_tools_mar:
      artifact: {{ artifact_base_url }}/mar.exe
      s3_key: {{ s3_prefix }}mar-tools/win32/mar.exe
    mar_tools_mbdiff:
      artifact: {{ artifact_base_url }}/mbsdiff.exe
      s3_key: {{ s3_prefix }}mar-tools/win32/mbsdiff.exe
  {% endif %}

  {% if platform == "win64" %}
    buildinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.json
    mozinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.mozinfo.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.mozinfo.json
    socorroinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.txt
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.txt
    jsshell:
      artifact: {{ artifact_base_url }}/jsshell-{{ platform }}.zip
      s3_key: {{ s3_prefix }}jsshell-{{ platform }}.zip
    mozharness_package:
      artifact: {{ artifact_base_url }}/mozharness.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/mozharness.zip
    xpi:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.langpack.xpi
      s3_key: {{ s3_prefix }}{{ platform }}/xpi/{{ locale }}.xpi
    symbols:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.crashreporter-symbols.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.crashreporter-symbols.zip
    buildid_info:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}_info.txt
      s3_key: {{ s3_prefix }}win64_info.txt
    sdk:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.sdk.zip
      s3_key: {{ s3_prefix }}firefox-{{ version }}.{{ platform }}.sdk.zip
    mar_tools_mar:
      artifact: {{ artifact_base_url }}/mar.exe
      s3_key: {{ s3_prefix }}mar-tools/win64/mar.exe
    mar_tools_mbdiff:
      artifact: {{ artifact_base_url }}/mbsdiff.exe
      s3_key: {{ s3_prefix }}mar-tools/win64/mbsdiff.exe
  {% endif %}

  {% if platform == "linux-i686" %}
    buildinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.json
    mozinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.mozinfo.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.mozinfo.json
    socorroinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.txt
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.txt
    jsshell:
      artifact: {{ artifact_base_url }}/jsshell-{{ platform }}.zip
      s3_key: {{ s3_prefix }}jsshell-{{ platform }}.zip
    mozharness_package:
      artifact: {{ artifact_base_url }}/mozharness.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/mozharness.zip
    xpi:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.langpack.xpi
      s3_key: {{ s3_prefix }}{{ platform }}/xpi/{{ locale }}.xpi
    symbols:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.crashreporter-symbols.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.crashreporter-symbols.zip
    buildid_info:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}_info.txt
      s3_key: {{ s3_prefix }}linux_info.txt
    sdk:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.sdk.tar.bz2
      s3_key: {{ s3_prefix }}firefox-{{ version }}.{{ platform }}.sdk.tar.bz2
    mar_tools_mar:
      artifact: {{ artifact_base_url }}/mar
      s3_key: {{ s3_prefix }}mar-tools/linux/mar
    mar_tools_mbdiff:
      artifact: {{ artifact_base_url }}/mbsdiff
      s3_key: {{ s3_prefix }}mar-tools/linux/mbsdiff
  {% endif %}

  {% if platform == "linux-x86_64" %}
    buildinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.json
    mozinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.mozinfo.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.mozinfo.json
    socorroinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.txt
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.txt
    jsshell:
      artifact: {{ artifact_base_url }}/jsshell-{{ platform }}.zip
      s3_key: {{ s3_prefix }}jsshell-{{ platform }}.zip
    mozharness_package:
      artifact: {{ artifact_base_url }}/mozharness.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/mozharness.zip
    xpi:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.langpack.xpi
      s3_key: {{ s3_prefix }}{{ platform }}/xpi/{{ locale }}.xpi
    symbols:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.crashreporter-symbols.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.crashreporter-symbols.zip
    buildid_info:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}_info.txt
      s3_key: {{ s3_prefix }}linux64_info.txt
    sdk:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.sdk.tar.bz2
      s3_key: {{ s3_prefix }}firefox-{{ version }}.{{ platform }}.sdk.tar.bz2
    mar_tools_mar:
      artifact: {{ artifact_base_url }}/mar
      s3_key: {{ s3_prefix }}mar-tools/linux64/mar
    mar_tools_mbdiff:
      artifact: {{ artifact_base_url }}/mbsdiff
      s3_key: {{ s3_prefix }}mar-tools/linux64/mbsdiff
  {% endif %}

  {% if platform == "mac" %}
    buildinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.json
    mozinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.mozinfo.json
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.mozinfo.json
    socorroinfo:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.txt
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/firefox-{{ version }}.txt
    jsshell:
      artifact: {{ artifact_base_url }}/jsshell-{{ platform }}.zip
      s3_key: {{ s3_prefix }}jsshell-{{ platform }}.zip
    mozharness_package:
      artifact: {{ artifact_base_url }}/mozharness.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/mozharness.zip
    xpi:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.langpack.xpi
      s3_key: {{ s3_prefix }}{{ platform }}/xpi/{{ locale }}.xpi
    symbols:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}.crashreporter-symbols.zip
      s3_key: {{ s3_prefix }}{{ platform }}/{{ locale }}/Firefox {{ version }}.crashreporter-symbols.zip
    buildid_info:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}_info.txt
      s3_key: {{ s3_prefix }}macosx64_info.txt
    sdk:
      artifact: {{ artifact_base_url }}/firefox-{{ app_version }}.{{ locale }}.{{ platform }}-x86_64.sdk.tar.bz2
      s3_key: {{ s3_prefix }}firefox-{{ version }}.{{ platform }}-x86_64.sdk.tar.bz2
    mar_tools_mar:
      artifact: {{ artifact_base_url }}/mar
      s3_key: {{ s3_prefix }}mar-tools/macosx64/mar
    mar_tools_mbdiff:
      artifact: {{ artifact_base_url }}/mbsdiff
      s3_key: {{ s3_prefix }}mar-tools/macosx64/mbsdiff
  {% endif %}

{% endfor %}