Difference between revisions of "Service/translate"

From Sugar Labs
Jump to navigation Jump to search
Line 43: Line 43:
  
 
http://git.sugarlabs.org/projects/pootle-helpers
 
http://git.sugarlabs.org/projects/pootle-helpers
 +
 +
Scheduled jobs:
 +
 +
pootle@pootle:~$ crontab -l
 +
MAILTO="sayamindu@sugarlabs.org"
 +
# m h  dom mon dow  command
 +
30 00 * * * /usr/bin/python /var/lib/pootle/maintenance/helpers/potupdater/pogenerator.py  /var/lib/pootle/maintenance/helpers/potupdater/project_list.ini
 +
#00 00 * * * git --git-dir=/var/lib/pootle/checkouts/etoys/.git pull
 +
45 00 * * * python /var/lib/pootle/langpackgen/src/LangPackGen/pack_generator.py /var/lib/pootle/langpackgen/data/langpackgen_84.ini /var/lib/pootle/public_html/packs/0.84
 +
40 00 * * * python /var/lib/pootle/langpackgen/src/LangPackGen/pack_generator.py /var/lib/pootle/langpackgen/data/langpackgen_82.ini /var/lib/pootle/public_html/packs/0.82
 +
 +
Refresh stats, needed when the database and the checked out modules get out of sync:
 +
 +
/usr/lib/python-django/bin/django-admin.py refresh_stats --settings=pootle.settings
  
 
== Upgrade notes ==
 
== Upgrade notes ==

Revision as of 12:02, 28 September 2010

Hostnames


Hosted on

Machine/pootle


Administrative contact


Sysadmins

Language Administrators

Language administrators are typically native speakers of a given language that take on responsibility (granted by a Pootle administrator after a request to the Localization list) for reviewing and committing PO files for a given language. Contacting language administrators is generally done by posting to the Localization list.

More information on language administrator duties can be found on this page


Notes

How to manipulate users:

django-admin shell --settings=pootle.settings
>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username='bernie')
>>> u.is_superuser = True
>>> u.save()


Various scripts documented here:

http://git.sugarlabs.org/projects/pootle-helpers

Scheduled jobs:

pootle@pootle:~$ crontab -l
MAILTO="sayamindu@sugarlabs.org"
# m h  dom mon dow   command
30 00 * * * /usr/bin/python /var/lib/pootle/maintenance/helpers/potupdater/pogenerator.py  /var/lib/pootle/maintenance/helpers/potupdater/project_list.ini
#00 00 * * * git --git-dir=/var/lib/pootle/checkouts/etoys/.git pull
45 00 * * * python /var/lib/pootle/langpackgen/src/LangPackGen/pack_generator.py /var/lib/pootle/langpackgen/data/langpackgen_84.ini /var/lib/pootle/public_html/packs/0.84
40 00 * * * python /var/lib/pootle/langpackgen/src/LangPackGen/pack_generator.py /var/lib/pootle/langpackgen/data/langpackgen_82.ini /var/lib/pootle/public_html/packs/0.82

Refresh stats, needed when the database and the checked out modules get out of sync:

/usr/lib/python-django/bin/django-admin.py refresh_stats --settings=pootle.settings

Upgrade notes

See Also