From d5798f067ab91e19e5aa76b9d40c65a2c5ffa6fc Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 22 Feb 2023 17:19:43 +0100 Subject: [PATCH] s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| --- client/http.go | 2 +- cmd/daemon.go | 10 +++++----- cmd/register.go | 6 +++--- config/config.go | 2 +- go.mod | 2 +- main.go | 2 +- poller/poller.go | 2 +- register/register.go | 6 +++--- runtime/reporter.go | 2 +- runtime/runtime.go | 2 +- runtime/task.go | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/client/http.go b/client/http.go index 2c2d628..0f08f81 100644 --- a/client/http.go +++ b/client/http.go @@ -8,7 +8,7 @@ import ( "code.gitea.io/actions-proto-go/ping/v1/pingv1connect" "code.gitea.io/actions-proto-go/runner/v1/runnerv1connect" - "gitea.com/gitea/act_runner/core" + "codeberg.org/forgejo/runner/core" "github.com/bufbuild/connect-go" ) diff --git a/cmd/daemon.go b/cmd/daemon.go index 46d78ad..79e6a34 100644 --- a/cmd/daemon.go +++ b/cmd/daemon.go @@ -5,11 +5,11 @@ import ( "os" "strings" - "gitea.com/gitea/act_runner/client" - "gitea.com/gitea/act_runner/config" - "gitea.com/gitea/act_runner/engine" - "gitea.com/gitea/act_runner/poller" - "gitea.com/gitea/act_runner/runtime" + "codeberg.org/forgejo/runner/client" + "codeberg.org/forgejo/runner/config" + "codeberg.org/forgejo/runner/engine" + "codeberg.org/forgejo/runner/poller" + "codeberg.org/forgejo/runner/runtime" "github.com/joho/godotenv" "github.com/mattn/go-isatty" diff --git a/cmd/register.go b/cmd/register.go index 8990f0f..b123db4 100644 --- a/cmd/register.go +++ b/cmd/register.go @@ -11,9 +11,9 @@ import ( "time" pingv1 "code.gitea.io/actions-proto-go/ping/v1" - "gitea.com/gitea/act_runner/client" - "gitea.com/gitea/act_runner/config" - "gitea.com/gitea/act_runner/register" + "codeberg.org/forgejo/runner/client" + "codeberg.org/forgejo/runner/config" + "codeberg.org/forgejo/runner/register" "github.com/bufbuild/connect-go" "github.com/joho/godotenv" diff --git a/config/config.go b/config/config.go index 53a4cf1..607df95 100644 --- a/config/config.go +++ b/config/config.go @@ -7,7 +7,7 @@ import ( "runtime" "strconv" - "gitea.com/gitea/act_runner/core" + "codeberg.org/forgejo/runner/core" "github.com/joho/godotenv" "github.com/kelseyhightower/envconfig" diff --git a/go.mod b/go.mod index 994c70c..7393925 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitea.com/gitea/act_runner +module codeberg.org/forgejo/runner go 1.18 diff --git a/main.go b/main.go index 333e615..8562842 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "os/signal" "syscall" - "gitea.com/gitea/act_runner/cmd" + "codeberg.org/forgejo/runner/cmd" ) func withContextFunc(ctx context.Context, f func()) context.Context { diff --git a/poller/poller.go b/poller/poller.go index abb96c8..1600dc4 100644 --- a/poller/poller.go +++ b/poller/poller.go @@ -7,7 +7,7 @@ import ( "time" runnerv1 "code.gitea.io/actions-proto-go/runner/v1" - "gitea.com/gitea/act_runner/client" + "codeberg.org/forgejo/runner/client" "github.com/bufbuild/connect-go" log "github.com/sirupsen/logrus" diff --git a/register/register.go b/register/register.go index 3c5e7d1..4458174 100644 --- a/register/register.go +++ b/register/register.go @@ -8,9 +8,9 @@ import ( "strings" runnerv1 "code.gitea.io/actions-proto-go/runner/v1" - "gitea.com/gitea/act_runner/client" - "gitea.com/gitea/act_runner/config" - "gitea.com/gitea/act_runner/core" + "codeberg.org/forgejo/runner/client" + "codeberg.org/forgejo/runner/config" + "codeberg.org/forgejo/runner/core" "github.com/bufbuild/connect-go" log "github.com/sirupsen/logrus" diff --git a/runtime/reporter.go b/runtime/reporter.go index b6d38bf..544852a 100644 --- a/runtime/reporter.go +++ b/runtime/reporter.go @@ -8,7 +8,7 @@ import ( "time" runnerv1 "code.gitea.io/actions-proto-go/runner/v1" - "gitea.com/gitea/act_runner/client" + "codeberg.org/forgejo/runner/client" retry "github.com/avast/retry-go/v4" "github.com/bufbuild/connect-go" diff --git a/runtime/runtime.go b/runtime/runtime.go index 4bac678..e5e096b 100644 --- a/runtime/runtime.go +++ b/runtime/runtime.go @@ -5,7 +5,7 @@ import ( "strings" runnerv1 "code.gitea.io/actions-proto-go/runner/v1" - "gitea.com/gitea/act_runner/client" + "codeberg.org/forgejo/runner/client" ) // Runner runs the pipeline. diff --git a/runtime/task.go b/runtime/task.go index b899c5b..7d6bb6d 100644 --- a/runtime/task.go +++ b/runtime/task.go @@ -11,7 +11,7 @@ import ( "time" runnerv1 "code.gitea.io/actions-proto-go/runner/v1" - "gitea.com/gitea/act_runner/client" + "codeberg.org/forgejo/runner/client" "github.com/nektos/act/pkg/artifacts" "github.com/nektos/act/pkg/common"