chore(cmdeploy/dovecot): add multi-dist/Debian trixie support - #1002
Open
j4n wants to merge 5 commits into
Open
chore(cmdeploy/dovecot): add multi-dist/Debian trixie support #1002j4n wants to merge 5 commits into
j4n wants to merge 5 commits into
Conversation
j4n
force-pushed
the
j4n/dovecot-multidist
branch
from
June 5, 2026 16:15
d746e93 to
c8b9e72
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
2 times, most recently
from
June 5, 2026 21:42
39a960d to
d61ff01
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
3 times, most recently
from
June 8, 2026 13:03
7af1b96 to
be45292
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
from
June 8, 2026 13:12
be45292 to
b71ea6a
Compare
Contributor
Author
|
Ok, status on this:
|
j4n
force-pushed
the
j4n/dovecot-multidist
branch
5 times, most recently
from
June 11, 2026 08:56
520a2ed to
7ab93f2
Compare
Contributor
Author
|
Tried an upgrade scenario, |
j4n
force-pushed
the
j4n/dovecot-multidist
branch
3 times, most recently
from
June 29, 2026 13:45
29aecca to
4c7b872
Compare
Contributor
Author
|
To test this branch, just switch to it before deploying: local $ ssh target
remote # git clone https://github.com/chatmail/relay && cd relay
remote relay/ # git checkout j4n/dovecot-multidist
# optionally, should normally not result in merge conflicts
remote relay/ # git rebase main
remote relay/ # cmdeploy run --ssh-host @localor the equivalent if you work with a remote deploy. |
j4n
force-pushed
the
j4n/dovecot-multidist
branch
from
July 9, 2026 12:14
4c7b872 to
f8adfe3
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
2 times, most recently
from
July 27, 2026 14:55
7e7bb66 to
1c36f47
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
2 times, most recently
from
August 10, 2026 08:54
a79e8e0 to
72445ec
Compare
j4n
force-pushed
the
j4n/dovecot-multidist
branch
3 times, most recently
from
August 10, 2026 11:41
623ab2a to
33c85ff
Compare
Contributor
Author
|
This now also has the security backport packages from chatmail/dovecot#10 |
Prevent Trixie from somehow pulling in dovecot 2.4 before we get to install.
- Install .debs via apt-get install instead of dpkg+fix-broken
- Package hashes are now keyed by (arch, codename, pkg):
- download.delta.chat uploads now go to dovecot/{distro}/{version}/
- GitHub release packages get a _{distro}.deb suffix to allow for
combined releases.
Tests:
- updated to support this and add a test to check for the unsupported
release version case
- fix make_host to accept extra args from Command fact
- assert single apt-get install command
`cmdeploy run` fails after system upgrade to Debian 13 with "Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding" indicating a Python version missmatch. Check for both versions and remove old `remote_venv_dir` on mismatch to allow clean reinitialization by subsequent pip.virtualenv().
- Fix dovecot package download URLs for new [release](https://github.com/chatmail/dovecot/releases/tag/upstream%2F2.3.21%2Bdfsg1-3%2Bchatmail2) with - debian-security backport for 12 CVEs - distro-specific suffix (+deb{release}u1), enabling a simplified primary URL path and combined github releases - Use VERSION_ID from os-release as deb_release instead of codename mapping, reorder hash-dict to match Github release page - Remove redundant parsing/validation, let function validate against hash dict - Update test expectations and test new versioning derivation
j4n
force-pushed
the
j4n/dovecot-multidist
branch
from
August 17, 2026 12:01
33c85ff to
a8028ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for deploying dovecot for bookworm and trixie from the new paths merged in https://github.com/chatmail/dovecot/pulls/8, details see below.