Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[full-ci] Bump web to v4.8.0 #2895

Merged
merged 2 commits into from
Dec 23, 2021
Merged

[full-ci] Bump web to v4.8.0 #2895

merged 2 commits into from
Dec 23, 2021

Conversation

pascalwengerter
Copy link
Contributor

Description

The next oCIS release is a bit away but we released a minor version of web which we should try to bring into oCIS to have all the Reva edge stuff test against it 👷🏽

Copy link
Contributor

@wkloucek wkloucek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy, if the CI is happy

@pascalwengerter
Copy link
Contributor Author

I'm a bit surprised by translations in the settings service appearing now 🤔

@kulmann
Copy link
Member

kulmann commented Dec 16, 2021

I'm a bit surprised by translations in the settings service appearing now 🤔

Well... in reality it's just modified translations in transifex. Those get pulled into settings and accounts in a nightly CI run of the translation-sync job, see e.g. https://drone.owncloud.com/owncloud/translation-sync/2211/36/1

The e2e tests for the settings UI compare hardcoded strings. Or in other words: some snapshot of the translations is basically cemented into the code. If contents change in transifex they need to be updated in the settings e2e tests. Which is awful. :-( To get the tests green, just streamline https://github.com/owncloud/ocis/blob/master/settings/ui/tests/acceptance/helpers/language.js to be the same as in transifex again. And if you have a better idea of how to test if a language setting works properly feel free to propose something. Happy to get this more resilient for the future...

@pascalwengerter
Copy link
Contributor Author

I'm a bit surprised by translations in the settings service appearing now thinking

Well... in reality it's just modified translations in transifex. Those get pulled into settings and accounts in a nightly CI run of the translation-sync job, see e.g. https://drone.owncloud.com/owncloud/translation-sync/2211/36/1

The e2e tests for the settings UI compare hardcoded strings. Or in other words: some snapshot of the translations is basically cemented into the code. If contents change in transifex they need to be updated in the settings e2e tests. Which is awful. :-( To get the tests green, just streamline https://github.com/owncloud/ocis/blob/master/settings/ui/tests/acceptance/helpers/language.js to be the same as in transifex again. And if you have a better idea of how to test if a language setting works properly feel free to propose something. Happy to get this more resilient for the future...

But the linked translation job (~10h ago, 10am German time) was the one I started for the web release so how come the translations have diverged between the two repos when the job updated them both to the most recent Transifex version?

@kulmann
Copy link
Member

kulmann commented Dec 16, 2021

But the linked translation job (~10h ago, 10am German time) was the one I started for the web release so how come the translations have diverged between the two repos when the job updated them both to the most recent Transifex version?

Settings ui translations are not in web. They are in ocis. Should be completely independent from the web update.

@wkloucek
Copy link
Contributor

@pascalwengerter do you need help on this?

@pascalwengerter
Copy link
Contributor Author

@pascalwengerter do you need help on this?

Thanks for the reminder, can't hurt to give it a look tomorrow. Still confused why it failed, we'll most likely release web v4.8.0 tomorrow (Tuesday) so let me update this PR and ping you then

@pascalwengerter
Copy link
Contributor Author

Will bump to v4.8.0 as soon as it's released, then this PR should be easily merge-able thanks to language changes in owncloud/web@e1da726

@pascalwengerter pascalwengerter changed the title [full-ci] Bump web to v4.7.0 [full-ci] Bump web to v4.8.0 Dec 23, 2021
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pascalwengerter pascalwengerter merged commit 53788f6 into master Dec 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the update-web-4.7.0 branch December 23, 2021 12:20
@micbar micbar mentioned this pull request Feb 16, 2022
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants