Closed Bug 767207 Opened 12 years ago Closed 12 years ago

[Fx14] Only fire what's new pages in certain locales

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lforrest, Assigned: nthomas)

References

Details

Attachments

(1 file)

With the launch of Fx14 we'd like to only show the what's new page to certain locales, not all, since Firefox for Android will not be available to all locales. 

So - I'm wondering if we can set it to only display to:

-English (en)
-French (fr)
-Italian (it)
-German (de)
-Spain (es)
-Japanese (ja)
-Korean (ko)

The What's New page would not display in all other locales. 

Is this possible? Let's gauge the cost/benefit here. As we may want to do this in the future outside of Fx14 it's partially a RelEng capability that will be good for Engagement to understand better.
This is pretty do-able. 

For just a few locales like that we'd generate the snippets with 'actions   silent' in the patcher config then do something like this (untested!):
 cd /opt/aus2/snippets/staging
 rsync -a Firefox-14.0.1-build1{,-withWN}/
 for f in "Firefox-14.0.1-build1-withWN/*/*/*/$l -type f"; do
   sed -i -e 's/^actions.*$//' $f
 done
and repeat for test snippets. I've morphed en -> en-US, es -> es-ES, ja -> ja-JP & ja-JP-mac, and assumed you want to target all version (10.0+) and platforms.

If we go ahead with this please set it as a blocker on bug 758795.
Thanks Nick!

One change to comment 0 - we'd like to add the Russian locale, Russian (ru) and all spanish and english speaking locales, making the final list:

-English speaking, all: (en-US)(en-GB)
-French (fr)
-Italian (it)
-German (de)
-Spanish speaking, all: (es-ES)(es-AR)(es-CL)(es-MX)
-Japanese (ja-JP ja-JP-mac)
-Korean (ko)
- Russian (ru)

Yes, all versions and platforms. 

Setting as a blocker. Thanks!
Blocks: 758795
Blocks: 767204
This would land about the time we build 14.0.whatever-we're-up-to for real.
Attachment #636539 - Flags: review?(rail)
Tested code snippet with updated locale list, assuming we're doing 14.0.1 (ie no extra mobile releases):

 locales="en-US en-GB fr it de es-ES es-AR es-CL es-MX ja ja-JP-mac ko ru"

 # backup auto-generated snippets
 cd /opt/aus2/snippets/staging
 rsync -a Firefox-14.0.1-build1{,-withoutWN}/
 rsync -a Firefox-14.0.1-build1-test{,-withoutWN}/

 for l in $locales; do
   for f in `find Firefox-14.0.1-build1{,-test}/*/*/*/*/$l -type f`; do
     sed -i '/^actions.*$/d' $f
   done
 done

 # repush test snippets
 pushsnip Firefox-14.0.1-build1-test
Attachment #636539 - Flags: review?(rail) → review+
Assignee: akeybl → nrthomas
Comment on attachment 636539 [details] [diff] [review]
[cvs] globally disable WN pages

Checking in mozRelease-branch-patcher2.cfg;
/cvsroot/mozilla/tools/patcher-configs/mozRelease-branch-patcher2.cfg,v  <--  mozRelease-branch-patcher2.cfg
new revision: 1.36; previous revision: 1.35
done

We should run the shell script in comment #4 after the updates builder runs. We'll also have extra partials to generate, but I'm pretty sure AUS only reads the action out of the complete snippet so we just make sure that we don't upload complete snippets then.
Attachment #636539 - Flags: checked-in+
Should this bug be marked RESO-FIXED based on comment #5?
The actual work was documented at 
 https://wiki.mozilla.org/Releases/Firefox_14.0.1/BuildNotes-Updates#Adjust_What.27s_New_in_snippets
All done.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: