Re: Italian building process runs on an old version

From: Date: Fri, 05 Feb 2021 10:51:27 +0000
Subject: Re: Italian building process runs on an old version
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969387844@lists.php.net to get a copy of this message
Hey Nikita Am 05.02.21 um 11:46 schrieb Nikita Popov: > On Fri, Feb 5, 2021 at 11:39 AM Andreas Heigl <andreas@heigl.org> wrote: > >> Hey Davide. >> >> Am 05.02.21 um 10:43 schrieb Davide Pastore: >>> Hi, >>> >>> we're facing some issues in the Italian documentation since we keep on >>> receiving emails with misleading errors >>> <https://news-web.php.net/php.doc.it/2815> on our >>> mailing list. Could >> you >>> please check it? The issue is the same reported here >>> <https://news-web.php.net/php.doc/969387814>. How >>> can we fix this? >> >> As italian is not considered an active translation, the italian git-repo >> is not updated in an automated way. >> >> We would need to rewrite the way the translations are updated. >> >> I can see to it, but on the other hand the question stands why we want >> to invest energy into updating a translation that is considered inactive >> and therefore will not show up on the PHP-Website. >> >> So either we rewrite the way translations are updated, or we upgrade >> italian to an active translation. >> >> Looking forward to a fruitful discussion on that topic. >> >> Cheers >> >> Andreas >> > > I don't think the question of whether the italian translation should be > active or not is really relevant here. We should be building a translation > if and only if we also update the translation repo. If we only update repos > for active translations, then we should only build active translations as > well. > > If the Italian translation then gets moved from inactive to active, it will > start building... but until then, there's not much point in building an > outdated repo that's always going to fail. Note that this is not specific > to the Italian translation, it's not like it's the only inactive one we > have. It's currently the only inactive translation that has a git repo. That's where the whole issue comes from. Currently the build-process reads out the $ACTIVE_TRANSLATIONS variable and only updates those repos. I need to investigate though why the italian translation is actually built but I could imagine that that is because the script is still iterating over the content of the parent folder of the translations... I will investigate that later today and see what the culprit is. Cheers Andreas -- ,,, (o o) +---------------------------------------------------------ooO-(_)-Ooo-+ | Andreas Heigl | | mailto:andreas@heigl.org N 50°22'59.5" E 08°23'58" | | https://andreas.heigl.org | +---------------------------------------------------------------------+ | https://hei.gl/appointmentwithandreas | +---------------------------------------------------------------------+

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.doc (#969387844) next »