[Systems] Pootle 2.5 porting [Work in Progress]

Aneesh Dogra aneesh at sugarlabs.org
Fri Jul 5 08:46:06 EDT 2013


Okay done! I am "lionaneesh" on IRC and I'll be there on #sugar
irc.freenode.net.


On Fri, Jul 5, 2013 at 6:14 PM, Roberto Rodriguez Alcala <rralcala at gmail.com
> wrote:

> Can we do it at 17:00 UTC?
>
>
> On Fri, Jul 5, 2013 at 2:42 PM, Aneesh Dogra <aneesh at sugarlabs.org> wrote:
>
>> Perfect. Let's setup an IRC meeting in 2 hours?
>>
>>
>> On Fri, Jul 5, 2013 at 6:10 PM, Roberto Rodriguez Alcala <
>> rralcala at gmail.com> wrote:
>>
>>> Hi
>>>
>>> I'm still settling at my new place with scarce free time but please ping
>>> me if I can help in anything.
>>>
>>> I'll normally make time for it within 2 to 4 hours.
>>>
>>> bernie: I'll also keep an eye on munin.
>>>
>>> Best,
>>>
>>> Roberto
>>>
>>>
>>> On Thu, Jul 4, 2013 at 3:05 AM, Bernie Innocenti <bernie at codewiz.org>wrote:
>>>
>>>> Resending with the correct localization list address.
>>>>
>>>> On 07/03/2013 08:45 PM, Bernie Innocenti wrote:
>>>> > +rralcala
>>>> > +rgs
>>>> >
>>>> > On 07/03/2013 04:11 PM, Aneesh Dogra wrote:
>>>> >> Hey List,
>>>> >>
>>>> >> I have finally ported our ancient pootle to pootle 2.5 (with all
>>>> >> translation and database files) and it seems to be working. Check
>>>> >> http://newpootle.sugarlabs.org/
>>>> >>
>>>> >> The next job is to start porting pootle-helpers and make them work on
>>>> >> 2.5. If someone can give me a starting point it would be greatly
>>>> >> helpful. Are there any scripts that might not be useful anymore?
>>>> >>
>>>> >> Pootle 2.5 also includes some new inbuilt scripts like commit_to_vcs,
>>>> >> which of course commits and pushes translation changed to the linked
>>>> >> code repository [git/svn/vcs], so it probably supersedes our version
>>>> in
>>>> >> pootle-helpers.
>>>> >>
>>>> >> Any inputs welcome.
>>>> >
>>>> > I'm very happy to hear that you've (almost) succeeded in bringing us
>>>> an
>>>> > up-to-date Pootle instance! Many before you struggled with this
>>>> > difficult migration.
>>>> >
>>>> > Unfortunately, I won't be able to help you with the next phase because
>>>> > I'll be on vacation from Jul 4 to Jul 10 (see my post to systems@).
>>>> >
>>>> > Roberto might be able to help you, as he had expressed interest in
>>>> > helping with Pootle. Aleksey also has lots of experience running
>>>> > production services and integrating git with other things.
>>>> >
>>>> > Checklist for you and whoever assists you:
>>>> >
>>>> >  - have you tried rebooting the service to see if it stays up?
>>>> >
>>>> >  - have you tried loading the service with some queries or crawling
>>>> >    it with wget -R to see if it has enough memory?
>>>> >
>>>> >  - what monitoring do you need? munin?
>>>> >
>>>> >  - are logs being rotated? any log spew?
>>>> >
>>>> >  - backups? never transition a VM to production before you have
>>>> >    good backups
>>>> >
>>>> >  - documentation? is the wiki up to date?
>>>> >
>>>> >  - try migrating all data from old pootle to new pootle once.
>>>> >    how long does it take? make sure nothing has been lost
>>>> >    or corrupted during the migration.
>>>> >
>>>> >  - announce the day and time of the cut-off on this list and
>>>> >    maybe cc sugar-devel@
>>>> >
>>>> >  - ensure the CNAME translate.sugarlabs.org has a reasonably
>>>> >    short ttl
>>>> >
>>>> >  - on the announced time, put the production instance in read-only
>>>> >
>>>> >  - sync the data one last time, verify the result one last time
>>>> >
>>>> >  - switch the CNAME in the DNS
>>>> >
>>>> >  - wait until the change propagates
>>>> >
>>>> >  - announce the end of the outage
>>>> >
>>>> >  - wait for people to complain about the fallout
>>>> >
>>>> >  - after a few days, recycle the old VM
>>>> >
>>>> > Of course, if anything goes wrong at any time, you must be able to go
>>>> > back to the previous state. Sysadmin safely! :-)
>>>> >
>>>>
>>>>
>>>> --
>>>>  _ // Bernie Innocenti
>>>>  \X/  http://codewiz.org
>>>>
>>>
>>>
>>>
>>> --
>>> Roberto Rodríguez Alcalá
>>>
>>
>>
>
>
> --
> Roberto Rodríguez Alcalá
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/private/systems/attachments/20130705/2523b766/attachment.html>


More information about the Systems mailing list