-
-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gpg: Log gpg output to LogWriter #2869
Conversation
Aish I ran
I'll look into this later today hopefully. |
Fixed the tests. Hopefully now on CI as well. |
537bbf9
to
7ab5e0a
Compare
Finally green ✔️ :) |
Don't understand the CI errors unfortuenatly :/ On other PRs it is red also... |
@doronbehar hi there, you can find more information on the CI errors by looking for the name between parenthesis on this link; on this PR it's mostly the MND linter complaining about naked numbers in function calls. It's possible to ignore certain functions, like |
Signed-off-by: Doron Behar <doron.behar@gmail.com>
Thanks for taking the time to try to help @tcodes0 ! It's nice to understand now the errors, and I'm more convinced that these are not related to my PR, and that fixing them is out of scope for this PR. I pushed a rebase of my commits, but according to the current latest commit that shows the same errors in CI, I don't hope the errors will be fixed. |
I'm still waiting for replies by @AnomalRoil for my old comments 🙏. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there. Please address my comments and we can finally merge this. Sorry for the delays.
Thanks for coming back to this. |
Return a different error message if no trustable keys were found. Signed-off-by: Doron Behar <doron.behar@gmail.com>
Signed-off-by: Doron Behar <doron.behar@gmail.com>
require.NoError(t, err) | ||
|
||
// No recipients are configured so it will fail | ||
require.Error(t, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to add a test with a recipient now to have a "positive" test, but that can be opened as an issue and done in another PR I think,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to add a test with a recipient now to have a "positive" test, but that can be opened as an issue and done in another PR I think,
I wanted to do that, but I didn't find a method to add a recipient to that context / gpg in that test...
The error in the Linux build seems like an error caused by the addition to the makefile, no?
not sure if it needs the right set of permissions for it to work or not. |
Could be.. |
OK now only the old GOLANGCI-LINT errors are present. |
Thanks!
…On 7 July 2024 18:58:12 GMT+03:00, Dominik Schulz ***@***.***> wrote:
Merged #2869 into master.
--
Reply to this email directly or view it on GitHub:
#2869 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Continuation of #2576 .