1
0
mirror of https://codeberg.org/crowci/crow.git synced 2025-04-18 04:44:01 +03:00

refactor: migrate import paths from github to codeberg

This commit is contained in:
pat-s 2025-01-31 14:57:57 +01:00
parent 6a7cd6f163
commit 7673d5253f
No known key found for this signature in database
GPG Key ID: 3C6318841EF78925
427 changed files with 1137 additions and 1135 deletions

View File

@ -32,7 +32,7 @@ steps:
- vendor
image: *golang_image
commands:
- go run github.com/crowci/crow/v3/cmd/cli lint
- go run codeberg.org/crowci/crow/v3/cmd/cli lint
environment:
CROW_DISABLE_UPDATE_CHECK: true
CROW_LINT_STRICT: true

View File

@ -80,11 +80,11 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
# - label: Follow our [Code of Conduct](https://github.com/crowci/crow/blob/main/CODE_OF_CONDUCT.md)
# - label: Follow our [Code of Conduct](https://codeberg.org/crowci/crow/blob/main/CODE_OF_CONDUCT.md)
# required: true
- label: Read the [docs](https://crowci.dev).
required: true
- label: Check that there isn't [already an issue](https://github.com/crowci/crow/issues) that reports the same bug to avoid creating a duplicate.
- label: Check that there isn't [already an issue](https://codeberg.org/crowci/crow/issues) that reports the same bug to avoid creating a duplicate.
required: true
- label: Checked that the bug isn't fixed in the `dev` version already
required: true

View File

@ -2,4 +2,4 @@ blank_issues_enabled: true
contact_links:
- name: Start a discussion
about: Our preferred starting point if you have any questions, suggestions or feature proposals.
url: https://github.com/crowci/crow/discussions/new/choose
url: https://codeberg.org/crowci/crow/discussions/new/choose

View File

@ -37,11 +37,11 @@ body:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
# - label: Follow our [Code of Conduct](https://github.com/crowci/crow/blob/main/CODE_OF_CONDUCT.md)
# - label: Follow our [Code of Conduct](https://codeberg.org/crowci/crow/blob/main/CODE_OF_CONDUCT.md)
# required: true
- label: Checked that the feature isn't part of the `dev` version already
required: true
- label: Read the [docs](https://crowci.dev).
required: true
- label: Check that there isn't already an [issue](https://github.com/crowci/crow/issues) that request the same feature to avoid creating a duplicate.
- label: Check that there isn't already an [issue](https://codeberg.org/crowci/crow/issues) that request the same feature to avoid creating a duplicate.
required: true

View File

@ -28,11 +28,11 @@ linters-settings:
- '!**/server/pipeline/*.go'
- '!**/server/pipeline/**/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/agent'
- pkg: 'github.com/crowci/crow/v3/cli'
- pkg: 'github.com/crowci/crow/v3/cmd'
- pkg: 'github.com/crowci/crow/v3/server'
- pkg: 'github.com/crowci/crow/v3/web'
- pkg: 'codeberg.org/crowci/crow/v3/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd'
- pkg: 'codeberg.org/crowci/crow/v3/server'
- pkg: 'codeberg.org/crowci/crow/v3/web'
shared:
list-mode: lax
files:
@ -41,25 +41,25 @@ linters-settings:
- '!**/pipeline/shared/*.go'
- '!**/pipeline/shared/**/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/agent'
- pkg: 'github.com/crowci/crow/v3/cli'
- pkg: 'github.com/crowci/crow/v3/cmd'
- pkg: 'github.com/crowci/crow/v3/pipeline'
- pkg: 'github.com/crowci/crow/v3/server'
- pkg: 'github.com/crowci/crow/v3/web'
- pkg: 'codeberg.org/crowci/crow/v3/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd'
- pkg: 'codeberg.org/crowci/crow/v3/pipeline'
- pkg: 'codeberg.org/crowci/crow/v3/server'
- pkg: 'codeberg.org/crowci/crow/v3/web'
crow-go:
list-mode: lax
files:
- '**/crow-go/crow/**/*.go'
- '**/crow-go/crow/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/agent'
- pkg: 'github.com/crowci/crow/v3/cli'
- pkg: 'github.com/crowci/crow/v3/cmd'
- pkg: 'github.com/crowci/crow/v3/pipeline'
- pkg: 'github.com/crowci/crow/v3/server'
- pkg: 'github.com/crowci/crow/v3/shared'
- pkg: 'github.com/crowci/crow/v3/web'
- pkg: 'codeberg.org/crowci/crow/v3/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd'
- pkg: 'codeberg.org/crowci/crow/v3/pipeline'
- pkg: 'codeberg.org/crowci/crow/v3/server'
- pkg: 'codeberg.org/crowci/crow/v3/shared'
- pkg: 'codeberg.org/crowci/crow/v3/web'
agent:
list-mode: lax
files:
@ -68,12 +68,12 @@ linters-settings:
- '**/cmd/agent/**/*.go'
- '**/cmd/agent/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/cli'
- pkg: 'github.com/crowci/crow/v3/cmd/cli'
- pkg: 'github.com/crowci/crow/v3/cmd/server'
- pkg: 'github.com/crowci/crow/v3/server'
- pkg: 'github.com/crowci/crow/v3/web'
- pkg: 'github.com/crowci/crow/v3/crow-go/crow'
- pkg: 'codeberg.org/crowci/crow/v3/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/server'
- pkg: 'codeberg.org/crowci/crow/v3/server'
- pkg: 'codeberg.org/crowci/crow/v3/web'
- pkg: 'codeberg.org/crowci/crow/v3/crow-go/crow'
cli:
list-mode: lax
files:
@ -82,11 +82,11 @@ linters-settings:
- '**/cmd/cli/**/*.go'
- '**/cmd/cli/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/agent'
- pkg: 'github.com/crowci/crow/v3/server'
- pkg: 'github.com/crowci/crow/v3/cmd/agent'
- pkg: 'github.com/crowci/crow/v3/cmd/server'
- pkg: 'github.com/crowci/crow/v3/web'
- pkg: 'codeberg.org/crowci/crow/v3/agent'
- pkg: 'codeberg.org/crowci/crow/v3/server'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/server'
- pkg: 'codeberg.org/crowci/crow/v3/web'
server:
list-mode: lax
files:
@ -97,17 +97,17 @@ linters-settings:
- '**/web/**/*.go'
- '**/web/*.go'
deny:
- pkg: 'github.com/crowci/crow/v3/agent'
- pkg: 'github.com/crowci/crow/v3/cli'
- pkg: 'github.com/crowci/crow/v3/cmd/agent'
- pkg: 'github.com/crowci/crow/v3/cmd/cli'
- pkg: 'github.com/crowci/crow/v3/crow-go/crow'
- pkg: 'codeberg.org/crowci/crow/v3/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cli'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/agent'
- pkg: 'codeberg.org/crowci/crow/v3/cmd/cli'
- pkg: 'codeberg.org/crowci/crow/v3/crow-go/crow'
gci:
custom-order: true
sections:
- standard
- default
- prefix(github.com/crowci/crow)
- prefix(codeberg.org/crowci/crow)
mnd:
ignored-numbers:
- '0o600'

View File

@ -29,7 +29,7 @@ CGO_CFLAGS := if HAS_GO == "GO" { `go env CGO_CFLAGS` } else { "" }
fmt:
prettier -w .
cd web/ && prettier -w .
gci write --skip-vendor --skip-generated -s standard -s default -s "prefix(github.com/crowci/crow)" --custom-order .
gci write --skip-vendor --skip-generated -s standard -s default -s "prefix(codeberg.org/crowci/crow)" --custom-order .
test: test-agent test-server test-server-datastore test-cli test-lib
@ -59,20 +59,20 @@ install-tools:
## test
test-agent:
CGO_ENABLED=1 go test -race -cover -coverprofile agent-coverage.out -timeout 60s -tags 'test {{ TAGS }}' github.com/crowci/crow/v3/cmd/agent github.com/crowci/crow/v3/agent/...
CGO_ENABLED=1 go test -race -cover -coverprofile agent-coverage.out -timeout 60s -tags 'test {{ TAGS }}' codeberg.org/crowci/crow/v3/cmd/agent codeberg.org/crowci/crow/v3/agent/...
test-server:
CGO_ENABLED=1 go test -race -cover -coverprofile server-coverage.out -timeout 60s -tags 'test {{ TAGS }}' github.com/crowci/crow/v3/cmd/server `go list github.com/crowci/crow/v3/server/... | grep -v '/store'`
CGO_ENABLED=1 go test -race -cover -coverprofile server-coverage.out -timeout 60s -tags 'test {{ TAGS }}' codeberg.org/crowci/crow/v3/cmd/server `go list codeberg.org/crowci/crow/v3/server/... | grep -v '/store'`
test-cli:
CGO_ENABLED=1 go test -race -cover -coverprofile cli-coverage.out -timeout 60s -tags 'test {{ TAGS }}' github.com/crowci/crow/v3/cmd/cli github.com/crowci/crow/v3/cli/...
CGO_ENABLED=1 go test -race -cover -coverprofile cli-coverage.out -timeout 60s -tags 'test {{ TAGS }}' codeberg.org/crowci/crow/v3/cmd/cli codeberg.org/crowci/crow/v3/cli/...
test-server-datastore:
CGO_ENABLED=1 go test -timeout 300s -tags 'test {{ TAGS }}' -run TestMigrate github.com/crowci/crow/v3/server/store/...
go test -race -timeout 100s -tags 'test {{ TAGS }}' -skip TestMigrate github.com/crowci/crow/v3/server/store/...
CGO_ENABLED=1 go test -timeout 300s -tags 'test {{ TAGS }}' -run TestMigrate codeberg.org/crowci/crow/v3/server/store/...
go test -race -timeout 100s -tags 'test {{ TAGS }}' -skip TestMigrate codeberg.org/crowci/crow/v3/server/store/...
test-server-datastore-coverage:
CGO_ENABLED=1 go test -race -cover -coverprofile datastore-coverage.out -timeout 300s -tags 'test {{ TAGS }}' github.com/crowci/crow/v3/server/store/...
CGO_ENABLED=1 go test -race -cover -coverprofile datastore-coverage.out -timeout 300s -tags 'test {{ TAGS }}' codeberg.org/crowci/crow/v3/server/store/...
# FIXME: feature of 1.38.0 [working-directory('web')]
test-ui:
@ -123,10 +123,10 @@ build-ui:
cd web/ && pnpm build
build-agent:
CGO_ENABLED=0 GOOS={{ TARGETOS }} GOARCH={{ TARGETARCH }} go build -tags '{{ TAGS }}' -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/crow-agent{{ BIN_SUFFIX }} github.com/crowci/crow/v3/cmd/agent
CGO_ENABLED=0 GOOS={{ TARGETOS }} GOARCH={{ TARGETARCH }} go build -tags '{{ TAGS }}' -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/crow-agent{{ BIN_SUFFIX }} codeberg.org/crowci/crow/v3/cmd/agent
build-cli:
CGO_ENABLED=0 GOOS={{ TARGETOS }} GOARCH={{ TARGETARCH }} go build -tags '{{ TAGS }}' -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/crow-cli{{ BIN_SUFFIX }} github.com/crowci/crow/v3/cmd/cli
CGO_ENABLED=0 GOOS={{ TARGETOS }} GOARCH={{ TARGETARCH }} go build -tags '{{ TAGS }}' -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/crow-cli{{ BIN_SUFFIX }} codeberg.org/crowci/crow/v3/cmd/cli
# build-server
@ -173,7 +173,7 @@ release-server-xgo: check-xgo
@echo "- os: ${TARGETOS}"
@echo "- arch (xgo): ${TARGETARCH}"
@echo "------------------"
CGO_CFLAGS="{{ CGO_CFLAGS }}" xgo -go {{ XGO_VERSION }} -dest {{ DIST_DIR }}/server/${TARGETOS}_${TARGETARCH} -tags 'netgo osusergo grpcnotrace {{ TAGS }}' -ldflags '-linkmode external {{ LDFLAGS }} -X github.com/crowci/crow/v3/version.Version={{ VERSION }}' -targets ${TARGETOS}/${TARGETARCH} -out crow-server -pkg cmd/server .
CGO_CFLAGS="{{ CGO_CFLAGS }}" xgo -go {{ XGO_VERSION }} -dest {{ DIST_DIR }}/server/${TARGETOS}_${TARGETARCH} -tags 'netgo osusergo grpcnotrace {{ TAGS }}' -ldflags '-linkmode external {{ LDFLAGS }} -X codeberg.org/crowci/crow/v3/version.Version={{ VERSION }}' -targets ${TARGETOS}/${TARGETARCH} -out crow-server -pkg cmd/server .
# move binary into subfolder depending on target os and arch
if [ "${XGO_IN_XGO:-0}" -eq "1" ]; then \
echo "inside xgo image"; \
@ -188,12 +188,12 @@ release-server-xgo: check-xgo
## agent
release-agent:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_amd64/crow-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_arm64/crow-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_arm/crow-agent github.com/crowci/crow/v3/cmd/agent
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/windows_amd64/crow-agent.exe github.com/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/darwin_amd64/crow-agent github.com/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/darwin_arm64/crow-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_amd64/crow-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_arm64/crow-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/linux_arm/crow-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/windows_amd64/crow-agent.exe codeberg.org/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/darwin_amd64/crow-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -tags 'grpcnotrace {{ TAGS }}' -o {{ DIST_DIR }}/agent/darwin_arm64/crow-agent codeberg.org/crowci/crow/v3/cmd/agent
# tar binary files
tar -cvzf {{ DIST_DIR }}/crow-agent_linux_amd64.tar.gz -C {{ DIST_DIR }}/agent/linux_amd64 crow-agent
tar -cvzf {{ DIST_DIR }}/crow-agent_linux_arm64.tar.gz -C {{ DIST_DIR }}/agent/linux_arm64 crow-agent
@ -207,12 +207,12 @@ release-agent:
## cli
release-cli:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_amd64/crow-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_arm64/crow-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_arm/crow-cli github.com/crowci/crow/v3/cmd/cli
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/windows_amd64/crow-cli.exe github.com/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/darwin_amd64/crow-cli github.com/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/darwin_arm64/crow-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_amd64/crow-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_arm64/crow-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/linux_arm/crow-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/windows_amd64/crow-cli.exe codeberg.org/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/darwin_amd64/crow-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '{{ LDFLAGS }}' -o {{ DIST_DIR }}/cli/darwin_arm64/crow-cli codeberg.org/crowci/crow/v3/cmd/cli
# tar binary files
tar -cvzf {{ DIST_DIR }}/crow-cli_linux_amd64.tar.gz -C {{ DIST_DIR }}/cli/linux_amd64 crow-cli
tar -cvzf {{ DIST_DIR }}/crow-cli_linux_arm64.tar.gz -C {{ DIST_DIR }}/cli/linux_arm64 crow-cli

View File

@ -30,7 +30,7 @@ else
endif
TAGS ?=
LDFLAGS := -X github.com/crowci/crow/v3/version.Version=${VERSION}
LDFLAGS := -X codeberg.org/crowci/crow/v3/version.Version=${VERSION}
STATIC_BUILD ?= true
ifeq ($(STATIC_BUILD),true)
LDFLAGS := -s -w -extldflags "-static" $(LDFLAGS)
@ -161,20 +161,20 @@ lint-ui: ui-dependencies ## Lint UI code
(cd web/; pnpm lint --quiet)
test-agent: ## Test agent code
go test -race -cover -coverprofile agent-coverage.out -timeout 60s -tags 'test $(TAGS)' github.com/crowci/crow/v3/cmd/agent github.com/crowci/crow/v3/agent/...
go test -race -cover -coverprofile agent-coverage.out -timeout 60s -tags 'test $(TAGS)' codeberg.org/crowci/crow/v3/cmd/agent codeberg.org/crowci/crow/v3/agent/...
test-server: ## Test server code
go test -race -cover -coverprofile server-coverage.out -timeout 60s -tags 'test $(TAGS)' github.com/crowci/crow/v3/cmd/server $(shell go list github.com/crowci/crow/v3/server/... | grep -v '/store')
go test -race -cover -coverprofile server-coverage.out -timeout 60s -tags 'test $(TAGS)' codeberg.org/crowci/crow/v3/cmd/server $(shell go list codeberg.org/crowci/crow/v3/server/... | grep -v '/store')
test-cli: ## Test cli code
go test -race -cover -coverprofile cli-coverage.out -timeout 60s -tags 'test $(TAGS)' github.com/crowci/crow/v3/cmd/cli github.com/crowci/crow/v3/cli/...
go test -race -cover -coverprofile cli-coverage.out -timeout 60s -tags 'test $(TAGS)' codeberg.org/crowci/crow/v3/cmd/cli codeberg.org/crowci/crow/v3/cli/...
test-server-datastore: ## Test server datastore
go test -timeout 300s -tags 'test $(TAGS)' -run TestMigrate github.com/crowci/crow/v3/server/store/...
go test -race -timeout 100s -tags 'test $(TAGS)' -skip TestMigrate github.com/crowci/crow/v3/server/store/...
go test -timeout 300s -tags 'test $(TAGS)' -run TestMigrate codeberg.org/crowci/crow/v3/server/store/...
go test -race -timeout 100s -tags 'test $(TAGS)' -skip TestMigrate codeberg.org/crowci/crow/v3/server/store/...
test-server-datastore-coverage: ## Test server datastore with coverage report
go test -race -cover -coverprofile datastore-coverage.out -timeout 300s -tags 'test $(TAGS)' github.com/crowci/crow/v3/server/store/...
go test -race -cover -coverprofile datastore-coverage.out -timeout 300s -tags 'test $(TAGS)' codeberg.org/crowci/crow/v3/server/store/...
test-ui: ui-dependencies ## Test UI code
(cd web/; pnpm run lint)
@ -194,13 +194,13 @@ build-ui: ## Build UI
(cd web/; pnpm install --frozen-lockfile; pnpm build)
build-server: build-ui generate-openapi ## Build server
CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-server${BIN_SUFFIX} github.com/crowci/crow/v3/cmd/server
CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-server${BIN_SUFFIX} codeberg.org/crowci/crow/v3/cmd/server
build-agent: ## Build agent
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-agent${BIN_SUFFIX} github.com/crowci/crow/v3/cmd/agent
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-agent${BIN_SUFFIX} codeberg.org/crowci/crow/v3/cmd/agent
build-cli: ## Build cli
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-cli${BIN_SUFFIX} github.com/crowci/crow/v3/cmd/cli
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -tags '$(TAGS)' -ldflags '${LDFLAGS}' -o ${DIST_DIR}/woodpecker-cli${BIN_SUFFIX} codeberg.org/crowci/crow/v3/cmd/cli
build-tarball: ## Build tar archive
mkdir -p ${DIST_DIR} && tar chzvf ${DIST_DIR}/woodpecker-src.tar.gz \
@ -259,7 +259,7 @@ release-server-xgo: check-xgo ## Create server binaries for release using xgo
release-server: ## Create server binaries for release
# compile
GOOS=$(TARGETOS) GOARCH=$(TARGETARCH) CGO_ENABLED=${CGO_ENABLED} go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/server/$(TARGETOS)_$(TARGETARCH)/woodpecker-server$(BIN_SUFFIX) github.com/crowci/crow/v3/cmd/server
GOOS=$(TARGETOS) GOARCH=$(TARGETARCH) CGO_ENABLED=${CGO_ENABLED} go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/server/$(TARGETOS)_$(TARGETARCH)/woodpecker-server$(BIN_SUFFIX) codeberg.org/crowci/crow/v3/cmd/server
# tar binary files
if [ "$(BIN_SUFFIX)" == ".exe" ]; then \
zip -j ${DIST_DIR}/woodpecker-server_$(TARGETOS)_$(TARGETARCH).zip ${DIST_DIR}/server/$(TARGETOS)_$(TARGETARCH)/woodpecker-server.exe; \
@ -269,12 +269,12 @@ release-server: ## Create server binaries for release
release-agent: ## Create agent binaries for release
# compile
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_amd64/woodpecker-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_arm64/woodpecker-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_arm/woodpecker-agent github.com/crowci/crow/v3/cmd/agent
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/windows_amd64/woodpecker-agent.exe github.com/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/darwin_amd64/woodpecker-agent github.com/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/darwin_arm64/woodpecker-agent github.com/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_amd64/woodpecker-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_arm64/woodpecker-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/linux_arm/woodpecker-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/windows_amd64/woodpecker-agent.exe codeberg.org/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/darwin_amd64/woodpecker-agent codeberg.org/crowci/crow/v3/cmd/agent
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -tags 'grpcnotrace $(TAGS)' -o ${DIST_DIR}/agent/darwin_arm64/woodpecker-agent codeberg.org/crowci/crow/v3/cmd/agent
# tar binary files
tar -cvzf ${DIST_DIR}/woodpecker-agent_linux_amd64.tar.gz -C ${DIST_DIR}/agent/linux_amd64 woodpecker-agent
tar -cvzf ${DIST_DIR}/woodpecker-agent_linux_arm64.tar.gz -C ${DIST_DIR}/agent/linux_arm64 woodpecker-agent
@ -287,12 +287,12 @@ release-agent: ## Create agent binaries for release
release-cli: ## Create cli binaries for release
# compile
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_amd64/woodpecker-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_arm64/woodpecker-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_arm/woodpecker-cli github.com/crowci/crow/v3/cmd/cli
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/windows_amd64/woodpecker-cli.exe github.com/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/darwin_amd64/woodpecker-cli github.com/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/darwin_arm64/woodpecker-cli github.com/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_amd64/woodpecker-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_arm64/woodpecker-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/linux_arm/woodpecker-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/windows_amd64/woodpecker-cli.exe codeberg.org/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/darwin_amd64/woodpecker-cli codeberg.org/crowci/crow/v3/cmd/cli
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '${LDFLAGS}' -o ${DIST_DIR}/cli/darwin_arm64/woodpecker-cli codeberg.org/crowci/crow/v3/cmd/cli
# tar binary files
tar -cvzf ${DIST_DIR}/woodpecker-cli_linux_amd64.tar.gz -C ${DIST_DIR}/cli/linux_amd64 woodpecker-cli
tar -cvzf ${DIST_DIR}/woodpecker-cli_linux_arm64.tar.gz -C ${DIST_DIR}/cli/linux_arm64 woodpecker-cli

View File

@ -20,10 +20,10 @@ import (
"github.com/rs/zerolog"
"github.com/crowci/crow/v3/pipeline"
backend "github.com/crowci/crow/v3/pipeline/backend/types"
"github.com/crowci/crow/v3/pipeline/log"
"github.com/crowci/crow/v3/pipeline/rpc"
"codeberg.org/crowci/crow/v3/pipeline"
backend "codeberg.org/crowci/crow/v3/pipeline/backend/types"
"codeberg.org/crowci/crow/v3/pipeline/log"
"codeberg.org/crowci/crow/v3/pipeline/rpc"
)
func (r *Runner) createLogger(_logger zerolog.Logger, uploads *sync.WaitGroup, workflow *rpc.Workflow) pipeline.Logger {

View File

@ -20,7 +20,7 @@ import (
"google.golang.org/grpc"
"github.com/crowci/crow/v3/pipeline/rpc/proto"
"codeberg.org/crowci/crow/v3/pipeline/rpc/proto"
)
const authClientTimeout = time.Second * 5

View File

@ -27,9 +27,9 @@ import (
"google.golang.org/grpc/status"
grpcproto "google.golang.org/protobuf/proto"
backend "github.com/crowci/crow/v3/pipeline/backend/types"
"github.com/crowci/crow/v3/pipeline/rpc"
"github.com/crowci/crow/v3/pipeline/rpc/proto"
backend "codeberg.org/crowci/crow/v3/pipeline/backend/types"
"codeberg.org/crowci/crow/v3/pipeline/rpc"
"codeberg.org/crowci/crow/v3/pipeline/rpc/proto"
)
const (

View File

@ -25,11 +25,11 @@ import (
"github.com/rs/zerolog/log"
"google.golang.org/grpc/metadata"
"github.com/crowci/crow/v3/pipeline"
backend "github.com/crowci/crow/v3/pipeline/backend/types"
"github.com/crowci/crow/v3/pipeline/rpc"
"github.com/crowci/crow/v3/shared/constant"
"github.com/crowci/crow/v3/shared/utils"
"codeberg.org/crowci/crow/v3/pipeline"
backend "codeberg.org/crowci/crow/v3/pipeline/backend/types"
"codeberg.org/crowci/crow/v3/pipeline/rpc"
"codeberg.org/crowci/crow/v3/shared/constant"
"codeberg.org/crowci/crow/v3/shared/utils"
)
type Runner struct {

View File

@ -23,8 +23,8 @@ import (
"github.com/rs/zerolog"
"github.com/crowci/crow/v3/pipeline"
"github.com/crowci/crow/v3/pipeline/rpc"
"codeberg.org/crowci/crow/v3/pipeline"
"codeberg.org/crowci/crow/v3/pipeline/rpc"
)
func (r *Runner) createTracer(ctxMeta context.Context, uploads *sync.WaitGroup, logger zerolog.Logger, workflow *rpc.Workflow) pipeline.TraceFunc {

View File

@ -17,10 +17,10 @@ package admin
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/admin/loglevel"
"github.com/crowci/crow/v3/cli/admin/registry"
"github.com/crowci/crow/v3/cli/admin/secret"
"github.com/crowci/crow/v3/cli/admin/user"
"codeberg.org/crowci/crow/v3/cli/admin/loglevel"
"codeberg.org/crowci/crow/v3/cli/admin/registry"
"codeberg.org/crowci/crow/v3/cli/admin/secret"
"codeberg.org/crowci/crow/v3/cli/admin/user"
)
// Command exports the admin command set.

View File

@ -21,8 +21,8 @@ import (
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the log-level command used to change the servers log-level.

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryCreateCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryListCmd = &cli.Command{

View File

@ -19,7 +19,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryDeleteCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryUpdateCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryShowCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretCreateCmd = &cli.Command{

View File

@ -22,9 +22,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretListCmd = &cli.Command{

View File

@ -19,7 +19,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretDeleteCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretUpdateCmd = &cli.Command{

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretShowCmd = &cli.Command{

View File

@ -20,8 +20,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var userAddCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var userListCmd = &cli.Command{

View File

@ -20,7 +20,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var userRemoveCmd = &cli.Command{

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var userShowCmd = &cli.Command{

View File

@ -17,7 +17,7 @@ package common
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/shared/logger"
"codeberg.org/crowci/crow/v3/shared/logger"
)
var GlobalFlags = append([]cli.Flag{

View File

@ -8,8 +8,8 @@ import (
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal/config"
"github.com/crowci/crow/v3/cli/update"
"codeberg.org/crowci/crow/v3/cli/internal/config"
"codeberg.org/crowci/crow/v3/cli/update"
)
var (

View File

@ -22,7 +22,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/shared/constant"
"codeberg.org/crowci/crow/v3/shared/constant"
)
func DetectPipelineConfig() (isDir bool, config string, _ error) {

View File

@ -19,7 +19,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/shared/logger"
"codeberg.org/crowci/crow/v3/shared/logger"
)
func setupGlobalLogger(ctx context.Context, c *cli.Command) error {

View File

@ -17,7 +17,7 @@
package exec
import "github.com/crowci/crow/v3/pipeline/backend/dummy"
import "codeberg.org/crowci/crow/v3/pipeline/backend/dummy"
func init() { //nolint:gochecknoinits
backends = append(backends, dummy.New())

View File

@ -29,22 +29,22 @@ import (
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/lint"
"github.com/crowci/crow/v3/pipeline"
"github.com/crowci/crow/v3/pipeline/backend"
"github.com/crowci/crow/v3/pipeline/backend/docker"
"github.com/crowci/crow/v3/pipeline/backend/kubernetes"
"github.com/crowci/crow/v3/pipeline/backend/local"
backend_types "github.com/crowci/crow/v3/pipeline/backend/types"
"github.com/crowci/crow/v3/pipeline/frontend/metadata"
"github.com/crowci/crow/v3/pipeline/frontend/yaml"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/compiler"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/linter"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/matrix"
pipelineLog "github.com/crowci/crow/v3/pipeline/log"
"github.com/crowci/crow/v3/shared/constant"
"github.com/crowci/crow/v3/shared/utils"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/lint"
"codeberg.org/crowci/crow/v3/pipeline"
"codeberg.org/crowci/crow/v3/pipeline/backend"
"codeberg.org/crowci/crow/v3/pipeline/backend/docker"
"codeberg.org/crowci/crow/v3/pipeline/backend/kubernetes"
"codeberg.org/crowci/crow/v3/pipeline/backend/local"
backend_types "codeberg.org/crowci/crow/v3/pipeline/backend/types"
"codeberg.org/crowci/crow/v3/pipeline/frontend/metadata"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/compiler"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/linter"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/matrix"
pipelineLog "codeberg.org/crowci/crow/v3/pipeline/log"
"codeberg.org/crowci/crow/v3/shared/constant"
"codeberg.org/crowci/crow/v3/shared/utils"
)
// Command exports the exec command.

View File

@ -146,7 +146,7 @@ var flags = []cli.Flag{
Sources: cli.EnvVars("CI_SYSTEM_URL", "CROW_SYSTEM_URL"),
Name: "system-url",
Usage: "Set the metadata environment variable \"CI_SYSTEM_URL\".",
Value: "https://github.com/crowci/crow",
Value: "https://codeberg.org/crowci/crow",
},
&cli.StringFlag{
Sources: cli.EnvVars("CI_REPO", "CROW_REPO"),

View File

@ -24,9 +24,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/pipeline/frontend/metadata"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/matrix"
"github.com/crowci/crow/v3/version"
"codeberg.org/crowci/crow/v3/pipeline/frontend/metadata"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/matrix"
"codeberg.org/crowci/crow/v3/version"
)
// return the metadata from the cli context.

View File

@ -24,8 +24,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/pipeline/frontend/metadata"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/matrix"
"codeberg.org/crowci/crow/v3/pipeline/frontend/metadata"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/matrix"
)
func TestMetadataFromContext(t *testing.T) {

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
// Command exports the info command.

View File

@ -30,7 +30,7 @@ import (
"golang.org/x/net/proxy"
"golang.org/x/oauth2"
crow "github.com/crowci/crow/v3/crow-go/crow"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// NewClient returns a new client from the CLI context.

View File

@ -24,10 +24,10 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/pipeline/frontend/yaml"
"github.com/crowci/crow/v3/pipeline/frontend/yaml/linter"
"github.com/crowci/crow/v3/shared/constant"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml"
"codeberg.org/crowci/crow/v3/pipeline/frontend/yaml/linter"
"codeberg.org/crowci/crow/v3/shared/constant"
)
// Command exports the info command.

View File

@ -7,7 +7,7 @@ import (
term_env "github.com/muesli/termenv"
pipeline_errors "github.com/crowci/crow/v3/pipeline/errors"
pipeline_errors "codeberg.org/crowci/crow/v3/pipeline/errors"
)
func FormatLintError(file string, err error, strict bool) (string, error) {

View File

@ -17,8 +17,8 @@ package org
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/org/registry"
"github.com/crowci/crow/v3/cli/org/secret"
"codeberg.org/crowci/crow/v3/cli/org/registry"
"codeberg.org/crowci/crow/v3/cli/org/secret"
)
// Command exports the org command set.

View File

@ -19,7 +19,7 @@ import (
"github.com/urfave/cli/v3"
crow "github.com/crowci/crow/v3/crow-go/crow"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the registry command set.

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryCreateCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryListCmd = &cli.Command{

View File

@ -19,8 +19,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryDeleteCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryUpdateCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryShowCmd = &cli.Command{

View File

@ -19,7 +19,7 @@ import (
"github.com/urfave/cli/v3"
crow "github.com/crowci/crow/v3/crow-go/crow"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the secret command.

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretCreateCmd = &cli.Command{

View File

@ -22,9 +22,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretListCmd = &cli.Command{

View File

@ -19,8 +19,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretDeleteCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretUpdateCmd = &cli.Command{

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretShowCmd = &cli.Command{

View File

@ -21,7 +21,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var pipelineApproveCmd = &cli.Command{

View File

@ -20,9 +20,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var pipelineCreateCmd = &cli.Command{

View File

@ -21,7 +21,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var pipelineDeclineCmd = &cli.Command{

View File

@ -23,9 +23,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the deploy command.

View File

@ -21,7 +21,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var pipelineKillCmd = &cli.Command{

View File

@ -19,9 +19,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var pipelineLastCmd = &cli.Command{

View File

@ -20,10 +20,10 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
shared_utils "github.com/crowci/crow/v3/shared/utils"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
shared_utils "codeberg.org/crowci/crow/v3/shared/utils"
)
//nolint:mnd

View File

@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/crow-go/crow"
"github.com/crowci/crow/v3/crow-go/crow/mocks"
"codeberg.org/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/crow-go/crow/mocks"
)
func TestPipelineList(t *testing.T) {

View File

@ -21,7 +21,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var logPurgeCmd = &cli.Command{

View File

@ -23,8 +23,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var logShowCmd = &cli.Command{

View File

@ -22,10 +22,10 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/output"
"github.com/crowci/crow/v3/cli/pipeline/deploy"
"github.com/crowci/crow/v3/cli/pipeline/log"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/output"
"codeberg.org/crowci/crow/v3/cli/pipeline/deploy"
"codeberg.org/crowci/crow/v3/cli/pipeline/log"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the pipeline command set.

View File

@ -9,8 +9,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
func TestPipelineOutput(t *testing.T) {

View File

@ -23,9 +23,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var pipelinePsCmd = &cli.Command{

View File

@ -24,9 +24,9 @@ import (
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
shared_utils "github.com/crowci/crow/v3/shared/utils"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
shared_utils "codeberg.org/crowci/crow/v3/shared/utils"
)
//nolint:mnd

View File

@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/urfave/cli/v3"
crow "github.com/crowci/crow/v3/crow-go/crow"
"github.com/crowci/crow/v3/crow-go/crow/mocks"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/crow-go/crow/mocks"
)
func TestPipelinePurge(t *testing.T) {

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var pipelineQueueCmd = &cli.Command{

View File

@ -20,9 +20,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var pipelineShowCmd = &cli.Command{

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var pipelineStartCmd = &cli.Command{

View File

@ -21,7 +21,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var pipelineStopCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var cronCreateCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var cronListCmd = &cli.Command{

View File

@ -20,8 +20,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var cronDeleteCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var cronShowCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var cronUpdateCmd = &cli.Command{

View File

@ -17,8 +17,8 @@ package registry
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the registry command set.

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryCreateCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryListCmd = &cli.Command{

View File

@ -19,8 +19,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryDeleteCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var registryUpdateCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var registryShowCmd = &cli.Command{

View File

@ -17,9 +17,9 @@ package repo
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/repo/cron"
"github.com/crowci/crow/v3/cli/repo/registry"
"github.com/crowci/crow/v3/cli/repo/secret"
"codeberg.org/crowci/crow/v3/cli/repo/cron"
"codeberg.org/crowci/crow/v3/cli/repo/registry"
"codeberg.org/crowci/crow/v3/cli/repo/secret"
)
// Command exports the repository command.

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var repoAddCmd = &cli.Command{

View File

@ -20,7 +20,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var repoChownCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var repoListCmd = &cli.Command{

View File

@ -20,7 +20,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var repoRepairCmd = &cli.Command{

View File

@ -20,7 +20,7 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var repoRemoveCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var repoShowCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var repoSyncCmd = &cli.Command{

View File

@ -21,8 +21,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var repoUpdateCmd = &cli.Command{

View File

@ -17,8 +17,8 @@ package secret
import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
// Command exports the secret command.

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretCreateCmd = &cli.Command{

View File

@ -22,9 +22,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretListCmd = &cli.Command{

View File

@ -19,8 +19,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretDeleteCmd = &cli.Command{

View File

@ -21,9 +21,9 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
crow "github.com/crowci/crow/v3/crow-go/crow"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
crow "codeberg.org/crowci/crow/v3/crow-go/crow"
)
var secretUpdateCmd = &cli.Command{

View File

@ -22,8 +22,8 @@ import (
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/common"
"github.com/crowci/crow/v3/cli/internal"
"codeberg.org/crowci/crow/v3/cli/common"
"codeberg.org/crowci/crow/v3/cli/internal"
)
var secretShowCmd = &cli.Command{

View File

@ -8,8 +8,8 @@ import (
"github.com/rs/zerolog/log"
"github.com/urfave/cli/v3"
"github.com/crowci/crow/v3/cli/internal/config"
"github.com/crowci/crow/v3/cli/setup/ui"
"codeberg.org/crowci/crow/v3/cli/internal/config"
"codeberg.org/crowci/crow/v3/cli/setup/ui"
)
// Command exports the setup command.

Some files were not shown because too many files have changed in this diff Show More