Skip to content
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

Use POSIX complaint ! operator in find #2132

Merged
merged 2 commits into from
Jul 10, 2017

Conversation

rsmarples
Copy link
Contributor

-not is a GNU extension and not all find(8) implementations
support it. It's just an alias for ! which is POSIX compliant.

Now gitea compiles on NetBSD at least.

-not is a GNU extension and not all find(8) implementations
support it. It's just an alias for ! which is POSIX compliant.

Now gitea compiles on NetBSD at least.
@@ -18,7 +18,7 @@ generate:

.PHONY: fmt
fmt:
find . -name "*.go" -type f -not -path "./vendor/*" -not -path "./benchmark/*" | xargs gofmt -s -w
find . -name "*.go" -type f ! -path "./vendor/*" ! -path "./benchmark/*" | xargs gofmt -s -w
Copy link
Member

Choose a reason for hiding this comment

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

Do not make changes to vendor directory. Create PR in github.com/go-gitea/git/ repository for this change

@bkcsoft
Copy link
Member

bkcsoft commented Jul 9, 2017

What @lafriks said, vendored files are changed upstream :) https://github.com/go-gitea/git/ in this case

@bkcsoft bkcsoft closed this Jul 9, 2017
@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 9, 2017
@lafriks
Copy link
Member

lafriks commented Jul 9, 2017

@bkcsoft why did you close PR, there was also gitea Makefile changes that are ok here?

@lafriks lafriks reopened this Jul 9, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Jul 10, 2017

Ooh, must've missed that one. Sorry 😅

@bkcsoft
Copy link
Member

bkcsoft commented Jul 10, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 10, 2017
@lunny lunny added this to the 1.2.0 milestone Jul 10, 2017
@lunny lunny added the type/bug label Jul 10, 2017
@lunny
Copy link
Member

lunny commented Jul 10, 2017

LGTM

@tboerger tboerger 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 Jul 10, 2017
@lunny lunny merged commit c016d48 into go-gitea:master Jul 10, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
6543 pushed a commit to 6543-forks/gitea that referenced this pull request Feb 26, 2024
- Unset the http proxies environments for the `TestWebhookProxy`.
- Resolves go-gitea#2132

(cherry picked from commit 244b9786fc431c362c6f5ac971ac4d04b97f78a2)
(cherry picked from commit 8602dfa6a21e1ac9fa0fc6f5952da219a57b2613)
(cherry picked from commit 862144920945575c26e026281aab6e9bf3e00c5c)
(cherry picked from commit aefa77f917b58dc9e3fc013790aaa286f0beda5b)
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/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants