Closed
Bug 1146426
Opened 10 years ago
Closed 10 years ago
Add support for funsize in desktop_l10n.py
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: massimo, Assigned: massimo)
References
Details
Attachments
(2 files)
1.16 KB,
patch
|
rail
:
review+
massimo
:
checked-in+
|
Details | Diff | Splinter Review |
807 bytes,
patch
|
massimo
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
Our desktop_l10n.py script should expose the following properties to funsize:
* platform
* branch
* appName
* list of locales
Comment 1•10 years ago
|
||
I looked at http://dev-master2.bb.releng.use1.mozilla.com:8914/builders/WINNT%206.1%20x86-64%20ash%20nightly%20l10n%201%2F5/builds/13
This what we have there now:
branch: WINNT 6.1 x86-64 ash (sounds wrong)
locales: {"en-GB": "Success", "eo": "Success", "ast": "Success", "es-AR": "Success", "de": "Success", "es-CL": "Success", "ar": "Success", "cs": "Success"} (this is good, enough for funsize)
product: firefox (need appName: aka Firefox)
platform: win64 (this is good, enough for funsize)
As a summary:
1) fix branch
2) set appName property
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8583836 -
Flags: review?(rail)
Updated•10 years ago
|
Attachment #8583836 -
Flags: review?(rail) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8583836 [details] [diff] [review]
[mozharness] Bug 1146426 - add support for funsize in mozharness repacks.patch
Thanks Rail!
https://hg.mozilla.org/build/mozharness/rev/2ec79d0bea5f
Attachment #8583836 -
Flags: checked-in+
Assignee | ||
Comment 5•10 years ago
|
||
It's in production and it generates:
...
06:24:28 INFO - #####
06:24:28 INFO - ##### Running funsize-props step.
06:24:28 INFO - #####
06:24:28 INFO - Running main action method: funsize_props
06:24:28 INFO - funsize info: {'platform': 'linux', 'branch': 'mozilla-central', 'locales': ['ar', 'ast', 'cs', 'de', 'en-GB', 'eo', 'es-AR', 'es-CL', 'es-ES', 'es-MX', 'fa', 'fr', 'fy-NL', 'gl'], 'appName': 'Firefox'}
06:24:28 INFO - Setting buildbot property funsize_info to {'platform': 'linux', 'branch': 'mozilla-central', 'locales': ['ar', 'ast', 'cs', 'de', 'en-GB', 'eo', 'es-AR', 'es-CL', 'es-ES', 'es-MX', 'fa', 'fr', 'fy-NL', 'gl'], 'appName': 'Firefox'}
06:24:28 INFO - mkdir: /builds/slave/m-cen-lx-l10n-ntly-1-000000000/properties
06:24:28 INFO - Writing buildbot properties ['funsize_info'] to /builds/slave/m-cen-lx-l10n-ntly-1-000000000/properties/funsize_info
06:24:28 INFO - Writing to file /builds/slave/m-cen-lx-l10n-ntly-1-000000000/properties/funsize_info
06:24:28 INFO - Contents:
06:24:28 INFO - funsize_info:{'platform': 'linux', 'branch': 'mozilla-central', 'locales': ['ar', 'ast', 'cs', 'de', 'en-GB', 'eo', 'es-AR', 'es-CL', 'es-ES', 'es-MX', 'fa', 'fr', 'fy-NL', 'gl'], 'appName': 'Firefox'}
...
So I think there's nothing else to do :)
Flags: needinfo?(mgervasini)
Comment 7•10 years ago
|
||
Need to json.dumps() as in https://hg.mozilla.org/build/mozharness/file/2ec79d0bea5f/scripts/desktop_l10n.py#l509 to make it JSON compatible (double quotes instead of single quotes).
Updated•10 years ago
|
Attachment #8594335 -
Flags: review?(mgervasini)
Updated•10 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8594335 [details] [diff] [review]
json.dumps.diff
Thanks rail!
Attachment #8594335 -
Flags: review?(mgervasini) → review+
Comment 9•10 years ago
|
||
Comment on attachment 8594335 [details] [diff] [review]
json.dumps.diff
https://hg.mozilla.org/build/mozharness/rev/b693ae365bfa
Attachment #8594335 -
Flags: checked-in+
Comment 10•10 years ago
|
||
mgerva, can you take care of landing this? I'm not sure what is required here, merge to production only or pinning as well.
Flags: needinfo?(mgervasini)
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #10)
> mgerva, can you take care of landing this? I'm not sure what is required
> here, merge to production only or pinning as well.
mozharness repacks use the tip of production branch. I am running a reconfig in few minutes.
Flags: needinfo?(mgervasini)
Comment 12•10 years ago
|
||
mozharness production tag moved to: https://hg.mozilla.org/build/mozharness/rev/production
Comment 14•10 years ago
|
||
LGTM!
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Flags: needinfo?(rail)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•