-
Notifications
You must be signed in to change notification settings - Fork 932
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12740 from tomponline/tp-client-apache-2.0
Removes AGPL imports from shared package
- Loading branch information
Showing
144 changed files
with
267 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ update-schema: | |
.PHONY: update-api | ||
update-api: | ||
ifeq "$(LXD_OFFLINE)" "" | ||
(cd / ; go install -v -x github.com/go-swagger/go-swagger/cmd/swagger@latest) | ||
(cd / ; go install github.com/go-swagger/go-swagger/cmd/swagger@latest) | ||
endif | ||
swagger generate spec -o doc/rest-api.yaml -w ./lxd -m | ||
|
||
|
@@ -213,9 +213,9 @@ endif | |
.PHONY: check | ||
check: default | ||
ifeq "$(LXD_OFFLINE)" "" | ||
(cd / ; go install -v -x github.com/rogpeppe/godeps@latest) | ||
(cd / ; go install -v -x github.com/tsenart/deadcode@latest) | ||
(cd / ; go install -v -x golang.org/x/lint/golint@latest) | ||
(cd / ; go install github.com/rogpeppe/godeps@latest) | ||
(cd / ; go install github.com/tsenart/deadcode@latest) | ||
(cd / ; go install golang.org/x/lint/golint@latest) | ||
endif | ||
CGO_LDFLAGS_ALLOW="$(CGO_LDFLAGS_ALLOW)" go test -v -tags "$(TAG_SQLITE3)" $(DEBUG) ./... | ||
cd test && ./main.sh | ||
|
@@ -268,7 +268,7 @@ update-po: | |
.PHONY: update-pot | ||
update-pot: | ||
ifeq "$(LXD_OFFLINE)" "" | ||
(cd / ; go install -v -x github.com/snapcore/snapd/i18n/[email protected]) | ||
(cd / ; go install github.com/snapcore/snapd/i18n/[email protected]) | ||
endif | ||
xgettext-go -o po/$(DOMAIN).pot --add-comments-tag=TRANSLATORS: --sort-output --package-name=$(DOMAIN) [email protected] --keyword=i18n.G --keyword-plural=i18n.NG lxc/*.go lxc/*/*.go | ||
|
||
|
@@ -277,6 +277,9 @@ build-mo: $(MOFILES) | |
|
||
.PHONY: static-analysis | ||
static-analysis: | ||
ifeq ($(shell command -v go-licenses),) | ||
(cd / ; go install github.com/google/go-licenses@latest) | ||
endif | ||
ifeq ($(shell command -v golangci-lint),) | ||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin | ||
endif | ||
|
@@ -300,7 +303,7 @@ endif | |
.PHONY: staticcheck | ||
staticcheck: | ||
ifeq ($(shell command -v staticcheck),) | ||
(cd / ; go install -v -x honnef.co/go/tools/cmd/staticcheck@latest) | ||
(cd / ; go install honnef.co/go/tools/cmd/staticcheck@latest) | ||
endif | ||
# To get advance notice of deprecated function usage, consider running: | ||
# sed -i 's/^go 1\.[0-9]\+$/go 1.18/' go.mod | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.