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

add dovecot-fts-xapian #2064

Merged
merged 4 commits into from Jul 5, 2021

Conversation

eleith
Copy link
Contributor

@eleith eleith commented Jul 3, 2021

Description

this PR updates Docker to install dovecot-fts-xapian.

unfortunately, that package is only available on buster-backports so either Docker needs to be updated to pull from backports or the build can use bullseye-slim as the base image (which is nearing stable release in July 2021).

currently, this PR introduces bullseye-slim which is a rather large change.

I imagine this project will eventually adopt bullseye given its long testing cycle and relative stability. If so, this PR can be merged with that branch.

With that said, I would be happy to use buster-backports as well and i have a working branch, if desired. That approach merely requires updating Docker to add to apt a new source pointing to buster backports before installing dovecot and other software.

Lastly, this PR also updates relevant docs with instructions on how to enable fts-xapian
and what considerations to take into when deciding to turn on FTS and choose between xapian and solr.

Fixes #2061

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)

update Docker to build from debian bullseye slim, as it contains
packages for fts-xapian.

update Docker to install dovecot-fts-xapian.

update docs with instructions on how to enable fts-xapian or fts-solr
and what considerations to take into when deciding.
Copy link
Member

@wernerfred wernerfred left a comment

Choose a reason for hiding this comment

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

Let's See what breaks with the new Base Image. I Started the ci Run.

I really appreciate that you included documentation in your PR. Was about to ask what this Plugin does but Docs explain it very Well

@casperklein
Copy link
Member

Until Debian 11 is officially released, we should stick with the current version. The backport repo addition can then easily be removed once v11 is out.

Dockerfile Outdated Show resolved Hide resolved
@casperklein
Copy link
Member

It seems, that our tests doesn't like bullseye yet 😋

@eleith
Copy link
Contributor Author

eleith commented Jul 3, 2021

addressed documentation feedback and used buster/backports approach instead. thanks everyone.

Dockerfile Outdated Show resolved Hide resolved
@eleith
Copy link
Contributor Author

eleith commented Jul 3, 2021

"restored" proposal for backports from 5b462a2

Copy link
Member

@wernerfred wernerfred left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

One could add admonition syntax to some sentences in the docs to highlight them but this is only a stylistic change.

Thanks for your contribution

@wernerfred wernerfred added area/documentation area/features kind/new feature A new feature is requested in this issue or implemeted with this PR service/dovecot labels Jul 5, 2021
@casperklein
Copy link
Member

@eleith Great first contribution, thank you.

@wernerfred wernerfred added this to the v10.1.0 milestone Jul 5, 2021
@casperklein casperklein enabled auto-merge (squash) July 5, 2021 10:25
@casperklein casperklein merged commit 4473b88 into docker-mailserver:master Jul 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2021

Documentation preview for this PR is ready! 🎉

Built with commit: b1c16d5

@wernerfred
Copy link
Member

Why tf did the merge went through with one test action still running. Need to investiagate 👀

@casperklein
Copy link
Member

I had to update this branch (because of #2067 #2068): b1c16d5

Maybe that's related. TBH, in that case I am not mad about passing the tests, as the CI changes are not related to the image itself.

@georglauterbach
Copy link
Member

@all-contributors please add @eleith for infrastructure

@allcontributors
Copy link
Contributor

@georglauterbach

I've put up a pull request to add @eleith! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation area/features kind/new feature A new feature is requested in this issue or implemeted with this PR service/dovecot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] support fts-xapian as an alternative to fts-solr
4 participants