Skip to content

Instantly share code, notes, and snippets.

@dylanwh
Last active July 16, 2021 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dylanwh/e602d5d4176e945bbd1072eb0d7e9632 to your computer and use it in GitHub Desktop.
Save dylanwh/e602d5d4176e945bbd1072eb0d7e9632 to your computer and use it in GitHub Desktop.
Harmony Release Blockers (July 2021)

This is a list of known release blockers for Bugzilla Harmony, in prority list order.

MySQL compatibility & checksetup

We can and should only support current and previous releases of MySQL. People coming from MySQL 5.6 or earlier should be nudged to use utf8mb4, which allows for emojis and some obscure languages.

Currently harmony will work with MariaDB 10+ (any version), but will not function in MySQL 8 due to the word "groups" becoming a reserved word.

Checksetup needs to be updated help the user understand if their mysql can work.

For MySQL 8, either:

  • We commit to supporting mysql 8
  • We detect mysql 8 and direct the user to use either mysql 5.7 or mariadb

The later option is not very pleasant. I believe the code I wrote over a year ago could allow us to support mysql 8, and that's in this branch

Postgresql Compatibility

I think most of the postgres incompatibility is in the "BMO" extension, and in order to be able to release I now believe we should remove the BMO extension from our codebase. This is unfortunate because it has a lot of useful features, but given resource constraints it is the best move.

Sensible, Default Logging Configuration

Bugzilla::Logging controls how the application logs. It has support for defaults, but those defautls were written for BMO and don't make sense for the app.

This is left a bit vague, but here's the guiding principal: when you install bugzilla it needs to log in a place you expect it to.

Docker and Containerization

I would like the Dockerfile to be rewritten such that the ENTRYPOINT is the bugzilla.pl script, so that the container can be used as a drop in replacement for the bugzilla.pl executable.

It would be good to add sub-commands for checksetup and the jobqueue to this. bugzilla.pl sub-commands can be defined in the Bugzilla::App::Cmd::* namespace.

If we release harmony and it has a good (amd small!) container, it will look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment