Closed Bug 609265 Opened 14 years ago Closed 14 years ago

[dashboard][shipping] create web form for l10n-changesets json

Categories

(Mozilla Localizations :: Infrastructure, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

Details

We should fix the cruft of me running a django command to do the l10n-changesets json.

Here's the next hack:

Integrate a form into the confirm-ship, allowing for platforms, variable multi-locales, etc.

This doesn't need to be nicer UI than what we do for the tuples, so I can hack on this.
Patch landed and in production, http://hg.mozilla.org/l10n/django-site/rev/64a7785a4f13.

Little shop of horrors, my UI. If you want better ones, go by morgamic's desk and lobby for our hire ;-)

https://l10n-stage-sj.mozilla.org/shipping/confirm-ship?ms=fennec4.0b2 has an example, and I'll talk you through how to use it:

End-goal is for the dashboard to actually load the data for multi-locale builds from its local repos.
Caveat: This does not yet work for builds that want to ship ja-JP-mac.
Regular l10n-changesets is unchanged, though.

So, here's the educational part:

If you're shipping a fennec, you want to use the "alternative" path by filling out the form and generating the l10n-changesets.json. The form takes:

- the platforms to ship in all locales, [, ]+ splits that. Defaults to just maemo
- an extensible list specifying which locales get extra platforms, i.e., multis
each is a triple, specifying the repo from which to load the file
-- repo, relative path to the repo, defaults to mobile-browser
-- revision, hg revision string, defaults to default. You don't want release tags here, the version is just for historic replays
-- path, the path to the locales list inside the repo, defaults to maemo-locales.

At this point, you click on add once, then tweak maemo-multilocale to android-multilocale, click add again, and then generate.

That brings you to https://l10n-stage-sj.mozilla.org/shipping/json-changesets?ms=fennec4.0b2&platforms=maemo&multi_maemo-multilocale_repo=mobile-browser&multi_maemo-multilocale_rev=default&multi_maemo-multilocale_path=locales%2Fmaemo-locales&multi_android-multilocale_repo=mobile-browser&multi_android-multilocale_rev=default&multi_android-multilocale_path=locales%2Fmaemo-locales, which is all your l10n-changesets.json please without me in the way.

The rest of the shipping dance works as it was, once you downloaded the final version of the changesets, hit the "Ship it" button.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.