Skip to content

fix: fixate madmail to the last Go version #23

Merged
link2xt merged 2 commits into
mainfrom
fix_madmail
May 29, 2026
Merged

fix: fixate madmail to the last Go version #23
link2xt merged 2 commits into
mainfrom
fix_madmail

Conversation

@hpk42
Copy link
Copy Markdown
Contributor

@hpk42 hpk42 commented May 28, 2026

the madmail branch is currently being heavily refactored, so better to revisit that when the dust settles, and just fixate on the last go-based version.

@link2xt
Copy link
Copy Markdown

link2xt commented May 28, 2026

Removed the cache and restarted the tests.

Copy link
Copy Markdown

@link2xt link2xt left a comment

Choose a reason for hiding this comment

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

Pushed one-line fix, without it cmlxc init failed as source.ref checkout happened too late and go.mod was still not found.

@link2xt link2xt changed the title fixate madmail to the last Go version fix: fixate madmail to the last Go version May 29, 2026
Comment thread src/cmlxc/container.py
self.bash(f"rm -rf {dest}")
out.print(f" Initial clone of {name} ...")
self.bash(f"git clone {source.url} {dest}")
self.bash(f"git clone --branch {source.ref} {source.url} {dest}")
Copy link
Copy Markdown

@link2xt link2xt May 29, 2026

Choose a reason for hiding this comment

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

This is the line I pushed. Not great that --branch does not work with hashes, for hashes need to use --revision= but then it does not work for tags. --branch at least works for tags and branch names.

@link2xt link2xt merged commit 9fb7664 into main May 29, 2026
1 check passed
@link2xt link2xt deleted the fix_madmail branch May 29, 2026 19:22
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

Successfully merging this pull request may close these issues.

2 participants