l10n_bumper configs for thunderbird draft
authorRob Lemley <rob@thunderbird.net>
Thu, 25 Jul 2019 14:48:01 -0400
changeset 76442 eb9e4c9d8da91928e85c77095b8593670359fb6c
parent 75803 25b0e44d0dd86d3e2ee227f54d37ada2941ede3a
child 76443 9e0ad726ffefc3c0639e70dd0fdc40ae78fd5f14
push id8893
push userthunderbird@calypsoblue.org
push dateThu, 25 Jul 2019 19:27:56 +0000
treeherdertry-comm-central@55db4130c824 [default view] [failures only]
l10n_bumper configs for thunderbird
mozharness/l10n_bumper/comm-beta.py
mozharness/l10n_bumper/comm-central.py
mozharness/l10n_bumper/comm-esr68.py
new file mode 100644
--- /dev/null
+++ b/mozharness/l10n_bumper/comm-beta.py
@@ -0,0 +1,47 @@
+MULTI_REPO = "releases/comm-beta"
+
+config = {
+    "log_name": "l10n_bumper",
+
+    "gecko_pull_url": "https://hg.mozilla.org/{}".format(MULTI_REPO),
+    "gecko_push_url": "ssh://hg.mozilla.org/{}".format(MULTI_REPO),
+
+    "hg_user": "L10n Bumper Bot <release+l10nbumper@mozilla.com>",
+    "ssh_key": "~/.ssh/ffxbld_rsa",
+    "ssh_user": "ffxbld",
+
+    "version_path": "mail/config/version.txt",
+
+    "bump_configs": [{
+        "path": "mail/locales/l10n-changesets.json",
+        "format": "json",
+        "name": "Thunderbird l10n changesets",
+        "revision_url": "https://l10n.mozilla.org/shipping/l10n-changesets?av=tb%(MAJOR_VERSION)s",
+        "ignore_config": {
+            "ja": ["macosx64"],
+            "ja-JP-mac": [
+                "linux", "linux64",
+                "win32", "win64",
+            ],
+        },
+        "platform_configs": [{
+            "platforms": [
+                "linux", "linux64",
+                "macosx64", "win32",
+                "win64",
+            ],
+            "path": "mail/locales/shipped-locales",
+            "format": "shipped-locales",
+        }],
+    }],
+}
+
+#  This Source Code Form is subject to the terms of the Mozilla Public
+#  License, v. 2.0. If a copy of the MPL was not distributed with this
+#  file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This is a hack to run the script in a checkout Running this will
+# leave some detritus in the mozilla-central directory.
+config.update({
+    'gecko_local_dir': '../comm',
+})
new file mode 100644
--- /dev/null
+++ b/mozharness/l10n_bumper/comm-central.py
@@ -0,0 +1,44 @@
+MULTI_REPO = "comm-central"
+
+config = {
+    "log_name": "l10n_bumper",
+
+    "gecko_pull_url": "https://hg.mozilla.org/{}".format(MULTI_REPO),
+    "gecko_push_url": "ssh://hg.mozilla.org/{}".format(MULTI_REPO),
+
+    "hg_user": "L10n Bumper Bot <release+l10nbumper@mozilla.com>",
+    "ssh_key": "~/.ssh/ffxbld_rsa",
+    "ssh_user": "ffxbld",
+
+    "vcs_share_base": "/builds/hg-shared",
+    "version_path": "mail/config/version.txt",
+
+    "bump_configs": [{
+        "path": "mail/locales/l10n-changesets.json",
+        "format": "json",
+        "name": "Firefox l10n changesets",
+        "ignore_config": {
+            "ja": ["macosx64"],
+            "ja-JP-mac": [
+                "linux", "linux64",
+                "win32", "win64",
+            ],
+        },
+        "platform_configs": [{
+            "platforms": [
+                "linux", "linux64",
+                "macosx64", "win32",
+                "win64",
+            ],
+            "path": "mail/locales/all-locales",
+        }],
+    }],
+}
+
+#  This Source Code Form is subject to the terms of the Mozilla Public
+#  License, v. 2.0. If a copy of the MPL was not distributed with this
+#  file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This is a hack to run the script in a checkout Running this will
+# leave some detritus in the mozilla-central directory.
+config['gecko_local_dir'] = '../comm'
new file mode 100644
--- /dev/null
+++ b/mozharness/l10n_bumper/comm-esr68.py
@@ -0,0 +1,51 @@
+MULTI_REPO = "releases/comm-esr68"
+
+config = {
+    "actions": [
+        'bump-changesets',
+    ],
+
+    "log_name": "l10n_bumper",
+
+    "gecko_pull_url": "https://hg.mozilla.org/{}".format(MULTI_REPO),
+    "gecko_push_url": "ssh://hg.mozilla.org/{}".format(MULTI_REPO),
+
+    "hg_user": "L10n Bumper Bot <release+l10nbumper@mozilla.com>",
+    "ssh_key": "~/.ssh/ffxbld_rsa",
+    "ssh_user": "ffxbld",
+
+    "version_path": "mail/config/version.txt",
+
+    "bump_configs": [{
+        "path": "mail/locales/l10n-changesets.json",
+        "format": "json",
+        "name": "Thunderbird l10n changesets",
+        "revision_url": "https://l10n.mozilla.org/shipping/l10n-changesets?av=tb%(MAJOR_VERSION)s",
+        "ignore_config": {
+            "ja": ["macosx64"],
+            "ja-JP-mac": [
+                "linux", "linux64",
+                "win32", "win64",
+            ],
+        },
+        "platform_configs": [{
+            "platforms": [
+                "linux", "linux64",
+                "macosx64", "win32",
+                "win64",
+            ],
+            "path": "mail/locales/shipped-locales",
+            "format": "shipped-locales",
+        }],
+    }],
+}
+
+#  This Source Code Form is subject to the terms of the Mozilla Public
+#  License, v. 2.0. If a copy of the MPL was not distributed with this
+#  file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This is a hack to run the script in a checkout Running this will
+# leave some detritus in the mozilla-central directory.
+config.update({
+    'gecko_local_dir': '../comm',
+})