<div dir="ltr">If Pootle is still stuck in the world of Python 2, we really need to move on.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 23, 2023 at 4:20 AM Bernie Innocenti <<a href="mailto:bernie@codewiz.org">bernie@codewiz.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Looks like the latest translate-toolkit requires Python >= 3.7:<br>
<a href="https://pypi.org/project/translate-toolkit/" rel="noreferrer" target="_blank">https://pypi.org/project/translate-toolkit/</a><br>
<br>
Pootle development seems to have stalled before completing the migration <br>
to Python 3:<br>
<a href="https://github.com/translate/pootle/issues/6902" rel="noreferrer" target="_blank">https://github.com/translate/pootle/issues/6902</a><br>
<br>
Running Python 2 code on any recent distro is going to be though, Ibiam. <br>
I suggest we either find an alternative to Pootle, or migrate the <br>
current VM without rebuilding it.<br>
<br>
<br>
On 2023/05/22 14:38, Chihurumnaya Ibiam wrote:<br>
> The pootle website points to this <<a href="https://github.com/translate/pootle" rel="noreferrer" target="_blank">https://github.com/translate/pootle</a>> <br>
> as pootle repo but it seems it's not being maintained anymore as there's <br>
> not been much activity within<br>
> the past year.<br>
> <br>
> I'll run tests with ubuntu 22 and try fixing issues that come up, we <br>
> might have to think about using another translation server that's active.<br>
> <br>
> -- <br>
> <br>
> Ibiam Chihurumnaya<br>
> <a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
> <br>
> <br>
> <br>
> On Mon, May 22, 2023 at 9:07 PM James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> <br>
> <mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>>> wrote:<br>
> <br>
>     It is important to have it working with Ubuntu 22.04, for the best<br>
>     duration of security updates.  Have you taken the issues to the<br>
>     upstream project?  I see there are several pootle on GitHub,<br>
>     including Docker support, but I've not gone through the process of<br>
>     identifying which is the upstream.<br>
> <br>
>     It may be simpler to use the latest pootle and figure out how to<br>
>     import our existing translations.<br>
> <br>
>     On Mon, May 22, 2023 at 12:29:56PM +0100, Chihurumnaya Ibiam wrote:<br>
>      > I've been running tests with ubuntu 18 as pootle is based on<br>
>     Python 2 and I'm<br>
>      > not sure there's support<br>
>      > for Python 2 there, ran into too many issues when I tried with<br>
>     ubuntu 22 too.<br>
>      ><br>
>      > I'll test with ubuntu 18 and 20 and let you know which is viable.<br>
>      ><br>
>      > --<br>
>      ><br>
>      > Ibiam Chihurumnaya<br>
>      > [1]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      ><br>
>      > On Sun, May 21, 2023 at 7:55 PM Bernie Innocenti<br>
>     <[2]<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a> <mailto:<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a>>> wrote:<br>
>      ><br>
>      >     Hey Ibiam,<br>
>      ><br>
>      >     Thank you for offering to migrate Pootle and for scoping the<br>
>     work to be<br>
>      >     done. If Alex or James could setup the new VM on bender and<br>
>     give you<br>
>      >     root access, I'll do the necessary DNS adjustments.<br>
>      ><br>
>      >     Would a fresh Ubuntu 22.04 LTS install with a single<br>
>     partition of 50GB<br>
>      >     be suitable?<br>
>      ><br>
>      >     Thanks,<br>
>      >     Bernie.<br>
>      ><br>
>      >     On 2023/05/21 06:01, Chihurumnaya Ibiam wrote:<br>
>      >     > On Sun, May 21, 2023 at 9:08 AM James Cameron<br>
>     <[3]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> <mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
>      >     > <mailto:[4]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> <mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>>>> wrote:<br>
>      >     ><br>
>      >     >     G'day Ibiam,<br>
>      >     ><br>
>      >     >     I'll reply in context below.  I don't have access to<br>
>     Bender, so<br>
>      >     >     can't comment on the plan completely, but I'll mention<br>
>     what I can.<br>
>      >     ><br>
>      >     >     On Sat, May 20, 2023 at 04:11:33PM +0100, Chihurumnaya<br>
>     Ibiam wrote:<br>
>      >     >      > Hi Everyone,<br>
>      >     >      ><br>
>      >     >      > We need to migrate Pootle to Bender as we have<br>
>     little control<br>
>      >     >     over the<br>
>      >     >      > translate server at the moment and migrating will<br>
>     give us more<br>
>      >     >     control.<br>
>      >     >      ><br>
>      >     >      > I've come up with what needs to be done for the<br>
>     migration to take<br>
>      >     >     place and I'd<br>
>      >     >      > like comments and suggestions. Regards.<br>
>      >     >      ><br>
>      >     >      > --<br>
>      >     >      ><br>
>      >     >      > Ibiam Chihurumnaya<br>
>      >     >      > [1][5]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br>
>     <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>> <mailto:[6]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br>
>     <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>>><br>
>      >     >      ><br>
>      >     >      > References:<br>
>      >     >      ><br>
>      >     >      > [1] mailto:[7]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br>
>     <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>> <mailto:[8]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a><br>
>     <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>>><br>
>      >     ><br>
>      >     >      > POOTLE MIGRATION PLAN<br>
>      >     >      > =====================<br>
>      >     >      ><br>
>      >     >      > This document describes the plans to migrate pootle<br>
>     translation<br>
>      >     >     server from justice to bender.<br>
>      >     >      ><br>
>      >     >      > Backups<br>
>      >     >      > =======<br>
>      >     >      ><br>
>      >     >      > Database backup; Backup the pootle database.<br>
>      >     >      > They're older backups in /root/ but I doubt we'll<br>
>     need them.<br>
>      >     >      ><br>
>      >     >      > User directories:<br>
>      >     >      > Backup current active user directories which include;<br>
>      >     >      > /home/quozl/, /home/ibiamchihurumnaya/,<br>
>     /home/bernie/, /home/<br>
>      >     aperez/,<br>
>      >     ><br>
>      >     >     No need to backup user directories, let the users<br>
>     transfer what they<br>
>      >     >     need.<br>
>      >     ><br>
>      >     ><br>
>      >     > Agreed, took a second look and there's nothing in any of<br>
>     the directories.<br>
>      >     ><br>
>      >     >      ><br>
>      >     >      ><br>
>      >     >      > Pootle and it's configurations;<br>
>      >     >      ><br>
>      >     >      > /srv/www-sugarlabs/pootle as /var/lib/pootle/ is a<br>
>     link to it.<br>
>      >     >      > /etc/apache2/newpootle.sugaralabs.org.conf<br>
>      >     ><br>
>      >     >     Good opportunity to fix that typo.  Sugaralabs.<br>
>      >     ><br>
>      >     ><br>
>      >     > Thanks for pointing that out, it was a typo on my end.<br>
>      >     ><br>
>      >     >      ><br>
>      >     >      ><br>
>      >     >      > Other directories: Backup<br>
>      >     >      > /etc/network/interfaces - would edit to fit the ip<br>
>     address range<br>
>      >     >     of bender.<br>
>      >     >      > /etc/postfix/ - mail delivery config<br>
>      >     >      > /etc/ssl/ - not sure if we should back this up as we<br>
>     can create<br>
>      >     >     new certificates<br>
>      >     >      > /etc/letsencrypt/<br>
>      >     ><br>
>      >     >     None of these should be migrated as is.  Instead,<br>
>     whatever function<br>
>      >     >     is being performed should be reimplemented on the later<br>
>     operating<br>
>      >     >     system release on Bender.<br>
>      >     ><br>
>      >     ><br>
>      >     > Makes sense.<br>
>      >     ><br>
>      >     ><br>
>      >     >      ><br>
>      >     >      > Migration Date<br>
>      >     >      > ==============<br>
>      >     >      > TBD<br>
>      >     >      ><br>
>      >     >      ><br>
>      >     >      > Post Update<br>
>      >     >      > ===========<br>
>      >     >      > Update Service/translate on the wiki to reflect new<br>
>     changes.<br>
>      >     ><br>
>      >     >     You may find the previous migration plan there useful.<br>
>      >     ><br>
>      >     >     Also, you may find it very helpful to copy the virtual<br>
>     machine to<br>
>      >     >     your own lab, bring it up in isolation, and bring up a<br>
>     replacement<br>
>      >     >     using the same operating system release as Bender. <br>
>     That will give<br>
>      >     >     you a list of steps that you have tested.  It won't<br>
>     need to support<br>
>      >     >     mail, but that's a minor component.<br>
>      >     ><br>
>      >     ><br>
>      >     > Agreed, I've been doing some tests by bringing it up<br>
>     locally and noting<br>
>      >     > the steps and now I'd include adding ssl and letsencrypt.<br>
>      >     ><br>
>      >     ><br>
>      >     > I forgot to mention the size of the volume, it'll be 40GB<br>
>     as pootle is<br>
>      >     > currently 30GB so giving it extra 10GB.<br>
>      >     ><br>
>      >     ><br>
>      >     >     Hope that helps!<br>
>      >     ><br>
>      >     >      > _______________________________________________<br>
>      >     >      > Systems mailing list<br>
>      >     >      > [9]<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
>     <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>> <mailto:[10]<br>
>      > <a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a> <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>>><br>
>      >     >      > [11]<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>><br>
>      >     >     <[12]<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>>><br>
>      >     ><br>
>      >     ><br>
>      >     > --<br>
>      >     ><br>
>      >     > Ibiam Chihurumnaya<br>
>      >     > [13]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>     <mailto:[14]<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>>><br>
>      >     ><br>
>      >     > _______________________________________________<br>
>      >     > Systems mailing list<br>
>      >     > [15]<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
>     <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>><br>
>      >     > [16]<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>><br>
>      ><br>
>      >     --<br>
>      >     _ // Bernie Innocenti<br>
>      >     \X/  [17]<a href="https://codewiz.org/" rel="noreferrer" target="_blank">https://codewiz.org/</a> <<a href="https://codewiz.org/" rel="noreferrer" target="_blank">https://codewiz.org/</a>><br>
>      ><br>
>      > References:<br>
>      ><br>
>      > [1] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [2] mailto:<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a> <mailto:<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a>><br>
>      > [3] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> <mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
>      > [4] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> <mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
>      > [5] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [6] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [7] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [8] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [9] mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
>     <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>><br>
>      > [10] mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
>     <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>><br>
>      > [11] <a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>><br>
>      > [12] <a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>><br>
>      > [13] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [14] mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a> <mailto:<a href="mailto:ibiam@sugarlabs.org" target="_blank">ibiam@sugarlabs.org</a>><br>
>      > [15] mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
>     <mailto:<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a>><br>
>      > [16] <a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
>     <<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a>><br>
>      > [17] <a href="https://codewiz.org/" rel="noreferrer" target="_blank">https://codewiz.org/</a> <<a href="https://codewiz.org/" rel="noreferrer" target="_blank">https://codewiz.org/</a>><br>
> <br>
<br>
-- <br>
_ // Bernie Innocenti<br>
\X/  <a href="https://codewiz.org/" rel="noreferrer" target="_blank">https://codewiz.org/</a><br>
<br>
_______________________________________________<br>
Systems mailing list<br>
<a href="mailto:Systems@lists.sugarlabs.org" target="_blank">Systems@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/systems" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/systems</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="https://www.sugarlabs.org" target="_blank"><font>https://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>