Closed Bug 863334 Opened 11 years ago Closed 11 years ago

l10n shipping tools for a Fennec milestone should have android-multilocale in the default output of l10n-changesets.json

Categories

(Webtools Graveyard :: Elmo, defect, P2)

x86_64
Linux
defect

Tracking

(firefox21-, firefox22-, firefox23-)

RESOLVED FIXED
Tracking Status
firefox21 - ---
firefox22 - ---
firefox23 - ---

People

(Reporter: lsblakk, Assigned: Pike)

Details

Attachments

(1 file, 1 obsolete file)

When you go to https://l10n.mozilla.org/shipping/about-milestone/fennec21_beta_b3
for example, and click on Shipping Tools then you have to do the following: https://wiki.mozilla.org/images/thumb/2/24/Explicit_fennec_changesets.png/800px-Explicit_fennec_changesets.png  otherwise clicking on l10n-changesets.json only outputs 'android' locales & changesets.

It seems we never do builds without android-multilocale, so those should be included in the default, to prevent their absence (as happened with FF21.0b2) and so that there are fewer steps when going to build. If someone needs to adjust a l10n-changeset.json to not follow this default pattern, they can do so manually (for now) until there might be options to both add and remove other platforms from the changesets file generated.

Assigning this to Axel since afaik he's the only person who can work on changes to this tool/site - if another person is able to do it then re-assign accordingly.

Given that this is a FF20 post mortem action, I'm setting tracking so that we stay on this and resolve it within the next two release cycles since this is quite a small change.
Summary: l10n shipping tools for a Fennec milestone should have android-multilocale in the default output of l10n-changeset.json → l10n shipping tools for a Fennec milestone should have android-multilocale in the default output of l10n-changesets.json
Assignee: l10n → nobody
Component: Infrastructure → Elmo
Product: Mozilla Localizations → Webtools
Version: unspecified → Trunk
Priority: -- → P2
I've submitted a pull request that should do this - r? https://github.com/mozilla/elmo/pull/6
Comment on attachment 740360 [details] [review]
Add android-multilocale as a default in l10n-changesets 'platforms'

Lukas, thanks for the patch. Sadly, just changing the platforms won't work, the trick is to synthesize a click on the "add" button.

Should be done by calling addMulti() in https://github.com/mozilla/elmo/blob/develop/apps/shipping/static/shipping/js/about-milestone.js#L29

Technically, we're developing with git flow, which means, we need pull requests against the 'develop' branch.
Attachment #740360 - Flags: review?(l10n) → review-
Peter, this avoids that relman can forget to click the button, so it just does that in the onload handler.

This code is used in about-milestone, in the shipping details to create the json export.
Assignee: nobody → l10n
Attachment #740360 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #740788 - Flags: review?(peterbe)
Comment on attachment 740788 [details] [diff] [review]
pretend the button was clicked

Review of attachment 740788 [details] [diff] [review]:
-----------------------------------------------------------------

r+ with a small nit about lack of comment why

::: apps/shipping/static/shipping/js/about-milestone.js
@@ +27,4 @@
>      return false;
>    });
>    $("#add-multi").click(addMulti);
> +  addMulti();

This is rather surprising to see in code if you don't know the reason or context. 

Perhaps a little comment that explains why it's triggered on dom load.
Attachment #740788 - Flags: review?(peterbe) → review+
Commit pushed to develop at https://github.com/mozilla/elmo

https://github.com/mozilla/elmo/commit/0c772e6f075c0db3998e8bc7e90902f27704bc47
bug 863334, make android-multi show up by default, r=peterbe.
Let's focus this export on mobile, and make the first button press happen
by default
This is FIXED and deployed in production.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.2
Attachment mime type: text/plain → text/x-github-pull-request
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: