Skip to content

pkg: Always add mandatory GITAMFLAGS#21841

Merged
crasbe merged 1 commit intoRIOT-OS:masterfrom
maribu:pkg/no-gpg-sign-no-matter-what
Nov 3, 2025
Merged

pkg: Always add mandatory GITAMFLAGS#21841
crasbe merged 1 commit intoRIOT-OS:masterfrom
maribu:pkg/no-gpg-sign-no-matter-what

Conversation

@maribu
Copy link
Copy Markdown
Member

@maribu maribu commented Nov 2, 2025

Contribution description

We really don't want a make BOARD=some-board -C some/app to ask for a password to unlock a GPG key. That is more than confusing on a desktop machine and a real pain on a headless device.

Hence, this adds the mandatory part of GITAMFLAGS with a += rather than a ?=.

Testing procedure

E.g. remove pkg/arduino_api from your $(BUILD_DIR), run make BOARD=nucleo-f767zi -C tests/pkg/arduino_sdi_12 -j. Then inside $(BUILD_DIR)/pkg/arduino_api run git verify-commit HEAD.

In master, this will state a valid signature, with this PR it will fail due to absense of a signature.

Issues/PRs references

None

We really don't want a `make BOARD=some-board -C some/app` to ask for
a password to unlock a GPG key. That is more than confusing on a
desktop machine and a real pain on a headless device.
@github-actions github-actions bot added Area: build system Area: Build system Area: pkg Area: External package ports labels Nov 2, 2025
@maribu maribu added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed Area: pkg Area: External package ports labels Nov 2, 2025
@riot-ci
Copy link
Copy Markdown

riot-ci commented Nov 2, 2025

Murdock results

✔️ PASSED

3b2ac0c pkg: Always add mandatory GITAMFLAGS

Success Failures Total Runtime
10560 0 10560 10m:41s

Artifacts

Copy link
Copy Markdown
Contributor

@crasbe crasbe left a comment

Choose a reason for hiding this comment

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

I did not test it locally, but the changes look simple enough and arduino_api is the only package that has this issue.

@crasbe crasbe enabled auto-merge November 3, 2025 08:55
@crasbe crasbe added this pull request to the merge queue Nov 3, 2025
Merged via the queue into RIOT-OS:master with commit 775d436 Nov 3, 2025
29 checks passed
@maribu maribu deleted the pkg/no-gpg-sign-no-matter-what branch November 3, 2025 15:01
@maribu
Copy link
Copy Markdown
Member Author

maribu commented Nov 3, 2025

@benpicco: Do you want this backported? I'd say this bug is not too urgent.

@maribu
Copy link
Copy Markdown
Member Author

maribu commented Nov 15, 2025

Backport provided in #21879

@leandrolanzieri leandrolanzieri added this to the Release 2026.01 milestone Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants