Closed Bug 1257504 Opened 9 years ago Closed 9 years ago

[mozillians] Fetch locales from github in all environments

Categories

(Infrastructure & Operations Graveyard :: WebOps: Engagement, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nemo-yiannis, Assigned: rwatson)

References

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2719] )

At the moment mozillians.org fetches localized strings from SVN. L10N SVN is being migrated to github, that means that we also need to change the way we fetch strings. In /data/www/<mozillians.org folder> we have a `locale` folder where all the strings are stored. This was initially checked out from here [1] on dev/stage and from here [2] on prod. Every time we release new code we also run some tasks using chief to fetch latest strings. In order to migrate to github, we need to do the following: * On dev/stage ** Remove /data/www/<mozillians.org folder>/locale ** Clone mozillians-l10n repo in the same folder *** git clone https://github.com/mozilla-l10n/mozillians-l10n.git locale * On prod ** Remove /data/www/<mozillians.org path>/locale ** Clone mozillians-l10n repo in the same folder *** git clone https://github.com/mozilla-l10n/mozillians-l10n.git locale ** Checkout to `production` branch *** cd locale *** git fetch origin *** git checkout -b production origin/production I suggest we change dev/stage first and verify everything before we change prod. Thank you! [1] https://svn.mozilla.org/projects/l10n-misc/trunk/mozillians/locales [2] https://svn.mozilla.org/projects/l10n-misc/tags/production/mozillians/locales [3] https://github.com/mozilla-l10n/mozillians-l10n.git
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2719]
I forgot to add some steps. In both cases in the end we should run: * cd locale * find . -name "*.mo" -delete * ./compile.sh .
Blocks: 1247593
Is there any update regarding this one? Thanks!
Flags: needinfo?(smani)
Assignee: server-ops-webops → rwatson
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(smani)
Resolution: --- → FIXED
Verified everything, all envs look OK.
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.