-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: sync & compare commands #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job with the speed improvements 👍
I was briefely testing it with the tolgee-platform and i've noticed following issues:
- fails when project has no keys yet
TypeError: Cannot read properties of undefined (reading 'keys')
at /Users/stepangranat/Projects/tolgee/tolgee-cli/dist/client/project.js:20:38
- node gives me this warning:
(node:92961) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Worker]. Use emitter.setMaxListeners() to increase limit
at _addListener (node:events:601:17)
at Worker.addListener (node:events:619:10)
at Worker.once (node:events:663:8)
at callWorker (/Users/stepangranat/Projects/tolgee/tolgee-cli/dist/extractor/worker.js:50:12)
it was not actually leaking anything, but we were exceeding Node's maximum event listener count for the Worker object when real workloads were hitting it
When the extraction is running, there should be the cool animation of running mouse I've created before. This is important! ⬆️ |
*hissing cat noises*
🎉 This PR is included in version 1.0.0-prerelease.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The long awaited commands to sync code projects and localization projects!
tolgee compare
is essentially a dry-run oftolgee sync
. There is the option to skip deleting unused keys when syncing, aborting on warnings, and dumping a backup of all keys before syncing.