Skip to content

Improve signing documentation #15496

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

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Conversation

firesoft-de
Copy link
Contributor

I configured signing on my installation yesterday. I used the default signing options and couldn't get gitea to sign a commit from the webeditor. So I read the signing documentation and my first thought was that multiple options are linked with an OR-Operation (if one returns true the commit (or whatever) will be signed).

Therefor I suspected a bad configuration and spent some time trying to find the error.

After some hours I looked at repo_sign.go and noticed that the options are not linked with OR but with AND instead.

I've added a sentence to each option on documentation page to clarify this behaviour for other users in the future.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 15, 2021
@6543 6543 added the type/docs This PR mainly updates/creates documentation label Apr 15, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 15, 2021
@6543 6543 merged commit af2adb4 into go-gitea:master Apr 15, 2021
@firesoft-de firesoft-de deleted the improve-signing-doc branch April 15, 2021 20:11
@go-gitea go-gitea locked and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants