Skip to content

allow static Go build#886

Open
miekg wants to merge 4 commits into
purpleidea:baddevfrom
miekg:miek/26/mrt10di/miekg1
Open

allow static Go build#886
miekg wants to merge 4 commits into
purpleidea:baddevfrom
miekg:miek/26/mrt10di/miekg1

Conversation

@miekg
Copy link
Copy Markdown

@miekg miekg commented Mar 10, 2026

This implements the few things we discussed in #877

I took the brute force approach.

purpleidea and others added 4 commits March 10, 2026 14:41
This make a simple go compile just work

Signed-off-by: Miek Gieben <miek@miek.nl>
Signed-off-by: Miek Gieben <miek@miek.nl>
This removes the sanity checks so a plain go build created executable
can be just run.

Signed-off-by: Miek Gieben <miek@miek.nl>
@miekg
Copy link
Copy Markdown
Author

miekg commented Mar 10, 2026

  • a rebase on master

@miekg miekg changed the title Miek/26/mrt10di/miekg1 allow static Go build Mar 10, 2026
@purpleidea
Copy link
Copy Markdown
Owner

Not sure what I should do here. If anything add some changes into the baddev script so that that branch gains some of these properties in a more mergeable way??

@miekg
Copy link
Copy Markdown
Author

miekg commented Mar 10, 2026

you could not merge, then I'll keep them in my fork - it's mostly so I (and maybe others) can have a static build.

I was under impressession that baddev will be thrown away at some point anyway?

@purpleidea
Copy link
Copy Markdown
Owner

I was under impressession that baddev will be thrown away at some point anyway?

This branch is rebuilt constantly using this script:

https://github.com/purpleidea/mgmt/blob/master/misc/make-baddev.sh

If you'd like to make some of those changes in such a way that the issue is solved in that single commit using this script, that's the place to put it.

I don't know if go get can specify a built tag or something, because maybe that could be a way to stub out some of the code changes you made?

@purpleidea purpleidea force-pushed the baddev branch 2 times, most recently from e5062cd to 67a3879 Compare March 15, 2026 20:03
@purpleidea purpleidea force-pushed the baddev branch 2 times, most recently from 4efdbfe to 3a9cdab Compare May 13, 2026 22:48
@purpleidea purpleidea force-pushed the baddev branch 2 times, most recently from 7d335d0 to 7f05db0 Compare May 25, 2026 17:16
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