L10n:Migration: Difference between revisions

updates, more to come
(update dashboard url, better copy'n'paste)
(updates, more to come)
Line 7: Line 7:
   mkdir -p l10n/mozilla-aurora
   mkdir -p l10n/mozilla-aurora
   mkdir -p l10n/mozilla-beta
   mkdir -p l10n/mozilla-beta
  export LOCS=`wget -qO- 'http://hg.mozilla.org/releases/l10n/mozilla-beta/?style=raw'|grep -v x-testing|awk -F/ '{print $5;}'`
  for l in $LOCS; do hg
    
    
Put this script (upclones.sh) in your $PATH:
Put this script (upclones.sh) in your $PATH:
Line 14: Line 18:
HERE=`pwd`
HERE=`pwd`
CHANNEL=$1
CHANNEL=$1
SHIPPEDLOCALES=$2
for loc in `cat $SHIPPEDLOCALES | awk '{print $1;}' | sort | uniq`; do 


    if [[ $loc == 'en-US' ]]; then
for loc in $LOCS; do 
        continue
    fi


     CLONE="$HERE/$loc"
     CLONE="$HERE/$loc"


     if [[ -d $CLONE/.hg ]]; then
     if [[ -d $CLONE/.hg ]]; then
         hg -R $CLONE pull -u
         hg -R $CLONE pull -u -r default
     else
     else
         hg clone ssh://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$loc $CLONE
         hg clone -r default ssh://hg.mozilla.org/releases/l10n/mozilla-$CHANNEL/$loc $CLONE
     fi
     fi


done
done
</nowiki></pre>
</nowiki></pre>
Clone the l10n repos:
  cd releases/l10n/mozilla-aurora
  upclones.sh aurora ../../mozilla-aurora/browser/locales/shipped-locales
  cd releases/l10n/mozilla-beta
  upclones.sh beta ../../mozilla-beta/browser/locales/shipped-locales
Check out https://l10n.mozilla.org/source/pushes/releases/l10n/mozilla to make sure you have the latest changesets in the l10n repos.  If you don't, run upclones.sh again.


== Merge ==
== Merge ==
Confirmed users, Bureaucrats and Sysops emeriti
2,976

edits