Frequently asked questions¶
First steps¶
bundle install throws the error library not found for -lzstd when installing the trilogy gem on my MacOS. What should I do?¶
- Check the installed
zstdversion:ls /opt/homebrew/Cellar/zstd/ -
Install
trilogywith the matching version in the path (1.5.0below):
I get an authentication error with caching_sha2_password when using Trilogy. What should I do?¶
caching_sha2_password is the default authentication plugin of MySQL 8.0+ and Percona Server 8.x. Trilogy requires TLS or a Unix socket with it.
Connect through a Unix socket in config/database.yml:
Check your socket path:
Do not switch the user to mysql_native_password: it is disabled by default since MySQL 8.4 and removed in MySQL 9.0.
Development¶
My frontend changes do not show up. What should I check?¶
- The browser serves cached assets: do a hard reload.
- The Vite dev server is not running: start it with
bundle exec vite dev. - The build failed: fix the error shown in the Vite output.
- Vite does not see file changes: restart it.
How to prepare merge request?¶
See Contributing for titles, descriptions and task references. Before you submit:
- Link the related task.
- Describe in the description why the change is made.
- Target the correct branch, see Branch naming conventions.
- Assign the merge request to the correct group or person.
- Make sure the pipeline is green and the branch is up to date with the target branch.
When is the right time for release?¶
A RYS under heavy development (many merge requests for a feature in preparation) does not need a release after every merge. Release it once after a larger code review.
A stable RYS with no ongoing development (a language file fix or another small change) is released right after the merge.
How to properly release?¶
See the release guidelines