Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Babel / Large Contribution Import Process"
< Babel
(New page: This document describes the process the Babel committer uses to import large contributions into the Babel server. Submitting such a contribution is documented here: http://www.eclipse.org...) |
|||
Line 10: | Line 10: | ||
== Import on Staging == | == Import on Staging == | ||
# su - genie | # su - genie | ||
− | # Edit /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php to ensure the target project_id and | + | # copy the CVS version of import_translation_zip.php to the STAGING web root: cp /home/data/httpd/babel.eclipse.org/staging/classes/export/import_translation_zip.php /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php |
+ | # Edit /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php to ensure the target project_id and version are set | ||
+ | # 'run' the above file using wget: wget http://babel.eclipse.org/staging/import_XXXX_zip.php <-- file name fudged to avoid crawlers | ||
+ | # Check the translations using the http://babel.eclipse.org/staging/recent.php | ||
== Import on Live == | == Import on Live == | ||
+ | # su - genie | ||
+ | # copy the STAGING version of import_translation_zip.php to the LIVE web root: cp /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php /home/data/httpd/babel.eclipse.org/babel/html/import_translation_zip.php | ||
+ | # 'run' the above file using wget: wget http://babel.eclipse.org/babel/import_XXXX_zip.php <-- file name fudged to avoid crawlers | ||
+ | # Check the translations using the http://babel.eclipse.org/babel/recent.php |
Revision as of 09:58, 25 August 2008
This document describes the process the Babel committer uses to import large contributions into the Babel server.
Submitting such a contribution is documented here: http://www.eclipse.org/babel/development/large_contributions.php
Preparation
- Make sure the contribution follows the spec, and that is has been approved by Eclipse Legal by submitting it to IPZilla
- Unzip the file to babel.eclipse.org:/tmp/tmp-babel/import
- Inspect some files in each language to ensure they are properly encoded. Run/hack convertiso.sh as needed.
Import on Staging
- su - genie
- copy the CVS version of import_translation_zip.php to the STAGING web root: cp /home/data/httpd/babel.eclipse.org/staging/classes/export/import_translation_zip.php /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php
- Edit /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php to ensure the target project_id and version are set
- 'run' the above file using wget: wget http://babel.eclipse.org/staging/import_XXXX_zip.php <-- file name fudged to avoid crawlers
- Check the translations using the http://babel.eclipse.org/staging/recent.php
Import on Live
- su - genie
- copy the STAGING version of import_translation_zip.php to the LIVE web root: cp /home/data/httpd/babel.eclipse.org/staging/html/import_translation_zip.php /home/data/httpd/babel.eclipse.org/babel/html/import_translation_zip.php
- 'run' the above file using wget: wget http://babel.eclipse.org/babel/import_XXXX_zip.php <-- file name fudged to avoid crawlers
- Check the translations using the http://babel.eclipse.org/babel/recent.php