Bug 8287 - Wrong arch for transifex client in cenbuild
Summary: Wrong arch for transifex client in cenbuild
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.16.0
Assignee: Alexander Zeijlon
URL:
Keywords: adaha_tester, prosaic
Depends on:
Blocks:
 
Reported: 2024-01-10 12:34 CET by Alexander Zeijlon
Modified: 2024-01-10 17:06 CET (History)
2 users (show)

See Also:
Acceptance Criteria:
MUST: * It should be possible to provide language translations via cenbuild arch x86_64. * It should be possible to pull and push translations over the internet. SHOULD: * We should use the most up-to-date version of the tx client for translations.


Attachments

Description Alexander Zeijlon cendio 2024-01-10 12:34:31 CET
The tx-client we have in cenbuild is only present for arch i386.

Since we have dropped support for i386, we should make the tx available for arch x86_64.
Comment 1 Alexander Zeijlon cendio 2024-01-10 12:40:16 CET
Migrating the tx-client from i386 to x86_64 should be a simple task since we already made the necessary preparations for this in bug 7995.

We will still use the precompiled binary that is provided at https://github.com/transifex/cli/releases, since we currently do not have a way of building it ourselves in cenbuild (we do not have meson in place yet).
Comment 2 Alexander Zeijlon cendio 2024-01-10 12:41:05 CET
While we're at it, we might as well provide the most up to date version.
Comment 3 Samuel Mannehed cendio 2024-01-10 12:54:47 CET
Our routines for uploading new translations to transifex don't work currently. As of bug 7962 we removed the 32-bit Linux client and its build tools. When uploading new translations we use i386 cenbuild arch to have access to the tx-client. This causes problems since we also need to build TigerVNC as part of that build target, and we can no longer build a 32-bit TigerVNC.
Comment 6 Alexander Zeijlon cendio 2024-01-10 16:21:15 CET
> MUST:
> * It should be possible to provide language translations via cenbuild
> arch x86_64.
Transifex client is now packaged for cenbuild/x86_64.

> * It should be possible to pull and push translations over the internet.
This depends on the ca-certificates package, and i made sure to update the requirements for it for x86_64, in the same way it was done when we had a Transifex client under cenbuild/i386.

> SHOULD:
> 
> *  We should use the most up-to-date version of the tx client for translations.
Transifex client for cenbuild/x86_64 is the latest version 1.6.10.
Comment 7 Samuel Mannehed cendio 2024-01-10 16:23:06 CET
The moved transifex-client works well, successfully updated the Swedish translations in r40710.
Comment 8 Adam Halim cendio 2024-01-10 17:06:43 CET
> MUST:
>  ✅ It should be possible to provide language translations via cenbuild arch x86_64.
> 
>  ✅ It should be possible to pull and push translations over the internet.
I could successfully pull the new translation over the internet using the tx client via cenbuild x86_64. Uploading translations was tested in comment #7.

> SHOULD:
> 
> ✅ We should use the most up-to-date version of the tx client for translations.
Indeed, verified that tx client in cenbuild x86_64 is using version 1.6.10, which is the latest release.

Also looked at the Swedish translation in r40710 and thought it looked good, tested it and could see the correct Swedish translation.

Closing.

Note You need to log in before you can comment on or make changes to this bug.