chore(cmdeploy/dovecot): add multi-dist/Debian trixie support #1002
Open
j4n wants to merge 4 commits into
Open
chore(cmdeploy/dovecot): add multi-dist/Debian trixie support #1002j4n wants to merge 4 commits into
j4n wants to merge 4 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. |
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` failed after upgrade 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().
j4n
force-pushed
the
j4n/dovecot-multidist
branch
from
July 9, 2026 12:14
4c7b872 to
f8adfe3
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.