#9996 Translation updates of alt.fedoraproject.org don't work
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by peartown.

Describe what you would like us to do:


This is to try to find a help with solving a problem that translation updates of alt.fedoraproject.org website don't work. I dare to say this ticket is opened with consent of the website team, too.

What I was able to find out is that translation updates are pushed from Weblate to the websites' repo for translations - automatically. But these updates are not propagated/pushed to a alt.fedoraproject.org's build, and stay unpublished.

For possible related reference:
#9775
fedora-websites#1013
fedora-web/websites#174

When do you need this to be done by? (YYYY/MM/DD)


Alt.fedoraproject.org is one of the main websites of Fedora, it is rather regrettable if translation updates don't work. I'd like to see it working at least before next Fedora GA (F35), if not sooner.


I've made some digging, and it's indeed related to this issue fedora-websites#1013.
The script used to synchronise translation has been removed when zanata retired, and I can't find any script or cronjob replacing it.
I should add this seems not specific to alt.fedoraproject.org, but everything in fedora-websites repo.

The easier way to get this working again, is to either call the l10N_update script in a cronjob, or call the pullpos function you have in your makefile, just before the build in syncStatic.sh.

I prefer the second option, as part of the l10N_update script is already handled by the web-translation-update cronjob, and it make more sense to me to get the updated translation at build time.

But before that, there is a few things to fix on the websites repo :
- The list of languages is outdated, and miss a few ones from weblate. That will break the build.
- The LINGUAS file is not present or updated on some websites on fedora-web/translations. There is a weblate plugin for that, but needs to be set up first.

I think I can help for most parts, except on Weblate, but maybe @jibecfed can help us on that part.

yep, I'll take care of weblate plugin for linguas=2E

please note I receive a daily email from a website script that tells me th=
e user can't access the pagure repository=2E I'll ping you on IRC Monday to=
share the details=2E=20
thanks a lot for taking good care of our group :*
--
Jean-Baptiste

it comes from sundries and say:
Cloning into 'fedora-websites'=2E=2E=2E
git clone ssh://git@pagure=2Eio/fedora-web/translations=2Egit /tmp/tmp=2EH=
A212lRO4u
Cloning into '/tmp/tmp=2EHA212lRO4u'=2E=2E=2E
Permission denied (publickey)=2E
fatal: Could not read from remote repository=2E
--
Jean-Baptiste

So we've made some progress with jibec, and I should be able to get this fixed pretty soon.

As for the git permission issue mentioned by jibec, we're missing the pubkey of the new account _update_web_trans created on sundries. Can a sysadmin provide it to us (on irc) ?

Metadata Update from @siddharthvipul1:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-trouble, medium-gain

2 years ago

The pubkey is:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWUF4cAlbZCnj1PstEpqrnlCo8ALLI1+gMSTXwAReXWNj6F4KNQCJuXR5ytucdL2MJt359TU2SrI8tHwV67p+JFlVmHod0OaD+Z3MLN8xPqGBa6JKnQ5ekF6ULkRywgXvh7cfiUaVN/IQ3dlT2f/t9e4h528at53cQ7HJOa8f9Bx/hi5Fsqo6gwy4gM2DNMEj77eMgyYYtNVQkP84EJu52OkcvwcnhAhWhkFjT0r8ARHCntCGgviftU9uZu+/QxQi/8KKJf+37ZTl5chzjRlYcE/Zspd3V4/GKIu6RP4eYnifTGSPu7Z7aZiCXTClhkqwYhuMUDt7qYdbwOs2GgfqP ansible-generated on sundries01.iad2.fedoraproject.org

Anything else i can help out with here?

thanks, but I don't know, darknao can tell=2E
I now receive a new error message:
=20
Run

git config --global user=2Eemail "you@example=2Ecom"
git config --global user=2Ename "Your Name"

to set your account's default identity=2E
Omit --global to set the identity only in this repository=2E

fatal: empty ident name (for _update_web_trans@sundries01=2Eiad2=2Efedora= project=2Eorg) not allowed
make: *** [pushpot] Error 128
git clone ssh://git@pagure=2Eio/fedora-web/translations=2Egit /tmp/tmp=2Ew=
oFT6g5zCZ
--
Jean-Baptiste

Thanks Kevin for the key.
@jibecfed I should say I was expecting that one :)

I've made a few PRs about the initial issue that need review & merge :
https://pagure.io/fedora-websites/pull-request/1082
https://pagure.io/fedora-websites/pull-request/1081
Once those are merged :
https://pagure.io/fedora-infra/ansible/pull-request/613

And for the last issue :
https://pagure.io/fedora-infra/ansible/pull-request/615

All of those are now merged.

So, where do we stand on fixing this?

Staging look good to me. @peartown Can you confirm https://alt.stg.fedoraproject.org is serving the content you are expecting ?
Prod should be ok too, but may require to run the playbook on sundries (sync script is not up to date yet there)

Yes, it seems recent translation updates - from fedora-web/translations - are there.

But give me more time please. Few messages were marked as fuzzy and not translated. So some translation updates made are pending again, to see if it really works.

Anyway, thank you all very much for help.

OK, translation updates now work well.
Thank you very much once more!

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1081 Merged 2 years ago
  • #632 Merged 2 years ago
  • #615 Merged 2 years ago
  • #613 Merged 2 years ago