From 891689f1fdf09bf06c5e5dd944f6a6ae43f2cfd8 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 18 Nov 2014 12:42:18 +0800 Subject: Bug 1098956: remove autoland support --- .../hook/bug/edit-after_custom_fields.html.tmpl | 101 --------------------- .../en/default/hook/bug/field-help-end.none.tmpl | 15 --- .../en/default/hook/bug/show-header-end.html.tmpl | 11 --- .../user-error-auth_failure_object.html.tmpl | 11 --- .../hook/global/user-error-errors.html.tmpl | 33 ------- 5 files changed, 171 deletions(-) delete mode 100644 extensions/TryAutoLand/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl delete mode 100644 extensions/TryAutoLand/template/en/default/hook/bug/field-help-end.none.tmpl delete mode 100644 extensions/TryAutoLand/template/en/default/hook/bug/show-header-end.html.tmpl delete mode 100644 extensions/TryAutoLand/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl delete mode 100644 extensions/TryAutoLand/template/en/default/hook/global/user-error-errors.html.tmpl (limited to 'extensions/TryAutoLand/template/en') diff --git a/extensions/TryAutoLand/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl b/extensions/TryAutoLand/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl deleted file mode 100644 index ed6224afe..000000000 --- a/extensions/TryAutoLand/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl +++ /dev/null @@ -1,101 +0,0 @@ -[%# 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 Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF user.in_group('autoland') %] - [% autoland_attachments = [] %] - [% autoland_waiting = 0 %] - [% autoland_running = 0 %] - [% autoland_finished = 0 %] - [% FOREACH attachment = bug.attachments %] - [% NEXT IF attachment.isprivate && !user.is_insider && attachment.attacher.id != user.id %] - [% NEXT IF attachment.isobsolete %] - [% NEXT IF !attachment.ispatch %] - [% autoland_attachments.push(attachment) %] - [% IF attachment.autoland_checked %] - [% IF attachment.autoland_status == 'waiting' %] - [% autoland_waiting = autoland_waiting + 1 %] - [% END %] - [% IF attachment.autoland_status == 'running' %] - [% autoland_running = autoland_running + 1 %] - [% END %] - [% IF attachment.autoland_status == 'success' || attachment.autoland_status == 'failed' %] - [% autoland_finished = autoland_finished + 1 %] - [% END %] - [% END %] - [% END %] - [% IF autoland_attachments.size %] - - - - AutoLand: - - - - (edit) - Total: [% autoland_attachments.size FILTER html %] - - Waiting: [% autoland_waiting FILTER html %] - - Running: [% autoland_running FILTER html %] - - Finished: [% autoland_finished FILTER html %] - -
- Branches (required):
-
- Try Syntax (required): (Default: [% autoland_default_try_syntax FILTER html %])
-
- Patches: -
- - [% FOREACH attachment = autoland_attachments %] - - - - - - [% END %] -
- [% IF attachment.autoland_checked %] - - [% END %] - - - - [% attachment.filename FILTER html %] - - - [% IF attachment.autoland_checked %] - - [% attachment.autoland_status FILTER html %] - - [% END %] - - [% IF attachment.autoland_checked %] - [% attachment.autoland_status_when FILTER time('%Y-%m-%d %H:%M') %] - [% END %] -
-
- - - - [% END %] -[% END %] diff --git a/extensions/TryAutoLand/template/en/default/hook/bug/field-help-end.none.tmpl b/extensions/TryAutoLand/template/en/default/hook/bug/field-help-end.none.tmpl deleted file mode 100644 index 899db60c4..000000000 --- a/extensions/TryAutoLand/template/en/default/hook/bug/field-help-end.none.tmpl +++ /dev/null @@ -1,15 +0,0 @@ -[%# 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 Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% - vars.help_html.autoland = - "TryAutoLand is a BMO extension that allows integration with the $terms.Bugzilla - AutoLanding system. Select patches on a $terms.bug will be picked up - automatically and landed on the try build server for specified branches. - Results of the try build will be sent back to the bug report as comments." -%] diff --git a/extensions/TryAutoLand/template/en/default/hook/bug/show-header-end.html.tmpl b/extensions/TryAutoLand/template/en/default/hook/bug/show-header-end.html.tmpl deleted file mode 100644 index c61f478ea..000000000 --- a/extensions/TryAutoLand/template/en/default/hook/bug/show-header-end.html.tmpl +++ /dev/null @@ -1,11 +0,0 @@ -[%# 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 Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF autoland %] - [% style_urls.push('extensions/TryAutoLand/web/style.css') %] -[% END %] diff --git a/extensions/TryAutoLand/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl b/extensions/TryAutoLand/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl deleted file mode 100644 index 50a1e48d5..000000000 --- a/extensions/TryAutoLand/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl +++ /dev/null @@ -1,11 +0,0 @@ -[%# 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 Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF object == 'autoland_attachments' %] - AutoLand attachments -[% END %] diff --git a/extensions/TryAutoLand/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/TryAutoLand/template/en/default/hook/global/user-error-errors.html.tmpl deleted file mode 100644 index c12950dcf..000000000 --- a/extensions/TryAutoLand/template/en/default/hook/global/user-error-errors.html.tmpl +++ /dev/null @@ -1,33 +0,0 @@ -[%# 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 Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF error == "autoland_invalid_status" %] - [% title = "AutoLand Invalid Status" %] - The status '[% status FILTER html %]' is not a valid - status for the AutoLand extension. Valid statuses - are [% valid.join(', ') FILTER html %]. - -[% ELSIF error == "autoland_invalid_attach_id" %] - [% title = "AutoLand Invalid Attachment ID" %] - The attachment id '[% attach_id FILTER html %]' is not - a valid id for the AutoLand extension. - -[% ELSIF error == "autoland_empty_try_syntax" %] - [% title = "AutoLand Empty Try Syntax" %] - You cannot have a value for Branches and have an empty Try Syntax value. - -[% ELSIF error == "autoland_empty_branches" %] - [% title = "AutoLand Empty Branches" %] - You cannot check one or more patches for AutoLanding and have an empty - Branches value. - -[% ELSIF error == "autoland_update_invalid_action" %] - [% title = "AutoLand Update Invalid Action" %] - The action '[% action FILTER html %]' is not a valid action. - Valid actions are [% valid.join(', ') FILTER html %]. -[% END %] -- cgit v1.2.3-24-g4f1b