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

Feedback #1

Open
adamwojs opened this issue Apr 26, 2023 · 0 comments
Open

Feedback #1

adamwojs opened this issue Apr 26, 2023 · 0 comments

Comments

@adamwojs
Copy link

Hi @mateuszbieniek! I've briefly tested your tool and looked a little bit into the code. Here is my feedback:

  • Architecture is correct.
  • Can we rename ibexa:redis-check command to ibexa:redis:check or ibexa:redis:info. Judging on code you are expect to have more commands in the future
  • Package structure is incorrect (this also apply namespaces) and it's needs to be aligned with ibexa/bundle-generator if you like to move this repository to ibexa organisation.
  • Unit and integration tests are missing. See https://symfony.com/doc/current/console.html#testing-commands
  • Some dependencies are missing in composer.json e.g. symfony/serialzier used in \MateuszBieniek\IbexaDxpRedisTools\Renderer\JsonCliRenderer
  • Redis gateway handles missing db0 key inconsistently. One is throwing \MateuszBieniek\IbexaDxpRedisTools\Redis\Exception\NoDatabaseException, second one \RedisException
  • messages translation domain is reserved for applications and should be avoided in reusable packages
  • Compatibility with Ibexa DXP v4.x is missing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant