diff --git a/.gitignore b/.gitignore
index 76a7578646..c533452a1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -120,3 +120,7 @@ prime/
# A Makefile for custom make targets
Makefile.local
+
+# Built binaries
+/gotea
+/cgi/gotea-cgi
diff --git a/Makefile b/Makefile
index 77b9cc9682..a3c5823a4c 100644
--- a/Makefile
+++ b/Makefile
@@ -53,9 +53,9 @@ else ifeq ($(patsubst Windows%,Windows,$(OS)),Windows)
endif
ifeq ($(IS_WINDOWS),yes)
- EXECUTABLE ?= gitea.exe
+ EXECUTABLE ?= gotea.exe
else
- EXECUTABLE ?= gitea
+ EXECUTABLE ?= gotea
endif
# EXTRA_GOFLAGS is for the 'go build' command only
@@ -109,8 +109,8 @@ endif
LDFLAGS := $(LDFLAGS) -X "main.Version=$(GITEA_VERSION)" -X "main.Tags=$(TAGS)"
RELEASE_ENV = GO="$(GO)" TAGS="$(TAGS)" LDFLAGS="$(LDFLAGS)" DIST="$(DIST)" VERSION="$(VERSION)"
-GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list gitea.dev/modelmigration/...) gitea.dev/tests/integration/migration-test gitea.dev/tests gitea.dev/tests/integration,$(shell $(GO) list ./... | grep -v /vendor/))
-MIGRATE_TEST_PACKAGES ?= $(shell $(GO) list gitea.dev/modelmigration/...)
+GO_TEST_PACKAGES ?= $(filter-out $(shell $(GO) list gotea.dev/modelmigration/...) gotea.dev/tests/integration/migration-test gotea.dev/tests gotea.dev/tests/integration,$(shell $(GO) list ./... | grep -v /vendor/))
+MIGRATE_TEST_PACKAGES ?= $(shell $(GO) list gotea.dev/modelmigration/...)
FRONTEND_SOURCES := $(shell find web_src/js web_src/css -type f)
FRONTEND_CONFIGS := vite.config.ts tailwind.config.ts
@@ -152,17 +152,17 @@ SWAGGER_SPEC := templates/swagger/v1-swagger.generated.json
OPENAPI3_SPEC := templates/swagger/v1-openapi3.generated.json
TEST_MYSQL_HOST ?= mysql:3306
-TEST_MYSQL_DBNAME ?= testgitea
+TEST_MYSQL_DBNAME ?= testgotea
TEST_MYSQL_USERNAME ?= root
TEST_MYSQL_PASSWORD ?=
TEST_PGSQL_HOST ?= pgsql:5432
-TEST_PGSQL_DBNAME ?= testgitea
+TEST_PGSQL_DBNAME ?= testgotea
TEST_PGSQL_USERNAME ?= postgres
TEST_PGSQL_PASSWORD ?= postgres
TEST_PGSQL_SCHEMA ?= gtestschema
TEST_MINIO_ENDPOINT ?= minio:9000
TEST_MSSQL_HOST ?= mssql:1433
-TEST_MSSQL_DBNAME ?= testgitea
+TEST_MSSQL_DBNAME ?= testgotea
TEST_MSSQL_USERNAME ?= sa
TEST_MSSQL_PASSWORD ?= MwantsaSecurePassword1
@@ -451,23 +451,23 @@ test-integration: $(EXECUTABLE)
@# Use a compiled binary: testlogger forwards gitea logs to t.Log, so `go test -v`
@# would flood output per passing test. testcache can't help these tests anyway —
@# they mutate the work directory, so cache inputs change between runs.
- $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -c gitea.dev/tests/integration -o ./test-integration-$(GITEA_TEST_DATABASE).test
+ $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -c gotea.dev/tests/integration -o ./test-integration-$(GITEA_TEST_DATABASE).test
./tools/test-integration.sh ./test-integration-$(GITEA_TEST_DATABASE).test
.PHONY: test-integration-compile
test-integration-compile:
- $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -c -o /dev/null gitea.dev/tests/integration
+ $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -c -o /dev/null gotea.dev/tests/integration
.PHONY: test-integration\#%
test-integration\#%: $(EXECUTABLE)
- $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -run '$(subst .,/,$*)' gitea.dev/tests/integration
+ $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' -run '$(subst .,/,$*)' gotea.dev/tests/integration
.PHONY: test-migration
test-migration: migrations.integration.test migrations.individual.test
.PHONY: migrations.integration.test
migrations.integration.test:
- $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' gitea.dev/tests/integration/migration-test
+ $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' gotea.dev/tests/integration/migration-test
.PHONY: migrations.individual.test
migrations.individual.test:
@@ -476,7 +476,7 @@ migrations.individual.test:
.PHONY: migrations.individual.test\#%
migrations.individual.test\#%:
- $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' gitea.dev/modelmigration/$*
+ $(GO) test $(GOTEST_FLAGS) -tags '$(TAGS)' gotea.dev/modelmigration/$*
.PHONY: playwright
playwright: deps-frontend
diff --git a/build/generate-bindata.go b/build/generate-bindata.go
index 3e14eba4cb..18774e7dcf 100644
--- a/build/generate-bindata.go
+++ b/build/generate-bindata.go
@@ -9,7 +9,7 @@ import (
"fmt"
"os"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
)
func main() {
diff --git a/build/generate-emoji.go b/build/generate-emoji.go
index dc3c1aa736..760b4da640 100644
--- a/build/generate-emoji.go
+++ b/build/generate-emoji.go
@@ -17,7 +17,7 @@ import (
"slices"
"strings"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
const (
diff --git a/build/generate-gitignores.go b/build/generate-gitignores.go
index 11af4eb70e..e5672108ef 100644
--- a/build/generate-gitignores.go
+++ b/build/generate-gitignores.go
@@ -18,7 +18,7 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
func main() {
diff --git a/build/generate-go-licenses.go b/build/generate-go-licenses.go
index a4aa5b0832..d2154bc0fe 100644
--- a/build/generate-go-licenses.go
+++ b/build/generate-go-licenses.go
@@ -29,8 +29,8 @@ var primaryLicenseRe = regexp.MustCompile(`^(?i)(LICEN[SC]E|COPYING)$`)
// ignoredNames are LicenseEntry.Name values to exclude from the output.
var ignoredNames = map[string]bool{
- "gitea.dev": true,
- "gitea.dev/options/license": true,
+ "gotea.dev": true,
+ "gotea.dev/options/license": true,
}
var excludedExt = map[string]bool{
diff --git a/build/generate-openapi.go b/build/generate-openapi.go
index dd73043a6f..5a39e3dbd4 100644
--- a/build/generate-openapi.go
+++ b/build/generate-openapi.go
@@ -24,7 +24,7 @@ import (
"sort"
"strings"
- "gitea.dev/build/openapi3gen"
+ "gotea.dev/build/openapi3gen"
)
const (
diff --git a/build/openapi3gen/convert.go b/build/openapi3gen/convert.go
index 922e0558dc..4f62874654 100644
--- a/build/openapi3gen/convert.go
+++ b/build/openapi3gen/convert.go
@@ -9,7 +9,7 @@ import (
"sort"
"strings"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/getkin/kin-openapi/openapi2"
"github.com/getkin/kin-openapi/openapi2conv"
diff --git a/cmd/actions.go b/cmd/actions.go
index 1a1ad281ce..21c9b3bd30 100644
--- a/cmd/actions.go
+++ b/cmd/actions.go
@@ -6,8 +6,8 @@ package cmd
import (
"context"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin.go b/cmd/admin.go
index 6d9a198e2e..4a9a43240f 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -8,11 +8,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_auth.go b/cmd/admin_auth.go
index 6a00e961b9..90a8c36e0a 100644
--- a/cmd/admin_auth.go
+++ b/cmd/admin_auth.go
@@ -10,9 +10,9 @@ import (
"os"
"text/tabwriter"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- auth_service "gitea.dev/services/auth"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ auth_service "gotea.dev/services/auth"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_auth_ldap.go b/cmd/admin_auth_ldap.go
index b7d5071510..652836818e 100644
--- a/cmd/admin_auth_ldap.go
+++ b/cmd/admin_auth_ldap.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "gitea.dev/models/auth"
- "gitea.dev/modules/util"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/ldap"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/util"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/ldap"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_auth_ldap_test.go b/cmd/admin_auth_ldap_test.go
index f9b5338ba0..aaaf617635 100644
--- a/cmd/admin_auth_ldap_test.go
+++ b/cmd/admin_auth_ldap_test.go
@@ -7,9 +7,9 @@ import (
"context"
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/modules/test"
- "gitea.dev/services/auth/source/ldap"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/auth/source/ldap"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/admin_auth_oauth.go b/cmd/admin_auth_oauth.go
index f44327d262..93d0f0294c 100644
--- a/cmd/admin_auth_oauth.go
+++ b/cmd/admin_auth_oauth.go
@@ -9,9 +9,9 @@ import (
"fmt"
"net/url"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/util"
- "gitea.dev/services/auth/source/oauth2"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/auth/source/oauth2"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_auth_oauth_test.go b/cmd/admin_auth_oauth_test.go
index c16dd96d56..7e6fdd8c05 100644
--- a/cmd/admin_auth_oauth_test.go
+++ b/cmd/admin_auth_oauth_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth/source/oauth2"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth/source/oauth2"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/admin_auth_smtp.go b/cmd/admin_auth_smtp.go
index 5d99b5e1c5..74c342f272 100644
--- a/cmd/admin_auth_smtp.go
+++ b/cmd/admin_auth_smtp.go
@@ -8,9 +8,9 @@ import (
"errors"
"strings"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/util"
- "gitea.dev/services/auth/source/smtp"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/auth/source/smtp"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_auth_smtp_test.go b/cmd/admin_auth_smtp_test.go
index 2b890f154a..6dae4ca870 100644
--- a/cmd/admin_auth_smtp_test.go
+++ b/cmd/admin_auth_smtp_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth/source/smtp"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth/source/smtp"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/admin_regenerate.go b/cmd/admin_regenerate.go
index 89b7bf383c..2e049109fd 100644
--- a/cmd/admin_regenerate.go
+++ b/cmd/admin_regenerate.go
@@ -6,9 +6,9 @@ package cmd
import (
"context"
- "gitea.dev/modules/graceful"
- asymkey_service "gitea.dev/services/asymkey"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/modules/graceful"
+ asymkey_service "gotea.dev/services/asymkey"
+ repo_service "gotea.dev/services/repository"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user.go b/cmd/admin_user.go
index baf8bf2727..22c73781f8 100644
--- a/cmd/admin_user.go
+++ b/cmd/admin_user.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_change_password.go b/cmd/admin_user_change_password.go
index 46e0588e34..f736e769df 100644
--- a/cmd/admin_user_change_password.go
+++ b/cmd/admin_user_change_password.go
@@ -8,11 +8,11 @@ import (
"errors"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ user_service "gotea.dev/services/user"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_change_password_test.go b/cmd/admin_user_change_password_test.go
index 50fd8d9e4d..5fc576e368 100644
--- a/cmd/admin_user_change_password_test.go
+++ b/cmd/admin_user_change_password_test.go
@@ -7,9 +7,9 @@ import (
"io"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/cmd/admin_user_change_type.go b/cmd/admin_user_change_type.go
index 16d9b3b738..9b95989e36 100644
--- a/cmd/admin_user_change_type.go
+++ b/cmd/admin_user_change_type.go
@@ -6,10 +6,10 @@ package cmd
import (
"context"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ user_service "gotea.dev/services/user"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_create.go b/cmd/admin_user_create.go
index ef1eca7ff4..fc4787ef94 100644
--- a/cmd/admin_user_create.go
+++ b/cmd/admin_user_create.go
@@ -9,12 +9,12 @@ import (
"fmt"
"strings"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- pwd "gitea.dev/modules/auth/password"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ pwd "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_create_test.go b/cmd/admin_user_create_test.go
index 66b93683d2..4be453aaa4 100644
--- a/cmd/admin_user_create_test.go
+++ b/cmd/admin_user_create_test.go
@@ -8,10 +8,10 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/cmd/admin_user_delete.go b/cmd/admin_user_delete.go
index cc70fe70bf..25c538bfdf 100644
--- a/cmd/admin_user_delete.go
+++ b/cmd/admin_user_delete.go
@@ -9,10 +9,10 @@ import (
"fmt"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ user_service "gotea.dev/services/user"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_delete_test.go b/cmd/admin_user_delete_test.go
index 4fbd0435c5..f8030457e3 100644
--- a/cmd/admin_user_delete_test.go
+++ b/cmd/admin_user_delete_test.go
@@ -8,10 +8,10 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/require"
)
diff --git a/cmd/admin_user_disable_2fa.go b/cmd/admin_user_disable_2fa.go
index b5b59e59a0..d95182ee6e 100644
--- a/cmd/admin_user_disable_2fa.go
+++ b/cmd/admin_user_disable_2fa.go
@@ -9,9 +9,9 @@ import (
"fmt"
"strings"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_disable_2fa_test.go b/cmd/admin_user_disable_2fa_test.go
index 4fe94974bb..7c2c6fee95 100644
--- a/cmd/admin_user_disable_2fa_test.go
+++ b/cmd/admin_user_disable_2fa_test.go
@@ -8,10 +8,10 @@ import (
"strconv"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/go-webauthn/webauthn/webauthn"
"github.com/stretchr/testify/assert"
diff --git a/cmd/admin_user_generate_access_token.go b/cmd/admin_user_generate_access_token.go
index e1b0e9837c..52cedc396e 100644
--- a/cmd/admin_user_generate_access_token.go
+++ b/cmd/admin_user_generate_access_token.go
@@ -8,8 +8,8 @@ import (
"errors"
"fmt"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_list.go b/cmd/admin_user_list.go
index 30d8555183..7c6467959d 100644
--- a/cmd/admin_user_list.go
+++ b/cmd/admin_user_list.go
@@ -9,7 +9,7 @@ import (
"os"
"text/tabwriter"
- user_model "gitea.dev/models/user"
+ user_model "gotea.dev/models/user"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_must_change_password.go b/cmd/admin_user_must_change_password.go
index 185b9e610b..2e76ad17bc 100644
--- a/cmd/admin_user_must_change_password.go
+++ b/cmd/admin_user_must_change_password.go
@@ -7,8 +7,8 @@ import (
"context"
"errors"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/admin_user_must_change_password_test.go b/cmd/admin_user_must_change_password_test.go
index cf81fbe0ba..4ca450db74 100644
--- a/cmd/admin_user_must_change_password_test.go
+++ b/cmd/admin_user_must_change_password_test.go
@@ -6,9 +6,9 @@ package cmd
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/cmd/audit.go b/cmd/audit.go
index 7ccad812bf..ea5f5b18e5 100644
--- a/cmd/audit.go
+++ b/cmd/audit.go
@@ -6,9 +6,9 @@ package cmd
import (
"context"
- audit_model "gitea.dev/models/audit"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/audit"
)
func cliAuditContext(ctx context.Context) context.Context {
diff --git a/cmd/cmdtest/cmd_test.go b/cmd/cmdtest/cmd_test.go
index f41793c8e4..ca86a55713 100644
--- a/cmd/cmdtest/cmd_test.go
+++ b/cmd/cmdtest/cmd_test.go
@@ -15,11 +15,11 @@ import (
"strings"
"testing"
- "gitea.dev/cmd"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/cmd"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/config.go b/cmd/config.go
index 42880d99f2..79ec5681bc 100644
--- a/cmd/config.go
+++ b/cmd/config.go
@@ -9,7 +9,7 @@ import (
"fmt"
"os"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/doctor.go b/cmd/doctor.go
index 7c55c2d070..fa2f2943ac 100644
--- a/cmd/doctor.go
+++ b/cmd/doctor.go
@@ -12,13 +12,13 @@ import (
"strings"
"text/tabwriter"
- "gitea.dev/modelmigration"
- "gitea.dev/modelmigration/base"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/doctor"
+ "gotea.dev/modelmigration"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/doctor"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/doctor_convert.go b/cmd/doctor_convert.go
index e7123702d5..f3e31a17ac 100644
--- a/cmd/doctor_convert.go
+++ b/cmd/doctor_convert.go
@@ -6,9 +6,9 @@ package cmd
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/doctor_test.go b/cmd/doctor_test.go
index 6cc22b0c49..9e13ba1656 100644
--- a/cmd/doctor_test.go
+++ b/cmd/doctor_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- "gitea.dev/modules/log"
- "gitea.dev/services/doctor"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/doctor"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/dump.go b/cmd/dump.go
index 037e788b28..6f5b9b3bf0 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -11,13 +11,13 @@ import (
"path/filepath"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/dump"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/dump"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
"gitea.com/go-chi/session"
"github.com/urfave/cli/v3"
diff --git a/cmd/dump_repo.go b/cmd/dump_repo.go
index f22034d375..759eeb5f94 100644
--- a/cmd/dump_repo.go
+++ b/cmd/dump_repo.go
@@ -10,15 +10,15 @@ import (
"os"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/convert"
- "gitea.dev/services/gitproxy"
- "gitea.dev/services/migrations"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/gitproxy"
+ "gotea.dev/services/migrations"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/embedded.go b/cmd/embedded.go
index 56d7e4cb36..51a56bbc11 100644
--- a/cmd/embedded.go
+++ b/cmd/embedded.go
@@ -11,13 +11,13 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/options"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/options"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/generate.go b/cmd/generate.go
index 122dbbcccd..4d9d87eb27 100644
--- a/cmd/generate.go
+++ b/cmd/generate.go
@@ -10,8 +10,8 @@ import (
"fmt"
"os"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/ssh"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/ssh"
"github.com/mattn/go-isatty"
"github.com/urfave/cli/v3"
diff --git a/cmd/helper.go b/cmd/helper.go
index 592eda5328..3065053f76 100644
--- a/cmd/helper.go
+++ b/cmd/helper.go
@@ -13,9 +13,9 @@ import (
"strings"
"syscall"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/hook.go b/cmd/hook.go
index 0af4c5e04f..9144c7b2db 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -14,12 +14,12 @@ import (
"strings"
"time"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/keys.go b/cmd/keys.go
index 75ddf2e27e..d7b2018883 100644
--- a/cmd/keys.go
+++ b/cmd/keys.go
@@ -9,8 +9,8 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/mailer.go b/cmd/mailer.go
index d4c94f17fb..05b25f2561 100644
--- a/cmd/mailer.go
+++ b/cmd/mailer.go
@@ -6,8 +6,8 @@ package cmd
import (
"context"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/main.go b/cmd/main.go
index 66b2fba461..391eb68b72 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -10,8 +10,8 @@ import (
"io"
"os"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
@@ -23,13 +23,13 @@ func init() {
}
// cliHelpPrinterNew helps to print "DEFAULT CONFIGURATION" for the following cases ( "-c" can apper in any position):
-// * ./gitea -c /dev/null -h
-// * ./gitea -c help /dev/null help
-// * ./gitea help -c /dev/null
-// * ./gitea help -c /dev/null web
-// * ./gitea help web -c /dev/null
-// * ./gitea web help -c /dev/null
-// * ./gitea web -h -c /dev/null
+// * ./gotea -c /dev/null -h
+// * ./gotea -c help /dev/null help
+// * ./gotea help -c /dev/null
+// * ./gotea help -c /dev/null web
+// * ./gotea help web -c /dev/null
+// * ./gotea web help -c /dev/null
+// * ./gotea web -h -c /dev/null
func cliHelpPrinterNew(out io.Writer, templ string, data any) {
cmd, _ := data.(*cli.Command)
if cmd != nil {
@@ -86,7 +86,7 @@ type AppVersion struct {
func NewMainApp(appVer AppVersion) *cli.Command {
app := &cli.Command{}
- app.Name = "gitea" // must be lower-cased because it appears in the "USAGE" section like "gitea doctor [command [command options]]"
+ app.Name = "gotea" // must be lower-cased because it appears in the "USAGE" section like "gotea doctor [command [command options]]"
app.Usage = "A painless self-hosted Git service"
app.Description = `Gitea program contains "web" and other subcommands. If no subcommand is given, it starts the web server by default. Use "web" subcommand for more web server arguments, use other subcommands for other purposes.`
app.Version = appVer.Version + appVer.Extra
diff --git a/cmd/main_test.go b/cmd/main_test.go
index 047698074c..0db6542e78 100644
--- a/cmd/main_test.go
+++ b/cmd/main_test.go
@@ -7,7 +7,7 @@ import (
"context"
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/cmd/manager.go b/cmd/manager.go
index 85fccc992d..4b8aad0818 100644
--- a/cmd/manager.go
+++ b/cmd/manager.go
@@ -8,7 +8,7 @@ import (
"os"
"time"
- "gitea.dev/modules/private"
+ "gotea.dev/modules/private"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/manager_logging.go b/cmd/manager_logging.go
index a54041f092..cab2227614 100644
--- a/cmd/manager_logging.go
+++ b/cmd/manager_logging.go
@@ -8,7 +8,7 @@ import (
"fmt"
"os"
- "gitea.dev/modules/private"
+ "gotea.dev/modules/private"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/migrate.go b/cmd/migrate.go
index cc4fee3308..36cd35c231 100644
--- a/cmd/migrate.go
+++ b/cmd/migrate.go
@@ -6,10 +6,10 @@ package cmd
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/versioned_migration"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/versioned_migration"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/migrate_storage.go b/cmd/migrate_storage.go
index 36b224fbf3..b6e56aba84 100644
--- a/cmd/migrate_storage.go
+++ b/cmd/migrate_storage.go
@@ -10,17 +10,17 @@ import (
"io/fs"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/services/versioned_migration"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/services/versioned_migration"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/migrate_storage_test.go b/cmd/migrate_storage_test.go
index 67a6b9e2ee..403d9670b4 100644
--- a/cmd/migrate_storage_test.go
+++ b/cmd/migrate_storage_test.go
@@ -8,13 +8,13 @@ import (
"strings"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ packages_service "gotea.dev/services/packages"
"github.com/stretchr/testify/assert"
)
diff --git a/cmd/restore_repo.go b/cmd/restore_repo.go
index c7bbddd7c4..43a5117eb6 100644
--- a/cmd/restore_repo.go
+++ b/cmd/restore_repo.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
"github.com/urfave/cli/v3"
)
diff --git a/cmd/serv.go b/cmd/serv.go
index c6521e1590..d8a68c2ce7 100644
--- a/cmd/serv.go
+++ b/cmd/serv.go
@@ -14,22 +14,22 @@ import (
"strings"
"unicode"
- asymkey_model "gitea.dev/models/asymkey"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfstransfer"
- "gitea.dev/modules/log"
- "gitea.dev/modules/pprof"
- "gitea.dev/modules/private"
- "gitea.dev/modules/process"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/services/agit"
- "gitea.dev/services/lfs"
+ asymkey_model "gotea.dev/models/asymkey"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfstransfer"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/pprof"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/process"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/agit"
+ "gotea.dev/services/lfs"
"github.com/kballard/go-shellquote"
"github.com/urfave/cli/v3"
diff --git a/cmd/serv_test.go b/cmd/serv_test.go
index 3bdcba1df3..546898945a 100644
--- a/cmd/serv_test.go
+++ b/cmd/serv_test.go
@@ -6,8 +6,8 @@ package cmd
import (
"testing"
- "gitea.dev/models/perm"
- "gitea.dev/modules/git"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/cmd/web.go b/cmd/web.go
index 11c5d832ae..f90e3520dc 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -15,19 +15,19 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/container"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/routers"
- "gitea.dev/routers/install"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers"
+ "gotea.dev/routers/install"
+ "gotea.dev/services/audit"
"github.com/felixge/fgprof"
"github.com/urfave/cli/v3"
@@ -114,7 +114,7 @@ func createPIDFile(pidPath string) {
}
func showWebStartupMessage(msg string) {
- log.Info("Gitea version: %s%s", setting.AppVer, setting.AppBuiltWith)
+ log.Info("Gotea version: %s%s", setting.AppVer, setting.AppBuiltWith)
log.Info("* RunMode: %s", setting.RunMode)
log.Info("* AppPath: %s", setting.AppPath)
log.Info("* WorkPath: %s", setting.AppWorkPath)
diff --git a/cmd/web_acme.go b/cmd/web_acme.go
index 857114ff90..974f8c337f 100644
--- a/cmd/web_acme.go
+++ b/cmd/web_acme.go
@@ -14,11 +14,11 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/caddyserver/certmagic"
)
diff --git a/cmd/web_graceful.go b/cmd/web_graceful.go
index 13eb9ddc46..96a68fa3ac 100644
--- a/cmd/web_graceful.go
+++ b/cmd/web_graceful.go
@@ -9,9 +9,9 @@ import (
"net/http/fcgi"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func runHTTP(network, listenAddr, name string, m http.Handler, useProxyProtocol bool) error {
diff --git a/cmd/web_https.go b/cmd/web_https.go
index 907c0ea677..757e9ca897 100644
--- a/cmd/web_https.go
+++ b/cmd/web_https.go
@@ -9,9 +9,9 @@ import (
"os"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
var tlsVersionStringMap = map[string]uint16{
diff --git a/cmd/web_https_test.go b/cmd/web_https_test.go
index a6bc4dcd65..4f182971a9 100644
--- a/cmd/web_https_test.go
+++ b/cmd/web_https_test.go
@@ -11,8 +11,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 43005ade6d..71aabeb67c 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -41,7 +41,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; App name that shows in every page title
-;APP_NAME = Gitea: Git with a cup of tea
+;APP_NAME = Gotea: Game of Trees forge
;;
;; RUN_USER will automatically detect the current user - but you can set it here change it if you run locally
;RUN_USER =
diff --git a/go.mod b/go.mod
index 31305e5f82..7adbe52154 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module gitea.dev
+module gotea.dev
go 1.27
diff --git a/main.go b/main.go
index 78fe7c1e38..6b5fce3815 100644
--- a/main.go
+++ b/main.go
@@ -10,17 +10,17 @@ import (
"strings"
"time"
- "gitea.dev/cmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/gitproxy"
+ "gotea.dev/cmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/gitproxy"
// register supported doc types
- _ "gitea.dev/modules/markup/console"
- _ "gitea.dev/modules/markup/csv"
- _ "gitea.dev/modules/markup/jupyter"
- _ "gitea.dev/modules/markup/markdown"
- _ "gitea.dev/modules/markup/orgmode"
+ _ "gotea.dev/modules/markup/console"
+ _ "gotea.dev/modules/markup/csv"
+ _ "gotea.dev/modules/markup/jupyter"
+ _ "gotea.dev/modules/markup/markdown"
+ _ "gotea.dev/modules/markup/orgmode"
"github.com/urfave/cli/v3"
)
diff --git a/modelmigration/base/db.go b/modelmigration/base/db.go
index 3158aa3da4..e7f51bfb17 100644
--- a/modelmigration/base/db.go
+++ b/modelmigration/base/db.go
@@ -11,9 +11,9 @@ import (
"regexp"
"strings"
- "gitea.dev/models/db" //nolint:depguard // allow to access db in migration
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db" //nolint:depguard // allow to access db in migration
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
"xorm.io/xorm/schemas"
diff --git a/modelmigration/base/db_test.go b/modelmigration/base/db_test.go
index eb5a212a76..1fd4ea2a6e 100644
--- a/modelmigration/base/db_test.go
+++ b/modelmigration/base/db_test.go
@@ -6,9 +6,9 @@ package base_test
import (
"testing"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/names"
)
diff --git a/modelmigration/base/shared.go b/modelmigration/base/shared.go
index 17c3441762..aa54f08576 100644
--- a/modelmigration/base/shared.go
+++ b/modelmigration/base/shared.go
@@ -4,8 +4,8 @@
package base
import (
- "gitea.dev/models/db" //nolint:depguard // allow to access db in migration
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/models/db" //nolint:depguard // allow to access db in migration
+ "gotea.dev/modules/git/gitrepo"
)
// HINT: MIGRATION-STRUCT-FROZEN: the structs used in migrations should not be affected by the changes happen in the future,
diff --git a/modelmigration/migrations.go b/modelmigration/migrations.go
index 6db32b6b20..be214ee8c5 100644
--- a/modelmigration/migrations.go
+++ b/modelmigration/migrations.go
@@ -9,34 +9,34 @@ import (
"errors"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modelmigration/v1_10"
- "gitea.dev/modelmigration/v1_11"
- "gitea.dev/modelmigration/v1_12"
- "gitea.dev/modelmigration/v1_13"
- "gitea.dev/modelmigration/v1_14"
- "gitea.dev/modelmigration/v1_15"
- "gitea.dev/modelmigration/v1_16"
- "gitea.dev/modelmigration/v1_17"
- "gitea.dev/modelmigration/v1_18"
- "gitea.dev/modelmigration/v1_19"
- "gitea.dev/modelmigration/v1_20"
- "gitea.dev/modelmigration/v1_21"
- "gitea.dev/modelmigration/v1_22"
- "gitea.dev/modelmigration/v1_23"
- "gitea.dev/modelmigration/v1_24"
- "gitea.dev/modelmigration/v1_25"
- "gitea.dev/modelmigration/v1_26"
- "gitea.dev/modelmigration/v1_27"
- "gitea.dev/modelmigration/v1_6"
- "gitea.dev/modelmigration/v1_7"
- "gitea.dev/modelmigration/v1_8"
- "gitea.dev/modelmigration/v1_9"
- "gitea.dev/modelmigration/v28"
- "gitea.dev/modelmigration/v29"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/v1_10"
+ "gotea.dev/modelmigration/v1_11"
+ "gotea.dev/modelmigration/v1_12"
+ "gotea.dev/modelmigration/v1_13"
+ "gotea.dev/modelmigration/v1_14"
+ "gotea.dev/modelmigration/v1_15"
+ "gotea.dev/modelmigration/v1_16"
+ "gotea.dev/modelmigration/v1_17"
+ "gotea.dev/modelmigration/v1_18"
+ "gotea.dev/modelmigration/v1_19"
+ "gotea.dev/modelmigration/v1_20"
+ "gotea.dev/modelmigration/v1_21"
+ "gotea.dev/modelmigration/v1_22"
+ "gotea.dev/modelmigration/v1_23"
+ "gotea.dev/modelmigration/v1_24"
+ "gotea.dev/modelmigration/v1_25"
+ "gotea.dev/modelmigration/v1_26"
+ "gotea.dev/modelmigration/v1_27"
+ "gotea.dev/modelmigration/v1_6"
+ "gotea.dev/modelmigration/v1_7"
+ "gotea.dev/modelmigration/v1_8"
+ "gotea.dev/modelmigration/v1_9"
+ "gotea.dev/modelmigration/v28"
+ "gotea.dev/modelmigration/v29"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/names"
)
diff --git a/modelmigration/migrations_test.go b/modelmigration/migrations_test.go
index 2828bc4662..d229fe7df7 100644
--- a/modelmigration/migrations_test.go
+++ b/modelmigration/migrations_test.go
@@ -6,7 +6,7 @@ package modelmigration
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/migrationtest/tests.go b/modelmigration/migrationtest/tests.go
index 9b82e94430..797f5d8d53 100644
--- a/modelmigration/migrationtest/tests.go
+++ b/modelmigration/migrationtest/tests.go
@@ -8,12 +8,12 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modelmigration/base"
- "gitea.dev/models/db" //nolint:depguard // allow to access db in migration tests
- "gitea.dev/models/unittest" //nolint:depguard // allow to access db in migration tests
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/testlogger"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/models/db" //nolint:depguard // allow to access db in migration tests
+ "gotea.dev/models/unittest" //nolint:depguard // allow to access db in migration tests
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/testlogger"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_10/v100.go b/modelmigration/v1_10/v100.go
index 3197b362bd..0fa4c09297 100644
--- a/modelmigration/v1_10/v100.go
+++ b/modelmigration/v1_10/v100.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func UpdateMigrationServiceTypes(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v101.go b/modelmigration/v1_10/v101.go
index 765687b754..090df99450 100644
--- a/modelmigration/v1_10/v101.go
+++ b/modelmigration/v1_10/v101.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ChangeSomeColumnsLengthOfExternalLoginUser(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v88.go b/modelmigration/v1_10/v88.go
index 77c0c538eb..37620ce245 100644
--- a/modelmigration/v1_10/v88.go
+++ b/modelmigration/v1_10/v88.go
@@ -8,7 +8,7 @@ import (
"crypto/sha1"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func hashContext(context string) string {
diff --git a/modelmigration/v1_10/v89.go b/modelmigration/v1_10/v89.go
index cfae513c3f..05a8f15b81 100644
--- a/modelmigration/v1_10/v89.go
+++ b/modelmigration/v1_10/v89.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddOriginalMigrationInfo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v90.go b/modelmigration/v1_10/v90.go
index 8e8fd299ae..7059293183 100644
--- a/modelmigration/v1_10/v90.go
+++ b/modelmigration/v1_10/v90.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ChangeSomeColumnsLengthOfRepo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v91.go b/modelmigration/v1_10/v91.go
index f68ba2c51c..8b8882e66b 100644
--- a/modelmigration/v1_10/v91.go
+++ b/modelmigration/v1_10/v91.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexOnRepositoryAndComment(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v92.go b/modelmigration/v1_10/v92.go
index 5433fa81bd..2d524363c5 100644
--- a/modelmigration/v1_10/v92.go
+++ b/modelmigration/v1_10/v92.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_10/v93.go b/modelmigration/v1_10/v93.go
index a499512b23..d50f559127 100644
--- a/modelmigration/v1_10/v93.go
+++ b/modelmigration/v1_10/v93.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddEmailNotificationEnabledToUser(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v94.go b/modelmigration/v1_10/v94.go
index 725dc16169..b5cf8b34a0 100644
--- a/modelmigration/v1_10/v94.go
+++ b/modelmigration/v1_10/v94.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddStatusCheckColumnsForProtectedBranches(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v95.go b/modelmigration/v1_10/v95.go
index c12d59b5df..648c2a5a4d 100644
--- a/modelmigration/v1_10/v95.go
+++ b/modelmigration/v1_10/v95.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddCrossReferenceColumns(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v96.go b/modelmigration/v1_10/v96.go
index 1c2050b0a1..140af167f9 100644
--- a/modelmigration/v1_10/v96.go
+++ b/modelmigration/v1_10/v96.go
@@ -8,8 +8,8 @@ import (
"os"
"path/filepath"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func DeleteOrphanedAttachments(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v97.go b/modelmigration/v1_10/v97.go
index f3cf8b1a49..4dfad1f3a9 100644
--- a/modelmigration/v1_10/v97.go
+++ b/modelmigration/v1_10/v97.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRepoAdminChangeTeamAccessColumnForUser(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v98.go b/modelmigration/v1_10/v98.go
index 7955dca812..461e296aea 100644
--- a/modelmigration/v1_10/v98.go
+++ b/modelmigration/v1_10/v98.go
@@ -6,7 +6,7 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddOriginalAuthorOnMigratedReleases(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_10/v99.go b/modelmigration/v1_10/v99.go
index 7ed8116a20..11a69e2285 100644
--- a/modelmigration/v1_10/v99.go
+++ b/modelmigration/v1_10/v99.go
@@ -6,8 +6,8 @@ package v1_10
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddTaskTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v102.go b/modelmigration/v1_11/v102.go
index e2085f0e83..cf50b60079 100644
--- a/modelmigration/v1_11/v102.go
+++ b/modelmigration/v1_11/v102.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropColumnHeadUserNameOnPullRequest(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v103.go b/modelmigration/v1_11/v103.go
index d1acbf9dbf..da87c7e59f 100644
--- a/modelmigration/v1_11/v103.go
+++ b/modelmigration/v1_11/v103.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddWhitelistDeployKeysToBranches(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v104.go b/modelmigration/v1_11/v104.go
index 4a85f763fb..1d1189dff7 100644
--- a/modelmigration/v1_11/v104.go
+++ b/modelmigration/v1_11/v104.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RemoveLabelUneededCols(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v105.go b/modelmigration/v1_11/v105.go
index fcd1f6c58f..9445f84a04 100644
--- a/modelmigration/v1_11/v105.go
+++ b/modelmigration/v1_11/v105.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTeamIncludesAllRepositories(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v106.go b/modelmigration/v1_11/v106.go
index b1a587806d..ce0f65f4a5 100644
--- a/modelmigration/v1_11/v106.go
+++ b/modelmigration/v1_11/v106.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// RepoWatchMode specifies what kind of watch the user has on a repository
diff --git a/modelmigration/v1_11/v107.go b/modelmigration/v1_11/v107.go
index f3e4a19053..03010582d5 100644
--- a/modelmigration/v1_11/v107.go
+++ b/modelmigration/v1_11/v107.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTemplateToRepo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v108.go b/modelmigration/v1_11/v108.go
index 6c7ac17812..34f8b340e8 100644
--- a/modelmigration/v1_11/v108.go
+++ b/modelmigration/v1_11/v108.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddCommentIDOnNotification(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v109.go b/modelmigration/v1_11/v109.go
index 735591ff53..0a6bd2f8b6 100644
--- a/modelmigration/v1_11/v109.go
+++ b/modelmigration/v1_11/v109.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddCanCreateOrgRepoColumnForTeam(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v110.go b/modelmigration/v1_11/v110.go
index bc441db006..4f6f7280f1 100644
--- a/modelmigration/v1_11/v110.go
+++ b/modelmigration/v1_11/v110.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_11/v111.go b/modelmigration/v1_11/v111.go
index 779665ad0e..34319a65f8 100644
--- a/modelmigration/v1_11/v111.go
+++ b/modelmigration/v1_11/v111.go
@@ -8,7 +8,7 @@ import (
"fmt"
"slices"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBranchProtectionCanPushAndEnableWhitelist(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v112.go b/modelmigration/v1_11/v112.go
index a336b219cc..6ef54f8966 100644
--- a/modelmigration/v1_11/v112.go
+++ b/modelmigration/v1_11/v112.go
@@ -8,9 +8,9 @@ import (
"os"
"path/filepath"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_11/v113.go b/modelmigration/v1_11/v113.go
index 7a700a8878..8660651700 100644
--- a/modelmigration/v1_11/v113.go
+++ b/modelmigration/v1_11/v113.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FeatureChangeTargetBranch(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v114.go b/modelmigration/v1_11/v114.go
index 4ddf10cfae..6b324b3dbf 100644
--- a/modelmigration/v1_11/v114.go
+++ b/modelmigration/v1_11/v114.go
@@ -7,7 +7,7 @@ import (
"context"
"net/url"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func SanitizeOriginalURL(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v115.go b/modelmigration/v1_11/v115.go
index 62cbc7ffd3..13d948b991 100644
--- a/modelmigration/v1_11/v115.go
+++ b/modelmigration/v1_11/v115.go
@@ -13,10 +13,10 @@ import (
"path/filepath"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func RenameExistingUserAvatarName(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_11/v116.go b/modelmigration/v1_11/v116.go
index b131dd0c4e..39b386a8c7 100644
--- a/modelmigration/v1_11/v116.go
+++ b/modelmigration/v1_11/v116.go
@@ -6,7 +6,7 @@ package v1_11
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ExtendTrackedTimes(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v117.go b/modelmigration/v1_12/v117.go
index 99924661e2..09e871da6b 100644
--- a/modelmigration/v1_12/v117.go
+++ b/modelmigration/v1_12/v117.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBlockOnRejectedReviews(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v118.go b/modelmigration/v1_12/v118.go
index 74a0e30287..fdd0d26334 100644
--- a/modelmigration/v1_12/v118.go
+++ b/modelmigration/v1_12/v118.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddReviewCommitAndStale(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v119.go b/modelmigration/v1_12/v119.go
index 6803f0bc5b..2df5accc8c 100644
--- a/modelmigration/v1_12/v119.go
+++ b/modelmigration/v1_12/v119.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FixMigratedRepositoryServiceType(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v120.go b/modelmigration/v1_12/v120.go
index 3300f21ce3..59ff4835be 100644
--- a/modelmigration/v1_12/v120.go
+++ b/modelmigration/v1_12/v120.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddOwnerNameOnRepository(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v121.go b/modelmigration/v1_12/v121.go
index 2772aa07d5..ab1464b6ba 100644
--- a/modelmigration/v1_12/v121.go
+++ b/modelmigration/v1_12/v121.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIsRestricted(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v122.go b/modelmigration/v1_12/v122.go
index 41b56391a4..64c1b5c097 100644
--- a/modelmigration/v1_12/v122.go
+++ b/modelmigration/v1_12/v122.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRequireSignedCommits(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v123.go b/modelmigration/v1_12/v123.go
index 5d611e411e..6af73c73af 100644
--- a/modelmigration/v1_12/v123.go
+++ b/modelmigration/v1_12/v123.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddReactionOriginals(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v124.go b/modelmigration/v1_12/v124.go
index e3526a6987..ba3972c51c 100644
--- a/modelmigration/v1_12/v124.go
+++ b/modelmigration/v1_12/v124.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddUserRepoMissingColumns(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v125.go b/modelmigration/v1_12/v125.go
index 148cd361d6..805946f12f 100644
--- a/modelmigration/v1_12/v125.go
+++ b/modelmigration/v1_12/v125.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddReviewMigrateInfo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v126.go b/modelmigration/v1_12/v126.go
index b72924bfb7..9cdf92783a 100644
--- a/modelmigration/v1_12/v126.go
+++ b/modelmigration/v1_12/v126.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_12/v127.go b/modelmigration/v1_12/v127.go
index d8e25c7d28..dd80171d03 100644
--- a/modelmigration/v1_12/v127.go
+++ b/modelmigration/v1_12/v127.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddLanguageStats(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v128.go b/modelmigration/v1_12/v128.go
index 991ab25ae5..e389fbac01 100644
--- a/modelmigration/v1_12/v128.go
+++ b/modelmigration/v1_12/v128.go
@@ -10,11 +10,11 @@ import (
"strings"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func FixMergeBase(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v129.go b/modelmigration/v1_12/v129.go
index ac1585819b..9a93f21e17 100644
--- a/modelmigration/v1_12/v129.go
+++ b/modelmigration/v1_12/v129.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func PurgeUnusedDependencies(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v130.go b/modelmigration/v1_12/v130.go
index 46ededebdf..0c7066ba86 100644
--- a/modelmigration/v1_12/v130.go
+++ b/modelmigration/v1_12/v130.go
@@ -6,9 +6,9 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
)
func ExpandWebhooks(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v131.go b/modelmigration/v1_12/v131.go
index 8d37a1e400..0ac9cfb53e 100644
--- a/modelmigration/v1_12/v131.go
+++ b/modelmigration/v1_12/v131.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddSystemWebhookColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v132.go b/modelmigration/v1_12/v132.go
index 10561c52b3..67fa157319 100644
--- a/modelmigration/v1_12/v132.go
+++ b/modelmigration/v1_12/v132.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBranchProtectionProtectedFilesColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v133.go b/modelmigration/v1_12/v133.go
index 04d8e9f42a..bae78d1d9b 100644
--- a/modelmigration/v1_12/v133.go
+++ b/modelmigration/v1_12/v133.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddEmailHashTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v134.go b/modelmigration/v1_12/v134.go
index 043ecacb80..39d74ed705 100644
--- a/modelmigration/v1_12/v134.go
+++ b/modelmigration/v1_12/v134.go
@@ -10,10 +10,10 @@ import (
"strings"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func RefixMergeBase(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v135.go b/modelmigration/v1_12/v135.go
index 988be06699..71312b528c 100644
--- a/modelmigration/v1_12/v135.go
+++ b/modelmigration/v1_12/v135.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddOrgIDLabelColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v136.go b/modelmigration/v1_12/v136.go
index 46d577cbc8..a93ccd4785 100644
--- a/modelmigration/v1_12/v136.go
+++ b/modelmigration/v1_12/v136.go
@@ -9,11 +9,11 @@ import (
"math"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func AddCommitDivergenceToPulls(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v137.go b/modelmigration/v1_12/v137.go
index b03bd044fa..a2fff0bb57 100644
--- a/modelmigration/v1_12/v137.go
+++ b/modelmigration/v1_12/v137.go
@@ -6,7 +6,7 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBlockOnOutdatedBranch(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v138.go b/modelmigration/v1_12/v138.go
index 4fa7e8a1eb..589b3a463b 100644
--- a/modelmigration/v1_12/v138.go
+++ b/modelmigration/v1_12/v138.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddResolveDoerIDCommentColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_12/v139.go b/modelmigration/v1_12/v139.go
index 669fa4e941..7862c3198c 100644
--- a/modelmigration/v1_12/v139.go
+++ b/modelmigration/v1_12/v139.go
@@ -6,8 +6,8 @@ package v1_12
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func PrependRefsHeadsToIssueRefs(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v140.go b/modelmigration/v1_13/v140.go
index 162bc93d58..4a08aaf92b 100644
--- a/modelmigration/v1_13/v140.go
+++ b/modelmigration/v1_13/v140.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func FixLanguageStatsToSaveSize(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v141.go b/modelmigration/v1_13/v141.go
index 660e684c73..3630ba5ee8 100644
--- a/modelmigration/v1_13/v141.go
+++ b/modelmigration/v1_13/v141.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddKeepActivityPrivateUserColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v142.go b/modelmigration/v1_13/v142.go
index 5f9ecdc1e7..d571d40b48 100644
--- a/modelmigration/v1_13/v142.go
+++ b/modelmigration/v1_13/v142.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_13/v143.go b/modelmigration/v1_13/v143.go
index 3e92f51eff..0a1e1aeab3 100644
--- a/modelmigration/v1_13/v143.go
+++ b/modelmigration/v1_13/v143.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
func RecalculateStars(_ context.Context, x base.EngineMigration) (err error) {
diff --git a/modelmigration/v1_13/v144.go b/modelmigration/v1_13/v144.go
index d29fcd3ad6..1091fbadef 100644
--- a/modelmigration/v1_13/v144.go
+++ b/modelmigration/v1_13/v144.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_13/v145.go b/modelmigration/v1_13/v145.go
index fc70e8a502..123e367e9d 100644
--- a/modelmigration/v1_13/v145.go
+++ b/modelmigration/v1_13/v145.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func IncreaseLanguageField(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v146.go b/modelmigration/v1_13/v146.go
index 6b766f353b..9e5ceeaa47 100644
--- a/modelmigration/v1_13/v146.go
+++ b/modelmigration/v1_13/v146.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddProjectsInfo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v147.go b/modelmigration/v1_13/v147.go
index 8abae41b71..0d2e78d7e7 100644
--- a/modelmigration/v1_13/v147.go
+++ b/modelmigration/v1_13/v147.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateReviewsForCodeComments(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v148.go b/modelmigration/v1_13/v148.go
index ab073dc20b..dec7c540e1 100644
--- a/modelmigration/v1_13/v148.go
+++ b/modelmigration/v1_13/v148.go
@@ -6,7 +6,7 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func PurgeInvalidDependenciesComments(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v149.go b/modelmigration/v1_13/v149.go
index d9c2770df7..852b86697d 100644
--- a/modelmigration/v1_13/v149.go
+++ b/modelmigration/v1_13/v149.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddCreatedAndUpdatedToMilestones(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v150.go b/modelmigration/v1_13/v150.go
index 1241cc49d3..60a414f95f 100644
--- a/modelmigration/v1_13/v150.go
+++ b/modelmigration/v1_13/v150.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddPrimaryKeyToRepoTopic(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v151.go b/modelmigration/v1_13/v151.go
index 313182d0fb..f6c2ffc5ad 100644
--- a/modelmigration/v1_13/v151.go
+++ b/modelmigration/v1_13/v151.go
@@ -9,9 +9,9 @@ import (
"fmt"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_13/v152.go b/modelmigration/v1_13/v152.go
index b8279b2226..50fa117f12 100644
--- a/modelmigration/v1_13/v152.go
+++ b/modelmigration/v1_13/v152.go
@@ -6,7 +6,7 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTrustModelToRepository(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v153.go b/modelmigration/v1_13/v153.go
index 0f0d64c482..9dd656b122 100644
--- a/modelmigration/v1_13/v153.go
+++ b/modelmigration/v1_13/v153.go
@@ -6,7 +6,7 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTeamReviewRequestSupport(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_13/v154.go b/modelmigration/v1_13/v154.go
index 6ca94de455..06749b0b0e 100644
--- a/modelmigration/v1_13/v154.go
+++ b/modelmigration/v1_13/v154.go
@@ -6,8 +6,8 @@ package v1_13
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddTimeStamps(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/main_test.go b/modelmigration/v1_14/main_test.go
index 98cf00c9d0..0efadd125e 100644
--- a/modelmigration/v1_14/main_test.go
+++ b/modelmigration/v1_14/main_test.go
@@ -6,7 +6,7 @@ package v1_14
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_14/v155.go b/modelmigration/v1_14/v155.go
index 7d8f8361d6..0114eb117e 100644
--- a/modelmigration/v1_14/v155.go
+++ b/modelmigration/v1_14/v155.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddChangedProtectedFilesPullRequestColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v156.go b/modelmigration/v1_14/v156.go
index ac2828c0cf..345f509e98 100644
--- a/modelmigration/v1_14/v156.go
+++ b/modelmigration/v1_14/v156.go
@@ -9,9 +9,9 @@ import (
"fmt"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
)
func FixPublisherIDforTagReleases(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v157.go b/modelmigration/v1_14/v157.go
index 9f6306a949..812f6ca1ac 100644
--- a/modelmigration/v1_14/v157.go
+++ b/modelmigration/v1_14/v157.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FixRepoTopics(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v158.go b/modelmigration/v1_14/v158.go
index 40fa324ec5..f16eefc106 100644
--- a/modelmigration/v1_14/v158.go
+++ b/modelmigration/v1_14/v158.go
@@ -8,9 +8,9 @@ import (
"errors"
"strconv"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func UpdateCodeCommentReplies(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v159.go b/modelmigration/v1_14/v159.go
index 8a6a073b68..a18cd3fca1 100644
--- a/modelmigration/v1_14/v159.go
+++ b/modelmigration/v1_14/v159.go
@@ -6,8 +6,8 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func UpdateReactionConstraint(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v160.go b/modelmigration/v1_14/v160.go
index 76ad7a2c2c..c9e2aef23f 100644
--- a/modelmigration/v1_14/v160.go
+++ b/modelmigration/v1_14/v160.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBlockOnOfficialReviewRequests(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v161.go b/modelmigration/v1_14/v161.go
index 7299f1fb01..94d1206d28 100644
--- a/modelmigration/v1_14/v161.go
+++ b/modelmigration/v1_14/v161.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ConvertTaskTypeToString(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v162.go b/modelmigration/v1_14/v162.go
index cc0a313392..d0f32fe73d 100644
--- a/modelmigration/v1_14/v162.go
+++ b/modelmigration/v1_14/v162.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ConvertWebhookTaskTypeToString(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v163.go b/modelmigration/v1_14/v163.go
index 6b976282a1..4840801ead 100644
--- a/modelmigration/v1_14/v163.go
+++ b/modelmigration/v1_14/v163.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ConvertTopicNameFrom25To50(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v164.go b/modelmigration/v1_14/v164.go
index f54f2eeb6a..797c2fe876 100644
--- a/modelmigration/v1_14/v164.go
+++ b/modelmigration/v1_14/v164.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// OAuth2Grant here is a snapshot of models.OAuth2Grant for this version
diff --git a/modelmigration/v1_14/v165.go b/modelmigration/v1_14/v165.go
index 1c3f6cb7ab..f224cf075e 100644
--- a/modelmigration/v1_14/v165.go
+++ b/modelmigration/v1_14/v165.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_14/v166.go b/modelmigration/v1_14/v166.go
index 08e1d3e24f..8a50d26dce 100644
--- a/modelmigration/v1_14/v166.go
+++ b/modelmigration/v1_14/v166.go
@@ -8,7 +8,7 @@ import (
"crypto/sha256"
"encoding/hex"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"golang.org/x/crypto/argon2"
"golang.org/x/crypto/bcrypt"
diff --git a/modelmigration/v1_14/v167.go b/modelmigration/v1_14/v167.go
index 429ec7fe57..0736c8e1e2 100644
--- a/modelmigration/v1_14/v167.go
+++ b/modelmigration/v1_14/v167.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddUserRedirect(_ context.Context, x base.EngineMigration) (err error) {
diff --git a/modelmigration/v1_14/v168.go b/modelmigration/v1_14/v168.go
index 79eddd8d75..4ed9fcdbf9 100644
--- a/modelmigration/v1_14/v168.go
+++ b/modelmigration/v1_14/v168.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RecreateUserTableToFixDefaultValues(_ context.Context, _ base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v169.go b/modelmigration/v1_14/v169.go
index c823827900..c2a2ba2e8d 100644
--- a/modelmigration/v1_14/v169.go
+++ b/modelmigration/v1_14/v169.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func CommentTypeDeleteBranchUseOldRef(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v170.go b/modelmigration/v1_14/v170.go
index 5f3b3a2c26..6d0118aeff 100644
--- a/modelmigration/v1_14/v170.go
+++ b/modelmigration/v1_14/v170.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddDismissedReviewColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v171.go b/modelmigration/v1_14/v171.go
index 32e47d96a1..832bee3685 100644
--- a/modelmigration/v1_14/v171.go
+++ b/modelmigration/v1_14/v171.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddSortingColToProjectBoard(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v172.go b/modelmigration/v1_14/v172.go
index 6506b90ee1..f99ab4021c 100644
--- a/modelmigration/v1_14/v172.go
+++ b/modelmigration/v1_14/v172.go
@@ -6,8 +6,8 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddSessionTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v173.go b/modelmigration/v1_14/v173.go
index 0c35153c61..793f137b2e 100644
--- a/modelmigration/v1_14/v173.go
+++ b/modelmigration/v1_14/v173.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTimeIDCommentColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v174.go b/modelmigration/v1_14/v174.go
index f2bb85a289..2873b421a0 100644
--- a/modelmigration/v1_14/v174.go
+++ b/modelmigration/v1_14/v174.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRepoTransfer(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v175.go b/modelmigration/v1_14/v175.go
index 126d2347bd..46507bc527 100644
--- a/modelmigration/v1_14/v175.go
+++ b/modelmigration/v1_14/v175.go
@@ -8,9 +8,9 @@ import (
"fmt"
"regexp"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func FixPostgresIDSequences(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_14/v176.go b/modelmigration/v1_14/v176.go
index af41d51217..c75b58a8d2 100644
--- a/modelmigration/v1_14/v176.go
+++ b/modelmigration/v1_14/v176.go
@@ -6,7 +6,7 @@ package v1_14
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// RemoveInvalidLabels looks through the database to look for comments and issue_labels
diff --git a/modelmigration/v1_14/v176_test.go b/modelmigration/v1_14/v176_test.go
index 003e353746..ffed8fc985 100644
--- a/modelmigration/v1_14/v176_test.go
+++ b/modelmigration/v1_14/v176_test.go
@@ -6,7 +6,7 @@ package v1_14
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_14/v177.go b/modelmigration/v1_14/v177.go
index 035f949b5c..993cd56906 100644
--- a/modelmigration/v1_14/v177.go
+++ b/modelmigration/v1_14/v177.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// DeleteOrphanedIssueLabels looks through the database for issue_labels where the label no longer exists and deletes them.
diff --git a/modelmigration/v1_14/v177_test.go b/modelmigration/v1_14/v177_test.go
index 15f6a638cd..d2d5b8381b 100644
--- a/modelmigration/v1_14/v177_test.go
+++ b/modelmigration/v1_14/v177_test.go
@@ -6,8 +6,8 @@ package v1_14
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_15/main_test.go b/modelmigration/v1_15/main_test.go
index 838603bb7b..3912433419 100644
--- a/modelmigration/v1_15/main_test.go
+++ b/modelmigration/v1_15/main_test.go
@@ -6,7 +6,7 @@ package v1_15
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_15/v178.go b/modelmigration/v1_15/v178.go
index ab94754ef9..50faf38cd5 100644
--- a/modelmigration/v1_15/v178.go
+++ b/modelmigration/v1_15/v178.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddLFSMirrorColumns(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v179.go b/modelmigration/v1_15/v179.go
index f335ca76aa..9c03804bb0 100644
--- a/modelmigration/v1_15/v179.go
+++ b/modelmigration/v1_15/v179.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_15/v180.go b/modelmigration/v1_15/v180.go
index fd62b12c15..116f26a096 100644
--- a/modelmigration/v1_15/v180.go
+++ b/modelmigration/v1_15/v180.go
@@ -6,9 +6,9 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_15/v181.go b/modelmigration/v1_15/v181.go
index e825b7a7ec..b9622c9e76 100644
--- a/modelmigration/v1_15/v181.go
+++ b/modelmigration/v1_15/v181.go
@@ -7,7 +7,7 @@ import (
"context"
"strings"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddPrimaryEmail2EmailAddress(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v181_test.go b/modelmigration/v1_15/v181_test.go
index e2d7e0e8b2..82d145c725 100644
--- a/modelmigration/v1_15/v181_test.go
+++ b/modelmigration/v1_15/v181_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_15/v182.go b/modelmigration/v1_15/v182.go
index 9574f6e6db..4b06d1b401 100644
--- a/modelmigration/v1_15/v182.go
+++ b/modelmigration/v1_15/v182.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIssueResourceIndexTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v182_test.go b/modelmigration/v1_15/v182_test.go
index 1de06ed338..7c741f6ff4 100644
--- a/modelmigration/v1_15/v182_test.go
+++ b/modelmigration/v1_15/v182_test.go
@@ -6,7 +6,7 @@ package v1_15
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_15/v183.go b/modelmigration/v1_15/v183.go
index 67e4c4bf58..295a3abd99 100644
--- a/modelmigration/v1_15/v183.go
+++ b/modelmigration/v1_15/v183.go
@@ -8,8 +8,8 @@ import (
"fmt"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreatePushMirrorTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v184.go b/modelmigration/v1_15/v184.go
index e774da5922..9959044ddb 100644
--- a/modelmigration/v1_15/v184.go
+++ b/modelmigration/v1_15/v184.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func RenameTaskErrorsToMessage(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v185.go b/modelmigration/v1_15/v185.go
index 71fc4f7801..536d4b2239 100644
--- a/modelmigration/v1_15/v185.go
+++ b/modelmigration/v1_15/v185.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRepoArchiver(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v186.go b/modelmigration/v1_15/v186.go
index c1d2cd60e6..b80a2bac0f 100644
--- a/modelmigration/v1_15/v186.go
+++ b/modelmigration/v1_15/v186.go
@@ -6,8 +6,8 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateProtectedTagTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v187.go b/modelmigration/v1_15/v187.go
index 56c97f113f..3ec3a51917 100644
--- a/modelmigration/v1_15/v187.go
+++ b/modelmigration/v1_15/v187.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropWebhookColumns(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_15/v188.go b/modelmigration/v1_15/v188.go
index ce6754e66c..9787fa0905 100644
--- a/modelmigration/v1_15/v188.go
+++ b/modelmigration/v1_15/v188.go
@@ -6,7 +6,7 @@ package v1_15
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddKeyIsVerified(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/main_test.go b/modelmigration/v1_16/main_test.go
index a8ec80953f..68ea897b85 100644
--- a/modelmigration/v1_16/main_test.go
+++ b/modelmigration/v1_16/main_test.go
@@ -6,7 +6,7 @@ package v1_16
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_16/v189.go b/modelmigration/v1_16/v189.go
index f5d1e90c5e..2dc6716c97 100644
--- a/modelmigration/v1_16/v189.go
+++ b/modelmigration/v1_16/v189.go
@@ -8,8 +8,8 @@ import (
"encoding/binary"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
)
func UnwrapLDAPSourceCfg(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v189_test.go b/modelmigration/v1_16/v189_test.go
index 09de4af422..c5923131e3 100644
--- a/modelmigration/v1_16/v189_test.go
+++ b/modelmigration/v1_16/v189_test.go
@@ -6,8 +6,8 @@ package v1_16
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/json"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_16/v190.go b/modelmigration/v1_16/v190.go
index d3438f5cd8..314deb4107 100644
--- a/modelmigration/v1_16/v190.go
+++ b/modelmigration/v1_16/v190.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddAgitFlowPullRequest(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v191.go b/modelmigration/v1_16/v191.go
index b44dbcb6c6..a3fee47a6b 100644
--- a/modelmigration/v1_16/v191.go
+++ b/modelmigration/v1_16/v191.go
@@ -6,8 +6,8 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AlterIssueAndCommentTextFieldsToLongText(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v192.go b/modelmigration/v1_16/v192.go
index 491b4cae1f..96f0ff9445 100644
--- a/modelmigration/v1_16/v192.go
+++ b/modelmigration/v1_16/v192.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RecreateIssueResourceIndexTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v193.go b/modelmigration/v1_16/v193.go
index 37a6ef3fe4..2aa8a5ee30 100644
--- a/modelmigration/v1_16/v193.go
+++ b/modelmigration/v1_16/v193.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRepoIDForAttachment(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v193_test.go b/modelmigration/v1_16/v193_test.go
index bdca2629b8..7adc43a60b 100644
--- a/modelmigration/v1_16/v193_test.go
+++ b/modelmigration/v1_16/v193_test.go
@@ -6,7 +6,7 @@ package v1_16
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_16/v194.go b/modelmigration/v1_16/v194.go
index 931d8bb051..5e7115c7d4 100644
--- a/modelmigration/v1_16/v194.go
+++ b/modelmigration/v1_16/v194.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddBranchProtectionUnprotectedFilesColumn(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v195.go b/modelmigration/v1_16/v195.go
index 23bd8ac8bf..3775d7e8a8 100644
--- a/modelmigration/v1_16/v195.go
+++ b/modelmigration/v1_16/v195.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTableCommitStatusIndex(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v195_test.go b/modelmigration/v1_16/v195_test.go
index eaccdecee6..eca9725a28 100644
--- a/modelmigration/v1_16/v195_test.go
+++ b/modelmigration/v1_16/v195_test.go
@@ -6,7 +6,7 @@ package v1_16
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_16/v196.go b/modelmigration/v1_16/v196.go
index 299a2ef000..75fc816268 100644
--- a/modelmigration/v1_16/v196.go
+++ b/modelmigration/v1_16/v196.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddColorColToProjectBoard(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v197.go b/modelmigration/v1_16/v197.go
index ae7241b879..3a7ccc4240 100644
--- a/modelmigration/v1_16/v197.go
+++ b/modelmigration/v1_16/v197.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRenamedBranchTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v198.go b/modelmigration/v1_16/v198.go
index 80407f4d84..744277a30f 100644
--- a/modelmigration/v1_16/v198.go
+++ b/modelmigration/v1_16/v198.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddTableIssueContentHistory(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v200.go b/modelmigration/v1_16/v200.go
index b4de56d70e..febf411dc3 100644
--- a/modelmigration/v1_16/v200.go
+++ b/modelmigration/v1_16/v200.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTableAppState(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v201.go b/modelmigration/v1_16/v201.go
index 3ffdd87ab2..8d6ce90981 100644
--- a/modelmigration/v1_16/v201.go
+++ b/modelmigration/v1_16/v201.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropTableRemoteVersion(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v202.go b/modelmigration/v1_16/v202.go
index c529573e9f..61f5e9264d 100644
--- a/modelmigration/v1_16/v202.go
+++ b/modelmigration/v1_16/v202.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func CreateUserSettingsTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v203.go b/modelmigration/v1_16/v203.go
index 990a1173ac..32a2df893f 100644
--- a/modelmigration/v1_16/v203.go
+++ b/modelmigration/v1_16/v203.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddProjectIssueSorting(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v204.go b/modelmigration/v1_16/v204.go
index ea3a8e8d10..a2dd827b0c 100644
--- a/modelmigration/v1_16/v204.go
+++ b/modelmigration/v1_16/v204.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddSSHKeyIsVerified(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v205.go b/modelmigration/v1_16/v205.go
index 227bcb4576..7ddca7d865 100644
--- a/modelmigration/v1_16/v205.go
+++ b/modelmigration/v1_16/v205.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_16/v206.go b/modelmigration/v1_16/v206.go
index 849418ff63..565d44eab6 100644
--- a/modelmigration/v1_16/v206.go
+++ b/modelmigration/v1_16/v206.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddAuthorizeColForTeamUnit(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v207.go b/modelmigration/v1_16/v207.go
index 3ec9df0c06..d76607b69f 100644
--- a/modelmigration/v1_16/v207.go
+++ b/modelmigration/v1_16/v207.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddWebAuthnCred(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v208.go b/modelmigration/v1_16/v208.go
index 1fb34e7448..95948db0d5 100644
--- a/modelmigration/v1_16/v208.go
+++ b/modelmigration/v1_16/v208.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func UseBase32HexForCredIDInWebAuthnCredential(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v209.go b/modelmigration/v1_16/v209.go
index ec822a31da..6daa97569d 100644
--- a/modelmigration/v1_16/v209.go
+++ b/modelmigration/v1_16/v209.go
@@ -6,7 +6,7 @@ package v1_16
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func IncreaseCredentialIDTo410(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_16/v210.go b/modelmigration/v1_16/v210.go
index ac1023b1d3..5c021bc314 100644
--- a/modelmigration/v1_16/v210.go
+++ b/modelmigration/v1_16/v210.go
@@ -11,8 +11,8 @@ import (
"fmt"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_16/v210_test.go b/modelmigration/v1_16/v210_test.go
index 06fa9a2d4b..73b428a98e 100644
--- a/modelmigration/v1_16/v210_test.go
+++ b/modelmigration/v1_16/v210_test.go
@@ -8,8 +8,8 @@ import (
"slices"
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_17/main_test.go b/modelmigration/v1_17/main_test.go
index bb9306c311..510aec1cfe 100644
--- a/modelmigration/v1_17/main_test.go
+++ b/modelmigration/v1_17/main_test.go
@@ -6,7 +6,7 @@ package v1_17
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_17/v211.go b/modelmigration/v1_17/v211.go
index 690a2efc6d..604218c113 100644
--- a/modelmigration/v1_17/v211.go
+++ b/modelmigration/v1_17/v211.go
@@ -6,7 +6,7 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func CreateForeignReferenceTable(_ context.Context, _ base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v212.go b/modelmigration/v1_17/v212.go
index 3a63db7061..0279c8951c 100644
--- a/modelmigration/v1_17/v212.go
+++ b/modelmigration/v1_17/v212.go
@@ -6,8 +6,8 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddPackageTables(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v213.go b/modelmigration/v1_17/v213.go
index 239741f0d9..cc4445c7f2 100644
--- a/modelmigration/v1_17/v213.go
+++ b/modelmigration/v1_17/v213.go
@@ -6,7 +6,7 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddAllowMaintainerEdit(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v214.go b/modelmigration/v1_17/v214.go
index f862ef9bc4..76f64e2b5f 100644
--- a/modelmigration/v1_17/v214.go
+++ b/modelmigration/v1_17/v214.go
@@ -6,7 +6,7 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddAutoMergeTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v215.go b/modelmigration/v1_17/v215.go
index 928f031e53..6e21043cc1 100644
--- a/modelmigration/v1_17/v215.go
+++ b/modelmigration/v1_17/v215.go
@@ -6,8 +6,8 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddReviewViewedFiles(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v217.go b/modelmigration/v1_17/v217.go
index 1b4be43d3a..0286435c56 100644
--- a/modelmigration/v1_17/v217.go
+++ b/modelmigration/v1_17/v217.go
@@ -6,8 +6,8 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AlterHookTaskTextFieldsToLongText(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v218.go b/modelmigration/v1_17/v218.go
index cbb161a3d2..a99c875b4d 100644
--- a/modelmigration/v1_17/v218.go
+++ b/modelmigration/v1_17/v218.go
@@ -6,9 +6,9 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_17/v219.go b/modelmigration/v1_17/v219.go
index b73dee5c4e..650e1cbf28 100644
--- a/modelmigration/v1_17/v219.go
+++ b/modelmigration/v1_17/v219.go
@@ -7,8 +7,8 @@ import (
"context"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddSyncOnCommitColForPushMirror(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v220.go b/modelmigration/v1_17/v220.go
index 71b1826865..91ca3b9f49 100644
--- a/modelmigration/v1_17/v220.go
+++ b/modelmigration/v1_17/v220.go
@@ -6,9 +6,9 @@ package v1_17
import (
"context"
- "gitea.dev/modelmigration/base"
- packages_model "gitea.dev/models/packages" //nolint:depguard // only consts are used
- container_module "gitea.dev/modules/packages/container"
+ "gotea.dev/modelmigration/base"
+ packages_model "gotea.dev/models/packages" //nolint:depguard // only consts are used
+ container_module "gotea.dev/modules/packages/container"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_17/v221.go b/modelmigration/v1_17/v221.go
index 64271108cb..91f601d5d9 100644
--- a/modelmigration/v1_17/v221.go
+++ b/modelmigration/v1_17/v221.go
@@ -8,8 +8,8 @@ import (
"encoding/base32"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func StoreWebauthnCredentialIDAsBytes(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v221_test.go b/modelmigration/v1_17/v221_test.go
index fd7734865e..683362ad97 100644
--- a/modelmigration/v1_17/v221_test.go
+++ b/modelmigration/v1_17/v221_test.go
@@ -7,7 +7,7 @@ import (
"encoding/base32"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_17/v222.go b/modelmigration/v1_17/v222.go
index 0c65de7127..fa350324d1 100644
--- a/modelmigration/v1_17/v222.go
+++ b/modelmigration/v1_17/v222.go
@@ -8,8 +8,8 @@ import (
"errors"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func DropOldCredentialIDColumn(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_17/v223.go b/modelmigration/v1_17/v223.go
index 066c7af307..31a3f66844 100644
--- a/modelmigration/v1_17/v223.go
+++ b/modelmigration/v1_17/v223.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
func RenameCredentialIDBytes(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_18/main_test.go b/modelmigration/v1_18/main_test.go
index c85972c82f..e5f1f0d887 100644
--- a/modelmigration/v1_18/main_test.go
+++ b/modelmigration/v1_18/main_test.go
@@ -6,7 +6,7 @@ package v1_18
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_18/v224.go b/modelmigration/v1_18/v224.go
index 055ba39996..34fc588f58 100644
--- a/modelmigration/v1_18/v224.go
+++ b/modelmigration/v1_18/v224.go
@@ -6,7 +6,7 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func CreateUserBadgesTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_18/v225.go b/modelmigration/v1_18/v225.go
index 17b659865c..6a5f2dd217 100644
--- a/modelmigration/v1_18/v225.go
+++ b/modelmigration/v1_18/v225.go
@@ -6,8 +6,8 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AlterPublicGPGKeyContentFieldsToMediumText(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_18/v226.go b/modelmigration/v1_18/v226.go
index 089fef0bec..1b6712603e 100644
--- a/modelmigration/v1_18/v226.go
+++ b/modelmigration/v1_18/v226.go
@@ -6,7 +6,7 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_18/v227.go b/modelmigration/v1_18/v227.go
index 100e062729..35e9d3645e 100644
--- a/modelmigration/v1_18/v227.go
+++ b/modelmigration/v1_18/v227.go
@@ -6,8 +6,8 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
type SystemSetting struct {
diff --git a/modelmigration/v1_18/v228.go b/modelmigration/v1_18/v228.go
index e386961187..c5b594be69 100644
--- a/modelmigration/v1_18/v228.go
+++ b/modelmigration/v1_18/v228.go
@@ -6,8 +6,8 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddTeamInviteTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_18/v229.go b/modelmigration/v1_18/v229.go
index d9388237c8..333272651a 100644
--- a/modelmigration/v1_18/v229.go
+++ b/modelmigration/v1_18/v229.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_18/v229_test.go b/modelmigration/v1_18/v229_test.go
index a597be20ce..153f52f9ef 100644
--- a/modelmigration/v1_18/v229_test.go
+++ b/modelmigration/v1_18/v229_test.go
@@ -6,8 +6,8 @@ package v1_18
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_18/v230.go b/modelmigration/v1_18/v230.go
index a5ea879d14..2e1bd8a537 100644
--- a/modelmigration/v1_18/v230.go
+++ b/modelmigration/v1_18/v230.go
@@ -6,7 +6,7 @@ package v1_18
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// AddConfidentialColumnToOAuth2ApplicationTable: add ConfidentialClient column, setting existing rows to true
diff --git a/modelmigration/v1_18/v230_test.go b/modelmigration/v1_18/v230_test.go
index d96cf162ab..978e7c3bbd 100644
--- a/modelmigration/v1_18/v230_test.go
+++ b/modelmigration/v1_18/v230_test.go
@@ -6,7 +6,7 @@ package v1_18
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_19/main_test.go b/modelmigration/v1_19/main_test.go
index 9d5d63cbdc..ab22fb8b1d 100644
--- a/modelmigration/v1_19/main_test.go
+++ b/modelmigration/v1_19/main_test.go
@@ -6,7 +6,7 @@ package v1_19
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_19/v231.go b/modelmigration/v1_19/v231.go
index a6c6c75e0b..668cd5a5af 100644
--- a/modelmigration/v1_19/v231.go
+++ b/modelmigration/v1_19/v231.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexForHookTask(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v232.go b/modelmigration/v1_19/v232.go
index fc6fce254f..c06ff9dac6 100644
--- a/modelmigration/v1_19/v232.go
+++ b/modelmigration/v1_19/v232.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AlterPackageVersionMetadataToLongText(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v233.go b/modelmigration/v1_19/v233.go
index 30f01b5d25..a52ea0ea47 100644
--- a/modelmigration/v1_19/v233.go
+++ b/modelmigration/v1_19/v233.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_19/v233_test.go b/modelmigration/v1_19/v233_test.go
index ed4abd8fda..f966c2ef5a 100644
--- a/modelmigration/v1_19/v233_test.go
+++ b/modelmigration/v1_19/v233_test.go
@@ -6,11 +6,11 @@ package v1_19
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_19/v234.go b/modelmigration/v1_19/v234.go
index c96ce513e1..b38415c2c6 100644
--- a/modelmigration/v1_19/v234.go
+++ b/modelmigration/v1_19/v234.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreatePackageCleanupRuleTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v235.go b/modelmigration/v1_19/v235.go
index c598560d62..94f3ee12e6 100644
--- a/modelmigration/v1_19/v235.go
+++ b/modelmigration/v1_19/v235.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexForAccessToken(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v236.go b/modelmigration/v1_19/v236.go
index 02014138dc..86ed41e751 100644
--- a/modelmigration/v1_19/v236.go
+++ b/modelmigration/v1_19/v236.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateSecretsTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v237.go b/modelmigration/v1_19/v237.go
index 44a3ce0150..e187dc9675 100644
--- a/modelmigration/v1_19/v237.go
+++ b/modelmigration/v1_19/v237.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropForeignReferenceTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v238.go b/modelmigration/v1_19/v238.go
index a3cbe78820..a0dc1ffe67 100644
--- a/modelmigration/v1_19/v238.go
+++ b/modelmigration/v1_19/v238.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
// AddUpdatedUnixToLFSMetaObject adds an updated column to the LFSMetaObject to allow for garbage collection
diff --git a/modelmigration/v1_19/v239.go b/modelmigration/v1_19/v239.go
index 055f1af97e..4973cf4a20 100644
--- a/modelmigration/v1_19/v239.go
+++ b/modelmigration/v1_19/v239.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddScopeForAccessTokens(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v240.go b/modelmigration/v1_19/v240.go
index cc7571c1b6..a6a9f20efe 100644
--- a/modelmigration/v1_19/v240.go
+++ b/modelmigration/v1_19/v240.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddActionsTables(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_19/v241.go b/modelmigration/v1_19/v241.go
index 6713e02f61..909c9691ab 100644
--- a/modelmigration/v1_19/v241.go
+++ b/modelmigration/v1_19/v241.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// AddCardTypeToProjectTable: add CardType column, setting existing rows to CardTypeTextOnly
diff --git a/modelmigration/v1_19/v242.go b/modelmigration/v1_19/v242.go
index 5860e0ad85..de0bfe17f3 100644
--- a/modelmigration/v1_19/v242.go
+++ b/modelmigration/v1_19/v242.go
@@ -6,8 +6,8 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
// AlterPublicGPGKeyImportContentFieldToMediumText: set GPGKeyImport Content field to MEDIUMTEXT
diff --git a/modelmigration/v1_19/v243.go b/modelmigration/v1_19/v243.go
index 215f02263a..3b218d3663 100644
--- a/modelmigration/v1_19/v243.go
+++ b/modelmigration/v1_19/v243.go
@@ -6,7 +6,7 @@ package v1_19
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddExclusiveLabel(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/main_test.go b/modelmigration/v1_20/main_test.go
index 961e00f1fd..a58c7cc3a6 100644
--- a/modelmigration/v1_20/main_test.go
+++ b/modelmigration/v1_20/main_test.go
@@ -6,7 +6,7 @@ package v1_20
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_20/v244.go b/modelmigration/v1_20/v244.go
index d9079c2f07..884759d689 100644
--- a/modelmigration/v1_20/v244.go
+++ b/modelmigration/v1_20/v244.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddNeedApprovalToActionRun(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v245.go b/modelmigration/v1_20/v245.go
index a3a012e65b..8fb1fbf580 100644
--- a/modelmigration/v1_20/v245.go
+++ b/modelmigration/v1_20/v245.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func RenameWebhookOrgToOwner(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v246.go b/modelmigration/v1_20/v246.go
index a36926bc40..7b00ffa786 100644
--- a/modelmigration/v1_20/v246.go
+++ b/modelmigration/v1_20/v246.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddNewColumnForProject(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v247.go b/modelmigration/v1_20/v247.go
index 5cd54acba6..1d27557d3e 100644
--- a/modelmigration/v1_20/v247.go
+++ b/modelmigration/v1_20/v247.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
// FixIncorrectProjectType: set individual project's type from 3(TypeOrganization) to 1(TypeIndividual)
diff --git a/modelmigration/v1_20/v248.go b/modelmigration/v1_20/v248.go
index 8efb2b2001..386e1d5bf3 100644
--- a/modelmigration/v1_20/v248.go
+++ b/modelmigration/v1_20/v248.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddVersionToActionRunner(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v249.go b/modelmigration/v1_20/v249.go
index 614dd0fcfe..cade7dd66b 100644
--- a/modelmigration/v1_20/v249.go
+++ b/modelmigration/v1_20/v249.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_20/v250.go b/modelmigration/v1_20/v250.go
index 7aa0a209b5..83712b1c0f 100644
--- a/modelmigration/v1_20/v250.go
+++ b/modelmigration/v1_20/v250.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
)
func ChangeContainerMetadataMultiArch(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v251.go b/modelmigration/v1_20/v251.go
index 8be895ecce..75dcb4ee1c 100644
--- a/modelmigration/v1_20/v251.go
+++ b/modelmigration/v1_20/v251.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
func FixIncorrectOwnerTeamUnitAccessMode(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v252.go b/modelmigration/v1_20/v252.go
index 9a4e89e45d..12f5607a27 100644
--- a/modelmigration/v1_20/v252.go
+++ b/modelmigration/v1_20/v252.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
func FixIncorrectAdminTeamUnitAccessMode(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v253.go b/modelmigration/v1_20/v253.go
index e2e8d413b4..81821efca6 100644
--- a/modelmigration/v1_20/v253.go
+++ b/modelmigration/v1_20/v253.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
func FixExternalTrackerAndExternalWikiAccessModeInOwnerAndAdminTeam(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v254.go b/modelmigration/v1_20/v254.go
index 0826258cfd..89ba07952d 100644
--- a/modelmigration/v1_20/v254.go
+++ b/modelmigration/v1_20/v254.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddActionTaskOutputTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v255.go b/modelmigration/v1_20/v255.go
index da470aef5d..e32fb45c0f 100644
--- a/modelmigration/v1_20/v255.go
+++ b/modelmigration/v1_20/v255.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddArchivedUnixToRepository(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v256.go b/modelmigration/v1_20/v256.go
index cdc69e74be..38a50370f9 100644
--- a/modelmigration/v1_20/v256.go
+++ b/modelmigration/v1_20/v256.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIsInternalColumnToPackage(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v257.go b/modelmigration/v1_20/v257.go
index 470a63971f..8a57446f47 100644
--- a/modelmigration/v1_20/v257.go
+++ b/modelmigration/v1_20/v257.go
@@ -6,8 +6,8 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateActionArtifactTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v258.go b/modelmigration/v1_20/v258.go
index 472977f343..23d62ee0c6 100644
--- a/modelmigration/v1_20/v258.go
+++ b/modelmigration/v1_20/v258.go
@@ -6,7 +6,7 @@ package v1_20
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddPinOrderToIssue(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_20/v259.go b/modelmigration/v1_20/v259.go
index 6a262e9a55..0a7dea0c7d 100644
--- a/modelmigration/v1_20/v259.go
+++ b/modelmigration/v1_20/v259.go
@@ -8,8 +8,8 @@ import (
"fmt"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
)
// unknownAccessTokenScope represents the scope for an access token that isn't
diff --git a/modelmigration/v1_20/v259_test.go b/modelmigration/v1_20/v259_test.go
index a3f3ee78c1..d492dba388 100644
--- a/modelmigration/v1_20/v259_test.go
+++ b/modelmigration/v1_20/v259_test.go
@@ -8,7 +8,7 @@ import (
"strings"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_21/main_test.go b/modelmigration/v1_21/main_test.go
index 7740826921..956677e24c 100644
--- a/modelmigration/v1_21/main_test.go
+++ b/modelmigration/v1_21/main_test.go
@@ -6,7 +6,7 @@ package v1_21
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_21/v260.go b/modelmigration/v1_21/v260.go
index 0e07843507..156ffc8503 100644
--- a/modelmigration/v1_21/v260.go
+++ b/modelmigration/v1_21/v260.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropCustomLabelsColumnOfActionRunner(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v261.go b/modelmigration/v1_21/v261.go
index f0ffef8d41..f267680ccd 100644
--- a/modelmigration/v1_21/v261.go
+++ b/modelmigration/v1_21/v261.go
@@ -6,8 +6,8 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateVariableTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v262.go b/modelmigration/v1_21/v262.go
index 92160fbeaf..ba15fd583c 100644
--- a/modelmigration/v1_21/v262.go
+++ b/modelmigration/v1_21/v262.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddTriggerEventToActionRun(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v263.go b/modelmigration/v1_21/v263.go
index f5ea230f20..00e4753a2b 100644
--- a/modelmigration/v1_21/v263.go
+++ b/modelmigration/v1_21/v263.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// AddGitSizeAndLFSSizeToRepositoryTable: add GitSize and LFSSize columns to Repository
diff --git a/modelmigration/v1_21/v264.go b/modelmigration/v1_21/v264.go
index 10d45ed090..ddbfc298cc 100644
--- a/modelmigration/v1_21/v264.go
+++ b/modelmigration/v1_21/v264.go
@@ -7,8 +7,8 @@ import (
"context"
"errors"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddBranchTable(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v265.go b/modelmigration/v1_21/v265.go
index a8be947c21..78d7d7ccc4 100644
--- a/modelmigration/v1_21/v265.go
+++ b/modelmigration/v1_21/v265.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AlterActionArtifactTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v266.go b/modelmigration/v1_21/v266.go
index f404f46d43..c9bf8712f2 100644
--- a/modelmigration/v1_21/v266.go
+++ b/modelmigration/v1_21/v266.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func ReduceCommitStatus(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v267.go b/modelmigration/v1_21/v267.go
index 60f9bcaa2c..e23e4e91ec 100644
--- a/modelmigration/v1_21/v267.go
+++ b/modelmigration/v1_21/v267.go
@@ -6,8 +6,8 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateActionTasksVersionTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v268.go b/modelmigration/v1_21/v268.go
index dc17a5a22e..de25616a34 100644
--- a/modelmigration/v1_21/v268.go
+++ b/modelmigration/v1_21/v268.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// UpdateActionsRefIndex updates the index of actions ref field
diff --git a/modelmigration/v1_21/v269.go b/modelmigration/v1_21/v269.go
index c5852bd6f5..3d7e9887d8 100644
--- a/modelmigration/v1_21/v269.go
+++ b/modelmigration/v1_21/v269.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropDeletedBranchTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v270.go b/modelmigration/v1_21/v270.go
index 3d01e474e4..6038242a4f 100644
--- a/modelmigration/v1_21/v270.go
+++ b/modelmigration/v1_21/v270.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FixPackagePropertyTypo(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v271.go b/modelmigration/v1_21/v271.go
index 3db61f93c0..fb6dd0943f 100644
--- a/modelmigration/v1_21/v271.go
+++ b/modelmigration/v1_21/v271.go
@@ -6,8 +6,8 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddArchivedUnixColumInLabelTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v272.go b/modelmigration/v1_21/v272.go
index b027c7139a..0fdecb6554 100644
--- a/modelmigration/v1_21/v272.go
+++ b/modelmigration/v1_21/v272.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddVersionToActionRunTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v273.go b/modelmigration/v1_21/v273.go
index 90985038dd..ce0eb9e9db 100644
--- a/modelmigration/v1_21/v273.go
+++ b/modelmigration/v1_21/v273.go
@@ -6,8 +6,8 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddActionScheduleTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v274.go b/modelmigration/v1_21/v274.go
index 1d220b777f..1053bc32dc 100644
--- a/modelmigration/v1_21/v274.go
+++ b/modelmigration/v1_21/v274.go
@@ -7,8 +7,8 @@ import (
"context"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddExpiredUnixColumnInActionArtifactTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v275.go b/modelmigration/v1_21/v275.go
index 776c3cb4ac..c0506be497 100644
--- a/modelmigration/v1_21/v275.go
+++ b/modelmigration/v1_21/v275.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddScheduleIDForActionRun(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v276.go b/modelmigration/v1_21/v276.go
index 6d8dcdfe4e..08b27cde5d 100644
--- a/modelmigration/v1_21/v276.go
+++ b/modelmigration/v1_21/v276.go
@@ -6,9 +6,9 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
)
func AddRemoteAddressToMirrors(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v277.go b/modelmigration/v1_21/v277.go
index 56ea71959a..61dcfede9c 100644
--- a/modelmigration/v1_21/v277.go
+++ b/modelmigration/v1_21/v277.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexToIssueUserIssueID(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v278.go b/modelmigration/v1_21/v278.go
index 296b121db9..517f31a323 100644
--- a/modelmigration/v1_21/v278.go
+++ b/modelmigration/v1_21/v278.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexToCommentDependentIssueID(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_21/v279.go b/modelmigration/v1_21/v279.go
index 225a511fe1..af48213f8e 100644
--- a/modelmigration/v1_21/v279.go
+++ b/modelmigration/v1_21/v279.go
@@ -6,7 +6,7 @@ package v1_21
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/main_test.go b/modelmigration/v1_22/main_test.go
index 6a28e3a08c..c4b200daab 100644
--- a/modelmigration/v1_22/main_test.go
+++ b/modelmigration/v1_22/main_test.go
@@ -6,7 +6,7 @@ package v1_22
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_22/v280.go b/modelmigration/v1_22/v280.go
index 514e3c932e..1a01deaa20 100644
--- a/modelmigration/v1_22/v280.go
+++ b/modelmigration/v1_22/v280.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RenameUserThemes(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v281.go b/modelmigration/v1_22/v281.go
index cf60c8c786..af49dd7c8f 100644
--- a/modelmigration/v1_22/v281.go
+++ b/modelmigration/v1_22/v281.go
@@ -6,8 +6,8 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func CreateAuthTokenTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v282.go b/modelmigration/v1_22/v282.go
index 2334398843..df4f05c67d 100644
--- a/modelmigration/v1_22/v282.go
+++ b/modelmigration/v1_22/v282.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIndexToPullAutoMergeDoerID(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v283.go b/modelmigration/v1_22/v283.go
index 4ffa9969b5..b240bc29a4 100644
--- a/modelmigration/v1_22/v283.go
+++ b/modelmigration/v1_22/v283.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_22/v283_test.go b/modelmigration/v1_22/v283_test.go
index a0ae3a553d..f2777d2b04 100644
--- a/modelmigration/v1_22/v283_test.go
+++ b/modelmigration/v1_22/v283_test.go
@@ -6,7 +6,7 @@ package v1_22
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_22/v284.go b/modelmigration/v1_22/v284.go
index f1a968ec42..468adb0750 100644
--- a/modelmigration/v1_22/v284.go
+++ b/modelmigration/v1_22/v284.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v285.go b/modelmigration/v1_22/v285.go
index 2713a77ca4..da209ec854 100644
--- a/modelmigration/v1_22/v285.go
+++ b/modelmigration/v1_22/v285.go
@@ -7,7 +7,7 @@ import (
"context"
"time"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v286.go b/modelmigration/v1_22/v286.go
index a104c65c2d..2990ed4e2d 100644
--- a/modelmigration/v1_22/v286.go
+++ b/modelmigration/v1_22/v286.go
@@ -7,9 +7,9 @@ import (
"errors"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v286_test.go b/modelmigration/v1_22/v286_test.go
index 5ee48a7953..d40e01c32e 100644
--- a/modelmigration/v1_22/v286_test.go
+++ b/modelmigration/v1_22/v286_test.go
@@ -6,8 +6,8 @@ package v1_22
import (
"testing"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_22/v287.go b/modelmigration/v1_22/v287.go
index a42b5b80ac..b1358d3e25 100644
--- a/modelmigration/v1_22/v287.go
+++ b/modelmigration/v1_22/v287.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
type BadgeUnique struct {
diff --git a/modelmigration/v1_22/v287_test.go b/modelmigration/v1_22/v287_test.go
index fa1ef7fa15..8c119a2d25 100644
--- a/modelmigration/v1_22/v287_test.go
+++ b/modelmigration/v1_22/v287_test.go
@@ -7,7 +7,7 @@ import (
"strconv"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_22/v288.go b/modelmigration/v1_22/v288.go
index 298157c4d7..e941c89829 100644
--- a/modelmigration/v1_22/v288.go
+++ b/modelmigration/v1_22/v288.go
@@ -6,8 +6,8 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
type Blocking struct {
diff --git a/modelmigration/v1_22/v289.go b/modelmigration/v1_22/v289.go
index a73f240474..2a35e14fd1 100644
--- a/modelmigration/v1_22/v289.go
+++ b/modelmigration/v1_22/v289.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v290.go b/modelmigration/v1_22/v290.go
index 2df50a1f1d..40aaaa9bc7 100644
--- a/modelmigration/v1_22/v290.go
+++ b/modelmigration/v1_22/v290.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v291.go b/modelmigration/v1_22/v291.go
index dcd01802bd..d65cd0545e 100644
--- a/modelmigration/v1_22/v291.go
+++ b/modelmigration/v1_22/v291.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_22/v293.go b/modelmigration/v1_22/v293.go
index cd17b6c575..10e991b4b5 100644
--- a/modelmigration/v1_22/v293.go
+++ b/modelmigration/v1_22/v293.go
@@ -6,9 +6,9 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
type ProjectBoardV293 struct {
diff --git a/modelmigration/v1_22/v293_test.go b/modelmigration/v1_22/v293_test.go
index bbf1f2d928..02a2404e22 100644
--- a/modelmigration/v1_22/v293_test.go
+++ b/modelmigration/v1_22/v293_test.go
@@ -6,8 +6,8 @@ package v1_22
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_22/v294.go b/modelmigration/v1_22/v294.go
index 5df6e3db3d..83836a8a64 100644
--- a/modelmigration/v1_22/v294.go
+++ b/modelmigration/v1_22/v294.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_22/v294_test.go b/modelmigration/v1_22/v294_test.go
index 1417d8d361..6515e72689 100644
--- a/modelmigration/v1_22/v294_test.go
+++ b/modelmigration/v1_22/v294_test.go
@@ -6,7 +6,7 @@ package v1_22
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
"xorm.io/xorm/schemas"
diff --git a/modelmigration/v1_22/v295.go b/modelmigration/v1_22/v295.go
index d6bf23ae09..e8ff662067 100644
--- a/modelmigration/v1_22/v295.go
+++ b/modelmigration/v1_22/v295.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddCommitStatusSummary(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v296.go b/modelmigration/v1_22/v296.go
index 758849bbb8..c56c57269f 100644
--- a/modelmigration/v1_22/v296.go
+++ b/modelmigration/v1_22/v296.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddCommitStatusSummary2(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v297.go b/modelmigration/v1_22/v297.go
index 09afd86ccc..d74e07c8c3 100644
--- a/modelmigration/v1_22/v297.go
+++ b/modelmigration/v1_22/v297.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddRepoUnitEveryoneAccessMode(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_22/v298.go b/modelmigration/v1_22/v298.go
index 52c2e7324e..bfff7765cd 100644
--- a/modelmigration/v1_22/v298.go
+++ b/modelmigration/v1_22/v298.go
@@ -6,7 +6,7 @@ package v1_22
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func DropWronglyCreatedTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_23/main_test.go b/modelmigration/v1_23/main_test.go
index 1a77658b70..20e03d50bc 100644
--- a/modelmigration/v1_23/main_test.go
+++ b/modelmigration/v1_23/main_test.go
@@ -6,7 +6,7 @@ package v1_23
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_23/v299.go b/modelmigration/v1_23/v299.go
index 9e083fd796..054405e735 100644
--- a/modelmigration/v1_23/v299.go
+++ b/modelmigration/v1_23/v299.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v300.go b/modelmigration/v1_23/v300.go
index b445b91ddf..11684c404b 100644
--- a/modelmigration/v1_23/v300.go
+++ b/modelmigration/v1_23/v300.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v301.go b/modelmigration/v1_23/v301.go
index 4257e099df..5b81705605 100644
--- a/modelmigration/v1_23/v301.go
+++ b/modelmigration/v1_23/v301.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v302.go b/modelmigration/v1_23/v302.go
index b7f3e6d9df..de94334e05 100644
--- a/modelmigration/v1_23/v302.go
+++ b/modelmigration/v1_23/v302.go
@@ -6,8 +6,8 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v302_test.go b/modelmigration/v1_23/v302_test.go
index 8d98e5438c..39d106c2ae 100644
--- a/modelmigration/v1_23/v302_test.go
+++ b/modelmigration/v1_23/v302_test.go
@@ -6,8 +6,8 @@ package v1_23
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_23/v303.go b/modelmigration/v1_23/v303.go
index c76e577768..85efa49e5e 100644
--- a/modelmigration/v1_23/v303.go
+++ b/modelmigration/v1_23/v303.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v304.go b/modelmigration/v1_23/v304.go
index bd710b4067..3b53bff7c8 100644
--- a/modelmigration/v1_23/v304.go
+++ b/modelmigration/v1_23/v304.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v304_test.go b/modelmigration/v1_23/v304_test.go
index 7f4e7d6f55..cb2c001fd3 100644
--- a/modelmigration/v1_23/v304_test.go
+++ b/modelmigration/v1_23/v304_test.go
@@ -6,8 +6,8 @@ package v1_23
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_23/v305.go b/modelmigration/v1_23/v305.go
index 1df8574f07..24036a6912 100644
--- a/modelmigration/v1_23/v305.go
+++ b/modelmigration/v1_23/v305.go
@@ -6,8 +6,8 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddRepositoryLicenses(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_23/v306.go b/modelmigration/v1_23/v306.go
index bf3734d64d..8d6d60a3a5 100644
--- a/modelmigration/v1_23/v306.go
+++ b/modelmigration/v1_23/v306.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v307.go b/modelmigration/v1_23/v307.go
index 2c75c41785..7fd4d51f7c 100644
--- a/modelmigration/v1_23/v307.go
+++ b/modelmigration/v1_23/v307.go
@@ -6,8 +6,8 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func FixMilestoneNoDueDate(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_23/v308.go b/modelmigration/v1_23/v308.go
index f89028ab77..1a366c11b7 100644
--- a/modelmigration/v1_23/v308.go
+++ b/modelmigration/v1_23/v308.go
@@ -6,8 +6,8 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_23/v309.go b/modelmigration/v1_23/v309.go
index 5388e68f46..c9c96ae703 100644
--- a/modelmigration/v1_23/v309.go
+++ b/modelmigration/v1_23/v309.go
@@ -6,8 +6,8 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_23/v310.go b/modelmigration/v1_23/v310.go
index 70b2212e23..bbefb0b3f8 100644
--- a/modelmigration/v1_23/v310.go
+++ b/modelmigration/v1_23/v310.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_23/v311.go b/modelmigration/v1_23/v311.go
index bc80bccbf0..89c5d29075 100644
--- a/modelmigration/v1_23/v311.go
+++ b/modelmigration/v1_23/v311.go
@@ -6,7 +6,7 @@ package v1_23
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v312.go b/modelmigration/v1_24/v312.go
index 3eccf2df08..09b2af4f6c 100644
--- a/modelmigration/v1_24/v312.go
+++ b/modelmigration/v1_24/v312.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v313.go b/modelmigration/v1_24/v313.go
index 0379b20e3c..37ca0728e8 100644
--- a/modelmigration/v1_24/v313.go
+++ b/modelmigration/v1_24/v313.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func MovePinOrderToTableIssuePin(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_24/v314.go b/modelmigration/v1_24/v314.go
index ff5e4dca7c..74e2b07827 100644
--- a/modelmigration/v1_24/v314.go
+++ b/modelmigration/v1_24/v314.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func UpdateOwnerIDOfRepoLevelActionsTables(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_24/v315.go b/modelmigration/v1_24/v315.go
index a2d0ab9201..d32568b1b6 100644
--- a/modelmigration/v1_24/v315.go
+++ b/modelmigration/v1_24/v315.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v316.go b/modelmigration/v1_24/v316.go
index 839bf08847..8cddc08df4 100644
--- a/modelmigration/v1_24/v316.go
+++ b/modelmigration/v1_24/v316.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v317.go b/modelmigration/v1_24/v317.go
index d5b58dd7a1..3685cbe340 100644
--- a/modelmigration/v1_24/v317.go
+++ b/modelmigration/v1_24/v317.go
@@ -6,8 +6,8 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_24/v318.go b/modelmigration/v1_24/v318.go
index 79cbd2b7b9..d60dde0a17 100644
--- a/modelmigration/v1_24/v318.go
+++ b/modelmigration/v1_24/v318.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v319.go b/modelmigration/v1_24/v319.go
index 5e51e26bf7..2e76f850ca 100644
--- a/modelmigration/v1_24/v319.go
+++ b/modelmigration/v1_24/v319.go
@@ -6,7 +6,7 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_24/v320.go b/modelmigration/v1_24/v320.go
index f9341f0f39..3bfe18c9dd 100644
--- a/modelmigration/v1_24/v320.go
+++ b/modelmigration/v1_24/v320.go
@@ -6,8 +6,8 @@ package v1_24
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_25/main_test.go b/modelmigration/v1_25/main_test.go
index 6828174ddb..f8318eb938 100644
--- a/modelmigration/v1_25/main_test.go
+++ b/modelmigration/v1_25/main_test.go
@@ -6,7 +6,7 @@ package v1_25
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_25/v321.go b/modelmigration/v1_25/v321.go
index 2a4920c2c6..b1d096e0e1 100644
--- a/modelmigration/v1_25/v321.go
+++ b/modelmigration/v1_25/v321.go
@@ -6,8 +6,8 @@ package v1_25
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_25/v321_test.go b/modelmigration/v1_25/v321_test.go
index 480f210686..6b344ec3fc 100644
--- a/modelmigration/v1_25/v321_test.go
+++ b/modelmigration/v1_25/v321_test.go
@@ -6,9 +6,9 @@ package v1_25
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_25/v322.go b/modelmigration/v1_25/v322.go
index 41849ff775..cb85858343 100644
--- a/modelmigration/v1_25/v322.go
+++ b/modelmigration/v1_25/v322.go
@@ -6,7 +6,7 @@ package v1_25
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_25/v322_test.go b/modelmigration/v1_25/v322_test.go
index b7bb79ebd5..4ed5201d42 100644
--- a/modelmigration/v1_25/v322_test.go
+++ b/modelmigration/v1_25/v322_test.go
@@ -6,8 +6,8 @@ package v1_25
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_26/main_test.go b/modelmigration/v1_26/main_test.go
index 799475c7d0..55f05701f6 100644
--- a/modelmigration/v1_26/main_test.go
+++ b/modelmigration/v1_26/main_test.go
@@ -6,7 +6,7 @@ package v1_26
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_26/v323.go b/modelmigration/v1_26/v323.go
index f70cebe4b3..c8cb3b4caf 100644
--- a/modelmigration/v1_26/v323.go
+++ b/modelmigration/v1_26/v323.go
@@ -6,7 +6,7 @@ package v1_26
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_26/v324.go b/modelmigration/v1_26/v324.go
index b115d200c2..a9d9e9a50c 100644
--- a/modelmigration/v1_26/v324.go
+++ b/modelmigration/v1_26/v324.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FixClosedMilestoneCompleteness(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_26/v325.go b/modelmigration/v1_26/v325.go
index 0e812bcb70..6775c6a6d6 100644
--- a/modelmigration/v1_26/v325.go
+++ b/modelmigration/v1_26/v325.go
@@ -6,7 +6,7 @@ package v1_26
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func FixMissedRepoIDWhenMigrateAttachments(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_26/v325_test.go b/modelmigration/v1_26/v325_test.go
index c593bb626c..90cb4f9bcf 100644
--- a/modelmigration/v1_26/v325_test.go
+++ b/modelmigration/v1_26/v325_test.go
@@ -6,8 +6,8 @@ package v1_26
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_26/v326.go b/modelmigration/v1_26/v326.go
index 4d8b432d01..1088a729ae 100644
--- a/modelmigration/v1_26/v326.go
+++ b/modelmigration/v1_26/v326.go
@@ -11,11 +11,11 @@ import (
"strconv"
"strings"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ webhook_module "gotea.dev/modules/webhook"
)
const (
diff --git a/modelmigration/v1_26/v326_test.go b/modelmigration/v1_26/v326_test.go
index 7093714914..3f77b943a6 100644
--- a/modelmigration/v1_26/v326_test.go
+++ b/modelmigration/v1_26/v326_test.go
@@ -6,10 +6,10 @@ package v1_26
import (
"testing"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_26/v327.go b/modelmigration/v1_26/v327.go
index 5153e1b0f3..0164a8aa37 100644
--- a/modelmigration/v1_26/v327.go
+++ b/modelmigration/v1_26/v327.go
@@ -6,7 +6,7 @@ package v1_26
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_26/v327_test.go b/modelmigration/v1_26/v327_test.go
index 4b9bb6d22a..42611236c3 100644
--- a/modelmigration/v1_26/v327_test.go
+++ b/modelmigration/v1_26/v327_test.go
@@ -6,7 +6,7 @@ package v1_26
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_26/v328.go b/modelmigration/v1_26/v328.go
index a2bb8c0b0e..8c2d938efe 100644
--- a/modelmigration/v1_26/v328.go
+++ b/modelmigration/v1_26/v328.go
@@ -6,7 +6,7 @@ package v1_26
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_26/v329.go b/modelmigration/v1_26/v329.go
index 7319d12e8a..94209df480 100644
--- a/modelmigration/v1_26/v329.go
+++ b/modelmigration/v1_26/v329.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_26/v329_test.go b/modelmigration/v1_26/v329_test.go
index d627030ebe..5d563a2f0f 100644
--- a/modelmigration/v1_26/v329_test.go
+++ b/modelmigration/v1_26/v329_test.go
@@ -6,7 +6,7 @@ package v1_26
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
)
diff --git a/modelmigration/v1_26/v330.go b/modelmigration/v1_26/v330.go
index cfda7591c8..735a4c5ea8 100644
--- a/modelmigration/v1_26/v330.go
+++ b/modelmigration/v1_26/v330.go
@@ -6,7 +6,7 @@ package v1_26
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/main_test.go b/modelmigration/v1_27/main_test.go
index 2c03bbaf28..193e42b4c7 100644
--- a/modelmigration/v1_27/main_test.go
+++ b/modelmigration/v1_27/main_test.go
@@ -6,7 +6,7 @@ package v1_27
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v1_27/v331.go b/modelmigration/v1_27/v331.go
index b69708f5c6..d6fe6ee2a6 100644
--- a/modelmigration/v1_27/v331.go
+++ b/modelmigration/v1_27/v331.go
@@ -7,8 +7,8 @@ import (
"context"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v331_test.go b/modelmigration/v1_27/v331_test.go
index 05ab100605..2cd67e9294 100644
--- a/modelmigration/v1_27/v331_test.go
+++ b/modelmigration/v1_27/v331_test.go
@@ -7,7 +7,7 @@ import (
"slices"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_27/v332.go b/modelmigration/v1_27/v332.go
index 0c836d5204..41a033628e 100644
--- a/modelmigration/v1_27/v332.go
+++ b/modelmigration/v1_27/v332.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v333.go b/modelmigration/v1_27/v333.go
index c33883a547..f43b2ca497 100644
--- a/modelmigration/v1_27/v333.go
+++ b/modelmigration/v1_27/v333.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v333_test.go b/modelmigration/v1_27/v333_test.go
index 701a3311f4..f5e09a460d 100644
--- a/modelmigration/v1_27/v333_test.go
+++ b/modelmigration/v1_27/v333_test.go
@@ -6,7 +6,7 @@ package v1_27
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_27/v334.go b/modelmigration/v1_27/v334.go
index 691a3226cc..01b22f4b84 100644
--- a/modelmigration/v1_27/v334.go
+++ b/modelmigration/v1_27/v334.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v334_test.go b/modelmigration/v1_27/v334_test.go
index 832d2fbe0b..0d676a60b4 100644
--- a/modelmigration/v1_27/v334_test.go
+++ b/modelmigration/v1_27/v334_test.go
@@ -6,7 +6,7 @@ package v1_27
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_27/v335.go b/modelmigration/v1_27/v335.go
index 2275e1634e..5d0244a8a8 100644
--- a/modelmigration/v1_27/v335.go
+++ b/modelmigration/v1_27/v335.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v336.go b/modelmigration/v1_27/v336.go
index 712ff31f61..fb330b6f24 100644
--- a/modelmigration/v1_27/v336.go
+++ b/modelmigration/v1_27/v336.go
@@ -6,8 +6,8 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddActionRunJobSummaryTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_27/v337.go b/modelmigration/v1_27/v337.go
index 8586482cbc..45a2b81cca 100644
--- a/modelmigration/v1_27/v337.go
+++ b/modelmigration/v1_27/v337.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v338.go b/modelmigration/v1_27/v338.go
index 55af1c358e..4fbebd21f5 100644
--- a/modelmigration/v1_27/v338.go
+++ b/modelmigration/v1_27/v338.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_27/v338_test.go b/modelmigration/v1_27/v338_test.go
index c34ff660cb..b2f40af40f 100644
--- a/modelmigration/v1_27/v338_test.go
+++ b/modelmigration/v1_27/v338_test.go
@@ -7,8 +7,8 @@ import (
"strings"
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_27/v339.go b/modelmigration/v1_27/v339.go
index 59ccd40745..bf638bb4d4 100644
--- a/modelmigration/v1_27/v339.go
+++ b/modelmigration/v1_27/v339.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_27/v339_test.go b/modelmigration/v1_27/v339_test.go
index 9fbc1b312b..b31dac4b36 100644
--- a/modelmigration/v1_27/v339_test.go
+++ b/modelmigration/v1_27/v339_test.go
@@ -6,8 +6,8 @@ package v1_27
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v1_27/v340.go b/modelmigration/v1_27/v340.go
index 4ea17be73c..5822ef0071 100644
--- a/modelmigration/v1_27/v340.go
+++ b/modelmigration/v1_27/v340.go
@@ -6,7 +6,7 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_27/v341.go b/modelmigration/v1_27/v341.go
index 3e0f00a157..6d370fa482 100644
--- a/modelmigration/v1_27/v341.go
+++ b/modelmigration/v1_27/v341.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_27/v341_test.go b/modelmigration/v1_27/v341_test.go
index 805d4615b2..3275f1fb99 100644
--- a/modelmigration/v1_27/v341_test.go
+++ b/modelmigration/v1_27/v341_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v1_27/v342.go b/modelmigration/v1_27/v342.go
index a3a1dbd7ad..673ae9d8f9 100644
--- a/modelmigration/v1_27/v342.go
+++ b/modelmigration/v1_27/v342.go
@@ -6,8 +6,8 @@ package v1_27
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm"
)
diff --git a/modelmigration/v1_6/v70.go b/modelmigration/v1_6/v70.go
index 37199e38ac..a5a14ed697 100644
--- a/modelmigration/v1_6/v70.go
+++ b/modelmigration/v1_6/v70.go
@@ -8,8 +8,8 @@ import (
"fmt"
"time"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AddIssueDependencies(_ context.Context, x base.EngineMigration) (err error) {
diff --git a/modelmigration/v1_6/v71.go b/modelmigration/v1_6/v71.go
index b7459e77a7..6c57bdf263 100644
--- a/modelmigration/v1_6/v71.go
+++ b/modelmigration/v1_6/v71.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func AddScratchHash(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_6/v72.go b/modelmigration/v1_6/v72.go
index 81bd6ea2a5..39f9343139 100644
--- a/modelmigration/v1_6/v72.go
+++ b/modelmigration/v1_6/v72.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddReview(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_7/v73.go b/modelmigration/v1_7/v73.go
index 6a3865ade1..7274d1c03d 100644
--- a/modelmigration/v1_7/v73.go
+++ b/modelmigration/v1_7/v73.go
@@ -6,7 +6,7 @@ package v1_7
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddMustChangePassword(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_7/v74.go b/modelmigration/v1_7/v74.go
index c11587324b..fe7bbbb13b 100644
--- a/modelmigration/v1_7/v74.go
+++ b/modelmigration/v1_7/v74.go
@@ -6,7 +6,7 @@ package v1_7
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddApprovalWhitelistsToProtectedBranches(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_7/v75.go b/modelmigration/v1_7/v75.go
index 93cf412a05..46525aec18 100644
--- a/modelmigration/v1_7/v75.go
+++ b/modelmigration/v1_7/v75.go
@@ -6,7 +6,7 @@ package v1_7
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/builder"
)
diff --git a/modelmigration/v1_8/v76.go b/modelmigration/v1_8/v76.go
index d90a850763..d2f6bb15c8 100644
--- a/modelmigration/v1_8/v76.go
+++ b/modelmigration/v1_8/v76.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddPullRequestRebaseWithMerge(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_8/v77.go b/modelmigration/v1_8/v77.go
index a611eed104..81009d7361 100644
--- a/modelmigration/v1_8/v77.go
+++ b/modelmigration/v1_8/v77.go
@@ -6,7 +6,7 @@ package v1_8
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddUserDefaultTheme(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_8/v78.go b/modelmigration/v1_8/v78.go
index ff09e6e2db..3aad965714 100644
--- a/modelmigration/v1_8/v78.go
+++ b/modelmigration/v1_8/v78.go
@@ -6,7 +6,7 @@ package v1_8
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RenameRepoIsBareToIsEmpty(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_8/v79.go b/modelmigration/v1_8/v79.go
index db7415b7f4..db7a6c55d4 100644
--- a/modelmigration/v1_8/v79.go
+++ b/modelmigration/v1_8/v79.go
@@ -6,8 +6,8 @@ package v1_8
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
)
func AddCanCloseIssuesViaCommitInAnyBranch(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_8/v80.go b/modelmigration/v1_8/v80.go
index 9239de7f52..ce52def21b 100644
--- a/modelmigration/v1_8/v80.go
+++ b/modelmigration/v1_8/v80.go
@@ -6,7 +6,7 @@ package v1_8
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddIsLockedToIssues(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_8/v81.go b/modelmigration/v1_8/v81.go
index 8e963f98cc..0e9980e5af 100644
--- a/modelmigration/v1_8/v81.go
+++ b/modelmigration/v1_8/v81.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v1_9/v82.go b/modelmigration/v1_9/v82.go
index 2a5c54a27b..e2a8009337 100644
--- a/modelmigration/v1_9/v82.go
+++ b/modelmigration/v1_9/v82.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/git"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/git"
)
func FixReleaseSha1OnReleaseTable(ctx context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_9/v83.go b/modelmigration/v1_9/v83.go
index d3743a8a2a..204d1a9034 100644
--- a/modelmigration/v1_9/v83.go
+++ b/modelmigration/v1_9/v83.go
@@ -6,8 +6,8 @@ package v1_9
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
func AddUploaderIDForAttachment(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_9/v84.go b/modelmigration/v1_9/v84.go
index e3e72ef2b4..36ed17d11e 100644
--- a/modelmigration/v1_9/v84.go
+++ b/modelmigration/v1_9/v84.go
@@ -6,7 +6,7 @@ package v1_9
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddGPGKeyImport(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_9/v85.go b/modelmigration/v1_9/v85.go
index 66ebc1424c..3cb14b1456 100644
--- a/modelmigration/v1_9/v85.go
+++ b/modelmigration/v1_9/v85.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func HashAppToken(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_9/v86.go b/modelmigration/v1_9/v86.go
index 576146f476..d01f6107f6 100644
--- a/modelmigration/v1_9/v86.go
+++ b/modelmigration/v1_9/v86.go
@@ -6,7 +6,7 @@ package v1_9
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddHTTPMethodToWebhook(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v1_9/v87.go b/modelmigration/v1_9/v87.go
index e30746a463..eb9ea29faa 100644
--- a/modelmigration/v1_9/v87.go
+++ b/modelmigration/v1_9/v87.go
@@ -6,7 +6,7 @@ package v1_9
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func AddAvatarFieldToRepository(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v28/main_test.go b/modelmigration/v28/main_test.go
index 403fe25dff..7b620b8f18 100644
--- a/modelmigration/v28/main_test.go
+++ b/modelmigration/v28/main_test.go
@@ -6,7 +6,7 @@ package v28
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v28/v343.go b/modelmigration/v28/v343.go
index b015e856c0..24b07982ca 100644
--- a/modelmigration/v28/v343.go
+++ b/modelmigration/v28/v343.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v343_test.go b/modelmigration/v28/v343_test.go
index f7330b42aa..5b08d0b44d 100644
--- a/modelmigration/v28/v343_test.go
+++ b/modelmigration/v28/v343_test.go
@@ -6,7 +6,7 @@ package v28
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v28/v344.go b/modelmigration/v28/v344.go
index 985254a89e..4fccc18eba 100644
--- a/modelmigration/v28/v344.go
+++ b/modelmigration/v28/v344.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v345.go b/modelmigration/v28/v345.go
index 7a6e04dec7..3d4d826154 100644
--- a/modelmigration/v28/v345.go
+++ b/modelmigration/v28/v345.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v346.go b/modelmigration/v28/v346.go
index ddae68568e..88d931c636 100644
--- a/modelmigration/v28/v346.go
+++ b/modelmigration/v28/v346.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
"xorm.io/xorm/schemas"
diff --git a/modelmigration/v28/v346_test.go b/modelmigration/v28/v346_test.go
index 3af7636446..9a9c51ae09 100644
--- a/modelmigration/v28/v346_test.go
+++ b/modelmigration/v28/v346_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v28/v347.go b/modelmigration/v28/v347.go
index ac4b7c7355..12f5e5cc6a 100644
--- a/modelmigration/v28/v347.go
+++ b/modelmigration/v28/v347.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v348.go b/modelmigration/v28/v348.go
index 85d2e1234e..fbb88aa59b 100644
--- a/modelmigration/v28/v348.go
+++ b/modelmigration/v28/v348.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
func RecreateEmailHashTable(_ context.Context, x base.EngineMigration) error {
diff --git a/modelmigration/v28/v348_test.go b/modelmigration/v28/v348_test.go
index a6d5ae9052..324fda62df 100644
--- a/modelmigration/v28/v348_test.go
+++ b/modelmigration/v28/v348_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v28/v349.go b/modelmigration/v28/v349.go
index 7d4d663880..66c1f4df2f 100644
--- a/modelmigration/v28/v349.go
+++ b/modelmigration/v28/v349.go
@@ -6,8 +6,8 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/schemas"
)
diff --git a/modelmigration/v28/v349_test.go b/modelmigration/v28/v349_test.go
index 9f7c77ff20..937c02df9e 100644
--- a/modelmigration/v28/v349_test.go
+++ b/modelmigration/v28/v349_test.go
@@ -7,8 +7,8 @@ import (
"bytes"
"testing"
- "gitea.dev/modelmigration/migrationtest"
- "gitea.dev/modules/setting"
+ "gotea.dev/modelmigration/migrationtest"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v28/v350.go b/modelmigration/v28/v350.go
index 7167c9e0a8..38341f3399 100644
--- a/modelmigration/v28/v350.go
+++ b/modelmigration/v28/v350.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v350_test.go b/modelmigration/v28/v350_test.go
index ad56df1ae5..dfceb09c8d 100644
--- a/modelmigration/v28/v350_test.go
+++ b/modelmigration/v28/v350_test.go
@@ -6,7 +6,7 @@ package v28
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/require"
)
diff --git a/modelmigration/v28/v351.go b/modelmigration/v28/v351.go
index 8b0cbdb93f..03b73d6e41 100644
--- a/modelmigration/v28/v351.go
+++ b/modelmigration/v28/v351.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v352.go b/modelmigration/v28/v352.go
index d79c739964..2d028a9ac1 100644
--- a/modelmigration/v28/v352.go
+++ b/modelmigration/v28/v352.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v353.go b/modelmigration/v28/v353.go
index 331ab67ade..d077661ea9 100644
--- a/modelmigration/v28/v353.go
+++ b/modelmigration/v28/v353.go
@@ -6,8 +6,8 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
)
type AuditEvent struct {
diff --git a/modelmigration/v28/v353_test.go b/modelmigration/v28/v353_test.go
index 28a39b438a..bd91b284ab 100644
--- a/modelmigration/v28/v353_test.go
+++ b/modelmigration/v28/v353_test.go
@@ -8,7 +8,7 @@ import (
"slices"
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v28/v354.go b/modelmigration/v28/v354.go
index da91906895..c29a5d8fff 100644
--- a/modelmigration/v28/v354.go
+++ b/modelmigration/v28/v354.go
@@ -6,8 +6,8 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modelmigration/base"
+ "gotea.dev/modules/timeutil"
"xorm.io/xorm"
)
diff --git a/modelmigration/v28/v354_test.go b/modelmigration/v28/v354_test.go
index bab21888d5..918873f8c1 100644
--- a/modelmigration/v28/v354_test.go
+++ b/modelmigration/v28/v354_test.go
@@ -6,7 +6,7 @@ package v28
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modelmigration/v28/v355.go b/modelmigration/v28/v355.go
index 295fcc9ece..a165278c48 100644
--- a/modelmigration/v28/v355.go
+++ b/modelmigration/v28/v355.go
@@ -6,7 +6,7 @@ package v28
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v29/main_test.go b/modelmigration/v29/main_test.go
index de8cd867d6..5d2dd10de4 100644
--- a/modelmigration/v29/main_test.go
+++ b/modelmigration/v29/main_test.go
@@ -6,7 +6,7 @@ package v29
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
)
func TestMain(m *testing.M) {
diff --git a/modelmigration/v29/v356.go b/modelmigration/v29/v356.go
index f85d39a45d..3e160b3734 100644
--- a/modelmigration/v29/v356.go
+++ b/modelmigration/v29/v356.go
@@ -6,7 +6,7 @@ package v29
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
"xorm.io/xorm"
)
diff --git a/modelmigration/v29/v357.go b/modelmigration/v29/v357.go
index 106e411f96..00ebbe4d79 100644
--- a/modelmigration/v29/v357.go
+++ b/modelmigration/v29/v357.go
@@ -6,7 +6,7 @@ package v29
import (
"context"
- "gitea.dev/modelmigration/base"
+ "gotea.dev/modelmigration/base"
)
// NormalizeLegacyTeamAuthorize sets leftover read/write authorize values to none.
diff --git a/modelmigration/v29/v357_test.go b/modelmigration/v29/v357_test.go
index e0077a8b78..44de3d3a74 100644
--- a/modelmigration/v29/v357_test.go
+++ b/modelmigration/v29/v357_test.go
@@ -6,7 +6,7 @@ package v29
import (
"testing"
- "gitea.dev/modelmigration/migrationtest"
+ "gotea.dev/modelmigration/migrationtest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/artifact.go b/models/actions/artifact.go
index fd2eafef6e..eb8a8d2569 100644
--- a/models/actions/artifact.go
+++ b/models/actions/artifact.go
@@ -10,10 +10,10 @@ import (
"context"
"slices"
- "gitea.dev/models/db"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/actions/artifact_test.go b/models/actions/artifact_test.go
index 6392d57827..e817198643 100644
--- a/models/actions/artifact_test.go
+++ b/models/actions/artifact_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/actions/config.go b/models/actions/config.go
index f4d99b8f7a..df38a71cee 100644
--- a/models/actions/config.go
+++ b/models/actions/config.go
@@ -6,11 +6,11 @@ package actions
import (
"context"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
"xorm.io/xorm/convert"
)
diff --git a/models/actions/main_test.go b/models/actions/main_test.go
index c3ae15d769..d2abc81ddc 100644
--- a/models/actions/main_test.go
+++ b/models/actions/main_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/actions/run.go b/models/actions/run.go
index d558ddf70c..f91dc7210f 100644
--- a/models/actions/run.go
+++ b/models/actions/run.go
@@ -12,17 +12,17 @@ import (
"strconv"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
"xorm.io/builder"
)
diff --git a/models/actions/run_attempt.go b/models/actions/run_attempt.go
index 384ecf0ae7..2949e31a12 100644
--- a/models/actions/run_attempt.go
+++ b/models/actions/run_attempt.go
@@ -9,12 +9,12 @@ import (
"slices"
"time"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// ActionRunAttempt represents a single execution attempt of an ActionRun.
diff --git a/models/actions/run_attempt_list.go b/models/actions/run_attempt_list.go
index f25e8fb0af..2e2c1935c8 100644
--- a/models/actions/run_attempt_list.go
+++ b/models/actions/run_attempt_list.go
@@ -6,9 +6,9 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
)
type ActionRunAttemptList []*ActionRunAttempt
diff --git a/models/actions/run_job.go b/models/actions/run_job.go
index 39de8efaeb..f0729b932b 100644
--- a/models/actions/run_job.go
+++ b/models/actions/run_job.go
@@ -11,14 +11,14 @@ import (
"time"
act_model "gitea.dev/actionslib/pkg/model"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
"xorm.io/builder"
)
diff --git a/models/actions/run_job_list.go b/models/actions/run_job_list.go
index 9ae32335f2..eb28acc1db 100644
--- a/models/actions/run_job_list.go
+++ b/models/actions/run_job_list.go
@@ -7,13 +7,13 @@ import (
"context"
"slices"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/actions/run_job_list_test.go b/models/actions/run_job_list_test.go
index 053114c310..7a127e3904 100644
--- a/models/actions/run_job_list_test.go
+++ b/models/actions/run_job_list_test.go
@@ -6,9 +6,9 @@ package actions
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/run_job_queue.go b/models/actions/run_job_queue.go
index 3dd2eb6324..d7f333d39a 100644
--- a/models/actions/run_job_queue.go
+++ b/models/actions/run_job_queue.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
"xorm.io/xorm"
diff --git a/models/actions/run_job_summary.go b/models/actions/run_job_summary.go
index 63e913c7bb..7539c6b105 100644
--- a/models/actions/run_job_summary.go
+++ b/models/actions/run_job_summary.go
@@ -6,10 +6,10 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
const (
diff --git a/models/actions/run_job_test.go b/models/actions/run_job_test.go
index 144ea14138..39841bf39a 100644
--- a/models/actions/run_job_test.go
+++ b/models/actions/run_job_test.go
@@ -8,9 +8,9 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/run_list.go b/models/actions/run_list.go
index b752f25b0d..520912c2a6 100644
--- a/models/actions/run_list.go
+++ b/models/actions/run_list.go
@@ -6,14 +6,14 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
+ webhook_module "gotea.dev/modules/webhook"
"xorm.io/builder"
)
diff --git a/models/actions/run_list_test.go b/models/actions/run_list_test.go
index ce8d23182f..373855f6ba 100644
--- a/models/actions/run_list_test.go
+++ b/models/actions/run_list_test.go
@@ -6,10 +6,10 @@ package actions
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/translation"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/run_test.go b/models/actions/run_test.go
index 08330cd999..b21fa40689 100644
--- a/models/actions/run_test.go
+++ b/models/actions/run_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/runner.go b/models/actions/runner.go
index 02db85015b..279d7220f6 100644
--- a/models/actions/runner.go
+++ b/models/actions/runner.go
@@ -12,15 +12,15 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/shared/types"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/shared/types"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/actions/runner_list.go b/models/actions/runner_list.go
index 1bd714c66f..6dc739d48a 100644
--- a/models/actions/runner_list.go
+++ b/models/actions/runner_list.go
@@ -6,10 +6,10 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
)
type RunnerList []*ActionRunner
diff --git a/models/actions/runner_test.go b/models/actions/runner_test.go
index 77937db173..34a6551d41 100644
--- a/models/actions/runner_test.go
+++ b/models/actions/runner_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/actions/runner_token.go b/models/actions/runner_token.go
index 0945ce3d48..570412e823 100644
--- a/models/actions/runner_token.go
+++ b/models/actions/runner_token.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// ActionRunnerToken represents runner tokens
diff --git a/models/actions/runner_token_test.go b/models/actions/runner_token_test.go
index d95a530f10..8f0eb4bd40 100644
--- a/models/actions/runner_token_test.go
+++ b/models/actions/runner_token_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/actions/schedule.go b/models/actions/schedule.go
index 9047155c85..2f6ed8bc6b 100644
--- a/models/actions/schedule.go
+++ b/models/actions/schedule.go
@@ -8,13 +8,13 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
// ActionSchedule represents a schedule of a workflow file
diff --git a/models/actions/schedule_list.go b/models/actions/schedule_list.go
index 549bbf1744..63f0d4a790 100644
--- a/models/actions/schedule_list.go
+++ b/models/actions/schedule_list.go
@@ -4,7 +4,7 @@
package actions
import (
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/actions/schedule_spec.go b/models/actions/schedule_spec.go
index 41e8a2ef8f..8a9629fc90 100644
--- a/models/actions/schedule_spec.go
+++ b/models/actions/schedule_spec.go
@@ -8,9 +8,9 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/timeutil"
"github.com/robfig/cron/v3"
)
diff --git a/models/actions/schedule_spec_test.go b/models/actions/schedule_spec_test.go
index 3b2cfd087b..6da24178a3 100644
--- a/models/actions/schedule_spec_test.go
+++ b/models/actions/schedule_spec_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/scoped_workflow.go b/models/actions/scoped_workflow.go
index 829956d03e..36e3d8ab7c 100644
--- a/models/actions/scoped_workflow.go
+++ b/models/actions/scoped_workflow.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/actions/scoped_workflow_test.go b/models/actions/scoped_workflow_test.go
index b54d25a840..df0e6bdf91 100644
--- a/models/actions/scoped_workflow_test.go
+++ b/models/actions/scoped_workflow_test.go
@@ -6,9 +6,9 @@ package actions
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/status.go b/models/actions/status.go
index 1a63aeb7b3..ce7ec3cbc8 100644
--- a/models/actions/status.go
+++ b/models/actions/status.go
@@ -7,7 +7,7 @@ import (
"slices"
runnerv1 "gitea.dev/actionslib/runner/v1"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
)
// Status represents the status of ActionRun, ActionRunJob, ActionTask, or ActionTaskStep
diff --git a/models/actions/task.go b/models/actions/task.go
index d0a76574fd..bc32f5f363 100644
--- a/models/actions/task.go
+++ b/models/actions/task.go
@@ -11,15 +11,15 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unit"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/actions/task_list.go b/models/actions/task_list.go
index 5df0f3bfa5..b47641d041 100644
--- a/models/actions/task_list.go
+++ b/models/actions/task_list.go
@@ -6,9 +6,9 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/actions/task_output.go b/models/actions/task_output.go
index 36cc77e6d1..91887d9358 100644
--- a/models/actions/task_output.go
+++ b/models/actions/task_output.go
@@ -6,7 +6,7 @@ package actions
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// ActionTaskOutput represents an output of ActionTask.
diff --git a/models/actions/task_step.go b/models/actions/task_step.go
index 598b9adb1a..dda8929e37 100644
--- a/models/actions/task_step.go
+++ b/models/actions/task_step.go
@@ -7,8 +7,8 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
)
// ActionTaskStep represents a step of ActionTask
diff --git a/models/actions/task_test.go b/models/actions/task_test.go
index 2119f3792b..a98588a758 100644
--- a/models/actions/task_test.go
+++ b/models/actions/task_test.go
@@ -11,12 +11,12 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/tasks_version.go b/models/actions/tasks_version.go
index c8fd0db36b..87ae0117b1 100644
--- a/models/actions/tasks_version.go
+++ b/models/actions/tasks_version.go
@@ -6,9 +6,9 @@ package actions
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
)
// ActionTasksVersion
diff --git a/models/actions/token_permissions.go b/models/actions/token_permissions.go
index f77ce48878..f85c04d43f 100644
--- a/models/actions/token_permissions.go
+++ b/models/actions/token_permissions.go
@@ -6,8 +6,8 @@ package actions
import (
"context"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
)
// ComputeTaskTokenPermissions computes the effective permissions for a job token against the target repository.
diff --git a/models/actions/utils.go b/models/actions/utils.go
index 77c06a9422..d5e6e5f6c7 100644
--- a/models/actions/utils.go
+++ b/models/actions/utils.go
@@ -12,10 +12,10 @@ import (
"io"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func generateSaltedToken() (string, string, string, string) {
diff --git a/models/actions/utils_test.go b/models/actions/utils_test.go
index 4ccffa4c0c..445d4fa83a 100644
--- a/models/actions/utils_test.go
+++ b/models/actions/utils_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/actions/variable.go b/models/actions/variable.go
index f566c80581..01694d831c 100644
--- a/models/actions/variable.go
+++ b/models/actions/variable.go
@@ -8,10 +8,10 @@ import (
"strings"
"unicode/utf8"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/activities/action.go b/models/activities/action.go
index 52e733b8db..6ac23661b4 100644
--- a/models/activities/action.go
+++ b/models/activities/action.go
@@ -14,17 +14,17 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm/schemas"
diff --git a/models/activities/action_list.go b/models/activities/action_list.go
index f1c617f594..c408c02f45 100644
--- a/models/activities/action_list.go
+++ b/models/activities/action_list.go
@@ -9,12 +9,12 @@ import (
"fmt"
"strconv"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/activities/action_test.go b/models/activities/action_test.go
index 0a60cd9c78..dc57fdc596 100644
--- a/models/activities/action_test.go
+++ b/models/activities/action_test.go
@@ -8,14 +8,14 @@ import (
"path"
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issue_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issue_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/models/activities/main_test.go b/models/activities/main_test.go
index 5b64a455fe..65bc823fdc 100644
--- a/models/activities/main_test.go
+++ b/models/activities/main_test.go
@@ -6,10 +6,10 @@ package activities_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/models/activities/notification.go b/models/activities/notification.go
index be955896d1..375a86701e 100644
--- a/models/activities/notification.go
+++ b/models/activities/notification.go
@@ -9,13 +9,13 @@ import (
"net/url"
"strconv"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
"xorm.io/xorm/schemas"
diff --git a/models/activities/notification_list.go b/models/activities/notification_list.go
index cec5c78504..67e6e999a6 100644
--- a/models/activities/notification_list.go
+++ b/models/activities/notification_list.go
@@ -6,15 +6,15 @@ package activities
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/activities/notification_test.go b/models/activities/notification_test.go
index ee58691b0b..4277c2328b 100644
--- a/models/activities/notification_test.go
+++ b/models/activities/notification_test.go
@@ -7,12 +7,12 @@ import (
"context"
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/activities/repo_activity.go b/models/activities/repo_activity.go
index 2e3af13db5..8b9c31aa37 100644
--- a/models/activities/repo_activity.go
+++ b/models/activities/repo_activity.go
@@ -9,11 +9,11 @@ import (
"sort"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
"xorm.io/builder"
)
diff --git a/models/activities/statistic.go b/models/activities/statistic.go
index 087a257a33..a4bd58db98 100644
--- a/models/activities/statistic.go
+++ b/models/activities/statistic.go
@@ -6,20 +6,20 @@ package activities
import (
"context"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
)
// Statistic contains the database statistics
diff --git a/models/activities/user_heatmap.go b/models/activities/user_heatmap.go
index 643c86e480..76799d2fe8 100644
--- a/models/activities/user_heatmap.go
+++ b/models/activities/user_heatmap.go
@@ -6,11 +6,11 @@ package activities
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
// UserHeatmapData represents the data needed to create a heatmap
diff --git a/models/activities/user_heatmap_test.go b/models/activities/user_heatmap_test.go
index 1a8ad7620f..bf0c8134e9 100644
--- a/models/activities/user_heatmap_test.go
+++ b/models/activities/user_heatmap_test.go
@@ -7,11 +7,11 @@ import (
"testing"
"time"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/timeutil"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/admin/task.go b/models/admin/task.go
index 32c9ffef44..c596facbb9 100644
--- a/models/admin/task.go
+++ b/models/admin/task.go
@@ -7,17 +7,17 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/migration"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/migration"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/asymkey/error.go b/models/asymkey/error.go
index 347de3fb51..de7431341e 100644
--- a/models/asymkey/error.go
+++ b/models/asymkey/error.go
@@ -6,7 +6,7 @@ package asymkey
import (
"fmt"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrKeyUnableVerify represents a "KeyUnableVerify" kind of error.
diff --git a/models/asymkey/gpg_key.go b/models/asymkey/gpg_key.go
index 99914a7bc2..c3c440b596 100644
--- a/models/asymkey/gpg_key.go
+++ b/models/asymkey/gpg_key.go
@@ -10,9 +10,9 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/packet"
diff --git a/models/asymkey/gpg_key_add.go b/models/asymkey/gpg_key_add.go
index aa74f66c55..8cee97d55e 100644
--- a/models/asymkey/gpg_key_add.go
+++ b/models/asymkey/gpg_key_add.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
"github.com/ProtonMail/go-crypto/openpgp"
)
diff --git a/models/asymkey/gpg_key_commit_verification.go b/models/asymkey/gpg_key_commit_verification.go
index a3a4ef1347..91d24d929b 100644
--- a/models/asymkey/gpg_key_commit_verification.go
+++ b/models/asymkey/gpg_key_commit_verification.go
@@ -8,10 +8,10 @@ import (
"fmt"
"hash"
- "gitea.dev/models/gituser"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ "gotea.dev/models/gituser"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
"github.com/ProtonMail/go-crypto/openpgp/packet"
)
diff --git a/models/asymkey/gpg_key_import.go b/models/asymkey/gpg_key_import.go
index 0189f331f8..db2834cea2 100644
--- a/models/asymkey/gpg_key_import.go
+++ b/models/asymkey/gpg_key_import.go
@@ -6,7 +6,7 @@ package asymkey
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// __________________ ________ ____ __.
diff --git a/models/asymkey/gpg_key_list.go b/models/asymkey/gpg_key_list.go
index e7cff4e3fb..c0616d65d7 100644
--- a/models/asymkey/gpg_key_list.go
+++ b/models/asymkey/gpg_key_list.go
@@ -6,7 +6,7 @@ package asymkey
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
type GPGKeyList []*GPGKey
diff --git a/models/asymkey/gpg_key_test.go b/models/asymkey/gpg_key_test.go
index 5cce164a78..dc032c0b3e 100644
--- a/models/asymkey/gpg_key_test.go
+++ b/models/asymkey/gpg_key_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/packet"
diff --git a/models/asymkey/gpg_key_verify.go b/models/asymkey/gpg_key_verify.go
index 77481c84e9..11ae10cd18 100644
--- a/models/asymkey/gpg_key_verify.go
+++ b/models/asymkey/gpg_key_verify.go
@@ -8,10 +8,10 @@ import (
"strconv"
"time"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/log"
)
// This file provides functions relating verifying gpg keys
diff --git a/models/asymkey/key_display.go b/models/asymkey/key_display.go
index 0bfba26bac..08bdba7d51 100644
--- a/models/asymkey/key_display.go
+++ b/models/asymkey/key_display.go
@@ -6,9 +6,9 @@ package asymkey
import (
"os"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func GetDisplaySigningKey(key *git.SigningKey) string {
diff --git a/models/asymkey/main_test.go b/models/asymkey/main_test.go
index 3c64834e27..35498df857 100644
--- a/models/asymkey/main_test.go
+++ b/models/asymkey/main_test.go
@@ -6,7 +6,7 @@ package asymkey
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/asymkey/ssh_key.go b/models/asymkey/ssh_key.go
index 3d628f8d10..8dbf326694 100644
--- a/models/asymkey/ssh_key.go
+++ b/models/asymkey/ssh_key.go
@@ -10,14 +10,14 @@ import (
"strings"
"time"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"golang.org/x/crypto/ssh"
"xorm.io/builder"
diff --git a/models/asymkey/ssh_key_authorized_keys.go b/models/asymkey/ssh_key_authorized_keys.go
index 1a45f5c439..57240160ae 100644
--- a/models/asymkey/ssh_key_authorized_keys.go
+++ b/models/asymkey/ssh_key_authorized_keys.go
@@ -14,10 +14,10 @@ import (
"strings"
"sync"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"golang.org/x/crypto/ssh"
"xorm.io/builder"
diff --git a/models/asymkey/ssh_key_authorized_keys_test.go b/models/asymkey/ssh_key_authorized_keys_test.go
index 0eb4097f85..2aef9358f3 100644
--- a/models/asymkey/ssh_key_authorized_keys_test.go
+++ b/models/asymkey/ssh_key_authorized_keys_test.go
@@ -7,8 +7,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/models/asymkey/ssh_key_fingerprint.go b/models/asymkey/ssh_key_fingerprint.go
index c495275e21..0f2a190dd5 100644
--- a/models/asymkey/ssh_key_fingerprint.go
+++ b/models/asymkey/ssh_key_fingerprint.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"golang.org/x/crypto/ssh"
"xorm.io/builder"
diff --git a/models/asymkey/ssh_key_parse.go b/models/asymkey/ssh_key_parse.go
index 302ae09b84..eb73bac26d 100644
--- a/models/asymkey/ssh_key_parse.go
+++ b/models/asymkey/ssh_key_parse.go
@@ -15,9 +15,9 @@ import (
"math/big"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"golang.org/x/crypto/ssh"
)
diff --git a/models/asymkey/ssh_key_principals.go b/models/asymkey/ssh_key_principals.go
index 2407266764..bcb43aec42 100644
--- a/models/asymkey/ssh_key_principals.go
+++ b/models/asymkey/ssh_key_principals.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// CheckPrincipalKeyString strips spaces and returns an error if the given principal contains newlines
diff --git a/models/asymkey/ssh_key_test.go b/models/asymkey/ssh_key_test.go
index a90bcad246..7905d01606 100644
--- a/models/asymkey/ssh_key_test.go
+++ b/models/asymkey/ssh_key_test.go
@@ -12,9 +12,9 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
"github.com/42wim/sshsig"
"github.com/stretchr/testify/assert"
diff --git a/models/asymkey/ssh_key_verify.go b/models/asymkey/ssh_key_verify.go
index 85dba08746..ae5040e1f6 100644
--- a/models/asymkey/ssh_key_verify.go
+++ b/models/asymkey/ssh_key_verify.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
"github.com/42wim/sshsig"
)
diff --git a/models/audit/audit_event.go b/models/audit/audit_event.go
index 557b4e3754..ddac8e5137 100644
--- a/models/audit/audit_event.go
+++ b/models/audit/audit_event.go
@@ -7,10 +7,10 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/audit/audit_event_benchmark_test.go b/models/audit/audit_event_benchmark_test.go
index ac542e68d4..ea74eecb95 100644
--- a/models/audit/audit_event_benchmark_test.go
+++ b/models/audit/audit_event_benchmark_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
)
// BenchmarkInsertEvent measures the synchronous database cost added when audit
diff --git a/models/audit/audit_event_test.go b/models/audit/audit_event_test.go
index 46bc470363..0412a67d9e 100644
--- a/models/audit/audit_event_test.go
+++ b/models/audit/audit_event_test.go
@@ -7,8 +7,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/audit/entity.go b/models/audit/entity.go
index d8c10d77c8..ba78983ed5 100644
--- a/models/audit/entity.go
+++ b/models/audit/entity.go
@@ -6,8 +6,8 @@ package audit
import (
"net/url"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// EntityRef is a denormalized reference persisted at record time.
diff --git a/models/audit/main_test.go b/models/audit/main_test.go
index e628abeb51..1611465485 100644
--- a/models/audit/main_test.go
+++ b/models/audit/main_test.go
@@ -6,7 +6,7 @@ package audit
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/auth/access_token.go b/models/auth/access_token.go
index c97bcdb3e5..e626459513 100644
--- a/models/auth/access_token.go
+++ b/models/auth/access_token.go
@@ -9,9 +9,9 @@ import (
"encoding/hex"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/auth/access_token_scope.go b/models/auth/access_token_scope.go
index 94833f1874..27b7592e8d 100644
--- a/models/auth/access_token_scope.go
+++ b/models/auth/access_token_scope.go
@@ -8,7 +8,7 @@ import (
"slices"
"strings"
- "gitea.dev/models/perm"
+ "gotea.dev/models/perm"
)
// AccessTokenScopeCategory represents the scope category for an access token
diff --git a/models/auth/access_token_test.go b/models/auth/access_token_test.go
index f2645aab11..a1ec546376 100644
--- a/models/auth/access_token_test.go
+++ b/models/auth/access_token_test.go
@@ -6,10 +6,10 @@ package auth_test
import (
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/auth/auth_token.go b/models/auth/auth_token.go
index 757ed97a6e..e07abe7d19 100644
--- a/models/auth/auth_token.go
+++ b/models/auth/auth_token.go
@@ -6,9 +6,9 @@ package auth
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/auth/main_test.go b/models/auth/main_test.go
index 0d9eddbdfe..8045630472 100644
--- a/models/auth/main_test.go
+++ b/models/auth/main_test.go
@@ -6,13 +6,13 @@ package auth_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/auth"
- _ "gitea.dev/models/perm/access"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/auth"
+ _ "gotea.dev/models/perm/access"
)
func TestMain(m *testing.M) {
diff --git a/models/auth/oauth2.go b/models/auth/oauth2.go
index 87d566b43c..91417dbfd9 100644
--- a/models/auth/oauth2.go
+++ b/models/auth/oauth2.go
@@ -16,11 +16,11 @@ import (
"time"
"uuid"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"golang.org/x/crypto/bcrypt"
"golang.org/x/oauth2"
diff --git a/models/auth/oauth2_list.go b/models/auth/oauth2_list.go
index 9a4271fb6d..0e7737b6e3 100644
--- a/models/auth/oauth2_list.go
+++ b/models/auth/oauth2_list.go
@@ -4,7 +4,7 @@
package auth
import (
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/auth/oauth2_test.go b/models/auth/oauth2_test.go
index ea760eb263..44c877f5c4 100644
--- a/models/auth/oauth2_test.go
+++ b/models/auth/oauth2_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/auth/session.go b/models/auth/session.go
index 6de69a6130..1532edd497 100644
--- a/models/auth/session.go
+++ b/models/auth/session.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/auth/source.go b/models/auth/source.go
index 2533ab5040..542ceeb3ef 100644
--- a/models/auth/source.go
+++ b/models/auth/source.go
@@ -9,12 +9,12 @@ import (
"fmt"
"reflect"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm"
diff --git a/models/auth/source_test.go b/models/auth/source_test.go
index b09fc7f4b0..907486f932 100644
--- a/models/auth/source_test.go
+++ b/models/auth/source_test.go
@@ -7,9 +7,9 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/auth/token_cache.go b/models/auth/token_cache.go
index a2719bbf77..118d2c1c32 100644
--- a/models/auth/token_cache.go
+++ b/models/auth/token_cache.go
@@ -6,7 +6,7 @@ package auth
import (
"sync"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
lru "github.com/hashicorp/golang-lru/v2"
)
diff --git a/models/auth/twofactor.go b/models/auth/twofactor.go
index ec60e344f5..98d99c4da4 100644
--- a/models/auth/twofactor.go
+++ b/models/auth/twofactor.go
@@ -14,13 +14,13 @@ import (
"fmt"
"strconv"
- "gitea.dev/models/db"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/pquerna/otp/totp"
"golang.org/x/crypto/pbkdf2"
diff --git a/models/auth/twofactor_test.go b/models/auth/twofactor_test.go
index 3c123537b0..1dfeca3e12 100644
--- a/models/auth/twofactor_test.go
+++ b/models/auth/twofactor_test.go
@@ -10,9 +10,9 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/cache"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/cache"
"github.com/go-webauthn/webauthn/webauthn"
"github.com/pquerna/otp/totp"
diff --git a/models/auth/webauthn.go b/models/auth/webauthn.go
index 11297556d2..335e6e0e01 100644
--- a/models/auth/webauthn.go
+++ b/models/auth/webauthn.go
@@ -8,9 +8,9 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
diff --git a/models/auth/webauthn_test.go b/models/auth/webauthn_test.go
index a648319226..1f14d27788 100644
--- a/models/auth/webauthn_test.go
+++ b/models/auth/webauthn_test.go
@@ -6,8 +6,8 @@ package auth_test
import (
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
"github.com/go-webauthn/webauthn/webauthn"
"github.com/stretchr/testify/assert"
diff --git a/models/avatars/avatar.go b/models/avatars/avatar.go
index 73fd443838..2847b25a9a 100644
--- a/models/avatars/avatar.go
+++ b/models/avatars/avatar.go
@@ -10,12 +10,12 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/base"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
)
diff --git a/models/avatars/avatar_test.go b/models/avatars/avatar_test.go
index 54464c6e4b..6a3e5ed988 100644
--- a/models/avatars/avatar_test.go
+++ b/models/avatars/avatar_test.go
@@ -7,11 +7,11 @@ import (
"strconv"
"testing"
- avatars_model "gitea.dev/models/avatars"
- system_model "gitea.dev/models/system"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
+ avatars_model "gotea.dev/models/avatars"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
"github.com/stretchr/testify/assert"
)
diff --git a/models/avatars/main_test.go b/models/avatars/main_test.go
index ce48dada28..c076258984 100644
--- a/models/avatars/main_test.go
+++ b/models/avatars/main_test.go
@@ -6,11 +6,11 @@ package avatars_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/perm/access"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/perm/access"
)
func TestMain(m *testing.M) {
diff --git a/models/db/collation.go b/models/db/collation.go
index d9a54e5768..5fab007a44 100644
--- a/models/db/collation.go
+++ b/models/db/collation.go
@@ -8,9 +8,9 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/schemas"
)
diff --git a/models/db/common.go b/models/db/common.go
index ff17962fa4..c56cf137c5 100644
--- a/models/db/common.go
+++ b/models/db/common.go
@@ -6,8 +6,8 @@ package db
import (
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/db/conn.go b/models/db/conn.go
index 3434912417..cb11068bb0 100644
--- a/models/db/conn.go
+++ b/models/db/conn.go
@@ -13,8 +13,8 @@ import (
"slices"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type ConnOptions struct {
diff --git a/models/db/context.go b/models/db/context.go
index bb2001673d..6cb75e44e9 100644
--- a/models/db/context.go
+++ b/models/db/context.go
@@ -11,7 +11,7 @@ import (
"slices"
"sync"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
"xorm.io/xorm"
diff --git a/models/db/context_test.go b/models/db/context_test.go
index c409f5bbda..2ae1321e60 100644
--- a/models/db/context_test.go
+++ b/models/db/context_test.go
@@ -7,8 +7,8 @@ import (
"context"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/db/convert.go b/models/db/convert.go
index 125449705c..0a1856402f 100644
--- a/models/db/convert.go
+++ b/models/db/convert.go
@@ -6,7 +6,7 @@ package db
import (
"fmt"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"xorm.io/xorm"
"xorm.io/xorm/convert"
diff --git a/models/db/driver_postgresschema.go b/models/db/driver_postgresschema.go
index 616712fb2a..4772b69b61 100644
--- a/models/db/driver_postgresschema.go
+++ b/models/db/driver_postgresschema.go
@@ -10,7 +10,7 @@ import (
"errors"
"sync"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/lib/pq"
"xorm.io/xorm/dialects"
diff --git a/models/db/engine_dump.go b/models/db/engine_dump.go
index 016bc99287..aac5bde0a8 100644
--- a/models/db/engine_dump.go
+++ b/models/db/engine_dump.go
@@ -4,7 +4,7 @@
package db
import (
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/schemas"
)
diff --git a/models/db/engine_hook.go b/models/db/engine_hook.go
index 00318d28e7..a53b20e77d 100644
--- a/models/db/engine_hook.go
+++ b/models/db/engine_hook.go
@@ -7,9 +7,9 @@ import (
"context"
"time"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm/contexts"
)
diff --git a/models/db/engine_init.go b/models/db/engine_init.go
index 043ff6283e..3d41044c7d 100644
--- a/models/db/engine_init.go
+++ b/models/db/engine_init.go
@@ -9,8 +9,8 @@ import (
"fmt"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"xorm.io/xorm"
"xorm.io/xorm/names"
diff --git a/models/db/engine_test.go b/models/db/engine_test.go
index 69e30aaa4b..f9241df543 100644
--- a/models/db/engine_test.go
+++ b/models/db/engine_test.go
@@ -7,12 +7,12 @@ import (
"path/filepath"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
- _ "gitea.dev/cmd" // for TestPrimaryKeys
+ _ "gotea.dev/cmd" // for TestPrimaryKeys
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -60,7 +60,7 @@ func TestPrimaryKeys(t *testing.T) {
// https://github.com/go-gitea/gitea/issues/21086
// https://github.com/go-gitea/gitea/issues/16802
// To avoid creating tables without primary key again, this test will check them.
- // Import "gitea.dev/cmd" to make sure each db.RegisterModel in init functions has been called.
+ // Import "gotea.dev/cmd" to make sure each db.RegisterModel in init functions has been called.
beans, err := db.NamesToBean()
require.NoError(t, err)
diff --git a/models/db/error.go b/models/db/error.go
index b030c5ba78..1dde653f75 100644
--- a/models/db/error.go
+++ b/models/db/error.go
@@ -6,7 +6,7 @@ package db
import (
"fmt"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrCancelled represents an error due to context cancellation
diff --git a/models/db/index.go b/models/db/index.go
index 488e188aca..d52b8850cb 100644
--- a/models/db/index.go
+++ b/models/db/index.go
@@ -9,7 +9,7 @@ import (
"fmt"
"strconv"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// ResourceIndex represents a resource index which could be used as issue/release and others
diff --git a/models/db/index_test.go b/models/db/index_test.go
index 5dece7e1be..e4c4277254 100644
--- a/models/db/index_test.go
+++ b/models/db/index_test.go
@@ -9,8 +9,8 @@ import (
"fmt"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/db/install/db.go b/models/db/install/db.go
index a0d8614b4e..ef1e396f08 100644
--- a/models/db/install/db.go
+++ b/models/db/install/db.go
@@ -6,7 +6,7 @@ package install
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// CheckDatabaseConnection checks the database connection
diff --git a/models/db/iterate.go b/models/db/iterate.go
index bb83ffdd17..d1df4fa35a 100644
--- a/models/db/iterate.go
+++ b/models/db/iterate.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
"xorm.io/xorm/schemas"
diff --git a/models/db/iterate_test.go b/models/db/iterate_test.go
index d6d5073087..1d3ae92ccb 100644
--- a/models/db/iterate_test.go
+++ b/models/db/iterate_test.go
@@ -7,9 +7,9 @@ import (
"context"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/db/list.go b/models/db/list.go
index 64a823addd..e247351c7d 100644
--- a/models/db/list.go
+++ b/models/db/list.go
@@ -6,7 +6,7 @@ package db
import (
"context"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
)
diff --git a/models/db/list_test.go b/models/db/list_test.go
index 281be54ba1..62b4f75818 100644
--- a/models/db/list_test.go
+++ b/models/db/list_test.go
@@ -6,9 +6,9 @@ package db_test
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"xorm.io/builder"
diff --git a/models/db/log.go b/models/db/log.go
index 55b03c8164..b55c7f2d64 100644
--- a/models/db/log.go
+++ b/models/db/log.go
@@ -7,7 +7,7 @@ import (
"fmt"
"sync/atomic"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
xormlog "xorm.io/xorm/log"
)
diff --git a/models/db/main_test.go b/models/db/main_test.go
index 81cd92a9f6..5587537184 100644
--- a/models/db/main_test.go
+++ b/models/db/main_test.go
@@ -6,10 +6,10 @@ package db_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/repo"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/repo"
)
func TestMain(m *testing.M) {
diff --git a/models/db/name.go b/models/db/name.go
index dc449ba9d7..04a3196182 100644
--- a/models/db/name.go
+++ b/models/db/name.go
@@ -9,7 +9,7 @@ import (
"strings"
"unicode/utf8"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrNameReserved represents a "reserved name" error.
diff --git a/models/db/paginator/main_test.go b/models/db/paginator/main_test.go
index 2f5ef392df..eaa17a1e12 100644
--- a/models/db/paginator/main_test.go
+++ b/models/db/paginator/main_test.go
@@ -6,7 +6,7 @@ package paginator
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/db/paginator/paginator_test.go b/models/db/paginator/paginator_test.go
index 7511ed5ea8..f341bbf15e 100644
--- a/models/db/paginator/paginator_test.go
+++ b/models/db/paginator/paginator_test.go
@@ -6,8 +6,8 @@ package paginator
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/models/db/sequence.go b/models/db/sequence.go
index 446f344fbc..178a1c3a69 100644
--- a/models/db/sequence.go
+++ b/models/db/sequence.go
@@ -8,7 +8,7 @@ import (
"fmt"
"regexp"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// CountBadSequences looks for broken sequences from recreate-table mistakes
diff --git a/models/dbfs/dbfile.go b/models/dbfs/dbfile.go
index 8ff836452e..f5e090e02a 100644
--- a/models/dbfs/dbfile.go
+++ b/models/dbfs/dbfile.go
@@ -14,7 +14,7 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
var defaultFileBlockSize int64 = 32 * 1024
diff --git a/models/dbfs/dbfs.go b/models/dbfs/dbfs.go
index 92581857f9..928b490441 100644
--- a/models/dbfs/dbfs.go
+++ b/models/dbfs/dbfs.go
@@ -10,7 +10,7 @@ import (
"path"
"time"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
/*
diff --git a/models/dbfs/dbfs_test.go b/models/dbfs/dbfs_test.go
index 7dff86153f..a8aa61fe62 100644
--- a/models/dbfs/dbfs_test.go
+++ b/models/dbfs/dbfs_test.go
@@ -9,7 +9,7 @@ import (
"os"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/dbfs/main_test.go b/models/dbfs/main_test.go
index 7c737a1b74..2677224cbf 100644
--- a/models/dbfs/main_test.go
+++ b/models/dbfs/main_test.go
@@ -6,7 +6,7 @@ package dbfs
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/deploykey/deploykey.go b/models/deploykey/deploykey.go
index ce74c4e141..ac1f6bef41 100644
--- a/models/deploykey/deploykey.go
+++ b/models/deploykey/deploykey.go
@@ -7,10 +7,10 @@ import (
"context"
"time"
- "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/deploykey/deploykey_ssh.go b/models/deploykey/deploykey_ssh.go
index c072a4f26c..cba593021a 100644
--- a/models/deploykey/deploykey_ssh.go
+++ b/models/deploykey/deploykey_ssh.go
@@ -6,10 +6,10 @@ package deploykey
import (
"context"
- "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/modules/util"
+ "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/deploykey/deploykey_token.go b/models/deploykey/deploykey_token.go
index e6a78da9b9..31061c705a 100644
--- a/models/deploykey/deploykey_token.go
+++ b/models/deploykey/deploykey_token.go
@@ -7,10 +7,10 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/modules/base"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/deploykey/deploykey_token_test.go b/models/deploykey/deploykey_token_test.go
index 85cfdfbef4..a8bb1fb2c9 100644
--- a/models/deploykey/deploykey_token_test.go
+++ b/models/deploykey/deploykey_token_test.go
@@ -6,9 +6,9 @@ package deploykey
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/deploykey/error.go b/models/deploykey/error.go
index eef343e695..d17e9ce629 100644
--- a/models/deploykey/error.go
+++ b/models/deploykey/error.go
@@ -6,7 +6,7 @@ package deploykey
import (
"fmt"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrDeployKeyNotExist represents a "DeployKeyNotExist" kind of error.
diff --git a/models/deploykey/main_test.go b/models/deploykey/main_test.go
index f4fe1a9470..bb57072e20 100644
--- a/models/deploykey/main_test.go
+++ b/models/deploykey/main_test.go
@@ -6,7 +6,7 @@ package deploykey
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/git/branch.go b/models/git/branch.go
index 2418c45aa1..989814117c 100644
--- a/models/git/branch.go
+++ b/models/git/branch.go
@@ -8,16 +8,16 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/git/branch_list.go b/models/git/branch_list.go
index 45b02d9d33..78914b713e 100644
--- a/models/git/branch_list.go
+++ b/models/git/branch_list.go
@@ -6,10 +6,10 @@ package git
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
"xorm.io/builder"
)
diff --git a/models/git/branch_test.go b/models/git/branch_test.go
index 54ee652abd..b34709474b 100644
--- a/models/git/branch_test.go
+++ b/models/git/branch_test.go
@@ -8,15 +8,15 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/git/commit_status.go b/models/git/commit_status.go
index 9c57f54384..b69cd183a9 100644
--- a/models/git/commit_status.go
+++ b/models/git/commit_status.go
@@ -14,21 +14,21 @@ import (
"strings"
"time"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/cachegroup"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/cachegroup"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/git/commit_status_summary.go b/models/git/commit_status_summary.go
index 4ab1beec92..ef85e36185 100644
--- a/models/git/commit_status_summary.go
+++ b/models/git/commit_status_summary.go
@@ -6,9 +6,9 @@ package git
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/setting"
"xorm.io/builder"
)
diff --git a/models/git/commit_status_test.go b/models/git/commit_status_test.go
index 954e444e8d..3dba8a48b1 100644
--- a/models/git/commit_status_test.go
+++ b/models/git/commit_status_test.go
@@ -8,14 +8,14 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/models/git/lfs.go b/models/git/lfs.go
index c5018cb398..e9b31ad23f 100644
--- a/models/git/lfs.go
+++ b/models/git/lfs.go
@@ -7,15 +7,15 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/git/lfs_lock.go b/models/git/lfs_lock.go
index 70a808d5c3..fec2f41987 100644
--- a/models/git/lfs_lock.go
+++ b/models/git/lfs_lock.go
@@ -10,11 +10,11 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// LFSLock represents a git lfs lock of repository.
diff --git a/models/git/lfs_lock_list.go b/models/git/lfs_lock_list.go
index 85cce753c8..076cf19ece 100644
--- a/models/git/lfs_lock_list.go
+++ b/models/git/lfs_lock_list.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
)
// LFSLockList is a list of LFSLock
diff --git a/models/git/lfs_lock_test.go b/models/git/lfs_lock_test.go
index ca87553491..03767c5a77 100644
--- a/models/git/lfs_lock_test.go
+++ b/models/git/lfs_lock_test.go
@@ -8,9 +8,9 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/git/lfs_test.go b/models/git/lfs_test.go
index 17772cdd3c..ebd1b73bc3 100644
--- a/models/git/lfs_test.go
+++ b/models/git/lfs_test.go
@@ -10,14 +10,14 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/git/main_test.go b/models/git/main_test.go
index 98f0bf32ee..45c042c9ff 100644
--- a/models/git/main_test.go
+++ b/models/git/main_test.go
@@ -6,11 +6,11 @@ package git_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
)
func TestMain(m *testing.M) {
diff --git a/models/git/protected_branch.go b/models/git/protected_branch.go
index b11da1bddb..97818217f5 100644
--- a/models/git/protected_branch.go
+++ b/models/git/protected_branch.go
@@ -9,17 +9,17 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/git/protected_branch_list.go b/models/git/protected_branch_list.go
index aebc97b10d..a9deff0c3f 100644
--- a/models/git/protected_branch_list.go
+++ b/models/git/protected_branch_list.go
@@ -7,10 +7,10 @@ import (
"context"
"sort"
- "gitea.dev/models/db"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
)
type ProtectedBranchRules []*ProtectedBranch
diff --git a/models/git/protected_branch_test.go b/models/git/protected_branch_test.go
index da642d6aad..3426e93778 100644
--- a/models/git/protected_branch_test.go
+++ b/models/git/protected_branch_test.go
@@ -6,10 +6,10 @@ package git
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/git/protected_tag.go b/models/git/protected_tag.go
index 3af2c5c769..2d523f2655 100644
--- a/models/git/protected_tag.go
+++ b/models/git/protected_tag.go
@@ -9,10 +9,10 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/git/protected_tag_test.go b/models/git/protected_tag_test.go
index a0400c9bfa..0a6d36e19c 100644
--- a/models/git/protected_tag_test.go
+++ b/models/git/protected_tag_test.go
@@ -6,8 +6,8 @@ package git_test
import (
"testing"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/unittest"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/git/ref.go b/models/git/ref.go
index 5a84ff4977..6a1474943e 100644
--- a/models/git/ref.go
+++ b/models/git/ref.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- module_git "gitea.dev/modules/git"
+ module_git "gotea.dev/modules/git"
)
// IsRefProtected checks whether a branch or tag ref is protected.
diff --git a/models/gituser/avatar_stack.go b/models/gituser/avatar_stack.go
index 844bedca55..6d335448a8 100644
--- a/models/gituser/avatar_stack.go
+++ b/models/gituser/avatar_stack.go
@@ -6,10 +6,10 @@ package gituser
import (
"context"
- "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
)
// AvatarStackData is the view-model for the AvatarStack render helpers. Participants[0] is
diff --git a/models/gituser/gituser.go b/models/gituser/gituser.go
index cad8b7fec8..127919e73d 100644
--- a/models/gituser/gituser.go
+++ b/models/gituser/gituser.go
@@ -7,9 +7,9 @@ import (
"context"
"net/url"
- "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
)
// CommitParticipant is one participant of a commit (its author or a co-author):
diff --git a/models/init.go b/models/init.go
index 50119e6595..3aa699fd38 100644
--- a/models/init.go
+++ b/models/init.go
@@ -6,7 +6,7 @@ package models
import (
"context"
- "gitea.dev/models/unit"
+ "gotea.dev/models/unit"
)
// Init initialize model
diff --git a/models/issues/assignees.go b/models/issues/assignees.go
index 622df6ac34..e2d8fd907b 100644
--- a/models/issues/assignees.go
+++ b/models/issues/assignees.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/assignees_test.go b/models/issues/assignees_test.go
index 57c5262607..cb3d494690 100644
--- a/models/issues/assignees_test.go
+++ b/models/issues/assignees_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/comment.go b/models/issues/comment.go
index 393579b182..a1f24c9ff7 100644
--- a/models/issues/comment.go
+++ b/models/issues/comment.go
@@ -14,24 +14,24 @@ import (
"strconv"
"unicode/utf8"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/references"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm"
diff --git a/models/issues/comment_code.go b/models/issues/comment_code.go
index f6cebe37b0..55f2ffb853 100644
--- a/models/issues/comment_code.go
+++ b/models/issues/comment_code.go
@@ -7,10 +7,10 @@ import (
"context"
"strconv"
- "gitea.dev/models/db"
- "gitea.dev/models/renderhelper"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/markup/markdown"
+ "gotea.dev/models/db"
+ "gotea.dev/models/renderhelper"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/markup/markdown"
"xorm.io/builder"
)
diff --git a/models/issues/comment_list.go b/models/issues/comment_list.go
index 24b28234d0..3c40688962 100644
--- a/models/issues/comment_list.go
+++ b/models/issues/comment_list.go
@@ -6,12 +6,12 @@ package issues
import (
"context"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// CommentList defines a list of comments
diff --git a/models/issues/comment_test.go b/models/issues/comment_test.go
index 1364cdbec6..2a50da3a97 100644
--- a/models/issues/comment_test.go
+++ b/models/issues/comment_test.go
@@ -7,11 +7,11 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/content_history.go b/models/issues/content_history.go
index fe2fc0d680..4681b34106 100644
--- a/models/issues/content_history.go
+++ b/models/issues/content_history.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/avatars"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/avatars"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/content_history_test.go b/models/issues/content_history_test.go
index 9efd4a33e2..f0533096ea 100644
--- a/models/issues/content_history_test.go
+++ b/models/issues/content_history_test.go
@@ -6,10 +6,10 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/dependency.go b/models/issues/dependency.go
index cf76fec2bf..69b8717c20 100644
--- a/models/issues/dependency.go
+++ b/models/issues/dependency.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// ErrDependencyExists represents a "DependencyAlreadyExists" kind of error.
diff --git a/models/issues/dependency_test.go b/models/issues/dependency_test.go
index 786a24f146..925d354d18 100644
--- a/models/issues/dependency_test.go
+++ b/models/issues/dependency_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/issue.go b/models/issues/issue.go
index 7679c22263..1815adf141 100644
--- a/models/issues/issue.go
+++ b/models/issues/issue.go
@@ -13,17 +13,17 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm"
diff --git a/models/issues/issue_index.go b/models/issues/issue_index.go
index 895fd34193..dfaa2c31e9 100644
--- a/models/issues/issue_index.go
+++ b/models/issues/issue_index.go
@@ -6,7 +6,7 @@ package issues
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// RecalculateIssueIndexForRepo create issue_index for repo if not exist and
diff --git a/models/issues/issue_label.go b/models/issues/issue_label.go
index b628a25c14..b055b21ebf 100644
--- a/models/issues/issue_label.go
+++ b/models/issues/issue_label.go
@@ -8,9 +8,9 @@ import (
"fmt"
"sort"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
"xorm.io/builder"
)
diff --git a/models/issues/issue_label_test.go b/models/issues/issue_label_test.go
index fc01feaecf..eef1cdf53f 100644
--- a/models/issues/issue_label_test.go
+++ b/models/issues/issue_label_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/issue_list.go b/models/issues/issue_list.go
index 250344dd66..8ac44c8323 100644
--- a/models/issues/issue_list.go
+++ b/models/issues/issue_list.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
"xorm.io/builder"
)
diff --git a/models/issues/issue_list_test.go b/models/issues/issue_list_test.go
index bba864b4c5..8e557d5743 100644
--- a/models/issues/issue_list_test.go
+++ b/models/issues/issue_list_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/issue_lock.go b/models/issues/issue_lock.go
index 0bb4dc149a..c226082d70 100644
--- a/models/issues/issue_lock.go
+++ b/models/issues/issue_lock.go
@@ -6,8 +6,8 @@ package issues
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
)
// IssueLockOptions defines options for locking and/or unlocking an issue/PR
diff --git a/models/issues/issue_pin.go b/models/issues/issue_pin.go
index b3f2a48522..42d44411c0 100644
--- a/models/issues/issue_pin.go
+++ b/models/issues/issue_pin.go
@@ -8,10 +8,10 @@ import (
"errors"
"sort"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type IssuePin struct {
diff --git a/models/issues/issue_project.go b/models/issues/issue_project.go
index 59824f613b..18e029211f 100644
--- a/models/issues/issue_project.go
+++ b/models/issues/issue_project.go
@@ -6,10 +6,10 @@ package issues
import (
"context"
- "gitea.dev/models/db"
- project_model "gitea.dev/models/project"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ project_model "gotea.dev/models/project"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
)
// LoadProjects loads all projects the issue is assigned to
diff --git a/models/issues/issue_project_multi_test.go b/models/issues/issue_project_multi_test.go
index 5d5aae3b9c..9dc602f406 100644
--- a/models/issues/issue_project_multi_test.go
+++ b/models/issues/issue_project_multi_test.go
@@ -7,10 +7,10 @@ import (
"fmt"
"testing"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/issue_search.go b/models/issues/issue_search.go
index d284c79800..9e0cc83cf9 100644
--- a/models/issues/issue_search.go
+++ b/models/issues/issue_search.go
@@ -9,15 +9,15 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/issue_stats.go b/models/issues/issue_stats.go
index 0be8216c31..b49b6e4ed6 100644
--- a/models/issues/issue_stats.go
+++ b/models/issues/issue_stats.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/issues/issue_test.go b/models/issues/issue_test.go
index 9d975d998e..7317452428 100644
--- a/models/issues/issue_test.go
+++ b/models/issues/issue_test.go
@@ -11,13 +11,13 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"xorm.io/builder"
diff --git a/models/issues/issue_update.go b/models/issues/issue_update.go
index 1fd9d0d68f..738879b4e4 100644
--- a/models/issues/issue_update.go
+++ b/models/issues/issue_update.go
@@ -9,17 +9,17 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/references"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/references"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/issue_update_test.go b/models/issues/issue_update_test.go
index 9048061e19..fa0979c4e4 100644
--- a/models/issues/issue_update_test.go
+++ b/models/issues/issue_update_test.go
@@ -6,10 +6,10 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/issue_user.go b/models/issues/issue_user.go
index 038447dca1..37e0340625 100644
--- a/models/issues/issue_user.go
+++ b/models/issues/issue_user.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
)
// IssueUser represents an issue-user relation.
diff --git a/models/issues/issue_user_test.go b/models/issues/issue_user_test.go
index 58d2698e76..9ccf164bb4 100644
--- a/models/issues/issue_user_test.go
+++ b/models/issues/issue_user_test.go
@@ -6,10 +6,10 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/issue_watch.go b/models/issues/issue_watch.go
index 8ff41b8019..dd99becb6c 100644
--- a/models/issues/issue_watch.go
+++ b/models/issues/issue_watch.go
@@ -6,11 +6,11 @@ package issues
import (
"context"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// IssueWatch is connection request for receiving issue notification.
diff --git a/models/issues/issue_watch_test.go b/models/issues/issue_watch_test.go
index 9ff5bd7e8e..e58d2ba989 100644
--- a/models/issues/issue_watch_test.go
+++ b/models/issues/issue_watch_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/issue_xref.go b/models/issues/issue_xref.go
index 09865bda0d..97bfefbf5f 100644
--- a/models/issues/issue_xref.go
+++ b/models/issues/issue_xref.go
@@ -7,13 +7,13 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/references"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/references"
"xorm.io/builder"
)
diff --git a/models/issues/issue_xref_test.go b/models/issues/issue_xref_test.go
index 6c66e11af0..a27774ffef 100644
--- a/models/issues/issue_xref_test.go
+++ b/models/issues/issue_xref_test.go
@@ -7,13 +7,13 @@ import (
"fmt"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/references"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/references"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/label.go b/models/issues/label.go
index 25fbacf16b..46fc3c4a30 100644
--- a/models/issues/label.go
+++ b/models/issues/label.go
@@ -14,12 +14,12 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/label"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/label"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/label_test.go b/models/issues/label_test.go
index 08113b2ad7..e4830f864a 100644
--- a/models/issues/label_test.go
+++ b/models/issues/label_test.go
@@ -6,13 +6,13 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/main_test.go b/models/issues/main_test.go
index ad43ffbc85..4711ff5c5c 100644
--- a/models/issues/main_test.go
+++ b/models/issues/main_test.go
@@ -6,14 +6,14 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/repo"
- _ "gitea.dev/models/user"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/repo"
+ _ "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/milestone.go b/models/issues/milestone.go
index eb3c548c08..f21f72f644 100644
--- a/models/issues/milestone.go
+++ b/models/issues/milestone.go
@@ -9,12 +9,12 @@ import (
"html/template"
"strings"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/milestone_list.go b/models/issues/milestone_list.go
index 6cd5a63a1b..ce42cd97a1 100644
--- a/models/issues/milestone_list.go
+++ b/models/issues/milestone_list.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/optional"
"xorm.io/builder"
)
diff --git a/models/issues/milestone_test.go b/models/issues/milestone_test.go
index 925038f68e..78657c4bfe 100644
--- a/models/issues/milestone_test.go
+++ b/models/issues/milestone_test.go
@@ -7,14 +7,14 @@ import (
"sort"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/pull.go b/models/issues/pull.go
index 91c5225033..05e3023d35 100644
--- a/models/issues/pull.go
+++ b/models/issues/pull.go
@@ -12,17 +12,17 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- org_model "gitea.dev/models/organization"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ org_model "gotea.dev/models/organization"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/dlclark/regexp2/v2"
"xorm.io/builder"
diff --git a/models/issues/pull_list.go b/models/issues/pull_list.go
index c7804e68be..d05b0ca020 100644
--- a/models/issues/pull_list.go
+++ b/models/issues/pull_list.go
@@ -7,15 +7,15 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/pull_list_test.go b/models/issues/pull_list_test.go
index 1312ba1fee..a7d5442611 100644
--- a/models/issues/pull_list_test.go
+++ b/models/issues/pull_list_test.go
@@ -6,13 +6,13 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/pull_test.go b/models/issues/pull_test.go
index a911d2429a..a445fdd881 100644
--- a/models/issues/pull_test.go
+++ b/models/issues/pull_test.go
@@ -8,13 +8,13 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/issues/reaction.go b/models/issues/reaction.go
index 0043379d6d..09e936ae17 100644
--- a/models/issues/reaction.go
+++ b/models/issues/reaction.go
@@ -9,13 +9,13 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/review.go b/models/issues/review.go
index af6c61a87c..a97933fc1b 100644
--- a/models/issues/review.go
+++ b/models/issues/review.go
@@ -10,16 +10,16 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/review_list.go b/models/issues/review_list.go
index d65c3fc6d7..ee07cee04d 100644
--- a/models/issues/review_list.go
+++ b/models/issues/review_list.go
@@ -8,11 +8,11 @@ import (
"slices"
"sort"
- "gitea.dev/models/db"
- organization_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ organization_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
"xorm.io/builder"
)
diff --git a/models/issues/review_test.go b/models/issues/review_test.go
index e6c85ce10c..5b7416a897 100644
--- a/models/issues/review_test.go
+++ b/models/issues/review_test.go
@@ -6,14 +6,14 @@ package issues_test
import (
"testing"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/stopwatch.go b/models/issues/stopwatch.go
index 9ad5796c34..59908b4bbe 100644
--- a/models/issues/stopwatch.go
+++ b/models/issues/stopwatch.go
@@ -7,11 +7,11 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/stopwatch_test.go b/models/issues/stopwatch_test.go
index e22328061f..d0d28bdd6b 100644
--- a/models/issues/stopwatch_test.go
+++ b/models/issues/stopwatch_test.go
@@ -6,9 +6,9 @@ package issues_test
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/issues/tracked_time.go b/models/issues/tracked_time.go
index 764d03e4aa..17befdb5f8 100644
--- a/models/issues/tracked_time.go
+++ b/models/issues/tracked_time.go
@@ -9,11 +9,11 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/issues/tracked_time_test.go b/models/issues/tracked_time_test.go
index 3b8004b9e6..5864247662 100644
--- a/models/issues/tracked_time_test.go
+++ b/models/issues/tracked_time_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/main_test.go b/models/organization/main_test.go
index f06678cd03..754a40c11d 100644
--- a/models/organization/main_test.go
+++ b/models/organization/main_test.go
@@ -6,14 +6,14 @@ package organization_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/organization"
- _ "gitea.dev/models/repo"
- _ "gitea.dev/models/user"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/organization"
+ _ "gotea.dev/models/repo"
+ _ "gotea.dev/models/user"
)
func TestMain(m *testing.M) {
diff --git a/models/organization/org.go b/models/organization/org.go
index 42628132c8..9af6742b85 100644
--- a/models/organization/org.go
+++ b/models/organization/org.go
@@ -9,14 +9,14 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/organization/org_list.go b/models/organization/org_list.go
index 93b566be5a..026a65d056 100644
--- a/models/organization/org_list.go
+++ b/models/organization/org_list.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
"xorm.io/builder"
)
diff --git a/models/organization/org_list_test.go b/models/organization/org_list_test.go
index 6c4524ecb5..e12402cba9 100644
--- a/models/organization/org_list_test.go
+++ b/models/organization/org_list_test.go
@@ -6,11 +6,11 @@ package organization_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/org_test.go b/models/organization/org_test.go
index 028b0c4434..8f9ecf50c0 100644
--- a/models/organization/org_test.go
+++ b/models/organization/org_test.go
@@ -8,16 +8,16 @@ import (
"sort"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/organization/org_user.go b/models/organization/org_user.go
index 88646b51b0..7c0b73c335 100644
--- a/models/organization/org_user.go
+++ b/models/organization/org_user.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
"xorm.io/builder"
)
diff --git a/models/organization/org_user_test.go b/models/organization/org_user_test.go
index c16def2dbb..9d808b5b23 100644
--- a/models/organization/org_user_test.go
+++ b/models/organization/org_user_test.go
@@ -7,10 +7,10 @@ import (
"fmt"
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/org_worktime.go b/models/organization/org_worktime.go
index f80b741c5d..12e8fbc1ba 100644
--- a/models/organization/org_worktime.go
+++ b/models/organization/org_worktime.go
@@ -7,7 +7,7 @@ import (
"context"
"sort"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/organization/team.go b/models/organization/team.go
index d07a28c245..26428d885d 100644
--- a/models/organization/team.go
+++ b/models/organization/team.go
@@ -10,13 +10,13 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/organization/team_invite.go b/models/organization/team_invite.go
index 409ca7529b..ba39cd2da5 100644
--- a/models/organization/team_invite.go
+++ b/models/organization/team_invite.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/organization/team_invite_test.go b/models/organization/team_invite_test.go
index 200e80e499..6c19e48133 100644
--- a/models/organization/team_invite_test.go
+++ b/models/organization/team_invite_test.go
@@ -6,9 +6,9 @@ package organization_test
import (
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/team_list.go b/models/organization/team_list.go
index eab4a615e4..92f76d4e64 100644
--- a/models/organization/team_list.go
+++ b/models/organization/team_list.go
@@ -7,11 +7,11 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
"xorm.io/builder"
)
diff --git a/models/organization/team_list_test.go b/models/organization/team_list_test.go
index d76f1b6e6b..e8148908e6 100644
--- a/models/organization/team_list_test.go
+++ b/models/organization/team_list_test.go
@@ -6,10 +6,10 @@ package organization_test
import (
"testing"
- org_model "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
+ org_model "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/team_repo.go b/models/organization/team_repo.go
index 11dc06501b..c66ed2b3b5 100644
--- a/models/organization/team_repo.go
+++ b/models/organization/team_repo.go
@@ -6,9 +6,9 @@ package organization
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
"xorm.io/builder"
)
diff --git a/models/organization/team_repo_test.go b/models/organization/team_repo_test.go
index 91d5e6f569..bed5ebaf3f 100644
--- a/models/organization/team_repo_test.go
+++ b/models/organization/team_repo_test.go
@@ -6,11 +6,11 @@ package organization_test
import (
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/team_test.go b/models/organization/team_test.go
index df63c74658..75a1819d1e 100644
--- a/models/organization/team_test.go
+++ b/models/organization/team_test.go
@@ -6,14 +6,14 @@ package organization_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/models/organization/team_unit.go b/models/organization/team_unit.go
index 0741d28ff1..e1f34a739e 100644
--- a/models/organization/team_unit.go
+++ b/models/organization/team_unit.go
@@ -6,9 +6,9 @@ package organization
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
)
// TeamUnit describes all units of a repository
diff --git a/models/organization/team_user.go b/models/organization/team_user.go
index 45fa1a9229..71c115f9cf 100644
--- a/models/organization/team_user.go
+++ b/models/organization/team_user.go
@@ -6,8 +6,8 @@ package organization
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
"xorm.io/builder"
)
diff --git a/models/packages/alpine/search.go b/models/packages/alpine/search.go
index c196c6eff6..8202e7eab7 100644
--- a/models/packages/alpine/search.go
+++ b/models/packages/alpine/search.go
@@ -6,8 +6,8 @@ package alpine
import (
"context"
- packages_model "gitea.dev/models/packages"
- alpine_module "gitea.dev/modules/packages/alpine"
+ packages_model "gotea.dev/models/packages"
+ alpine_module "gotea.dev/modules/packages/alpine"
)
// GetBranches gets all available branches
diff --git a/models/packages/arch/search.go b/models/packages/arch/search.go
index fd4e8d1563..92326caa2a 100644
--- a/models/packages/arch/search.go
+++ b/models/packages/arch/search.go
@@ -6,8 +6,8 @@ package arch
import (
"context"
- packages_model "gitea.dev/models/packages"
- arch_module "gitea.dev/modules/packages/arch"
+ packages_model "gotea.dev/models/packages"
+ arch_module "gotea.dev/modules/packages/arch"
)
// GetRepositories gets all available repositories
diff --git a/models/packages/conan/references.go b/models/packages/conan/references.go
index 0a040bdb3f..75b08f6522 100644
--- a/models/packages/conan/references.go
+++ b/models/packages/conan/references.go
@@ -8,11 +8,11 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- conan_module "gitea.dev/modules/packages/conan"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ conan_module "gotea.dev/modules/packages/conan"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/conan/search.go b/models/packages/conan/search.go
index b40d0537b8..411d680dec 100644
--- a/models/packages/conan/search.go
+++ b/models/packages/conan/search.go
@@ -9,10 +9,10 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- "gitea.dev/modules/container"
- conan_module "gitea.dev/modules/packages/conan"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ "gotea.dev/modules/container"
+ conan_module "gotea.dev/modules/packages/conan"
"xorm.io/builder"
)
diff --git a/models/packages/conda/search.go b/models/packages/conda/search.go
index 5b4973fa74..e4cf98b77c 100644
--- a/models/packages/conda/search.go
+++ b/models/packages/conda/search.go
@@ -7,9 +7,9 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- conda_module "gitea.dev/modules/packages/conda"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ conda_module "gotea.dev/modules/packages/conda"
"xorm.io/builder"
)
diff --git a/models/packages/container/search.go b/models/packages/container/search.go
index df9a2d5537..3bc5a35ecd 100644
--- a/models/packages/container/search.go
+++ b/models/packages/container/search.go
@@ -8,11 +8,11 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
- container_module "gitea.dev/modules/packages/container"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
+ container_module "gotea.dev/modules/packages/container"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/cran/search.go b/models/packages/cran/search.go
index 0ff1c31ede..e52b5774a1 100644
--- a/models/packages/cran/search.go
+++ b/models/packages/cran/search.go
@@ -8,9 +8,9 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- cran_module "gitea.dev/modules/packages/cran"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ cran_module "gotea.dev/modules/packages/cran"
"xorm.io/builder"
)
diff --git a/models/packages/debian/search.go b/models/packages/debian/search.go
index 165e8b8a02..88ed58f74c 100644
--- a/models/packages/debian/search.go
+++ b/models/packages/debian/search.go
@@ -7,9 +7,9 @@ import (
"context"
"strconv"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- debian_module "gitea.dev/modules/packages/debian"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ debian_module "gotea.dev/modules/packages/debian"
"xorm.io/builder"
)
diff --git a/models/packages/descriptor.go b/models/packages/descriptor.go
index e3aef90a8b..0cc668ce01 100644
--- a/models/packages/descriptor.go
+++ b/models/packages/descriptor.go
@@ -9,32 +9,32 @@ import (
"fmt"
"net/url"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/json"
- "gitea.dev/modules/packages/alpine"
- "gitea.dev/modules/packages/arch"
- "gitea.dev/modules/packages/cargo"
- "gitea.dev/modules/packages/chef"
- "gitea.dev/modules/packages/composer"
- "gitea.dev/modules/packages/conan"
- "gitea.dev/modules/packages/conda"
- "gitea.dev/modules/packages/container"
- "gitea.dev/modules/packages/cran"
- "gitea.dev/modules/packages/debian"
- "gitea.dev/modules/packages/helm"
- "gitea.dev/modules/packages/maven"
- "gitea.dev/modules/packages/npm"
- "gitea.dev/modules/packages/nuget"
- "gitea.dev/modules/packages/pub"
- "gitea.dev/modules/packages/pypi"
- "gitea.dev/modules/packages/rpm"
- "gitea.dev/modules/packages/rubygems"
- "gitea.dev/modules/packages/swift"
- "gitea.dev/modules/packages/vagrant"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/packages/alpine"
+ "gotea.dev/modules/packages/arch"
+ "gotea.dev/modules/packages/cargo"
+ "gotea.dev/modules/packages/chef"
+ "gotea.dev/modules/packages/composer"
+ "gotea.dev/modules/packages/conan"
+ "gotea.dev/modules/packages/conda"
+ "gotea.dev/modules/packages/container"
+ "gotea.dev/modules/packages/cran"
+ "gotea.dev/modules/packages/debian"
+ "gotea.dev/modules/packages/helm"
+ "gotea.dev/modules/packages/maven"
+ "gotea.dev/modules/packages/npm"
+ "gotea.dev/modules/packages/nuget"
+ "gotea.dev/modules/packages/pub"
+ "gotea.dev/modules/packages/pypi"
+ "gotea.dev/modules/packages/rpm"
+ "gotea.dev/modules/packages/rubygems"
+ "gotea.dev/modules/packages/swift"
+ "gotea.dev/modules/packages/vagrant"
+ "gotea.dev/modules/util"
"github.com/hashicorp/go-version"
)
diff --git a/models/packages/nuget/search.go b/models/packages/nuget/search.go
index 1ec0cece68..05bbce1865 100644
--- a/models/packages/nuget/search.go
+++ b/models/packages/nuget/search.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
"xorm.io/builder"
)
diff --git a/models/packages/package.go b/models/packages/package.go
index c4cfcdd39c..3fe4f3806f 100644
--- a/models/packages/package.go
+++ b/models/packages/package.go
@@ -8,8 +8,8 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/package_blob.go b/models/packages/package_blob.go
index 07b0117f5e..e4ba60c1e0 100644
--- a/models/packages/package_blob.go
+++ b/models/packages/package_blob.go
@@ -8,13 +8,13 @@ import (
"strconv"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/package_blob_test.go b/models/packages/package_blob_test.go
index fb364bd41c..9b7a53ad6d 100644
--- a/models/packages/package_blob_test.go
+++ b/models/packages/package_blob_test.go
@@ -6,8 +6,8 @@ package packages
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/packages/package_blob_upload.go b/models/packages/package_blob_upload.go
index 07afd0591b..c5c92a7b78 100644
--- a/models/packages/package_blob_upload.go
+++ b/models/packages/package_blob_upload.go
@@ -8,9 +8,9 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// ErrPackageBlobUploadNotExist indicates a package blob upload not exist error
diff --git a/models/packages/package_cleanup_rule.go b/models/packages/package_cleanup_rule.go
index 6aca806051..0d1a569749 100644
--- a/models/packages/package_cleanup_rule.go
+++ b/models/packages/package_cleanup_rule.go
@@ -8,9 +8,9 @@ import (
"fmt"
"regexp"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/package_file.go b/models/packages/package_file.go
index d4e6e82d05..fb81d5fc60 100644
--- a/models/packages/package_file.go
+++ b/models/packages/package_file.go
@@ -9,9 +9,9 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/package_property.go b/models/packages/package_property.go
index cc65e1042b..76acc7a4b0 100644
--- a/models/packages/package_property.go
+++ b/models/packages/package_property.go
@@ -7,7 +7,7 @@ import (
"context"
"errors"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/packages/package_test.go b/models/packages/package_test.go
index f6eb5b1184..9756a4d4a0 100644
--- a/models/packages/package_test.go
+++ b/models/packages/package_test.go
@@ -6,13 +6,13 @@ package packages_test
import (
"testing"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
"github.com/stretchr/testify/assert"
)
diff --git a/models/packages/package_version.go b/models/packages/package_version.go
index d854545d0e..8deceefe5e 100644
--- a/models/packages/package_version.go
+++ b/models/packages/package_version.go
@@ -8,10 +8,10 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/packages/rpm/search.go b/models/packages/rpm/search.go
index 3c37443ead..59bdd0dbcf 100644
--- a/models/packages/rpm/search.go
+++ b/models/packages/rpm/search.go
@@ -6,8 +6,8 @@ package rpm
import (
"context"
- packages_model "gitea.dev/models/packages"
- rpm_module "gitea.dev/modules/packages/rpm"
+ packages_model "gotea.dev/models/packages"
+ rpm_module "gotea.dev/modules/packages/rpm"
)
// GetGroups gets all available groups
diff --git a/models/perm/access/access.go b/models/perm/access/access.go
index ec78846ae3..108d464d6d 100644
--- a/models/perm/access/access.go
+++ b/models/perm/access/access.go
@@ -8,13 +8,13 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
"xorm.io/builder"
)
diff --git a/models/perm/access/access_test.go b/models/perm/access/access_test.go
index eb2c58caf5..a6a0127004 100644
--- a/models/perm/access/access_test.go
+++ b/models/perm/access/access_test.go
@@ -6,13 +6,13 @@ package access_test
import (
"testing"
- "gitea.dev/models/db"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/perm/access/actions_repo_permission_test.go b/models/perm/access/actions_repo_permission_test.go
index ff5c3f5ae2..565d029a61 100644
--- a/models/perm/access/actions_repo_permission_test.go
+++ b/models/perm/access/actions_repo_permission_test.go
@@ -6,13 +6,13 @@ package access
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- perm_model "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ perm_model "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/perm/access/main_test.go b/models/perm/access/main_test.go
index e4804124e8..05f5c29b6c 100644
--- a/models/perm/access/main_test.go
+++ b/models/perm/access/main_test.go
@@ -6,13 +6,13 @@ package access_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/repo"
- _ "gitea.dev/models/user"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/repo"
+ _ "gotea.dev/models/user"
)
func TestMain(m *testing.M) {
diff --git a/models/perm/access/repo_permission.go b/models/perm/access/repo_permission.go
index b0d1e3254b..e9f59abc76 100644
--- a/models/perm/access/repo_permission.go
+++ b/models/perm/access/repo_permission.go
@@ -11,18 +11,18 @@ import (
"slices"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/organization"
- perm_model "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/organization"
+ perm_model "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// Permission contains all the permissions related variables to a repository for a user
diff --git a/models/perm/access/repo_permission_test.go b/models/perm/access/repo_permission_test.go
index 1ad8e2cad0..d0ea8e0d34 100644
--- a/models/perm/access/repo_permission_test.go
+++ b/models/perm/access/repo_permission_test.go
@@ -6,14 +6,14 @@ package access
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- perm_model "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ perm_model "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/perm/access_mode.go b/models/perm/access_mode.go
index 3be195b48d..0e53137ac2 100644
--- a/models/perm/access_mode.go
+++ b/models/perm/access_mode.go
@@ -7,7 +7,7 @@ import (
"fmt"
"slices"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// AccessMode specifies the users access mode
diff --git a/models/project/column.go b/models/project/column.go
index 37802f256f..e39f899288 100644
--- a/models/project/column.go
+++ b/models/project/column.go
@@ -10,10 +10,10 @@ import (
"math"
"regexp"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/project/column_list.go b/models/project/column_list.go
index 33b3a4356b..e763679cec 100644
--- a/models/project/column_list.go
+++ b/models/project/column_list.go
@@ -6,7 +6,7 @@ package project
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// CountColumns returns the total number of columns for a project
diff --git a/models/project/column_list_test.go b/models/project/column_list_test.go
index 6e4ecdb281..bb5602e991 100644
--- a/models/project/column_list_test.go
+++ b/models/project/column_list_test.go
@@ -6,8 +6,8 @@ package project
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/project/column_test.go b/models/project/column_test.go
index d120930e82..78f1bc1d06 100644
--- a/models/project/column_test.go
+++ b/models/project/column_test.go
@@ -8,9 +8,9 @@ import (
"math"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/project/issue.go b/models/project/issue.go
index 84a8675f2e..4418d26fd6 100644
--- a/models/project/issue.go
+++ b/models/project/issue.go
@@ -7,8 +7,8 @@ import (
"context"
"errors"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
)
// ProjectIssue saves relation from issue to a project
diff --git a/models/project/main_test.go b/models/project/main_test.go
index f52242c98a..c72a8b4177 100644
--- a/models/project/main_test.go
+++ b/models/project/main_test.go
@@ -6,9 +6,9 @@ package project
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models/repo"
+ _ "gotea.dev/models/repo"
)
func TestMain(m *testing.M) {
diff --git a/models/project/project.go b/models/project/project.go
index ee916bcbc7..7b2ce7389c 100644
--- a/models/project/project.go
+++ b/models/project/project.go
@@ -8,14 +8,14 @@ import (
"fmt"
"html/template"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/project/project_test.go b/models/project/project_test.go
index b28bca9256..7379ca9ba3 100644
--- a/models/project/project_test.go
+++ b/models/project/project_test.go
@@ -6,9 +6,9 @@ package project
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/pull/automerge.go b/models/pull/automerge.go
index d06d456e30..1d6cf4b713 100644
--- a/models/pull/automerge.go
+++ b/models/pull/automerge.go
@@ -7,10 +7,10 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
)
// AutoMerge represents a pull request scheduled for merging when checks succeed
diff --git a/models/pull/review_state.go b/models/pull/review_state.go
index 13969d895a..8bdcf1bc5d 100644
--- a/models/pull/review_state.go
+++ b/models/pull/review_state.go
@@ -8,9 +8,9 @@ import (
"fmt"
"maps"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/renderhelper/commit_checker.go b/models/renderhelper/commit_checker.go
index ff0717777d..404ac8ad98 100644
--- a/models/renderhelper/commit_checker.go
+++ b/models/renderhelper/commit_checker.go
@@ -7,9 +7,9 @@ import (
"context"
"io"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
)
type commitChecker struct {
diff --git a/models/renderhelper/main_test.go b/models/renderhelper/main_test.go
index ebca113219..df28553620 100644
--- a/models/renderhelper/main_test.go
+++ b/models/renderhelper/main_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup"
)
func testRenderString(ctx *markup.RenderContext, content string) (string, error) {
diff --git a/models/renderhelper/repo_comment.go b/models/renderhelper/repo_comment.go
index 595fe2d9cf..dd980411e3 100644
--- a/models/renderhelper/repo_comment.go
+++ b/models/renderhelper/repo_comment.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/util"
)
type RepoComment struct {
diff --git a/models/renderhelper/repo_comment_test.go b/models/renderhelper/repo_comment_test.go
index 03b3fcfae6..98eca03a83 100644
--- a/models/renderhelper/repo_comment_test.go
+++ b/models/renderhelper/repo_comment_test.go
@@ -6,9 +6,9 @@ package renderhelper
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup/markdown"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup/markdown"
"github.com/stretchr/testify/assert"
)
diff --git a/models/renderhelper/repo_file.go b/models/renderhelper/repo_file.go
index 9862aa549e..4dc144fc36 100644
--- a/models/renderhelper/repo_file.go
+++ b/models/renderhelper/repo_file.go
@@ -8,9 +8,9 @@ import (
"fmt"
"path"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/util"
)
type RepoFile struct {
diff --git a/models/renderhelper/repo_file_test.go b/models/renderhelper/repo_file_test.go
index 12e1275b2b..5ac0773741 100644
--- a/models/renderhelper/repo_file_test.go
+++ b/models/renderhelper/repo_file_test.go
@@ -6,12 +6,12 @@ package renderhelper
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/test"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/test"
- _ "gitea.dev/modules/markup/orgmode"
+ _ "gotea.dev/modules/markup/orgmode"
"github.com/stretchr/testify/assert"
)
diff --git a/models/renderhelper/repo_wiki.go b/models/renderhelper/repo_wiki.go
index 95dc618fd0..2fb66c40bf 100644
--- a/models/renderhelper/repo_wiki.go
+++ b/models/renderhelper/repo_wiki.go
@@ -8,10 +8,10 @@ import (
"fmt"
"path"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/util"
)
type RepoWiki struct {
diff --git a/models/renderhelper/repo_wiki_test.go b/models/renderhelper/repo_wiki_test.go
index 712cd47313..0a63eef02e 100644
--- a/models/renderhelper/repo_wiki_test.go
+++ b/models/renderhelper/repo_wiki_test.go
@@ -6,9 +6,9 @@ package renderhelper
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup/markdown"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup/markdown"
"github.com/stretchr/testify/assert"
)
diff --git a/models/renderhelper/simple_document.go b/models/renderhelper/simple_document.go
index 4dacc34b23..e1eac59a94 100644
--- a/models/renderhelper/simple_document.go
+++ b/models/renderhelper/simple_document.go
@@ -6,7 +6,7 @@ package renderhelper
import (
"context"
- "gitea.dev/modules/markup"
+ "gotea.dev/modules/markup"
)
type SimpleDocument struct {
diff --git a/models/renderhelper/simple_document_test.go b/models/renderhelper/simple_document_test.go
index b07c75a259..da0c305224 100644
--- a/models/renderhelper/simple_document_test.go
+++ b/models/renderhelper/simple_document_test.go
@@ -6,8 +6,8 @@ package renderhelper
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup/markdown"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup/markdown"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/archiver.go b/models/repo/archiver.go
index 328b6c0981..916fb89eea 100644
--- a/models/repo/archiver.go
+++ b/models/repo/archiver.go
@@ -10,9 +10,9 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/attachment.go b/models/repo/attachment.go
index 885460fdac..827446db70 100644
--- a/models/repo/attachment.go
+++ b/models/repo/attachment.go
@@ -11,13 +11,13 @@ import (
"os"
"path"
- "gitea.dev/models/db"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/attachment_test.go b/models/repo/attachment_test.go
index 3a7dcc54dd..46453bdc1f 100644
--- a/models/repo/attachment_test.go
+++ b/models/repo/attachment_test.go
@@ -6,8 +6,8 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/avatar.go b/models/repo/avatar.go
index 3dde6a8e03..518bac4b57 100644
--- a/models/repo/avatar.go
+++ b/models/repo/avatar.go
@@ -11,12 +11,12 @@ import (
"net/url"
"strconv"
- "gitea.dev/models/db"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
)
// CustomAvatarRelativePath returns repository custom avatar file path.
diff --git a/models/repo/avatar_test.go b/models/repo/avatar_test.go
index 9d895912d7..ad62183af7 100644
--- a/models/repo/avatar_test.go
+++ b/models/repo/avatar_test.go
@@ -6,8 +6,8 @@ package repo
import (
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/collaboration.go b/models/repo/collaboration.go
index cb79fedde5..276224b6e4 100644
--- a/models/repo/collaboration.go
+++ b/models/repo/collaboration.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/repo/collaboration_test.go b/models/repo/collaboration_test.go
index 5d2045524a..db61461b72 100644
--- a/models/repo/collaboration_test.go
+++ b/models/repo/collaboration_test.go
@@ -6,9 +6,9 @@ package repo_test
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/fork.go b/models/repo/fork.go
index 84f648e870..4f814fb26a 100644
--- a/models/repo/fork.go
+++ b/models/repo/fork.go
@@ -6,8 +6,8 @@ package repo
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
"xorm.io/builder"
)
diff --git a/models/repo/fork_test.go b/models/repo/fork_test.go
index ddeeb42942..9badd82a5e 100644
--- a/models/repo/fork_test.go
+++ b/models/repo/fork_test.go
@@ -6,8 +6,8 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/git.go b/models/repo/git.go
index 8da93e393e..2136b359c4 100644
--- a/models/repo/git.go
+++ b/models/repo/git.go
@@ -6,7 +6,7 @@ package repo
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// MergeStyle represents the approach to merge commits into base branch.
diff --git a/models/repo/issue.go b/models/repo/issue.go
index 4995971859..0bb1089784 100644
--- a/models/repo/issue.go
+++ b/models/repo/issue.go
@@ -6,9 +6,9 @@ package repo
import (
"context"
- "gitea.dev/models/unit"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// ___________.__ ___________ __
diff --git a/models/repo/language_stats.go b/models/repo/language_stats.go
index 6ede932bd4..6cd8897ebb 100644
--- a/models/repo/language_stats.go
+++ b/models/repo/language_stats.go
@@ -9,8 +9,8 @@ import (
"sort"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
"github.com/go-enry/go-enry/v2"
)
diff --git a/models/repo/language_stats_test.go b/models/repo/language_stats_test.go
index 9a07a40dea..701c5f6579 100644
--- a/models/repo/language_stats_test.go
+++ b/models/repo/language_stats_test.go
@@ -6,8 +6,8 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/repo/license.go b/models/repo/license.go
index 781fd2a17d..5c1d011b05 100644
--- a/models/repo/license.go
+++ b/models/repo/license.go
@@ -6,8 +6,8 @@ package repo
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
)
func init() {
diff --git a/models/repo/main_test.go b/models/repo/main_test.go
index 277d42343b..659839b477 100644
--- a/models/repo/main_test.go
+++ b/models/repo/main_test.go
@@ -6,14 +6,14 @@ package repo_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models" // register table model
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/perm/access" // register table model
- _ "gitea.dev/models/repo" // register table model
- _ "gitea.dev/models/user" // register table model
+ _ "gotea.dev/models" // register table model
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/perm/access" // register table model
+ _ "gotea.dev/models/repo" // register table model
+ _ "gotea.dev/models/user" // register table model
)
func TestMain(m *testing.M) {
diff --git a/models/repo/mirror.go b/models/repo/mirror.go
index 1985b49963..a7af19b065 100644
--- a/models/repo/mirror.go
+++ b/models/repo/mirror.go
@@ -8,10 +8,10 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/org_repo.go b/models/repo/org_repo.go
index 5bf0a3e7d4..def9789f4c 100644
--- a/models/repo/org_repo.go
+++ b/models/repo/org_repo.go
@@ -8,9 +8,9 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
"xorm.io/builder"
)
diff --git a/models/repo/pull_request_default.go b/models/repo/pull_request_default.go
index ba5d5f7535..eaab456d19 100644
--- a/models/repo/pull_request_default.go
+++ b/models/repo/pull_request_default.go
@@ -6,8 +6,8 @@ package repo
import (
"context"
- "gitea.dev/models/unit"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/util"
)
func (repo *Repository) GetPullRequestTargetBranch(ctx context.Context) string {
diff --git a/models/repo/pull_request_default_test.go b/models/repo/pull_request_default_test.go
index 40be8d6573..894f5c4a79 100644
--- a/models/repo/pull_request_default_test.go
+++ b/models/repo/pull_request_default_test.go
@@ -6,9 +6,9 @@ package repo
import (
"testing"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/pushmirror.go b/models/repo/pushmirror.go
index 8c1dd4970b..713202bb24 100644
--- a/models/repo/pushmirror.go
+++ b/models/repo/pushmirror.go
@@ -7,11 +7,11 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/pushmirror_test.go b/models/repo/pushmirror_test.go
index f4e25e67e5..f1ba606a6f 100644
--- a/models/repo/pushmirror_test.go
+++ b/models/repo/pushmirror_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/redirect.go b/models/repo/redirect.go
index c51c5d69b0..7d27024ba0 100644
--- a/models/repo/redirect.go
+++ b/models/repo/redirect.go
@@ -8,8 +8,8 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/redirect_test.go b/models/repo/redirect_test.go
index bceaf86921..dd83b0bed9 100644
--- a/models/repo/redirect_test.go
+++ b/models/repo/redirect_test.go
@@ -6,8 +6,8 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/release.go b/models/repo/release.go
index d262abf571..aa665ad1b5 100644
--- a/models/repo/release.go
+++ b/models/repo/release.go
@@ -13,13 +13,13 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/release_test.go b/models/repo/release_test.go
index 888af26fea..9fdbc1dcb9 100644
--- a/models/repo/release_test.go
+++ b/models/repo/release_test.go
@@ -6,9 +6,9 @@ package repo
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/repo.go b/models/repo/repo.go
index bafc9b5d02..0d7378cacc 100644
--- a/models/repo/repo.go
+++ b/models/repo/repo.go
@@ -16,20 +16,20 @@ import (
"strings"
"sync"
- "gitea.dev/models/db"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- giturl "gitea.dev/modules/git/url"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ giturl "gotea.dev/modules/git/url"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/repo_indexer.go b/models/repo/repo_indexer.go
index 2f8ca777cf..47f0ec069b 100644
--- a/models/repo/repo_indexer.go
+++ b/models/repo/repo_indexer.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/repo/repo_list.go b/models/repo/repo_list.go
index 516fedd472..05ac7e04a5 100644
--- a/models/repo/repo_list.go
+++ b/models/repo/repo_list.go
@@ -8,15 +8,15 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/repo_list_test.go b/models/repo/repo_list_test.go
index 0bea4b23d5..629f3f3264 100644
--- a/models/repo/repo_list_test.go
+++ b/models/repo/repo_list_test.go
@@ -7,15 +7,15 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/repo/repo_location.go b/models/repo/repo_location.go
index 747d1a7f76..17a1cd26e3 100644
--- a/models/repo/repo_location.go
+++ b/models/repo/repo_location.go
@@ -6,7 +6,7 @@ package repo
import (
"strconv"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
)
func repoCodeGitRepoManagedID(repoID int64) string {
diff --git a/models/repo/repo_location_test.go b/models/repo/repo_location_test.go
index 7b6c66a23a..b68e19578f 100644
--- a/models/repo/repo_location_test.go
+++ b/models/repo/repo_location_test.go
@@ -6,9 +6,9 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git/gitrepo"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git/gitrepo"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/repo_test.go b/models/repo/repo_test.go
index e36cfa2b51..785347e632 100644
--- a/models/repo/repo_test.go
+++ b/models/repo/repo_test.go
@@ -6,13 +6,13 @@ package repo
import (
"testing"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/repo/repo_unit.go b/models/repo/repo_unit.go
index dd4328648b..2dc2164716 100644
--- a/models/repo/repo_unit.go
+++ b/models/repo/repo_unit.go
@@ -7,13 +7,13 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/xorm"
"xorm.io/xorm/convert"
diff --git a/models/repo/repo_unit_actions.go b/models/repo/repo_unit_actions.go
index 3bba5de12a..dcde498786 100644
--- a/models/repo/repo_unit_actions.go
+++ b/models/repo/repo_unit_actions.go
@@ -6,10 +6,10 @@ package repo
import (
"slices"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
)
// ActionsTokenPermissionMode defines the default permission mode for Actions tokens
diff --git a/models/repo/repo_unit_test.go b/models/repo/repo_unit_test.go
index d0a6caaf1a..0566952b75 100644
--- a/models/repo/repo_unit_test.go
+++ b/models/repo/repo_unit_test.go
@@ -7,8 +7,8 @@ import (
"strings"
"testing"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/search.go b/models/repo/search.go
index e91241e849..13ce4f07eb 100644
--- a/models/repo/search.go
+++ b/models/repo/search.go
@@ -3,7 +3,7 @@
package repo
-import "gitea.dev/models/db"
+import "gotea.dev/models/db"
// OrderByMap represents all possible search order
var OrderByMap = map[string]map[string]db.SearchOrderBy{
diff --git a/models/repo/star.go b/models/repo/star.go
index cecaecfdea..03d9a40a35 100644
--- a/models/repo/star.go
+++ b/models/repo/star.go
@@ -6,9 +6,9 @@ package repo
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/repo/star_test.go b/models/repo/star_test.go
index d81c3a1685..80923eda18 100644
--- a/models/repo/star_test.go
+++ b/models/repo/star_test.go
@@ -6,10 +6,10 @@ package repo_test
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/topic.go b/models/repo/topic.go
index 8656d33418..e41d73dbe5 100644
--- a/models/repo/topic.go
+++ b/models/repo/topic.go
@@ -9,10 +9,10 @@ import (
"regexp"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/topic_test.go b/models/repo/topic_test.go
index 09b75e5c60..fcb2a1ebd6 100644
--- a/models/repo/topic_test.go
+++ b/models/repo/topic_test.go
@@ -6,9 +6,9 @@ package repo_test
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repo/transfer.go b/models/repo/transfer.go
index 24e98a6a09..7b36d87d69 100644
--- a/models/repo/transfer.go
+++ b/models/repo/transfer.go
@@ -8,12 +8,12 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/repo/update.go b/models/repo/update.go
index 38bac3e10c..188e436b22 100644
--- a/models/repo/update.go
+++ b/models/repo/update.go
@@ -8,8 +8,8 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
)
// UpdateRepositoryOwnerNames updates repository owner_names (this should only be used when the ownerName has changed case)
diff --git a/models/repo/upload.go b/models/repo/upload.go
index 3004c1d565..0c2f727115 100644
--- a/models/repo/upload.go
+++ b/models/repo/upload.go
@@ -13,10 +13,10 @@ import (
"path/filepath"
"uuid"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// ErrUploadNotExist represents a "UploadNotExist" kind of error.
diff --git a/models/repo/user_repo.go b/models/repo/user_repo.go
index b0e1124650..144e8f8135 100644
--- a/models/repo/user_repo.go
+++ b/models/repo/user_repo.go
@@ -7,12 +7,12 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
"xorm.io/builder"
)
diff --git a/models/repo/user_repo_test.go b/models/repo/user_repo_test.go
index 264fa003ca..c702c45535 100644
--- a/models/repo/user_repo_test.go
+++ b/models/repo/user_repo_test.go
@@ -6,14 +6,14 @@ package repo_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/repo/watch.go b/models/repo/watch.go
index a497643aec..92a55fef61 100644
--- a/models/repo/watch.go
+++ b/models/repo/watch.go
@@ -6,10 +6,10 @@ package repo
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/repo/watch_test.go b/models/repo/watch_test.go
index bf1388f985..d8d353af77 100644
--- a/models/repo/watch_test.go
+++ b/models/repo/watch_test.go
@@ -6,11 +6,11 @@ package repo_test
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/repo/wiki.go b/models/repo/wiki.go
index 5af8350bbb..a582628edf 100644
--- a/models/repo/wiki.go
+++ b/models/repo/wiki.go
@@ -8,8 +8,8 @@ import (
"context"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
)
// ErrWikiAlreadyExist represents a "WikiAlreadyExist" kind of error.
diff --git a/models/repo/wiki_test.go b/models/repo/wiki_test.go
index 1da976b6ac..c7fd358508 100644
--- a/models/repo/wiki_test.go
+++ b/models/repo/wiki_test.go
@@ -6,8 +6,8 @@ package repo_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repostats/main_test.go b/models/repostats/main_test.go
index 064d5f4ddf..e19cd29f43 100644
--- a/models/repostats/main_test.go
+++ b/models/repostats/main_test.go
@@ -6,14 +6,14 @@ package repostats
import (
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/system"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/system"
"github.com/stretchr/testify/assert"
)
diff --git a/models/repostats/repo.go b/models/repostats/repo.go
index 997db52e2e..7bd18bd624 100644
--- a/models/repostats/repo.go
+++ b/models/repostats/repo.go
@@ -9,11 +9,11 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
_ "image/jpeg" // Needed for jpeg support
diff --git a/models/repostats/repo_test.go b/models/repostats/repo_test.go
index 97b90f0bef..b7c63764da 100644
--- a/models/repostats/repo_test.go
+++ b/models/repostats/repo_test.go
@@ -6,8 +6,8 @@ package repostats
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/secret/main_test.go b/models/secret/main_test.go
index bd74c3f5c9..acc8b070b7 100644
--- a/models/secret/main_test.go
+++ b/models/secret/main_test.go
@@ -6,7 +6,7 @@ package secret
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/secret/secret.go b/models/secret/secret.go
index 7c69ce3003..226eaef582 100644
--- a/models/secret/secret.go
+++ b/models/secret/secret.go
@@ -8,16 +8,16 @@ import (
"fmt"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- secret_module "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ secret_module "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/secret/secret_test.go b/models/secret/secret_test.go
index 11dd0f750c..f20fffa738 100644
--- a/models/secret/secret_test.go
+++ b/models/secret/secret_test.go
@@ -6,9 +6,9 @@ package secret
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/shared/types/ownertype.go b/models/shared/types/ownertype.go
index 044ce94a98..cb210ed2fe 100644
--- a/models/shared/types/ownertype.go
+++ b/models/shared/types/ownertype.go
@@ -3,7 +3,7 @@
package types
-import "gitea.dev/modules/translation"
+import "gotea.dev/modules/translation"
type OwnerType string
diff --git a/models/system/appstate.go b/models/system/appstate.go
index c7203a52ec..b9677deea0 100644
--- a/models/system/appstate.go
+++ b/models/system/appstate.go
@@ -6,7 +6,7 @@ package system
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"xorm.io/builder"
)
diff --git a/models/system/main_test.go b/models/system/main_test.go
index f52b1e9f04..7d4e8511a6 100644
--- a/models/system/main_test.go
+++ b/models/system/main_test.go
@@ -6,12 +6,12 @@ package system_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models" // register models
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/system" // register models of system
+ _ "gotea.dev/models" // register models
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/system" // register models of system
)
func TestMain(m *testing.M) {
diff --git a/models/system/notice.go b/models/system/notice.go
index 6225dcf40c..9afbb5bb82 100644
--- a/models/system/notice.go
+++ b/models/system/notice.go
@@ -8,11 +8,11 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
)
// NoticeType describes the notice type
diff --git a/models/system/notice_test.go b/models/system/notice_test.go
index 3d0a70a8c7..867c524999 100644
--- a/models/system/notice_test.go
+++ b/models/system/notice_test.go
@@ -6,9 +6,9 @@ package system_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/system"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/system"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/system/setting.go b/models/system/setting.go
index 5c3d5a0324..733e6032d5 100644
--- a/models/system/setting.go
+++ b/models/system/setting.go
@@ -9,10 +9,10 @@ import (
"sync"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting/config"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/models/system/setting_test.go b/models/system/setting_test.go
index c319e2b54d..a25230ba1f 100644
--- a/models/system/setting_test.go
+++ b/models/system/setting_test.go
@@ -6,9 +6,9 @@ package system_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/system"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/system"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/models/unit/unit.go b/models/unit/unit.go
index d8d8a4d420..fe90449946 100644
--- a/models/unit/unit.go
+++ b/models/unit/unit.go
@@ -10,10 +10,10 @@ import (
"strings"
"sync/atomic"
- "gitea.dev/models/perm"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// Type is Unit's Type
diff --git a/models/unit/unit_test.go b/models/unit/unit_test.go
index 3964d0b74e..10abf02faf 100644
--- a/models/unit/unit_test.go
+++ b/models/unit/unit_test.go
@@ -6,7 +6,7 @@ package unit
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/models/unittest/consistency.go b/models/unittest/consistency.go
index b689a7d2f6..7cfabe10fb 100644
--- a/models/unittest/consistency.go
+++ b/models/unittest/consistency.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/unittest/fixtures.go b/models/unittest/fixtures.go
index 19882de96e..6500bc37fd 100644
--- a/models/unittest/fixtures.go
+++ b/models/unittest/fixtures.go
@@ -9,10 +9,10 @@ import (
"strings"
"unicode"
- "gitea.dev/models/db"
- "gitea.dev/modules/auth/password/hash"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/auth/password/hash"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"xorm.io/xorm"
"xorm.io/xorm/contexts"
diff --git a/models/unittest/fixtures_loader.go b/models/unittest/fixtures_loader.go
index 5cdddc3b86..e703ff1f5e 100644
--- a/models/unittest/fixtures_loader.go
+++ b/models/unittest/fixtures_loader.go
@@ -14,7 +14,7 @@ import (
"strings"
"sync"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"go.yaml.in/yaml/v4"
"xorm.io/xorm"
diff --git a/models/unittest/fixtures_test.go b/models/unittest/fixtures_test.go
index 8d81a367dd..7e0ac989d7 100644
--- a/models/unittest/fixtures_test.go
+++ b/models/unittest/fixtures_test.go
@@ -8,9 +8,9 @@ import (
"path/filepath"
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/require"
"xorm.io/xorm"
diff --git a/models/unittest/fscopy.go b/models/unittest/fscopy.go
index 62743b6aca..5fb1e81ed4 100644
--- a/models/unittest/fscopy.go
+++ b/models/unittest/fscopy.go
@@ -9,8 +9,8 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// SyncFile synchronizes the two files. This is skipped if both files
diff --git a/models/unittest/mock_http.go b/models/unittest/mock_http.go
index d6cb3e7b92..aa722052a2 100644
--- a/models/unittest/mock_http.go
+++ b/models/unittest/mock_http.go
@@ -16,7 +16,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/unittest/testdb.go b/models/unittest/testdb.go
index 2b00980df0..fed809392e 100644
--- a/models/unittest/testdb.go
+++ b/models/unittest/testdb.go
@@ -13,16 +13,16 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/system"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/tempdir"
- "gitea.dev/modules/testlogger"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/system"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/tempdir"
+ "gotea.dev/modules/testlogger"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"xorm.io/xorm"
diff --git a/models/unittest/unit_tests.go b/models/unittest/unit_tests.go
index 9965ede63e..07b8968b8f 100644
--- a/models/unittest/unit_tests.go
+++ b/models/unittest/unit_tests.go
@@ -10,7 +10,7 @@ import (
"os"
"strings"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/user/avatar.go b/models/user/avatar.go
index 6572746b24..d90ac27bec 100644
--- a/models/user/avatar.go
+++ b/models/user/avatar.go
@@ -9,14 +9,14 @@ import (
"image/png"
"io"
- "gitea.dev/models/avatars"
- "gitea.dev/models/db"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
+ "gotea.dev/models/avatars"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
)
// CustomAvatarRelativePath returns user custom avatar relative path.
diff --git a/models/user/avatar_test.go b/models/user/avatar_test.go
index f090dc467c..43de040243 100644
--- a/models/user/avatar_test.go
+++ b/models/user/avatar_test.go
@@ -8,10 +8,10 @@ import (
"strings"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/test"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/user/badge.go b/models/user/badge.go
index 54e327db3b..9b9b974d74 100644
--- a/models/user/badge.go
+++ b/models/user/badge.go
@@ -6,8 +6,8 @@ package user
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm/schemas"
diff --git a/models/user/badge_test.go b/models/user/badge_test.go
index 72d2aedc1e..d0688f9151 100644
--- a/models/user/badge_test.go
+++ b/models/user/badge_test.go
@@ -6,10 +6,10 @@ package user_test
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/models/user/block.go b/models/user/block.go
index abf4daa57d..8ffe6fe127 100644
--- a/models/user/block.go
+++ b/models/user/block.go
@@ -6,10 +6,10 @@ package user
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/email_address.go b/models/user/email_address.go
index 6f5ff8fdaa..aa82649754 100644
--- a/models/user/email_address.go
+++ b/models/user/email_address.go
@@ -10,13 +10,13 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"xorm.io/builder"
)
diff --git a/models/user/email_address_test.go b/models/user/email_address_test.go
index 15e2d84b2e..1f4c43f7ac 100644
--- a/models/user/email_address_test.go
+++ b/models/user/email_address_test.go
@@ -7,10 +7,10 @@ import (
"slices"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
)
diff --git a/models/user/error.go b/models/user/error.go
index 21d50ec804..0a7fbf2540 100644
--- a/models/user/error.go
+++ b/models/user/error.go
@@ -6,7 +6,7 @@ package user
import (
"fmt"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrUserAlreadyExist represents a "user already exists" error.
diff --git a/models/user/external_login_user.go b/models/user/external_login_user.go
index 06397d3bc0..ddde5dbec5 100644
--- a/models/user/external_login_user.go
+++ b/models/user/external_login_user.go
@@ -8,8 +8,8 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/follow.go b/models/user/follow.go
index ae750b4e2f..b64cb6180e 100644
--- a/models/user/follow.go
+++ b/models/user/follow.go
@@ -6,9 +6,9 @@ package user
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/follow_test.go b/models/user/follow_test.go
index b24682d0f2..f681f7f9a5 100644
--- a/models/user/follow_test.go
+++ b/models/user/follow_test.go
@@ -6,8 +6,8 @@ package user_test
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/user/list.go b/models/user/list.go
index 7a737935f9..8ddd3ea1d9 100644
--- a/models/user/list.go
+++ b/models/user/list.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
)
// UserList is a list of user.
diff --git a/models/user/main_test.go b/models/user/main_test.go
index 1a8cd4af59..9e2f682ccf 100644
--- a/models/user/main_test.go
+++ b/models/user/main_test.go
@@ -6,12 +6,12 @@ package user_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
- _ "gitea.dev/models/user"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
+ _ "gotea.dev/models/user"
)
func TestMain(m *testing.M) {
diff --git a/models/user/must_change_password.go b/models/user/must_change_password.go
index 5603b0f65b..99b36724e4 100644
--- a/models/user/must_change_password.go
+++ b/models/user/must_change_password.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/openid.go b/models/user/openid.go
index 98d0128458..d350180e15 100644
--- a/models/user/openid.go
+++ b/models/user/openid.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/openid_test.go b/models/user/openid_test.go
index b9a2572adb..db8032dc49 100644
--- a/models/user/openid_test.go
+++ b/models/user/openid_test.go
@@ -6,9 +6,9 @@ package user_test
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/user/redirect.go b/models/user/redirect.go
index 93a9c94c73..f461157dd0 100644
--- a/models/user/redirect.go
+++ b/models/user/redirect.go
@@ -8,8 +8,8 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/models/user/redirect_test.go b/models/user/redirect_test.go
index 492c908581..a40df8de6c 100644
--- a/models/user/redirect_test.go
+++ b/models/user/redirect_test.go
@@ -6,8 +6,8 @@ package user_test
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/user/search.go b/models/user/search.go
index 7f835dc3ff..3833d8f9c0 100644
--- a/models/user/search.go
+++ b/models/user/search.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/structs"
"xorm.io/builder"
)
diff --git a/models/user/setting.go b/models/user/setting.go
index 8888e3a2e0..c0613afe33 100644
--- a/models/user/setting.go
+++ b/models/user/setting.go
@@ -9,11 +9,11 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/json"
- setting_module "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/json"
+ setting_module "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"xorm.io/builder"
"xorm.io/xorm/convert"
diff --git a/models/user/setting_test.go b/models/user/setting_test.go
index 482c6843d8..85e0019316 100644
--- a/models/user/setting_test.go
+++ b/models/user/setting_test.go
@@ -6,8 +6,8 @@ package user_test
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/models/user/user.go b/models/user/user.go
index 06d10fbf80..59cda6e167 100644
--- a/models/user/user.go
+++ b/models/user/user.go
@@ -20,22 +20,22 @@ import (
"time"
"unicode"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/auth/openid"
- "gitea.dev/modules/auth/password/hash"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/auth/openid"
+ "gotea.dev/modules/auth/password/hash"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
_ "image/jpeg" // Needed for jpeg support
diff --git a/models/user/user_list.go b/models/user/user_list.go
index f639a1f71a..2a260aa44a 100644
--- a/models/user/user_list.go
+++ b/models/user/user_list.go
@@ -6,7 +6,7 @@ package user
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
func GetUsersMapByIDs(ctx context.Context, userIDs []int64) (map[int64]*User, error) {
diff --git a/models/user/user_system.go b/models/user/user_system.go
index 7e1b49d265..4ac78bbc1e 100644
--- a/models/user/user_system.go
+++ b/models/user/user_system.go
@@ -7,7 +7,7 @@ import (
"context"
"strings"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/structs"
)
const (
diff --git a/models/user/user_test.go b/models/user/user_test.go
index 16faf3eb1f..53d2e7ce51 100644
--- a/models/user/user_test.go
+++ b/models/user/user_test.go
@@ -10,17 +10,17 @@ import (
"testing"
"time"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password/hash"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password/hash"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/user/user_update.go b/models/user/user_update.go
index b29a501ee2..b5a2cfd97f 100644
--- a/models/user/user_update.go
+++ b/models/user/user_update.go
@@ -6,7 +6,7 @@ package user
import (
"context"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
func IncrUserRepoNum(ctx context.Context, userID int64) error {
diff --git a/models/webhook/hooktask.go b/models/webhook/hooktask.go
index 2c60e34227..70e8001d1e 100644
--- a/models/webhook/hooktask.go
+++ b/models/webhook/hooktask.go
@@ -9,12 +9,12 @@ import (
"time"
"uuid"
- "gitea.dev/models/db"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
"xorm.io/builder"
)
diff --git a/models/webhook/main_test.go b/models/webhook/main_test.go
index 28626f7111..11e37adc1d 100644
--- a/models/webhook/main_test.go
+++ b/models/webhook/main_test.go
@@ -6,7 +6,7 @@ package webhook
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/models/webhook/webhook.go b/models/webhook/webhook.go
index 89b74d0c62..55ea7bb658 100644
--- a/models/webhook/webhook.go
+++ b/models/webhook/webhook.go
@@ -9,15 +9,15 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
"xorm.io/builder"
)
diff --git a/models/webhook/webhook_system.go b/models/webhook/webhook_system.go
index 6f15892540..f6537dc874 100644
--- a/models/webhook/webhook_system.go
+++ b/models/webhook/webhook_system.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/optional"
"xorm.io/builder"
)
diff --git a/models/webhook/webhook_system_test.go b/models/webhook/webhook_system_test.go
index 69f9dfb7fb..f4cf75bb3a 100644
--- a/models/webhook/webhook_system_test.go
+++ b/models/webhook/webhook_system_test.go
@@ -6,8 +6,8 @@ package webhook
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/models/webhook/webhook_test.go b/models/webhook/webhook_test.go
index 4e2a4ec36d..62f3227491 100644
--- a/models/webhook/webhook_test.go
+++ b/models/webhook/webhook_test.go
@@ -9,12 +9,12 @@ import (
"time"
"uuid"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/actions/artifacts.go b/modules/actions/artifacts.go
index ba1f9acc01..143a6e2f55 100644
--- a/modules/actions/artifacts.go
+++ b/modules/actions/artifacts.go
@@ -9,7 +9,7 @@ import (
"encoding/binary"
"io"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type tagType string
diff --git a/modules/actions/commit_status_info.go b/modules/actions/commit_status_info.go
index 4afb6e52b9..148c855351 100644
--- a/modules/actions/commit_status_info.go
+++ b/modules/actions/commit_status_info.go
@@ -8,10 +8,10 @@ import (
"maps"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/log"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/log"
)
// CommitActionsStatusMap maps CommitStatus.ID to the live ActionRunJob status
diff --git a/modules/actions/github.go b/modules/actions/github.go
index 0789419b4a..89209acedf 100644
--- a/modules/actions/github.go
+++ b/modules/actions/github.go
@@ -4,7 +4,7 @@
package actions
import (
- webhook_module "gitea.dev/modules/webhook"
+ webhook_module "gotea.dev/modules/webhook"
)
const (
diff --git a/modules/actions/github_test.go b/modules/actions/github_test.go
index 26d05b8560..5727663ba1 100644
--- a/modules/actions/github_test.go
+++ b/modules/actions/github_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/actions/jobparser/model.go b/modules/actions/jobparser/model.go
index 2473c6e17a..5308d01ad4 100644
--- a/modules/actions/jobparser/model.go
+++ b/modules/actions/jobparser/model.go
@@ -11,7 +11,7 @@ import (
"gitea.dev/actionslib/pkg/expreval"
"gitea.dev/actionslib/pkg/exprparser"
"gitea.dev/actionslib/pkg/model"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/robfig/cron/v3"
"go.yaml.in/yaml/v4"
diff --git a/modules/actions/log.go b/modules/actions/log.go
index 58aff94f02..694bfcd5da 100644
--- a/modules/actions/log.go
+++ b/modules/actions/log.go
@@ -13,10 +13,10 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- "gitea.dev/models/dbfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/zstd"
+ "gotea.dev/models/dbfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/zstd"
"google.golang.org/protobuf/types/known/timestamppb"
)
diff --git a/modules/actions/scoped_workflows.go b/modules/actions/scoped_workflows.go
index 31e59ef3bf..da43dfea62 100644
--- a/modules/actions/scoped_workflows.go
+++ b/modules/actions/scoped_workflows.go
@@ -6,12 +6,12 @@ package actions
import (
"context"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
// ListScopedWorkflows lists scoped workflow files (under SCOPED_WORKFLOW_DIRS) at the given commit.
diff --git a/modules/actions/task_state.go b/modules/actions/task_state.go
index 457f949bf3..f1023ed5b1 100644
--- a/modules/actions/task_state.go
+++ b/modules/actions/task_state.go
@@ -4,7 +4,7 @@
package actions
import (
- actions_model "gitea.dev/models/actions"
+ actions_model "gotea.dev/models/actions"
)
const (
diff --git a/modules/actions/task_state_test.go b/modules/actions/task_state_test.go
index 93a0d598cd..584e988b92 100644
--- a/modules/actions/task_state_test.go
+++ b/modules/actions/task_state_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
+ actions_model "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/actions/workflowpattern/workflow_pattern.go b/modules/actions/workflowpattern/workflow_pattern.go
index c5eb1fb575..602aaea382 100644
--- a/modules/actions/workflowpattern/workflow_pattern.go
+++ b/modules/actions/workflowpattern/workflow_pattern.go
@@ -6,7 +6,7 @@ package workflowpattern
import (
"strings"
- "gitea.dev/modules/glob"
+ "gotea.dev/modules/glob"
)
type WorkflowPattern struct {
diff --git a/modules/actions/workflows.go b/modules/actions/workflows.go
index 9f1bdf5b27..150b204bca 100644
--- a/modules/actions/workflows.go
+++ b/modules/actions/workflows.go
@@ -12,15 +12,15 @@ import (
"strings"
"gitea.dev/actionslib/pkg/model"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/actions/workflowpattern"
- "gitea.dev/modules/git"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/actions/workflowpattern"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
"go.yaml.in/yaml/v4"
)
diff --git a/modules/actions/workflows_test.go b/modules/actions/workflows_test.go
index 9faf34f23b..43c4d90870 100644
--- a/modules/actions/workflows_test.go
+++ b/modules/actions/workflows_test.go
@@ -6,11 +6,11 @@ package actions
import (
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/assetfs/embed.go b/modules/assetfs/embed.go
index 28d0fc25f0..fae5c0fa60 100644
--- a/modules/assetfs/embed.go
+++ b/modules/assetfs/embed.go
@@ -15,8 +15,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
)
type EmbeddedFile interface {
diff --git a/modules/assetfs/layered.go b/modules/assetfs/layered.go
index 5ee585afa1..cd2a6b58bb 100644
--- a/modules/assetfs/layered.go
+++ b/modules/assetfs/layered.go
@@ -14,10 +14,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/util"
"github.com/fsnotify/fsnotify"
)
diff --git a/modules/auth/common.go b/modules/auth/common.go
index ea72d77086..8d29db4415 100644
--- a/modules/auth/common.go
+++ b/modules/auth/common.go
@@ -4,8 +4,8 @@
package auth
import (
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
)
func UnmarshalGroupTeamMapping(raw string) (map[string]map[string][]string, error) {
diff --git a/modules/auth/httpauth/httpauth.go b/modules/auth/httpauth/httpauth.go
index 332441bca6..9d33993266 100644
--- a/modules/auth/httpauth/httpauth.go
+++ b/modules/auth/httpauth/httpauth.go
@@ -7,7 +7,7 @@ import (
"encoding/base64"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type BasicAuth struct {
diff --git a/modules/auth/openid/openid.go b/modules/auth/openid/openid.go
index b2db1d3be9..aeb190692b 100644
--- a/modules/auth/openid/openid.go
+++ b/modules/auth/openid/openid.go
@@ -8,7 +8,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/egress"
+ "gotea.dev/modules/egress"
"github.com/yohcop/openid-go"
)
diff --git a/modules/auth/password/hash/argon2.go b/modules/auth/password/hash/argon2.go
index 64d1fe8294..ed10f57c4f 100644
--- a/modules/auth/password/hash/argon2.go
+++ b/modules/auth/password/hash/argon2.go
@@ -7,7 +7,7 @@ import (
"encoding/hex"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"golang.org/x/crypto/argon2"
)
diff --git a/modules/auth/password/hash/common.go b/modules/auth/password/hash/common.go
index 30324de546..2eec82f61b 100644
--- a/modules/auth/password/hash/common.go
+++ b/modules/auth/password/hash/common.go
@@ -6,8 +6,8 @@ package hash
import (
"strconv"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
func parseIntParam(value, param, algorithmName, config string, previousErr error) (int, error) {
diff --git a/modules/auth/password/hash/hash.go b/modules/auth/password/hash/hash.go
index ffe5d76cbd..8a4c36c865 100644
--- a/modules/auth/password/hash/hash.go
+++ b/modules/auth/password/hash/hash.go
@@ -10,7 +10,7 @@ import (
"strings"
"sync/atomic"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// This package takes care of hashing passwords, verifying passwords, defining
diff --git a/modules/auth/password/hash/pbkdf2.go b/modules/auth/password/hash/pbkdf2.go
index 44d7e54be1..2a78a5f510 100644
--- a/modules/auth/password/hash/pbkdf2.go
+++ b/modules/auth/password/hash/pbkdf2.go
@@ -8,7 +8,7 @@ import (
"encoding/hex"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"golang.org/x/crypto/pbkdf2"
)
diff --git a/modules/auth/password/hash/scrypt.go b/modules/auth/password/hash/scrypt.go
index ef678c697e..940fb6cdcb 100644
--- a/modules/auth/password/hash/scrypt.go
+++ b/modules/auth/password/hash/scrypt.go
@@ -7,7 +7,7 @@ import (
"encoding/hex"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"golang.org/x/crypto/scrypt"
)
diff --git a/modules/auth/password/password.go b/modules/auth/password/password.go
index fd943c0f75..5cd061912d 100644
--- a/modules/auth/password/password.go
+++ b/modules/auth/password/password.go
@@ -13,8 +13,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
)
var (
diff --git a/modules/auth/password/pwn.go b/modules/auth/password/pwn.go
index b56ea52dcd..312390b752 100644
--- a/modules/auth/password/pwn.go
+++ b/modules/auth/password/pwn.go
@@ -8,8 +8,8 @@ import (
"errors"
"fmt"
- "gitea.dev/modules/auth/password/pwn"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/auth/password/pwn"
+ "gotea.dev/modules/setting"
)
var ErrIsPwned = errors.New("password has been pwned")
diff --git a/modules/auth/password/pwn/pwn.go b/modules/auth/password/pwn/pwn.go
index badc417aa1..ced16c172b 100644
--- a/modules/auth/password/pwn/pwn.go
+++ b/modules/auth/password/pwn/pwn.go
@@ -14,8 +14,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/setting"
)
const (
diff --git a/modules/auth/webauthn/webauthn.go b/modules/auth/webauthn/webauthn.go
index ab026e2ab8..5cdc69db15 100644
--- a/modules/auth/webauthn/webauthn.go
+++ b/modules/auth/webauthn/webauthn.go
@@ -8,10 +8,10 @@ import (
"encoding/binary"
"encoding/gob"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
diff --git a/modules/auth/webauthn/webauthn_test.go b/modules/auth/webauthn/webauthn_test.go
index 490c4dc797..5bb4a3b3d6 100644
--- a/modules/auth/webauthn/webauthn_test.go
+++ b/modules/auth/webauthn/webauthn_test.go
@@ -6,7 +6,7 @@ package webauthn
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/go-webauthn/webauthn/protocol"
"github.com/stretchr/testify/assert"
diff --git a/modules/avatar/avatar.go b/modules/avatar/avatar.go
index ccb5ce58c3..81a313d2fe 100644
--- a/modules/avatar/avatar.go
+++ b/modules/avatar/avatar.go
@@ -11,8 +11,8 @@ import (
"image/color"
"image/png"
- "gitea.dev/modules/avatar/identicon"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/avatar/identicon"
+ "gotea.dev/modules/setting"
_ "golang.org/x/image/webp" // for processing webp images
_ "image/gif" // for processing gif images
diff --git a/modules/avatar/avatar_test.go b/modules/avatar/avatar_test.go
index f2e2879e0a..bb9962925b 100644
--- a/modules/avatar/avatar_test.go
+++ b/modules/avatar/avatar_test.go
@@ -11,7 +11,7 @@ import (
"os"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/avatar/federated.go b/modules/avatar/federated.go
index ed8d1cdd86..31aa0cec70 100644
--- a/modules/avatar/federated.go
+++ b/modules/avatar/federated.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/cache"
+ "gotea.dev/modules/cache"
)
// LookupFederatedHost returns the avatar host from the email domain's SRV record. https://wiki.libravatar.org/api/
diff --git a/modules/avatar/hash_test.go b/modules/avatar/hash_test.go
index 5bf3c4eaf8..fd734f0e3e 100644
--- a/modules/avatar/hash_test.go
+++ b/modules/avatar/hash_test.go
@@ -6,7 +6,7 @@ package avatar_test
import (
"testing"
- "gitea.dev/modules/avatar"
+ "gotea.dev/modules/avatar"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/badge/badge.go b/modules/badge/badge.go
index 60781f1893..6fca761c33 100644
--- a/modules/badge/badge.go
+++ b/modules/badge/badge.go
@@ -8,7 +8,7 @@ import (
"sync"
"unicode"
- actions_model "gitea.dev/models/actions"
+ actions_model "gotea.dev/models/actions"
)
// The Badge layout: |offset|label|message|
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 64c74e9ef8..02de63237d 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -14,8 +14,8 @@ import (
"strconv"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// EncodeSha256 string to sha256 hex value.
diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go
index f6f5d0b77d..943bcc25c5 100644
--- a/modules/base/tool_test.go
+++ b/modules/base/tool_test.go
@@ -9,8 +9,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/cache/cache.go b/modules/cache/cache.go
index 77c2cafa4c..81b6ff4534 100644
--- a/modules/cache/cache.go
+++ b/modules/cache/cache.go
@@ -11,8 +11,8 @@ import (
"strconv"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
_ "gitea.com/go-chi/cache/memcache" //nolint:depguard // memcache plugin for cache, it is required for config "ADAPTER=memcache"
)
diff --git a/modules/cache/cache_redis.go b/modules/cache/cache_redis.go
index f6029d533b..c7cae2aa59 100644
--- a/modules/cache/cache_redis.go
+++ b/modules/cache/cache_redis.go
@@ -8,8 +8,8 @@ import (
"strconv"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/nosql"
"gitea.com/go-chi/cache" //nolint:depguard // we wrap this package here
"github.com/redis/go-redis/v9"
diff --git a/modules/cache/cache_test.go b/modules/cache/cache_test.go
index 1c2d7683dc..df09b198f6 100644
--- a/modules/cache/cache_test.go
+++ b/modules/cache/cache_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/cache/cache_twoqueue.go b/modules/cache/cache_twoqueue.go
index ea0f0410e9..d8f541b3af 100644
--- a/modules/cache/cache_twoqueue.go
+++ b/modules/cache/cache_twoqueue.go
@@ -8,7 +8,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
mc "gitea.com/go-chi/cache" //nolint:depguard // we wrap this package here
lru "github.com/hashicorp/golang-lru/v2"
diff --git a/modules/cache/context_test.go b/modules/cache/context_test.go
index dc27f32ea9..1cd191678f 100644
--- a/modules/cache/context_test.go
+++ b/modules/cache/context_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/cache/ephemeral.go b/modules/cache/ephemeral.go
index 9e0a611dc7..55f0c21a97 100644
--- a/modules/cache/ephemeral.go
+++ b/modules/cache/ephemeral.go
@@ -8,8 +8,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// EphemeralCache is a cache that can be used to store data in a request level context
diff --git a/modules/cache/string_cache.go b/modules/cache/string_cache.go
index 1582c319c4..bcaf7107d0 100644
--- a/modules/cache/string_cache.go
+++ b/modules/cache/string_cache.go
@@ -7,9 +7,9 @@ import (
"errors"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
chi_cache "gitea.com/go-chi/cache" //nolint:depguard // we wrap this package here
)
diff --git a/modules/charset/ambiguous.go b/modules/charset/ambiguous.go
index 97f676c372..d213b2594b 100644
--- a/modules/charset/ambiguous.go
+++ b/modules/charset/ambiguous.go
@@ -8,7 +8,7 @@ import (
"strings"
"unicode"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
)
// AmbiguousTablesForLocale provides the table of ambiguous characters for this locale.
diff --git a/modules/charset/ambiguous_gen_test.go b/modules/charset/ambiguous_gen_test.go
index 7b5ebc2c29..595886a298 100644
--- a/modules/charset/ambiguous_gen_test.go
+++ b/modules/charset/ambiguous_gen_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"unicode"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/charset/charset.go b/modules/charset/charset.go
index 8b902f3c34..b7ed5ec33f 100644
--- a/modules/charset/charset.go
+++ b/modules/charset/charset.go
@@ -12,8 +12,8 @@ import (
"unicode"
"unicode/utf8"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/gogs/chardet"
"golang.org/x/net/html/charset"
diff --git a/modules/charset/charset_test.go b/modules/charset/charset_test.go
index 0731b0c0e1..6fc9370e1a 100644
--- a/modules/charset/charset_test.go
+++ b/modules/charset/charset_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/charset/escape.go b/modules/charset/escape.go
index bdb4b5f309..150df6d0fb 100644
--- a/modules/charset/escape.go
+++ b/modules/charset/escape.go
@@ -8,9 +8,9 @@ import (
"io"
"strings"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
)
type EscapeOptions struct {
diff --git a/modules/charset/escape_stream.go b/modules/charset/escape_stream.go
index 8ab69622c8..4c5e00435e 100644
--- a/modules/charset/escape_stream.go
+++ b/modules/charset/escape_stream.go
@@ -12,9 +12,9 @@ import (
"unicode"
"unicode/utf8"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
)
type htmlChunkReader struct {
diff --git a/modules/charset/escape_test.go b/modules/charset/escape_test.go
index dd57f53955..2f58e0960a 100644
--- a/modules/charset/escape_test.go
+++ b/modules/charset/escape_test.go
@@ -8,10 +8,10 @@ import (
"testing"
"testing/iotest"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/charset/generate/generate.go b/modules/charset/generate/generate.go
index 0d719ae97e..8a1d81878b 100644
--- a/modules/charset/generate/generate.go
+++ b/modules/charset/generate/generate.go
@@ -13,7 +13,7 @@ import (
"text/template"
"unicode"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"golang.org/x/text/unicode/rangetable"
)
diff --git a/modules/csv/csv.go b/modules/csv/csv.go
index 1985e27828..71f5669d89 100644
--- a/modules/csv/csv.go
+++ b/modules/csv/csv.go
@@ -11,9 +11,9 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/csv/csv_test.go b/modules/csv/csv_test.go
index d217d57e53..a960b55e36 100644
--- a/modules/csv/csv_test.go
+++ b/modules/csv/csv_test.go
@@ -11,8 +11,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/dump/dumper.go b/modules/dump/dumper.go
index edc666db6d..24cdef35dd 100644
--- a/modules/dump/dumper.go
+++ b/modules/dump/dumper.go
@@ -16,9 +16,9 @@ import (
"slices"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
"github.com/mholt/archives"
)
diff --git a/modules/dump/dumper_test.go b/modules/dump/dumper_test.go
index b713c87121..7d32331a36 100644
--- a/modules/dump/dumper_test.go
+++ b/modules/dump/dumper_test.go
@@ -14,7 +14,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/egress/policies.go b/modules/egress/policies.go
index 398377bc93..45242b3f31 100644
--- a/modules/egress/policies.go
+++ b/modules/egress/policies.go
@@ -13,9 +13,9 @@ import (
"os"
"strings"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/proxy"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/proxy"
+ "gotea.dev/modules/setting"
"golang.org/x/net/http/httpproxy"
)
diff --git a/modules/egress/policies_test.go b/modules/egress/policies_test.go
index 138427eec1..93753096de 100644
--- a/modules/egress/policies_test.go
+++ b/modules/egress/policies_test.go
@@ -10,9 +10,9 @@ import (
"strconv"
"testing"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/emoji/emoji.go b/modules/emoji/emoji.go
index 45c38b7785..fb573f480d 100644
--- a/modules/emoji/emoji.go
+++ b/modules/emoji/emoji.go
@@ -10,11 +10,11 @@ import (
"sync/atomic"
"unicode/utf8"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// Emoji represents a single emoji and associated data.
diff --git a/modules/emoji/emoji_test.go b/modules/emoji/emoji_test.go
index 42cb4864fa..f10379f824 100644
--- a/modules/emoji/emoji_test.go
+++ b/modules/emoji/emoji_test.go
@@ -7,9 +7,9 @@ package emoji
import (
"testing"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/fileicon/basic.go b/modules/fileicon/basic.go
index c777345b72..b4b6e46b8a 100644
--- a/modules/fileicon/basic.go
+++ b/modules/fileicon/basic.go
@@ -6,8 +6,8 @@ package fileicon
import (
"html/template"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/util"
)
func BasicEntryIconName(entry *EntryInfo) string {
diff --git a/modules/fileicon/entry.go b/modules/fileicon/entry.go
index 1174600da7..2d59d913de 100644
--- a/modules/fileicon/entry.go
+++ b/modules/fileicon/entry.go
@@ -6,7 +6,7 @@ package fileicon
import (
"context"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
type EntryInfo struct {
diff --git a/modules/fileicon/material.go b/modules/fileicon/material.go
index 94c2cead3d..467f580556 100644
--- a/modules/fileicon/material.go
+++ b/modules/fileicon/material.go
@@ -8,12 +8,12 @@ import (
"strings"
"sync"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/options"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/options"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/util"
)
type materialIconRulesData struct {
diff --git a/modules/fileicon/material_test.go b/modules/fileicon/material_test.go
index f6e08ba4c1..467ff61295 100644
--- a/modules/fileicon/material_test.go
+++ b/modules/fileicon/material_test.go
@@ -6,9 +6,9 @@ package fileicon_test
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/fileicon/render.go b/modules/fileicon/render.go
index b974196994..dedd4431ad 100644
--- a/modules/fileicon/render.go
+++ b/modules/fileicon/render.go
@@ -7,7 +7,7 @@ import (
"html/template"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type RenderedIconPool struct {
diff --git a/modules/fileicon/render_test.go b/modules/fileicon/render_test.go
index ac03fc4928..16b60b329e 100644
--- a/modules/fileicon/render_test.go
+++ b/modules/fileicon/render_test.go
@@ -6,10 +6,10 @@ package fileicon_test
import (
"testing"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/generate/generate.go b/modules/generate/generate.go
index ca132e0756..e23ec15979 100644
--- a/modules/generate/generate.go
+++ b/modules/generate/generate.go
@@ -17,8 +17,8 @@ import (
"io"
"time"
- "gitea.dev/modules/consts"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/consts"
+ "gotea.dev/modules/util"
"github.com/golang-jwt/jwt/v5"
"golang.org/x/crypto/ssh"
diff --git a/modules/git/archive.go b/modules/git/archive.go
index 4259b8db1f..5e10753499 100644
--- a/modules/git/archive.go
+++ b/modules/git/archive.go
@@ -12,9 +12,9 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
)
// CreateArchive create archive content to the target path
diff --git a/modules/git/archive_test.go b/modules/git/archive_test.go
index 18a05dc48d..2c80da404e 100644
--- a/modules/git/archive_test.go
+++ b/modules/git/archive_test.go
@@ -8,7 +8,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/attribute/attribute.go b/modules/git/attribute/attribute.go
index 02c601399a..d5e7d7ffc8 100644
--- a/modules/git/attribute/attribute.go
+++ b/modules/git/attribute/attribute.go
@@ -6,7 +6,7 @@ package attribute
import (
"strings"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
)
type Attribute string
diff --git a/modules/git/attribute/batch.go b/modules/git/attribute/batch.go
index 27f9111301..bd4264c464 100644
--- a/modules/git/attribute/batch.go
+++ b/modules/git/attribute/batch.go
@@ -10,10 +10,10 @@ import (
"io"
"time"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// BatchChecker provides a reader for check-attribute content that can be long running
diff --git a/modules/git/attribute/batch_test.go b/modules/git/attribute/batch_test.go
index 8336970e34..713750aa1e 100644
--- a/modules/git/attribute/batch_test.go
+++ b/modules/git/attribute/batch_test.go
@@ -8,9 +8,9 @@ import (
"testing"
"time"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/attribute/checker.go b/modules/git/attribute/checker.go
index c0bc19ee26..6b55cca4c2 100644
--- a/modules/git/attribute/checker.go
+++ b/modules/git/attribute/checker.go
@@ -10,8 +10,8 @@ import (
"fmt"
"os"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
)
func checkAttrCommand(ctx context.Context, gitRepo *git.Repository, treeish string, filenames, attributes []string) (*gitcmd.Command, []string, func(), error) {
diff --git a/modules/git/attribute/checker_test.go b/modules/git/attribute/checker_test.go
index c83e1c8540..bdab5104af 100644
--- a/modules/git/attribute/checker_test.go
+++ b/modules/git/attribute/checker_test.go
@@ -7,9 +7,9 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/attribute/main_test.go b/modules/git/attribute/main_test.go
index dfa39c237e..41f5f5c29b 100644
--- a/modules/git/attribute/main_test.go
+++ b/modules/git/attribute/main_test.go
@@ -8,8 +8,8 @@ import (
"os"
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
)
func testRun(m *testing.M) error {
diff --git a/modules/git/blame.go b/modules/git/blame.go
index 68b43b75f8..704b5ead16 100644
--- a/modules/git/blame.go
+++ b/modules/git/blame.go
@@ -9,8 +9,8 @@ import (
"context"
"io"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
)
func LineBlame(ctx context.Context, repo RepositoryFacade, revision, file string, line uint) (string, error) {
diff --git a/modules/git/blame_sha256_test.go b/modules/git/blame_sha256_test.go
index 3a17f8d0de..9261069401 100644
--- a/modules/git/blame_sha256_test.go
+++ b/modules/git/blame_sha256_test.go
@@ -6,7 +6,7 @@ package git
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/blame_test.go b/modules/git/blame_test.go
index 3c258d0dd7..233081c49a 100644
--- a/modules/git/blame_test.go
+++ b/modules/git/blame_test.go
@@ -6,7 +6,7 @@ package git
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/blob.go b/modules/git/blob.go
index 8118eadccf..ceafb4bf9f 100644
--- a/modules/git/blob.go
+++ b/modules/git/blob.go
@@ -12,7 +12,7 @@ import (
"io"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// This file contains common functions between the gogit and !gogit variants for git Blobs
diff --git a/modules/git/blob_gogit.go b/modules/git/blob_gogit.go
index e67b6c2a39..1d8e2847bf 100644
--- a/modules/git/blob_gogit.go
+++ b/modules/git/blob_gogit.go
@@ -10,7 +10,7 @@ import (
"context"
"io"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/go-git/go-git/v5/plumbing"
)
diff --git a/modules/git/blob_nogogit.go b/modules/git/blob_nogogit.go
index 10978002bf..150bd46a2c 100644
--- a/modules/git/blob_nogogit.go
+++ b/modules/git/blob_nogogit.go
@@ -9,7 +9,7 @@ import (
"context"
"io"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Blob represents a Git object.
diff --git a/modules/git/branch.go b/modules/git/branch.go
index 578f7f7052..6f3b8ecc51 100644
--- a/modules/git/branch.go
+++ b/modules/git/branch.go
@@ -8,7 +8,7 @@ import (
"errors"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// GetBranchesByPath returns a branch by its path
diff --git a/modules/git/catfile_batch.go b/modules/git/catfile_batch.go
index 1d8b6dd9c2..d9d5fa2dd8 100644
--- a/modules/git/catfile_batch.go
+++ b/modules/git/catfile_batch.go
@@ -8,8 +8,8 @@ import (
"io"
"os"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/util"
)
type BufferedReader interface {
diff --git a/modules/git/catfile_batch_command.go b/modules/git/catfile_batch_command.go
index 026415358c..616291edaa 100644
--- a/modules/git/catfile_batch_command.go
+++ b/modules/git/catfile_batch_command.go
@@ -7,9 +7,9 @@ import (
"context"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// catFileBatchCommand implements the CatFileBatch interface using the "cat-file --batch-command" command
diff --git a/modules/git/catfile_batch_legacy.go b/modules/git/catfile_batch_legacy.go
index 356e67eb8d..3d1f990da6 100644
--- a/modules/git/catfile_batch_legacy.go
+++ b/modules/git/catfile_batch_legacy.go
@@ -8,8 +8,8 @@ import (
"io"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
)
// catFileBatchLegacy implements the CatFileBatch interface using the "cat-file --batch" command and "cat-file --batch-check" command
diff --git a/modules/git/catfile_batch_reader.go b/modules/git/catfile_batch_reader.go
index afc88b0cc0..d8d96b8ac3 100644
--- a/modules/git/catfile_batch_reader.go
+++ b/modules/git/catfile_batch_reader.go
@@ -15,9 +15,9 @@ import (
"strings"
"sync/atomic"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
type catFileBatchCommunicator struct {
diff --git a/modules/git/catfile_batch_test.go b/modules/git/catfile_batch_test.go
index 754da557a2..f75c0ff492 100644
--- a/modules/git/catfile_batch_test.go
+++ b/modules/git/catfile_batch_test.go
@@ -9,8 +9,8 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/clone.go b/modules/git/clone.go
index c4b8ab9f12..cfa50d9ad0 100644
--- a/modules/git/clone.go
+++ b/modules/git/clone.go
@@ -6,7 +6,7 @@ package git
import (
"context"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
)
// CloneExternalRepo clones an external repository to the managed repository.
diff --git a/modules/git/commit.go b/modules/git/commit.go
index 8b70521743..baad57045e 100644
--- a/modules/git/commit.go
+++ b/modules/git/commit.go
@@ -11,8 +11,8 @@ import (
"os/exec"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
// Commit represents a git commit.
diff --git a/modules/git/commit2.go b/modules/git/commit2.go
index 46d3e47932..d19bdec1ce 100644
--- a/modules/git/commit2.go
+++ b/modules/git/commit2.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// CommitsCountOptions the options when counting commits
diff --git a/modules/git/commit_count_cache.go b/modules/git/commit_count_cache.go
index e0cdcd3864..b993b9abc2 100644
--- a/modules/git/commit_count_cache.go
+++ b/modules/git/commit_count_cache.go
@@ -6,7 +6,7 @@ package git
import (
"context"
- "gitea.dev/modules/cache"
+ "gotea.dev/modules/cache"
)
func makeCommitsCountCacheKey(repo RepositoryFacade, ref RefName) string {
diff --git a/modules/git/commit_file.go b/modules/git/commit_file.go
index ff1562f884..0bdf2b52f0 100644
--- a/modules/git/commit_file.go
+++ b/modules/git/commit_file.go
@@ -8,8 +8,8 @@ import (
"context"
"io"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// CommitFileStatus represents status of files in a commit.
diff --git a/modules/git/commit_info.go b/modules/git/commit_info.go
index b34ed7716d..b832317af8 100644
--- a/modules/git/commit_info.go
+++ b/modules/git/commit_info.go
@@ -9,8 +9,8 @@ import (
"path"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// CommitInfo describes the first commit with the provided entry
diff --git a/modules/git/commit_info_nogogit_test.go b/modules/git/commit_info_nogogit_test.go
index 19bab4d416..05e404ada9 100644
--- a/modules/git/commit_info_nogogit_test.go
+++ b/modules/git/commit_info_nogogit_test.go
@@ -11,9 +11,9 @@ import (
"testing"
"time"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/commit_info_test.go b/modules/git/commit_info_test.go
index e29d689b8c..63b6a3f7b7 100644
--- a/modules/git/commit_info_test.go
+++ b/modules/git/commit_info_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/commit_message.go b/modules/git/commit_message.go
index f7f9b92384..d59458f730 100644
--- a/modules/git/commit_message.go
+++ b/modules/git/commit_message.go
@@ -9,8 +9,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/util"
)
// CoAuthoredByTrailer is the canonical token for the `Co-authored-by:` git trailer.
diff --git a/modules/git/commit_submodule_file.go b/modules/git/commit_submodule_file.go
index b966db031d..1aa3c685cb 100644
--- a/modules/git/commit_submodule_file.go
+++ b/modules/git/commit_submodule_file.go
@@ -9,8 +9,8 @@ import (
"path"
"strings"
- giturl "gitea.dev/modules/git/url"
- "gitea.dev/modules/util"
+ giturl "gotea.dev/modules/git/url"
+ "gotea.dev/modules/util"
)
// CommitSubmoduleFile represents a file with submodule type.
diff --git a/modules/git/compare.go b/modules/git/compare.go
index 90e98986e7..65a02502d2 100644
--- a/modules/git/compare.go
+++ b/modules/git/compare.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// DivergeObject represents commit count diverging commits
diff --git a/modules/git/compare_test.go b/modules/git/compare_test.go
index 64ac71f285..5c6b1f853c 100644
--- a/modules/git/compare_test.go
+++ b/modules/git/compare_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/config.go b/modules/git/config.go
index 90120aaed7..2ed8392663 100644
--- a/modules/git/config.go
+++ b/modules/git/config.go
@@ -11,8 +11,8 @@ import (
"runtime"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
)
// syncGitConfig only modifies gitconfig, won't change global variables (otherwise there will be data-race problem)
diff --git a/modules/git/config_managed.go b/modules/git/config_managed.go
index 92e637e280..7c0dc6b2dc 100644
--- a/modules/git/config_managed.go
+++ b/modules/git/config_managed.go
@@ -6,7 +6,7 @@ package git
import (
"context"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// ManagedConfigAdd add a git configuration key to a specific value for the given repository.
diff --git a/modules/git/config_test.go b/modules/git/config_test.go
index 206c99684e..8ed40f96a8 100644
--- a/modules/git/config_test.go
+++ b/modules/git/config_test.go
@@ -8,9 +8,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/diff.go b/modules/git/diff.go
index 5addba762c..cad4d933ca 100644
--- a/modules/git/diff.go
+++ b/modules/git/diff.go
@@ -13,10 +13,10 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// RawDiffType output format: diff or patch
diff --git a/modules/git/diff_test.go b/modules/git/diff_test.go
index 1b2598827c..2909f70e48 100644
--- a/modules/git/diff_test.go
+++ b/modules/git/diff_test.go
@@ -8,7 +8,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/error.go b/modules/git/error.go
index 5f9a6708a6..06ebca0e3c 100644
--- a/modules/git/error.go
+++ b/modules/git/error.go
@@ -7,7 +7,7 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ErrNotExist commit not exist error
diff --git a/modules/git/fastimport.go b/modules/git/fastimport.go
index d3e98e521f..0af2e2350f 100644
--- a/modules/git/fastimport.go
+++ b/modules/git/fastimport.go
@@ -9,9 +9,9 @@ import (
"fmt"
"os"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/util"
)
type FastImportInit struct {
diff --git a/modules/git/fetch.go b/modules/git/fetch.go
index 3585861de9..cb1efcf42a 100644
--- a/modules/git/fetch.go
+++ b/modules/git/fetch.go
@@ -6,8 +6,8 @@ package git
import (
"context"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
)
// FetchRemoteCommit fetches a specific commit and its related objects from a remote
diff --git a/modules/git/foreachref/format_test.go b/modules/git/foreachref/format_test.go
index 5d1082e795..f6e90c23c3 100644
--- a/modules/git/foreachref/format_test.go
+++ b/modules/git/foreachref/format_test.go
@@ -6,7 +6,7 @@ package foreachref_test
import (
"testing"
- "gitea.dev/modules/git/foreachref"
+ "gotea.dev/modules/git/foreachref"
"github.com/stretchr/testify/require"
)
diff --git a/modules/git/foreachref/parser_test.go b/modules/git/foreachref/parser_test.go
index 4ace4286d6..18b2bbed9c 100644
--- a/modules/git/foreachref/parser_test.go
+++ b/modules/git/foreachref/parser_test.go
@@ -10,8 +10,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/foreachref"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/git/foreachref"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/require"
)
diff --git a/modules/git/fsck.go b/modules/git/fsck.go
index 7bdccf35e0..ea666e24ce 100644
--- a/modules/git/fsck.go
+++ b/modules/git/fsck.go
@@ -7,7 +7,7 @@ import (
"context"
"time"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// Fsck verifies the connectivity and validity of the objects in the database
diff --git a/modules/git/git.go b/modules/git/git.go
index a3c2a117d2..58509800f4 100644
--- a/modules/git/git.go
+++ b/modules/git/git.go
@@ -13,13 +13,13 @@ import (
"runtime"
"strings"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/tempdir"
- "gitea.dev/modules/testlogger"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/tempdir"
+ "gotea.dev/modules/testlogger"
"github.com/hashicorp/go-version"
)
diff --git a/modules/git/gitcmd/command.go b/modules/git/gitcmd/command.go
index 5167a5a748..1a3e27d71e 100644
--- a/modules/git/gitcmd/command.go
+++ b/modules/git/gitcmd/command.go
@@ -15,12 +15,12 @@ import (
"strings"
"time"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/git/internal" //nolint:depguard // only this file can use the internal type CmdArg, other files and packages should use AddXxx functions
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/internal" //nolint:depguard // only this file can use the internal type CmdArg, other files and packages should use AddXxx functions
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/util"
)
// TrustedCmdArgs returns the trusted arguments for git command.
diff --git a/modules/git/gitcmd/command_test.go b/modules/git/gitcmd/command_test.go
index 7b76827418..14eee1b3e6 100644
--- a/modules/git/gitcmd/command_test.go
+++ b/modules/git/gitcmd/command_test.go
@@ -11,9 +11,9 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/tempdir"
- "gitea.dev/modules/testlogger"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/tempdir"
+ "gotea.dev/modules/testlogger"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/gitcmd/env.go b/modules/git/gitcmd/env.go
index dc71aadb28..e2aefa32e2 100644
--- a/modules/git/gitcmd/env.go
+++ b/modules/git/gitcmd/env.go
@@ -8,8 +8,8 @@ import (
"os/exec"
"sync/atomic"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
var GitExecutable = "git" // the command name of git, will be updated to an absolute path during initialization
diff --git a/modules/git/gitcmd/error.go b/modules/git/gitcmd/error.go
index 8537107109..beb0ad93d4 100644
--- a/modules/git/gitcmd/error.go
+++ b/modules/git/gitcmd/error.go
@@ -10,9 +10,9 @@ import (
"os/exec"
"strings"
- "gitea.dev/modules/regexplru"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/regexplru"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type RunStdError interface {
diff --git a/modules/git/gitrepo.go b/modules/git/gitrepo.go
index 02e0dee480..a93766249e 100644
--- a/modules/git/gitrepo.go
+++ b/modules/git/gitrepo.go
@@ -7,9 +7,9 @@ import (
"context"
"io"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/util"
)
// contextKey is a value for use with context.WithValue.
diff --git a/modules/git/gitrepo/dbrepo.go b/modules/git/gitrepo/dbrepo.go
index 85486fb1bb..10967bbc6e 100644
--- a/modules/git/gitrepo/dbrepo.go
+++ b/modules/git/gitrepo/dbrepo.go
@@ -6,7 +6,7 @@ package gitrepo
import (
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
func RepoCodeGitRepoRelativePath(ownerName, repoName string) string {
diff --git a/modules/git/gitrepo/gitrepo.go b/modules/git/gitrepo/gitrepo.go
index bdd55459c5..f4f44d0dbb 100644
--- a/modules/git/gitrepo/gitrepo.go
+++ b/modules/git/gitrepo/gitrepo.go
@@ -10,7 +10,7 @@ import (
"strings"
"sync/atomic"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type RepositoryFacade interface {
diff --git a/modules/git/gpg.go b/modules/git/gpg.go
index 26b55d22e1..ef8e9d0c32 100644
--- a/modules/git/gpg.go
+++ b/modules/git/gpg.go
@@ -11,9 +11,9 @@ import (
"strings"
"sync/atomic"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/process"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/util"
)
type CommitSignSettings struct {
diff --git a/modules/git/gpg_test.go b/modules/git/gpg_test.go
index eca9df8a6f..19375ff27a 100644
--- a/modules/git/gpg_test.go
+++ b/modules/git/gpg_test.go
@@ -8,8 +8,8 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/grep.go b/modules/git/grep.go
index b8aeddb1ce..b949e29ad2 100644
--- a/modules/git/grep.go
+++ b/modules/git/grep.go
@@ -13,8 +13,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
type GrepResult struct {
diff --git a/modules/git/grep_test.go b/modules/git/grep_test.go
index 3b6e64038b..f620b2e084 100644
--- a/modules/git/grep_test.go
+++ b/modules/git/grep_test.go
@@ -7,9 +7,9 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/hook.go b/modules/git/hook.go
index 6682b9f9b3..fa1fc1301e 100644
--- a/modules/git/hook.go
+++ b/modules/git/hook.go
@@ -11,8 +11,8 @@ import (
"slices"
"strings"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/util"
)
// hookNames is a list of Git server hooks' name that are supported.
diff --git a/modules/git/hooks.go b/modules/git/hooks.go
index 365706de06..0fd9411697 100644
--- a/modules/git/hooks.go
+++ b/modules/git/hooks.go
@@ -10,9 +10,9 @@ import (
"path/filepath"
"runtime"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
func getHookTemplates() (hookNames, hookTpls, giteaHookTpls []string) {
diff --git a/modules/git/key.go b/modules/git/key.go
index b8cf33cd4d..894b6e0ee1 100644
--- a/modules/git/key.go
+++ b/modules/git/key.go
@@ -6,7 +6,7 @@ package git
import (
"context"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// Based on https://git-scm.com/docs/git-config#Documentation/git-config.txt-gpgformat
diff --git a/modules/git/languagestats/language_stats.go b/modules/git/languagestats/language_stats.go
index b83d4299cd..088dcfe83c 100644
--- a/modules/git/languagestats/language_stats.go
+++ b/modules/git/languagestats/language_stats.go
@@ -8,8 +8,8 @@ import (
"strings"
"unicode"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
)
const (
diff --git a/modules/git/languagestats/language_stats_get.go b/modules/git/languagestats/language_stats_get.go
index 86f06e2249..eebc1c4e09 100644
--- a/modules/git/languagestats/language_stats_get.go
+++ b/modules/git/languagestats/language_stats_get.go
@@ -8,11 +8,11 @@ import (
"context"
"io"
- "gitea.dev/modules/analyze"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/analyze"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
"github.com/go-enry/go-enry/v2"
)
diff --git a/modules/git/languagestats/language_stats_test.go b/modules/git/languagestats/language_stats_test.go
index 91e51e05d9..0e78da5dd2 100644
--- a/modules/git/languagestats/language_stats_test.go
+++ b/modules/git/languagestats/language_stats_test.go
@@ -6,8 +6,8 @@ package languagestats
import (
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/languagestats/main_test.go b/modules/git/languagestats/main_test.go
index b70be1a5e7..7305988c17 100644
--- a/modules/git/languagestats/main_test.go
+++ b/modules/git/languagestats/main_test.go
@@ -6,7 +6,7 @@ package languagestats
import (
"testing"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
func TestMain(m *testing.M) {
diff --git a/modules/git/last_commit_cache.go b/modules/git/last_commit_cache.go
index 2b78b72899..3ffae3a03d 100644
--- a/modules/git/last_commit_cache.go
+++ b/modules/git/last_commit_cache.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/log"
)
func getCacheKey(repo RepositoryFacade, commitID, entryPath string) string {
diff --git a/modules/git/localfs.go b/modules/git/localfs.go
index 5bd867239d..e16a1d8c4f 100644
--- a/modules/git/localfs.go
+++ b/modules/git/localfs.go
@@ -10,8 +10,8 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/util"
)
// IsRepositoryExist returns true if the repository directory exists in the disk
diff --git a/modules/git/log_name_status_nogogit.go b/modules/git/log_name_status_nogogit.go
index acb0860b4a..a393917ac6 100644
--- a/modules/git/log_name_status_nogogit.go
+++ b/modules/git/log_name_status_nogogit.go
@@ -15,9 +15,9 @@ import (
"sort"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// logNameStatusRepo opens git log --raw in the provided repo and returns a parser
diff --git a/modules/git/main_test.go b/modules/git/main_test.go
index 78a95c637f..4cce182a70 100644
--- a/modules/git/main_test.go
+++ b/modules/git/main_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
)
const testReposDir = "tests/repos/"
diff --git a/modules/git/merge.go b/modules/git/merge.go
index 32cf5f44ba..a4fea2cbae 100644
--- a/modules/git/merge.go
+++ b/modules/git/merge.go
@@ -8,8 +8,8 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
// MergeBase checks and returns merge base of two commits.
diff --git a/modules/git/merge_tree.go b/modules/git/merge_tree.go
index f956a54e6f..b300525c5f 100644
--- a/modules/git/merge_tree.go
+++ b/modules/git/merge_tree.go
@@ -8,8 +8,8 @@ import (
"context"
"fmt"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
const MaxConflictedDetectFiles = 10
diff --git a/modules/git/merge_tree_test.go b/modules/git/merge_tree_test.go
index 48a8266a50..70efeda73d 100644
--- a/modules/git/merge_tree_test.go
+++ b/modules/git/merge_tree_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/notes.go b/modules/git/notes.go
index f92a466808..015dd15d05 100644
--- a/modules/git/notes.go
+++ b/modules/git/notes.go
@@ -8,7 +8,7 @@ import (
"path"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// NotesRef is the git ref where Gitea will look for git-notes data.
diff --git a/modules/git/notes_test.go b/modules/git/notes_test.go
index 18a1027242..772ecb1999 100644
--- a/modules/git/notes_test.go
+++ b/modules/git/notes_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/object_id.go b/modules/git/object_id.go
index 78397872fa..4e43b5ef81 100644
--- a/modules/git/object_id.go
+++ b/modules/git/object_id.go
@@ -8,7 +8,7 @@ import (
"encoding/hex"
"fmt"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type ObjectID interface {
diff --git a/modules/git/parse.go b/modules/git/parse.go
index 844eb5f196..38fdabc53d 100644
--- a/modules/git/parse.go
+++ b/modules/git/parse.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
)
var sepSpace = []byte{' '}
diff --git a/modules/git/pipeline/catfile.go b/modules/git/pipeline/catfile.go
index 6f3f511a89..ad95e72c27 100644
--- a/modules/git/pipeline/catfile.go
+++ b/modules/git/pipeline/catfile.go
@@ -10,8 +10,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
)
// CatFileBatchCheck runs cat-file with --batch-check
diff --git a/modules/git/pipeline/lfs_common.go b/modules/git/pipeline/lfs_common.go
index 99949affde..d4618b48ac 100644
--- a/modules/git/pipeline/lfs_common.go
+++ b/modules/git/pipeline/lfs_common.go
@@ -6,7 +6,7 @@ package pipeline
import (
"time"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
// LFSResult represents commits found using a provided pointer file hash
diff --git a/modules/git/pipeline/lfs_find.go b/modules/git/pipeline/lfs_find.go
index a556c54b8f..95d2752c96 100644
--- a/modules/git/pipeline/lfs_find.go
+++ b/modules/git/pipeline/lfs_find.go
@@ -10,8 +10,8 @@ import (
"io"
"sort"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
)
// FindLFSFile finds commits that contain a provided pointer file hash
diff --git a/modules/git/pipeline/lfs_test.go b/modules/git/pipeline/lfs_test.go
index 8e0a0d43d5..84bccc105e 100644
--- a/modules/git/pipeline/lfs_test.go
+++ b/modules/git/pipeline/lfs_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/pipeline/main_test.go b/modules/git/pipeline/main_test.go
index 7481bec250..ae9b442250 100644
--- a/modules/git/pipeline/main_test.go
+++ b/modules/git/pipeline/main_test.go
@@ -6,7 +6,7 @@ package pipeline
import (
"testing"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
func TestMain(m *testing.M) {
diff --git a/modules/git/pipeline/namerev.go b/modules/git/pipeline/namerev.go
index c39ccd0ef5..49cc717c2a 100644
--- a/modules/git/pipeline/namerev.go
+++ b/modules/git/pipeline/namerev.go
@@ -9,8 +9,8 @@ import (
"errors"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
"golang.org/x/sync/errgroup"
)
diff --git a/modules/git/pipeline/revlist.go b/modules/git/pipeline/revlist.go
index b5266fd628..d9fa46ff5d 100644
--- a/modules/git/pipeline/revlist.go
+++ b/modules/git/pipeline/revlist.go
@@ -9,8 +9,8 @@ import (
"io"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
)
// RevListObjects run rev-list --objects from headSHA to baseSHA
diff --git a/modules/git/push.go b/modules/git/push.go
index 103f5cbe83..15b2848f07 100644
--- a/modules/git/push.go
+++ b/modules/git/push.go
@@ -6,7 +6,7 @@ package git
import (
"context"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
)
// PushToExternal pushes a managed repository to an external remote.
diff --git a/modules/git/receive_fsck_test.go b/modules/git/receive_fsck_test.go
index 95af1a23e2..aa93ab09c8 100644
--- a/modules/git/receive_fsck_test.go
+++ b/modules/git/receive_fsck_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/require"
)
diff --git a/modules/git/ref.go b/modules/git/ref.go
index cf7640003a..cb4075d86b 100644
--- a/modules/git/ref.go
+++ b/modules/git/ref.go
@@ -9,9 +9,9 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/git/remote.go b/modules/git/remote.go
index c9fd126644..29be2962a6 100644
--- a/modules/git/remote.go
+++ b/modules/git/remote.go
@@ -9,8 +9,8 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
// GetRemoteAddress returns remote url of git repository in the repoPath with special remote name
diff --git a/modules/git/remote_managed.go b/modules/git/remote_managed.go
index 3a00a0d1a8..df5168a896 100644
--- a/modules/git/remote_managed.go
+++ b/modules/git/remote_managed.go
@@ -7,9 +7,9 @@ import (
"context"
"errors"
- "gitea.dev/modules/git/gitcmd"
- giturl "gitea.dev/modules/git/url"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ giturl "gotea.dev/modules/git/url"
+ "gotea.dev/modules/util"
)
type RemoteOption string
diff --git a/modules/git/repo.go b/modules/git/repo.go
index bb21e8c238..6e8c120d08 100644
--- a/modules/git/repo.go
+++ b/modules/git/repo.go
@@ -15,11 +15,11 @@ import (
"sync"
"time"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type RepositoryFacade = gitrepo.RepositoryFacade
diff --git a/modules/git/repo_base_gogit.go b/modules/git/repo_base_gogit.go
index 83415005f1..73e0566032 100644
--- a/modules/git/repo_base_gogit.go
+++ b/modules/git/repo_base_gogit.go
@@ -14,9 +14,9 @@ import (
"slices"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
"github.com/go-git/go-billy/v5"
"github.com/go-git/go-billy/v5/osfs"
diff --git a/modules/git/repo_branch.go b/modules/git/repo_branch.go
index 554099498d..08f767da4e 100644
--- a/modules/git/repo_branch.go
+++ b/modules/git/repo_branch.go
@@ -7,7 +7,7 @@ package git
import (
"context"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// BranchPrefix base dir of the branch information file store on git
diff --git a/modules/git/repo_branch_nogogit.go b/modules/git/repo_branch_nogogit.go
index 21fe52eba7..c4ea345117 100644
--- a/modules/git/repo_branch_nogogit.go
+++ b/modules/git/repo_branch_nogogit.go
@@ -12,8 +12,8 @@ import (
"io"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// IsObjectExist returns true if the given object exists in the repository.
diff --git a/modules/git/repo_branch_test.go b/modules/git/repo_branch_test.go
index 83ad43c2af..17f06c8ba3 100644
--- a/modules/git/repo_branch_test.go
+++ b/modules/git/repo_branch_test.go
@@ -10,8 +10,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/repo_commit.go b/modules/git/repo_commit.go
index 1a7547a13d..cc283e342f 100644
--- a/modules/git/repo_commit.go
+++ b/modules/git/repo_commit.go
@@ -11,9 +11,9 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
)
// GetBranchCommitID returns last commit ID string of given branch.
diff --git a/modules/git/repo_commit_gogit.go b/modules/git/repo_commit_gogit.go
index 0014417f57..63c067d6f0 100644
--- a/modules/git/repo_commit_gogit.go
+++ b/modules/git/repo_commit_gogit.go
@@ -10,7 +10,7 @@ import (
"context"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
diff --git a/modules/git/repo_commit_nogogit.go b/modules/git/repo_commit_nogogit.go
index 9100c61706..62593da9b0 100644
--- a/modules/git/repo_commit_nogogit.go
+++ b/modules/git/repo_commit_nogogit.go
@@ -10,7 +10,7 @@ import (
"errors"
"io"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// GetRefCommitID returns the last commit ID string of given reference (branch or tag).
diff --git a/modules/git/repo_commit_test.go b/modules/git/repo_commit_test.go
index b89ad03ad2..8b25087b2d 100644
--- a/modules/git/repo_commit_test.go
+++ b/modules/git/repo_commit_test.go
@@ -8,9 +8,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/repo_commitgraph.go b/modules/git/repo_commitgraph.go
index fc7b8e53b6..89d1a3ae2f 100644
--- a/modules/git/repo_commitgraph.go
+++ b/modules/git/repo_commitgraph.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// WriteCommitGraph write commit graph to speed up repo access
diff --git a/modules/git/repo_commitgraph_gogit.go b/modules/git/repo_commitgraph_gogit.go
index ecfda61be2..076ff07975 100644
--- a/modules/git/repo_commitgraph_gogit.go
+++ b/modules/git/repo_commitgraph_gogit.go
@@ -10,8 +10,8 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
commitgraph "github.com/go-git/go-git/v5/plumbing/format/commitgraph/v2"
cgobject "github.com/go-git/go-git/v5/plumbing/object/commitgraph"
diff --git a/modules/git/repo_compare.go b/modules/git/repo_compare.go
index 7475df16f0..14a5a59edb 100644
--- a/modules/git/repo_compare.go
+++ b/modules/git/repo_compare.go
@@ -14,8 +14,8 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
)
type lineCountWriter struct {
diff --git a/modules/git/repo_compare_test.go b/modules/git/repo_compare_test.go
index ad1d496871..0d6956e46a 100644
--- a/modules/git/repo_compare_test.go
+++ b/modules/git/repo_compare_test.go
@@ -9,7 +9,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/repo_index.go b/modules/git/repo_index.go
index 8675ec2a35..5b63d0f29f 100644
--- a/modules/git/repo_index.go
+++ b/modules/git/repo_index.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
)
// ReadTreeToIndex reads a treeish to the index
diff --git a/modules/git/repo_object.go b/modules/git/repo_object.go
index 7f47d8b446..bd1d233745 100644
--- a/modules/git/repo_object.go
+++ b/modules/git/repo_object.go
@@ -8,7 +8,7 @@ import (
"context"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// MaxGitObjectSize is used to avoid OOM when reading a large git object.
diff --git a/modules/git/repo_ref.go b/modules/git/repo_ref.go
index 35f018692e..6dfbc90526 100644
--- a/modules/git/repo_ref.go
+++ b/modules/git/repo_ref.go
@@ -7,9 +7,9 @@ import (
"context"
"strings"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// GetRefs returns all references of the repository.
diff --git a/modules/git/repo_ref_nogogit.go b/modules/git/repo_ref_nogogit.go
index 54f55a265e..84df1e3912 100644
--- a/modules/git/repo_ref_nogogit.go
+++ b/modules/git/repo_ref_nogogit.go
@@ -11,7 +11,7 @@ import (
"io"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// GetRefsFiltered returns all references of the repository that matches patterm exactly or starting with.
diff --git a/modules/git/repo_stats.go b/modules/git/repo_stats.go
index c512529cfe..47a8733132 100644
--- a/modules/git/repo_stats.go
+++ b/modules/git/repo_stats.go
@@ -12,8 +12,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git/gitcmd"
)
// CodeActivityStats represents git statistics data
diff --git a/modules/git/repo_tag.go b/modules/git/repo_tag.go
index ee2da5f43e..63ae09f154 100644
--- a/modules/git/repo_tag.go
+++ b/modules/git/repo_tag.go
@@ -11,9 +11,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/git/foreachref"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git/foreachref"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
)
// TagPrefix tags prefix path on the repository
diff --git a/modules/git/repo_tag_gogit.go b/modules/git/repo_tag_gogit.go
index 4e256189c7..cbea0f7966 100644
--- a/modules/git/repo_tag_gogit.go
+++ b/modules/git/repo_tag_gogit.go
@@ -9,7 +9,7 @@ package git
import (
"context"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/go-git/go-git/v5/plumbing"
)
diff --git a/modules/git/repo_tag_nogogit.go b/modules/git/repo_tag_nogogit.go
index c6026fcd3f..77bc24f927 100644
--- a/modules/git/repo_tag_nogogit.go
+++ b/modules/git/repo_tag_nogogit.go
@@ -11,7 +11,7 @@ import (
"errors"
"io"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// IsTagExist returns true if given tag exists in the repository.
diff --git a/modules/git/repo_tree.go b/modules/git/repo_tree.go
index f0fce10a94..45d45f40eb 100644
--- a/modules/git/repo_tree.go
+++ b/modules/git/repo_tree.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// CommitTreeOpts represents the possible options to CommitTree
diff --git a/modules/git/repo_tree_gogit.go b/modules/git/repo_tree_gogit.go
index b455ffdbb6..5c5326311a 100644
--- a/modules/git/repo_tree_gogit.go
+++ b/modules/git/repo_tree_gogit.go
@@ -10,7 +10,7 @@ import (
"context"
"errors"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/go-git/go-git/v5/plumbing"
)
diff --git a/modules/git/signature.go b/modules/git/signature.go
index 231b2e25cd..86067c620a 100644
--- a/modules/git/signature.go
+++ b/modules/git/signature.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Helper to get a signature from the commit line, which looks like:
diff --git a/modules/git/signature_nogogit.go b/modules/git/signature_nogogit.go
index 7a61d8d7eb..e1d9b98330 100644
--- a/modules/git/signature_nogogit.go
+++ b/modules/git/signature_nogogit.go
@@ -11,7 +11,7 @@ import (
"io"
"time"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Signature represents the Author, Committer or Tagger information.
diff --git a/modules/git/size.go b/modules/git/size.go
index c7e0f80888..8906b17c73 100644
--- a/modules/git/size.go
+++ b/modules/git/size.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/git/gitrepo"
)
const notRegularFileMode = os.ModeSymlink | os.ModeNamedPipe | os.ModeSocket | os.ModeDevice | os.ModeCharDevice | os.ModeIrregular
diff --git a/modules/git/submodule.go b/modules/git/submodule.go
index 9cf81e5ee5..8e830c8664 100644
--- a/modules/git/submodule.go
+++ b/modules/git/submodule.go
@@ -8,8 +8,8 @@ import (
"context"
"fmt"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
type TemplateSubmoduleCommit struct {
diff --git a/modules/git/submodule_test.go b/modules/git/submodule_test.go
index 94de9c5a5e..2e3b6bbb73 100644
--- a/modules/git/submodule_test.go
+++ b/modules/git/submodule_test.go
@@ -8,7 +8,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/tag.go b/modules/git/tag.go
index 496363f2b1..9b4ae50d9c 100644
--- a/modules/git/tag.go
+++ b/modules/git/tag.go
@@ -9,7 +9,7 @@ import (
"sort"
"time"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Tag represents a Git tag.
diff --git a/modules/git/tree.go b/modules/git/tree.go
index a397452d9c..642b72d710 100644
--- a/modules/git/tree.go
+++ b/modules/git/tree.go
@@ -9,7 +9,7 @@ import (
"context"
"strings"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
type TreeCommon struct {
diff --git a/modules/git/tree_entry.go b/modules/git/tree_entry.go
index 5d1c0e3d77..89179e6f53 100644
--- a/modules/git/tree_entry.go
+++ b/modules/git/tree_entry.go
@@ -10,7 +10,7 @@ import (
"slices"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// TreeEntry the leaf in the git tree
diff --git a/modules/git/tree_entry_common_test.go b/modules/git/tree_entry_common_test.go
index 6f4abb9bed..2a11ffff31 100644
--- a/modules/git/tree_entry_common_test.go
+++ b/modules/git/tree_entry_common_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/git/tree_entry_nogogit.go b/modules/git/tree_entry_nogogit.go
index cf7a10ab2e..9601ca0380 100644
--- a/modules/git/tree_entry_nogogit.go
+++ b/modules/git/tree_entry_nogogit.go
@@ -8,7 +8,7 @@ package git
import (
"context"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
func (te *TreeEntry) GetSize(ctx context.Context, gitRepo *Repository) int64 {
diff --git a/modules/git/tree_nogogit.go b/modules/git/tree_nogogit.go
index c7b943982f..c215f9b0f2 100644
--- a/modules/git/tree_nogogit.go
+++ b/modules/git/tree_nogogit.go
@@ -9,7 +9,7 @@ import (
"context"
"io"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
)
// Tree represents a flat directory listing.
diff --git a/modules/git/url/url.go b/modules/git/url/url.go
index fdb6a1cf84..a1b7e51fd9 100644
--- a/modules/git/url/url.go
+++ b/modules/git/url/url.go
@@ -10,9 +10,9 @@ import (
stdurl "net/url"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// ErrWrongURLFormat represents an error with wrong url format
diff --git a/modules/git/url/url_test.go b/modules/git/url/url_test.go
index 4f3280951e..f271a28142 100644
--- a/modules/git/url/url_test.go
+++ b/modules/git/url/url_test.go
@@ -8,10 +8,10 @@ import (
"net/url"
"testing"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/git/utils.go b/modules/git/utils.go
index 34b3d1f178..792a4f5630 100644
--- a/modules/git/utils.go
+++ b/modules/git/utils.go
@@ -9,7 +9,7 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// ObjectCache provides thread-safe cache operations.
diff --git a/modules/glob/glob.go b/modules/glob/glob.go
index 1bc5a6dec6..84eba59a06 100644
--- a/modules/glob/glob.go
+++ b/modules/glob/glob.go
@@ -10,7 +10,7 @@ import (
"slices"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Reference: https://github.com/gobwas/glob/blob/master/glob.go
diff --git a/modules/globallock/globallock.go b/modules/globallock/globallock.go
index eec9ac04c2..4a3bc0f12e 100644
--- a/modules/globallock/globallock.go
+++ b/modules/globallock/globallock.go
@@ -8,7 +8,7 @@ import (
"sync"
"sync/atomic"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
var (
diff --git a/modules/globallock/globallock_test.go b/modules/globallock/globallock_test.go
index 39f58848a4..502ac23b7e 100644
--- a/modules/globallock/globallock_test.go
+++ b/modules/globallock/globallock_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/globallock/locker_test.go b/modules/globallock/locker_test.go
index 6f186fae9d..d2e205c03b 100644
--- a/modules/globallock/locker_test.go
+++ b/modules/globallock/locker_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/go-redsync/redsync/v4"
"github.com/stretchr/testify/assert"
diff --git a/modules/globallock/redis_locker.go b/modules/globallock/redis_locker.go
index 1883b3bb52..53ce1984d5 100644
--- a/modules/globallock/redis_locker.go
+++ b/modules/globallock/redis_locker.go
@@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/nosql"
"github.com/go-redsync/redsync/v4"
"github.com/go-redsync/redsync/v4/redis/goredis/v9"
diff --git a/modules/graceful/manager.go b/modules/graceful/manager.go
index e2595a4592..e7486eaad5 100644
--- a/modules/graceful/manager.go
+++ b/modules/graceful/manager.go
@@ -9,9 +9,9 @@ import (
"sync"
"time"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
type state uint8
diff --git a/modules/graceful/manager_common.go b/modules/graceful/manager_common.go
index 04afeee61b..1e2bf31c99 100644
--- a/modules/graceful/manager_common.go
+++ b/modules/graceful/manager_common.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/gtprof"
+ "gotea.dev/modules/gtprof"
)
// FIXME: it seems that there is a bug when using systemd Type=notify: the "Install Page" (INSTALL_LOCK=false) doesn't notify properly.
diff --git a/modules/graceful/manager_unix.go b/modules/graceful/manager_unix.go
index fb540a79c9..f49acc92a4 100644
--- a/modules/graceful/manager_unix.go
+++ b/modules/graceful/manager_unix.go
@@ -15,10 +15,10 @@ import (
"syscall"
"time"
- "gitea.dev/modules/graceful/releasereopen"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful/releasereopen"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
)
func pidMsg() systemdNotifyMsg {
diff --git a/modules/graceful/manager_windows.go b/modules/graceful/manager_windows.go
index be87202bbb..73c0a41122 100644
--- a/modules/graceful/manager_windows.go
+++ b/modules/graceful/manager_windows.go
@@ -13,8 +13,8 @@ import (
"strconv"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"golang.org/x/sys/windows/svc"
"golang.org/x/sys/windows/svc/debug"
diff --git a/modules/graceful/net_unix.go b/modules/graceful/net_unix.go
index 6650090f18..4bd59b3441 100644
--- a/modules/graceful/net_unix.go
+++ b/modules/graceful/net_unix.go
@@ -16,8 +16,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
const (
diff --git a/modules/graceful/server.go b/modules/graceful/server.go
index a12b5aefcb..7b350f6952 100644
--- a/modules/graceful/server.go
+++ b/modules/graceful/server.go
@@ -15,9 +15,9 @@ import (
"syscall"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/proxyprotocol"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/proxyprotocol"
+ "gotea.dev/modules/setting"
)
// GetListener returns a net listener
diff --git a/modules/graceful/server_hooks.go b/modules/graceful/server_hooks.go
index afa74f36f5..36770dd0db 100644
--- a/modules/graceful/server_hooks.go
+++ b/modules/graceful/server_hooks.go
@@ -6,7 +6,7 @@ package graceful
import (
"os"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// awaitShutdown waits for the shutdown signal from the Manager
diff --git a/modules/gtprof/trace.go b/modules/gtprof/trace.go
index 6b5e519162..66dc29e664 100644
--- a/modules/gtprof/trace.go
+++ b/modules/gtprof/trace.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type contextKey struct {
diff --git a/modules/gtprof/trace_builtin.go b/modules/gtprof/trace_builtin.go
index 23fd82be9c..c0886ef591 100644
--- a/modules/gtprof/trace_builtin.go
+++ b/modules/gtprof/trace_builtin.go
@@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/tailmsg"
+ "gotea.dev/modules/tailmsg"
)
type traceBuiltinStarter struct{}
diff --git a/modules/hcaptcha/hcaptcha.go b/modules/hcaptcha/hcaptcha.go
index 0af1f959ea..67aeedd451 100644
--- a/modules/hcaptcha/hcaptcha.go
+++ b/modules/hcaptcha/hcaptcha.go
@@ -10,8 +10,8 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
)
const verifyURL = "https://hcaptcha.com/siteverify"
diff --git a/modules/highlight/highlight.go b/modules/highlight/highlight.go
index a93fe1859d..3129a7dc09 100644
--- a/modules/highlight/highlight.go
+++ b/modules/highlight/highlight.go
@@ -11,10 +11,10 @@ import (
"strings"
"sync"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/alecthomas/chroma/v2"
chromahtml "github.com/alecthomas/chroma/v2/formatters/html"
diff --git a/modules/highlight/lexerdetect.go b/modules/highlight/lexerdetect.go
index 755c4d1076..ef93e79855 100644
--- a/modules/highlight/lexerdetect.go
+++ b/modules/highlight/lexerdetect.go
@@ -8,8 +8,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/analyze"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/analyze"
+ "gotea.dev/modules/log"
"github.com/alecthomas/chroma/v2"
"github.com/alecthomas/chroma/v2/lexers"
diff --git a/modules/htmlutil/html_srcset_test.go b/modules/htmlutil/html_srcset_test.go
index 41122a6a13..6c65414863 100644
--- a/modules/htmlutil/html_srcset_test.go
+++ b/modules/htmlutil/html_srcset_test.go
@@ -6,7 +6,7 @@ package htmlutil
import (
"testing"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/httpcache/httpcache.go b/modules/httpcache/httpcache.go
index 27807697c6..34182648f5 100644
--- a/modules/httpcache/httpcache.go
+++ b/modules/httpcache/httpcache.go
@@ -10,8 +10,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type CacheControlOptions struct {
diff --git a/modules/httpcache/httpcache_test.go b/modules/httpcache/httpcache_test.go
index 2362c20553..814ba99b99 100644
--- a/modules/httpcache/httpcache_test.go
+++ b/modules/httpcache/httpcache_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/httplib/content_disposition.go b/modules/httplib/content_disposition.go
index 3262ad6c65..796bee89a5 100644
--- a/modules/httplib/content_disposition.go
+++ b/modules/httplib/content_disposition.go
@@ -7,7 +7,7 @@ import (
"mime"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type ContentDispositionType string
diff --git a/modules/httplib/serve.go b/modules/httplib/serve.go
index 1c3752c215..045746bbf0 100644
--- a/modules/httplib/serve.go
+++ b/modules/httplib/serve.go
@@ -16,12 +16,12 @@ import (
"strings"
"time"
- charsetModule "gitea.dev/modules/charset"
- "gitea.dev/modules/container"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ charsetModule "gotea.dev/modules/charset"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
"github.com/klauspost/compress/gzhttp"
)
diff --git a/modules/httplib/serve_test.go b/modules/httplib/serve_test.go
index 7f9fa2e262..63994d3b2f 100644
--- a/modules/httplib/serve_test.go
+++ b/modules/httplib/serve_test.go
@@ -12,7 +12,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/typesniffer"
+ "gotea.dev/modules/typesniffer"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/httplib/server_request.go b/modules/httplib/server_request.go
index 6e79df4c73..3f59ffac23 100644
--- a/modules/httplib/server_request.go
+++ b/modules/httplib/server_request.go
@@ -12,9 +12,9 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type contextKeyType string
diff --git a/modules/httplib/server_request_test.go b/modules/httplib/server_request_test.go
index 0a481ddc71..16c44c9514 100644
--- a/modules/httplib/server_request_test.go
+++ b/modules/httplib/server_request_test.go
@@ -9,10 +9,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/indexer/code/bleve/bleve.go b/modules/indexer/code/bleve/bleve.go
index d22f735571..c872847718 100644
--- a/modules/indexer/code/bleve/bleve.go
+++ b/modules/indexer/code/bleve/bleve.go
@@ -11,20 +11,20 @@ import (
"strings"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/analyze"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/code/internal"
- indexer_internal "gitea.dev/modules/indexer/internal"
- inner_bleve "gitea.dev/modules/indexer/internal/bleve"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/analyze"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/code/internal"
+ indexer_internal "gotea.dev/modules/indexer/internal"
+ inner_bleve "gotea.dev/modules/indexer/internal/bleve"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
"github.com/blevesearch/bleve/v2"
analyzer_custom "github.com/blevesearch/bleve/v2/analysis/analyzer/custom"
diff --git a/modules/indexer/code/bleve/bleve_test.go b/modules/indexer/code/bleve/bleve_test.go
index 0a59b677e1..746f474fb6 100644
--- a/modules/indexer/code/bleve/bleve_test.go
+++ b/modules/indexer/code/bleve/bleve_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/indexer/code/internal"
- inner_bleve "gitea.dev/modules/indexer/internal/bleve"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/indexer/code/internal"
+ inner_bleve "gotea.dev/modules/indexer/internal/bleve"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/code/elasticsearch/elasticsearch.go b/modules/indexer/code/elasticsearch/elasticsearch.go
index 74d749cd1d..97c271c301 100644
--- a/modules/indexer/code/elasticsearch/elasticsearch.go
+++ b/modules/indexer/code/elasticsearch/elasticsearch.go
@@ -10,20 +10,20 @@ import (
"strconv"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/analyze"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/code/internal"
- es "gitea.dev/modules/indexer/internal/elasticsearch"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/analyze"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/code/internal"
+ es "gotea.dev/modules/indexer/internal/elasticsearch"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
"github.com/go-enry/go-enry/v2"
)
diff --git a/modules/indexer/code/git.go b/modules/indexer/code/git.go
index 4e7d50a4f0..0c302af4a9 100644
--- a/modules/indexer/code/git.go
+++ b/modules/indexer/code/git.go
@@ -8,12 +8,12 @@ import (
"strconv"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/indexer/code/internal"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/indexer/code/internal"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
func getDefaultBranchSha(ctx context.Context, repo *repo_model.Repository) (string, error) {
diff --git a/modules/indexer/code/gitgrep/gitgrep.go b/modules/indexer/code/gitgrep/gitgrep.go
index a3ad6cbdca..fa87940dd7 100644
--- a/modules/indexer/code/gitgrep/gitgrep.go
+++ b/modules/indexer/code/gitgrep/gitgrep.go
@@ -8,10 +8,10 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/indexer"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/indexer"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/setting"
)
func indexSettingToGitGrepPathspecList() (list []string) {
diff --git a/modules/indexer/code/gitgrep/gitgrep_test.go b/modules/indexer/code/gitgrep/gitgrep_test.go
index 5510a7d2be..6a2f554c9a 100644
--- a/modules/indexer/code/gitgrep/gitgrep_test.go
+++ b/modules/indexer/code/gitgrep/gitgrep_test.go
@@ -6,8 +6,8 @@ package gitgrep
import (
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/indexer/code/indexer.go b/modules/indexer/code/indexer.go
index 55a0f70551..78a34dd4bf 100644
--- a/modules/indexer/code/indexer.go
+++ b/modules/indexer/code/indexer.go
@@ -11,19 +11,19 @@ import (
"sync/atomic"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/code/bleve"
- "gitea.dev/modules/indexer/code/elasticsearch"
- "gitea.dev/modules/indexer/code/internal"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/code/bleve"
+ "gotea.dev/modules/indexer/code/elasticsearch"
+ "gotea.dev/modules/indexer/code/internal"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
var (
diff --git a/modules/indexer/code/indexer_test.go b/modules/indexer/code/indexer_test.go
index 3a5cad97d7..307844c08f 100644
--- a/modules/indexer/code/indexer_test.go
+++ b/modules/indexer/code/indexer_test.go
@@ -10,19 +10,19 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- indexer_module "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/code/bleve"
- "gitea.dev/modules/indexer/code/elasticsearch"
- "gitea.dev/modules/indexer/code/internal"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ indexer_module "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/code/bleve"
+ "gotea.dev/modules/indexer/code/elasticsearch"
+ "gotea.dev/modules/indexer/code/internal"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/code/internal/indexer.go b/modules/indexer/code/internal/indexer.go
index 7eb08ac579..8e06404a02 100644
--- a/modules/indexer/code/internal/indexer.go
+++ b/modules/indexer/code/internal/indexer.go
@@ -7,10 +7,10 @@ import (
"context"
"errors"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/internal"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/internal"
)
// Indexer defines an interface to index and search code contents
diff --git a/modules/indexer/code/internal/model.go b/modules/indexer/code/internal/model.go
index 01779d8776..0c971cf132 100644
--- a/modules/indexer/code/internal/model.go
+++ b/modules/indexer/code/internal/model.go
@@ -3,7 +3,7 @@
package internal
-import "gitea.dev/modules/timeutil"
+import "gotea.dev/modules/timeutil"
type FileUpdate struct {
Filename string
diff --git a/modules/indexer/code/internal/util.go b/modules/indexer/code/internal/util.go
index 3608dc4f12..b14adf42bf 100644
--- a/modules/indexer/code/internal/util.go
+++ b/modules/indexer/code/internal/util.go
@@ -6,8 +6,8 @@ package internal
import (
"strings"
- "gitea.dev/modules/indexer/internal"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/indexer/internal"
+ "gotea.dev/modules/log"
)
const filenameMatchNumberOfLines = 7 // Copied from GitHub search
diff --git a/modules/indexer/code/search.go b/modules/indexer/code/search.go
index 87b3105414..aec8096efe 100644
--- a/modules/indexer/code/search.go
+++ b/modules/indexer/code/search.go
@@ -9,9 +9,9 @@ import (
"html/template"
"strings"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/indexer/code/internal"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/indexer/code/internal"
+ "gotea.dev/modules/timeutil"
)
// Result a search result to display
diff --git a/modules/indexer/internal/bleve/indexer.go b/modules/indexer/internal/bleve/indexer.go
index 85436c3c55..3f1057854b 100644
--- a/modules/indexer/internal/bleve/indexer.go
+++ b/modules/indexer/internal/bleve/indexer.go
@@ -7,8 +7,8 @@ import (
"context"
"errors"
- "gitea.dev/modules/indexer/internal"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/indexer/internal"
+ "gotea.dev/modules/log"
"github.com/blevesearch/bleve/v2"
"github.com/blevesearch/bleve/v2/mapping"
diff --git a/modules/indexer/internal/bleve/query.go b/modules/indexer/internal/bleve/query.go
index aa0bf3080f..8dbd535f05 100644
--- a/modules/indexer/internal/bleve/query.go
+++ b/modules/indexer/internal/bleve/query.go
@@ -4,7 +4,7 @@
package bleve
import (
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
"github.com/blevesearch/bleve/v2"
"github.com/blevesearch/bleve/v2/search/query"
diff --git a/modules/indexer/internal/bleve/util.go b/modules/indexer/internal/bleve/util.go
index 955be56b2c..59d3c8e7e1 100644
--- a/modules/indexer/internal/bleve/util.go
+++ b/modules/indexer/internal/bleve/util.go
@@ -9,9 +9,9 @@ import (
"path/filepath"
"unicode"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/blevesearch/bleve/v2"
unicode_tokenizer "github.com/blevesearch/bleve/v2/analysis/tokenizer/unicode"
diff --git a/modules/indexer/internal/bleve/util_test.go b/modules/indexer/internal/bleve/util_test.go
index 5349f42b41..b0e2093c0e 100644
--- a/modules/indexer/internal/bleve/util_test.go
+++ b/modules/indexer/internal/bleve/util_test.go
@@ -9,8 +9,8 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/internal/db/indexer.go b/modules/indexer/internal/db/indexer.go
index 8d49b44366..d07e2a23da 100644
--- a/modules/indexer/internal/db/indexer.go
+++ b/modules/indexer/internal/db/indexer.go
@@ -6,7 +6,7 @@ package db
import (
"context"
- "gitea.dev/modules/indexer/internal"
+ "gotea.dev/modules/indexer/internal"
)
var _ internal.Indexer = &Indexer{}
diff --git a/modules/indexer/internal/elasticsearch/indexer.go b/modules/indexer/internal/elasticsearch/indexer.go
index 1eb7d38d8a..3177b0f456 100644
--- a/modules/indexer/internal/elasticsearch/indexer.go
+++ b/modules/indexer/internal/elasticsearch/indexer.go
@@ -16,8 +16,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/indexer/internal"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/indexer/internal"
+ "gotea.dev/modules/json"
)
var _ internal.Indexer = &Indexer{}
diff --git a/modules/indexer/internal/elasticsearch/indexer_test.go b/modules/indexer/internal/elasticsearch/indexer_test.go
index cccc42ffcc..3e27de50c9 100644
--- a/modules/indexer/internal/elasticsearch/indexer_test.go
+++ b/modules/indexer/internal/elasticsearch/indexer_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/require"
)
diff --git a/modules/indexer/internal/elasticsearch/types.go b/modules/indexer/internal/elasticsearch/types.go
index b843ad1f2d..96c00764f7 100644
--- a/modules/indexer/internal/elasticsearch/types.go
+++ b/modules/indexer/internal/elasticsearch/types.go
@@ -3,7 +3,7 @@
package elasticsearch
-import "gitea.dev/modules/json"
+import "gotea.dev/modules/json"
const (
bulkActionIndex = "index"
diff --git a/modules/indexer/internal/elasticsearch/util.go b/modules/indexer/internal/elasticsearch/util.go
index 8713284af6..e45b98cb7a 100644
--- a/modules/indexer/internal/elasticsearch/util.go
+++ b/modules/indexer/internal/elasticsearch/util.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// VersionedIndexName returns the full index name with version suffix.
diff --git a/modules/indexer/internal/meilisearch/util.go b/modules/indexer/internal/meilisearch/util.go
index d54a9a5a47..2eab6b6eee 100644
--- a/modules/indexer/internal/meilisearch/util.go
+++ b/modules/indexer/internal/meilisearch/util.go
@@ -6,7 +6,7 @@ package meilisearch
import (
"fmt"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// VersionedIndexName returns the full index name with version
diff --git a/modules/indexer/internal/paginator.go b/modules/indexer/internal/paginator.go
index 5ca8c4152c..cca04adccb 100644
--- a/modules/indexer/internal/paginator.go
+++ b/modules/indexer/internal/paginator.go
@@ -6,7 +6,7 @@ package internal
import (
"math"
- "gitea.dev/models/db"
+ "gotea.dev/models/db"
)
// ParsePaginator parses a db.Paginator into a skip and limit
diff --git a/modules/indexer/issues/bleve/bleve.go b/modules/indexer/issues/bleve/bleve.go
index 02d1562b7f..8be1fc54f8 100644
--- a/modules/indexer/issues/bleve/bleve.go
+++ b/modules/indexer/issues/bleve/bleve.go
@@ -7,11 +7,11 @@ import (
"context"
"strconv"
- "gitea.dev/modules/indexer"
- indexer_internal "gitea.dev/modules/indexer/internal"
- inner_bleve "gitea.dev/modules/indexer/internal/bleve"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/indexer"
+ indexer_internal "gotea.dev/modules/indexer/internal"
+ inner_bleve "gotea.dev/modules/indexer/internal/bleve"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/util"
"github.com/blevesearch/bleve/v2"
"github.com/blevesearch/bleve/v2/analysis/analyzer/custom"
diff --git a/modules/indexer/issues/bleve/bleve_test.go b/modules/indexer/issues/bleve/bleve_test.go
index 2900d1f972..ac2cd91f80 100644
--- a/modules/indexer/issues/bleve/bleve_test.go
+++ b/modules/indexer/issues/bleve/bleve_test.go
@@ -6,8 +6,8 @@ package bleve
import (
"testing"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/indexer/issues/internal/tests"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/indexer/issues/internal/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/issues/bleve/camelcase_keep_whole.go b/modules/indexer/issues/bleve/camelcase_keep_whole.go
index af7cadb622..75469b3512 100644
--- a/modules/indexer/issues/bleve/camelcase_keep_whole.go
+++ b/modules/indexer/issues/bleve/camelcase_keep_whole.go
@@ -4,7 +4,7 @@
package bleve
import (
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/blevesearch/bleve/v2/analysis"
"github.com/blevesearch/bleve/v2/analysis/token/camelcase"
diff --git a/modules/indexer/issues/db/db.go b/modules/indexer/issues/db/db.go
index 52d6672b6e..01c172b1c1 100644
--- a/modules/indexer/issues/db/db.go
+++ b/modules/indexer/issues/db/db.go
@@ -8,13 +8,13 @@ import (
"strings"
"sync"
- "gitea.dev/models/db"
- issue_model "gitea.dev/models/issues"
- "gitea.dev/modules/indexer"
- indexer_internal "gitea.dev/modules/indexer/internal"
- inner_db "gitea.dev/modules/indexer/internal/db"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issue_model "gotea.dev/models/issues"
+ "gotea.dev/modules/indexer"
+ indexer_internal "gotea.dev/modules/indexer/internal"
+ inner_db "gotea.dev/modules/indexer/internal/db"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/modules/indexer/issues/db/options.go b/modules/indexer/issues/db/options.go
index c3921a98ae..34dc133b9a 100644
--- a/modules/indexer/issues/db/options.go
+++ b/modules/indexer/issues/db/options.go
@@ -8,12 +8,12 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- issue_model "gitea.dev/models/issues"
- "gitea.dev/modules/container"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issue_model "gotea.dev/models/issues"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
)
func ToDBOptions(ctx context.Context, options *internal.SearchOptions) (*issue_model.IssuesOptions, error) {
diff --git a/modules/indexer/issues/dboptions.go b/modules/indexer/issues/dboptions.go
index be692aa072..705d83d176 100644
--- a/modules/indexer/issues/dboptions.go
+++ b/modules/indexer/issues/dboptions.go
@@ -6,11 +6,11 @@ package issues
import (
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
)
func ToSearchOptions(keyword string, opts *issues_model.IssuesOptions) *SearchOptions {
diff --git a/modules/indexer/issues/elasticsearch/elasticsearch.go b/modules/indexer/issues/elasticsearch/elasticsearch.go
index 87670a428d..5d4fc81080 100644
--- a/modules/indexer/issues/elasticsearch/elasticsearch.go
+++ b/modules/indexer/issues/elasticsearch/elasticsearch.go
@@ -8,12 +8,12 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/indexer"
- indexer_internal "gitea.dev/modules/indexer/internal"
- es "gitea.dev/modules/indexer/internal/elasticsearch"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/indexer"
+ indexer_internal "gotea.dev/modules/indexer/internal"
+ es "gotea.dev/modules/indexer/internal/elasticsearch"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/util"
)
const issueIndexerLatestVersion = 4
diff --git a/modules/indexer/issues/elasticsearch/elasticsearch_test.go b/modules/indexer/issues/elasticsearch/elasticsearch_test.go
index 86f525121d..1af69b4b31 100644
--- a/modules/indexer/issues/elasticsearch/elasticsearch_test.go
+++ b/modules/indexer/issues/elasticsearch/elasticsearch_test.go
@@ -10,8 +10,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/indexer/issues/internal/tests"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/indexer/issues/internal/tests"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/require"
)
diff --git a/modules/indexer/issues/indexer.go b/modules/indexer/issues/indexer.go
index f22e2c2ad5..2e3308b696 100644
--- a/modules/indexer/issues/indexer.go
+++ b/modules/indexer/issues/indexer.go
@@ -11,21 +11,21 @@ import (
"sync/atomic"
"time"
- db_model "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/issues/bleve"
- "gitea.dev/modules/indexer/issues/db"
- "gitea.dev/modules/indexer/issues/elasticsearch"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/indexer/issues/meilisearch"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ db_model "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/issues/bleve"
+ "gotea.dev/modules/indexer/issues/db"
+ "gotea.dev/modules/indexer/issues/elasticsearch"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/indexer/issues/meilisearch"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// IndexerMetadata is used to send data to the queue, so it contains only the ids.
diff --git a/modules/indexer/issues/indexer_test.go b/modules/indexer/issues/indexer_test.go
index a718e4e72c..fca9a47266 100644
--- a/modules/indexer/issues/indexer_test.go
+++ b/modules/indexer/issues/indexer_test.go
@@ -6,16 +6,16 @@ package issues
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/issues/internal/indexer.go b/modules/indexer/issues/internal/indexer.go
index 0d5d2b9482..a9e4929612 100644
--- a/modules/indexer/issues/internal/indexer.go
+++ b/modules/indexer/issues/internal/indexer.go
@@ -7,8 +7,8 @@ import (
"context"
"errors"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/indexer/internal"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/indexer/internal"
)
// Indexer defines an interface to indexer issues contents
diff --git a/modules/indexer/issues/internal/model.go b/modules/indexer/issues/internal/model.go
index 0e9162f0b9..f645a2fc19 100644
--- a/modules/indexer/issues/internal/model.go
+++ b/modules/indexer/issues/internal/model.go
@@ -6,10 +6,10 @@ package internal
import (
"strconv"
- "gitea.dev/models/db"
- "gitea.dev/modules/indexer"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/indexer"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
)
// IndexerData data stored in the issue indexer
diff --git a/modules/indexer/issues/internal/tests/tests.go b/modules/indexer/issues/internal/tests/tests.go
index 8337272592..615f259cc1 100644
--- a/modules/indexer/issues/internal/tests/tests.go
+++ b/modules/indexer/issues/internal/tests/tests.go
@@ -13,10 +13,10 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/indexer/issues/meilisearch/meilisearch.go b/modules/indexer/issues/meilisearch/meilisearch.go
index 1ec55bc7e2..967cd06102 100644
--- a/modules/indexer/issues/meilisearch/meilisearch.go
+++ b/modules/indexer/issues/meilisearch/meilisearch.go
@@ -10,11 +10,11 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/indexer"
- indexer_internal "gitea.dev/modules/indexer/internal"
- inner_meilisearch "gitea.dev/modules/indexer/internal/meilisearch"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/indexer"
+ indexer_internal "gotea.dev/modules/indexer/internal"
+ inner_meilisearch "gotea.dev/modules/indexer/internal/meilisearch"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/json"
"github.com/meilisearch/meilisearch-go"
)
diff --git a/modules/indexer/issues/meilisearch/meilisearch_test.go b/modules/indexer/issues/meilisearch/meilisearch_test.go
index 2c9814acf6..da4c302a8a 100644
--- a/modules/indexer/issues/meilisearch/meilisearch_test.go
+++ b/modules/indexer/issues/meilisearch/meilisearch_test.go
@@ -10,10 +10,10 @@ import (
"testing"
"time"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/indexer/issues/internal/tests"
- "gitea.dev/modules/json"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/indexer/issues/internal/tests"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/test"
"github.com/meilisearch/meilisearch-go"
"github.com/stretchr/testify/assert"
diff --git a/modules/indexer/issues/util.go b/modules/indexer/issues/util.go
index 993356c0b4..003ecae605 100644
--- a/modules/indexer/issues/util.go
+++ b/modules/indexer/issues/util.go
@@ -8,12 +8,12 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- issue_model "gitea.dev/models/issues"
- "gitea.dev/modules/container"
- "gitea.dev/modules/indexer/issues/internal"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
+ "gotea.dev/models/db"
+ issue_model "gotea.dev/models/issues"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/indexer/issues/internal"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
)
// getIssueIndexerData returns the indexer data of an issue and a bool value indicating whether the issue exists.
diff --git a/modules/indexer/stats/db.go b/modules/indexer/stats/db.go
index 3198b09073..bd061ca136 100644
--- a/modules/indexer/stats/db.go
+++ b/modules/indexer/stats/db.go
@@ -6,14 +6,14 @@ package stats
import (
"fmt"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/languagestats"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/languagestats"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
)
// DBIndexer implements Indexer interface to use database's like search
diff --git a/modules/indexer/stats/indexer.go b/modules/indexer/stats/indexer.go
index fe11a33e06..2121d0db07 100644
--- a/modules/indexer/stats/indexer.go
+++ b/modules/indexer/stats/indexer.go
@@ -6,10 +6,10 @@ package stats
import (
"context"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
)
// Indexer defines an interface to index repository stats
diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go
index edc38ffad6..adf865886b 100644
--- a/modules/indexer/stats/indexer_test.go
+++ b/modules/indexer/stats/indexer_test.go
@@ -7,14 +7,14 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/indexer/stats/queue.go b/modules/indexer/stats/queue.go
index d9edc8b45f..b35dab00eb 100644
--- a/modules/indexer/stats/queue.go
+++ b/modules/indexer/stats/queue.go
@@ -6,11 +6,11 @@ package stats
import (
"errors"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
)
// statsQueue represents a queue to handle repository stats updates
diff --git a/modules/issue/template/template.go b/modules/issue/template/template.go
index 97d854f234..3e81b311f2 100644
--- a/modules/issue/template/template.go
+++ b/modules/issue/template/template.go
@@ -13,8 +13,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/container"
- api "gitea.dev/modules/structs"
+ "gotea.dev/modules/container"
+ api "gotea.dev/modules/structs"
)
var globalVars = sync.OnceValue(func() (ret struct {
diff --git a/modules/issue/template/template_test.go b/modules/issue/template/template_test.go
index 310e383123..0924747a80 100644
--- a/modules/issue/template/template_test.go
+++ b/modules/issue/template/template_test.go
@@ -7,8 +7,8 @@ import (
"net/url"
"testing"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/issue/template/unmarshal.go b/modules/issue/template/unmarshal.go
index a8346885dd..b43ced4b72 100644
--- a/modules/issue/template/unmarshal.go
+++ b/modules/issue/template/unmarshal.go
@@ -9,11 +9,11 @@ import (
"path"
"strconv"
- "gitea.dev/modules/git"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/modules/label/label.go b/modules/label/label.go
index 3bb881cf72..b5e5d33f67 100644
--- a/modules/label/label.go
+++ b/modules/label/label.go
@@ -9,7 +9,7 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Label represents label information loaded from template
diff --git a/modules/label/parser.go b/modules/label/parser.go
index f56ef0e255..bba074cb26 100644
--- a/modules/label/parser.go
+++ b/modules/label/parser.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/options"
+ "gotea.dev/modules/options"
"go.yaml.in/yaml/v4"
)
diff --git a/modules/lfs/client.go b/modules/lfs/client.go
index fe0ca536d5..751fc6aedc 100644
--- a/modules/lfs/client.go
+++ b/modules/lfs/client.go
@@ -10,7 +10,7 @@ import (
"net/http"
"net/url"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// DownloadCallback gets called for every requested LFS object to process its content
diff --git a/modules/lfs/content_store.go b/modules/lfs/content_store.go
index 06d427a2a6..7c4ea42876 100644
--- a/modules/lfs/content_store.go
+++ b/modules/lfs/content_store.go
@@ -11,8 +11,8 @@ import (
"io"
"os"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
)
var (
diff --git a/modules/lfs/endpoint.go b/modules/lfs/endpoint.go
index bf847c8434..1fa3e3a719 100644
--- a/modules/lfs/endpoint.go
+++ b/modules/lfs/endpoint.go
@@ -10,9 +10,9 @@ import (
"path/filepath"
"strings"
- giturl "gitea.dev/modules/git/url"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ giturl "gotea.dev/modules/git/url"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// DetermineEndpoint determines an endpoint from the clone url or uses the specified LFS url.
diff --git a/modules/lfs/filesystem_client.go b/modules/lfs/filesystem_client.go
index d905a5dd91..23002d7220 100644
--- a/modules/lfs/filesystem_client.go
+++ b/modules/lfs/filesystem_client.go
@@ -10,7 +10,7 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// FilesystemClient is used to read LFS data from a filesystem path
diff --git a/modules/lfs/http_client.go b/modules/lfs/http_client.go
index a8922c9011..b3f0f8c69f 100644
--- a/modules/lfs/http_client.go
+++ b/modules/lfs/http_client.go
@@ -13,10 +13,10 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/proxy"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/proxy"
+ "gotea.dev/modules/setting"
"golang.org/x/sync/errgroup"
)
diff --git a/modules/lfs/http_client_test.go b/modules/lfs/http_client_test.go
index b6500cd6e9..5858d80e66 100644
--- a/modules/lfs/http_client_test.go
+++ b/modules/lfs/http_client_test.go
@@ -11,9 +11,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/lfs/pointer.go b/modules/lfs/pointer.go
index af6db2d3c2..d14269e5dc 100644
--- a/modules/lfs/pointer.go
+++ b/modules/lfs/pointer.go
@@ -13,8 +13,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// spec: https://github.com/git-lfs/git-lfs/blob/master/docs/spec.md
diff --git a/modules/lfs/pointer_scanner_gogit.go b/modules/lfs/pointer_scanner_gogit.go
index 2e2e5800a6..f2fa41bfd5 100644
--- a/modules/lfs/pointer_scanner_gogit.go
+++ b/modules/lfs/pointer_scanner_gogit.go
@@ -9,7 +9,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
"github.com/go-git/go-git/v5/plumbing/object"
)
diff --git a/modules/lfs/pointer_scanner_nogogit.go b/modules/lfs/pointer_scanner_nogogit.go
index 052c878a8d..06d5d92ca5 100644
--- a/modules/lfs/pointer_scanner_nogogit.go
+++ b/modules/lfs/pointer_scanner_nogogit.go
@@ -13,10 +13,10 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/pipeline"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/pipeline"
+ "gotea.dev/modules/util"
"golang.org/x/sync/errgroup"
)
diff --git a/modules/lfs/pointer_test.go b/modules/lfs/pointer_test.go
index 3d27421183..424865ff2d 100644
--- a/modules/lfs/pointer_test.go
+++ b/modules/lfs/pointer_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/lfs/shared.go b/modules/lfs/shared.go
index a11ab7ba70..44f0ca0171 100644
--- a/modules/lfs/shared.go
+++ b/modules/lfs/shared.go
@@ -8,7 +8,7 @@ import (
"fmt"
"time"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/lfs/transferadapter.go b/modules/lfs/transferadapter.go
index 81ac998290..09d53723d6 100644
--- a/modules/lfs/transferadapter.go
+++ b/modules/lfs/transferadapter.go
@@ -9,8 +9,8 @@ import (
"io"
"net/http"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
)
// TransferAdapter represents an adapter for downloading/uploading LFS objects.
diff --git a/modules/lfs/transferadapter_test.go b/modules/lfs/transferadapter_test.go
index b3f6422a78..9cb4c9cb66 100644
--- a/modules/lfs/transferadapter_test.go
+++ b/modules/lfs/transferadapter_test.go
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/lfstransfer/backend/backend.go b/modules/lfstransfer/backend/backend.go
index 6dde323706..fd142e0c1b 100644
--- a/modules/lfstransfer/backend/backend.go
+++ b/modules/lfstransfer/backend/backend.go
@@ -12,9 +12,9 @@ import (
"net/url"
"strconv"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
"github.com/charmbracelet/git-lfs-transfer/transfer"
)
diff --git a/modules/lfstransfer/backend/lock.go b/modules/lfstransfer/backend/lock.go
index 90b143a626..c7d94cfc7d 100644
--- a/modules/lfstransfer/backend/lock.go
+++ b/modules/lfstransfer/backend/lock.go
@@ -13,8 +13,8 @@ import (
"strconv"
"time"
- "gitea.dev/modules/json"
- lfslock "gitea.dev/modules/structs"
+ "gotea.dev/modules/json"
+ lfslock "gotea.dev/modules/structs"
"github.com/charmbracelet/git-lfs-transfer/transfer"
)
diff --git a/modules/lfstransfer/backend/util.go b/modules/lfstransfer/backend/util.go
index 07d402b6bb..1af51eb9e8 100644
--- a/modules/lfstransfer/backend/util.go
+++ b/modules/lfstransfer/backend/util.go
@@ -11,10 +11,10 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/charmbracelet/git-lfs-transfer/transfer"
)
diff --git a/modules/lfstransfer/backend/util_test.go b/modules/lfstransfer/backend/util_test.go
index ed60c6c454..ca00065e49 100644
--- a/modules/lfstransfer/backend/util_test.go
+++ b/modules/lfstransfer/backend/util_test.go
@@ -6,8 +6,8 @@ package backend
import (
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/lfstransfer/main.go b/modules/lfstransfer/main.go
index 503936f245..c34d6df21a 100644
--- a/modules/lfstransfer/main.go
+++ b/modules/lfstransfer/main.go
@@ -9,7 +9,7 @@ import (
"net/url"
"os"
- "gitea.dev/modules/lfstransfer/backend"
+ "gotea.dev/modules/lfstransfer/backend"
"github.com/charmbracelet/git-lfs-transfer/transfer"
)
diff --git a/modules/log/event_format.go b/modules/log/event_format.go
index 8b57748d51..1b733d6f3f 100644
--- a/modules/log/event_format.go
+++ b/modules/log/event_format.go
@@ -164,7 +164,7 @@ func EventFormatTextMessage(mode *WriterMode, event *Event, msgFormat string, ms
funcName := event.Caller
shortFuncName := funcName
if flags&Lshortfuncname != 0 {
- // funcName = "gitea.dev/modules/foo/bar.MyFunc.func1.2()"
+ // funcName = "gotea.dev/modules/foo/bar.MyFunc.func1.2()"
slashPos := strings.LastIndexByte(funcName, '/')
dotPos := strings.IndexByte(funcName[slashPos+1:], '.')
if dotPos > 0 {
diff --git a/modules/log/event_writer_console.go b/modules/log/event_writer_console.go
index 778ec1dc46..9ed3d64b17 100644
--- a/modules/log/event_writer_console.go
+++ b/modules/log/event_writer_console.go
@@ -6,7 +6,7 @@ package log
import (
"os"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type WriterConsoleOption struct {
diff --git a/modules/log/event_writer_file.go b/modules/log/event_writer_file.go
index 5584657f61..adf088198d 100644
--- a/modules/log/event_writer_file.go
+++ b/modules/log/event_writer_file.go
@@ -6,8 +6,8 @@ package log
import (
"io"
- "gitea.dev/modules/util"
- "gitea.dev/modules/util/rotatingfilewriter"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/util/rotatingfilewriter"
)
type WriterFileOption struct {
diff --git a/modules/log/flags.go b/modules/log/flags.go
index c480e06c75..f6ec2d30f7 100644
--- a/modules/log/flags.go
+++ b/modules/log/flags.go
@@ -7,7 +7,7 @@ import (
"sort"
"strings"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
// These flags define which text to prefix to each log entry generated
diff --git a/modules/log/flags_test.go b/modules/log/flags_test.go
index 2c3f50874a..fd6abb44e4 100644
--- a/modules/log/flags_test.go
+++ b/modules/log/flags_test.go
@@ -6,7 +6,7 @@ package log
import (
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/log/init.go b/modules/log/init.go
index d9cf1d9f80..436a1facc1 100644
--- a/modules/log/init.go
+++ b/modules/log/init.go
@@ -8,8 +8,8 @@ import (
"runtime"
"strings"
- "gitea.dev/modules/process"
- "gitea.dev/modules/util/rotatingfilewriter"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/util/rotatingfilewriter"
)
var projectPackagePrefix string
diff --git a/modules/log/level.go b/modules/log/level.go
index 41a3cd9c00..811c6f6563 100644
--- a/modules/log/level.go
+++ b/modules/log/level.go
@@ -7,7 +7,7 @@ import (
"bytes"
"strings"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
// Level is the level of the logger
diff --git a/modules/log/level_test.go b/modules/log/level_test.go
index 8dc96ecfae..0305617631 100644
--- a/modules/log/level_test.go
+++ b/modules/log/level_test.go
@@ -7,7 +7,7 @@ import (
"fmt"
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/log/logger_impl.go b/modules/log/logger_impl.go
index 909d1dad1e..4f4493c355 100644
--- a/modules/log/logger_impl.go
+++ b/modules/log/logger_impl.go
@@ -13,8 +13,8 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
)
type LoggerImpl struct {
diff --git a/modules/markup/camo.go b/modules/markup/camo.go
index 61b5789afd..eea3ef0a8e 100644
--- a/modules/markup/camo.go
+++ b/modules/markup/camo.go
@@ -10,7 +10,7 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// CamoEncode encodes a lnk to fit with the go-camo and camo proxy links. The purposes of camo-proxy are:
diff --git a/modules/markup/camo_test.go b/modules/markup/camo_test.go
index f6afe9ec6e..4b6492475a 100644
--- a/modules/markup/camo_test.go
+++ b/modules/markup/camo_test.go
@@ -6,7 +6,7 @@ package markup
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/common/common.go b/modules/markup/common/common.go
index 58f0dc2946..d4a0d00167 100644
--- a/modules/markup/common/common.go
+++ b/modules/markup/common/common.go
@@ -9,9 +9,9 @@ import (
"strings"
"sync"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"mvdan.cc/xurls/v2"
)
diff --git a/modules/markup/console/console.go b/modules/markup/console/console.go
index 0524fd22cf..b82f365b3d 100644
--- a/modules/markup/console/console.go
+++ b/modules/markup/console/console.go
@@ -8,10 +8,10 @@ import (
"io"
"unicode/utf8"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
trend "github.com/buildkite/terminal-to-html/v3"
)
diff --git a/modules/markup/console/console_test.go b/modules/markup/console/console_test.go
index 00fc5e3b7e..b9dfba564a 100644
--- a/modules/markup/console/console_test.go
+++ b/modules/markup/console/console_test.go
@@ -7,8 +7,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/typesniffer"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/typesniffer"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/csv/csv.go b/modules/markup/csv/csv.go
index da73ea8114..d08c19bc19 100644
--- a/modules/markup/csv/csv.go
+++ b/modules/markup/csv/csv.go
@@ -9,11 +9,11 @@ import (
"io"
"strconv"
- "gitea.dev/modules/csv"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/csv"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
)
func init() {
diff --git a/modules/markup/csv/csv_test.go b/modules/markup/csv/csv_test.go
index 6d68476e90..5b08f0899b 100644
--- a/modules/markup/csv/csv_test.go
+++ b/modules/markup/csv/csv_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
+ "gotea.dev/modules/markup"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/external/external.go b/modules/markup/external/external.go
index 4791bf1e3f..f8e1729af1 100644
--- a/modules/markup/external/external.go
+++ b/modules/markup/external/external.go
@@ -12,9 +12,9 @@ import (
"os"
"strings"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
"github.com/kballard/go-shellquote"
)
diff --git a/modules/markup/external/external_test.go b/modules/markup/external/external_test.go
index a74e87af1b..ffee0b73e9 100644
--- a/modules/markup/external/external_test.go
+++ b/modules/markup/external/external_test.go
@@ -6,7 +6,7 @@ package external
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/external/frontend.go b/modules/markup/external/frontend.go
index 2a5d652a75..1570edb639 100644
--- a/modules/markup/external/frontend.go
+++ b/modules/markup/external/frontend.go
@@ -9,11 +9,11 @@ import (
"io"
"unicode/utf8"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type frontendRenderer struct {
diff --git a/modules/markup/html.go b/modules/markup/html.go
index abef1cdf28..f35397d77d 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -12,11 +12,11 @@ import (
"strings"
"sync"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
diff --git a/modules/markup/html_codepreview.go b/modules/markup/html_codepreview.go
index c404116d55..64ad40a031 100644
--- a/modules/markup/html_codepreview.go
+++ b/modules/markup/html_codepreview.go
@@ -9,8 +9,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
"golang.org/x/net/html"
)
diff --git a/modules/markup/html_codepreview_test.go b/modules/markup/html_codepreview_test.go
index 1744cc7648..d19a24c845 100644
--- a/modules/markup/html_codepreview_test.go
+++ b/modules/markup/html_codepreview_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/html_commit.go b/modules/markup/html_commit.go
index a9c4852026..40de6248be 100644
--- a/modules/markup/html_commit.go
+++ b/modules/markup/html_commit.go
@@ -8,9 +8,9 @@ import (
"slices"
"strings"
- "gitea.dev/modules/base"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/references"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/references"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
diff --git a/modules/markup/html_emoji.go b/modules/markup/html_emoji.go
index a3417a3e4d..2d6e56d45d 100644
--- a/modules/markup/html_emoji.go
+++ b/modules/markup/html_emoji.go
@@ -7,8 +7,8 @@ import (
"strings"
"unicode"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/setting"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
diff --git a/modules/markup/html_internal_test.go b/modules/markup/html_internal_test.go
index f0366f6827..2d791d80d8 100644
--- a/modules/markup/html_internal_test.go
+++ b/modules/markup/html_internal_test.go
@@ -10,9 +10,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- testModule "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ testModule "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/html_issue.go b/modules/markup/html_issue.go
index e676517cd9..4b05797389 100644
--- a/modules/markup/html_issue.go
+++ b/modules/markup/html_issue.go
@@ -8,13 +8,13 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/references"
- "gitea.dev/modules/regexplru"
- "gitea.dev/modules/templates/vars"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/regexplru"
+ "gotea.dev/modules/templates/vars"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
diff --git a/modules/markup/html_issue_test.go b/modules/markup/html_issue_test.go
index 210a699051..b868c030a4 100644
--- a/modules/markup/html_issue_test.go
+++ b/modules/markup/html_issue_test.go
@@ -9,10 +9,10 @@ import (
"strings"
"testing"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- testModule "gitea.dev/modules/test"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ testModule "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/markup/html_link.go b/modules/markup/html_link.go
index 731c0c7d36..9cce71711e 100644
--- a/modules/markup/html_link.go
+++ b/modules/markup/html_link.go
@@ -8,8 +8,8 @@ import (
"path"
"strings"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
"golang.org/x/net/html/atom"
diff --git a/modules/markup/html_link_test.go b/modules/markup/html_link_test.go
index 6742a0f6da..6d712f4895 100644
--- a/modules/markup/html_link_test.go
+++ b/modules/markup/html_link_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/html_mention.go b/modules/markup/html_mention.go
index 3da1a55c9f..f901bac40a 100644
--- a/modules/markup/html_mention.go
+++ b/modules/markup/html_mention.go
@@ -8,8 +8,8 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/references"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
)
diff --git a/modules/markup/html_node.go b/modules/markup/html_node.go
index 0226616a43..bb9bd793dd 100644
--- a/modules/markup/html_node.go
+++ b/modules/markup/html_node.go
@@ -6,8 +6,8 @@ package markup
import (
"strings"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup/common"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup/common"
"golang.org/x/net/html"
)
diff --git a/modules/markup/html_test.go b/modules/markup/html_test.go
index bdf0ad3e57..c5d6af0f85 100644
--- a/modules/markup/html_test.go
+++ b/modules/markup/html_test.go
@@ -8,15 +8,15 @@ import (
"strings"
"testing"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/json"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- testModule "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ testModule "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/markup/html_toc_test.go b/modules/markup/html_toc_test.go
index 23dbfe3bff..5667772dd7 100644
--- a/modules/markup/html_toc_test.go
+++ b/modules/markup/html_toc_test.go
@@ -7,9 +7,9 @@ import (
"regexp"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/internal/renderinternal.go b/modules/markup/internal/renderinternal.go
index bf33b01f3d..8884813d20 100644
--- a/modules/markup/internal/renderinternal.go
+++ b/modules/markup/internal/renderinternal.go
@@ -10,8 +10,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
)
diff --git a/modules/markup/jupyter/jupyter.go b/modules/markup/jupyter/jupyter.go
index 0d5825fc32..22af069f8b 100644
--- a/modules/markup/jupyter/jupyter.go
+++ b/modules/markup/jupyter/jupyter.go
@@ -11,14 +11,14 @@ import (
"strings"
"sync"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
func init() {
diff --git a/modules/markup/jupyter/jupyter_test.go b/modules/markup/jupyter/jupyter_test.go
index 69b69a54e9..70acaa10d1 100644
--- a/modules/markup/jupyter/jupyter_test.go
+++ b/modules/markup/jupyter/jupyter_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/main_test.go b/modules/markup/main_test.go
index eb5c46165a..fb6ba04b93 100644
--- a/modules/markup/main_test.go
+++ b/modules/markup/main_test.go
@@ -7,8 +7,8 @@ import (
"os"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
)
func TestMain(m *testing.M) {
diff --git a/modules/markup/markdown/convertyaml.go b/modules/markup/markdown/convertyaml.go
index 0c69901929..358157880e 100644
--- a/modules/markup/markdown/convertyaml.go
+++ b/modules/markup/markdown/convertyaml.go
@@ -6,8 +6,8 @@ package markdown
import (
"strings"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/svg"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/svg"
"github.com/yuin/goldmark/ast"
east "github.com/yuin/goldmark/extension/ast"
diff --git a/modules/markup/markdown/goldmark.go b/modules/markup/markdown/goldmark.go
index f30116ba00..710c1d9c9e 100644
--- a/modules/markup/markdown/goldmark.go
+++ b/modules/markup/markdown/goldmark.go
@@ -6,12 +6,12 @@ package markdown
import (
"fmt"
- "gitea.dev/modules/container"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/internal"
- "gitea.dev/modules/markup/markdown/math"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/internal"
+ "gotea.dev/modules/markup/markdown/math"
"github.com/yuin/goldmark/ast"
east "github.com/yuin/goldmark/extension/ast"
diff --git a/modules/markup/markdown/main_test.go b/modules/markup/markdown/main_test.go
index ea29c1c8e0..999b38d06b 100644
--- a/modules/markup/markdown/main_test.go
+++ b/modules/markup/markdown/main_test.go
@@ -6,8 +6,8 @@ package markdown
import (
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
)
func TestMain(m *testing.M) {
diff --git a/modules/markup/markdown/markdown.go b/modules/markup/markdown/markdown.go
index 015e315995..a7554bbb2d 100644
--- a/modules/markup/markdown/markdown.go
+++ b/modules/markup/markdown/markdown.go
@@ -13,14 +13,14 @@ import (
"slices"
"strings"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/markup/markdown/math"
- "gitea.dev/modules/setting"
- giteautil "gitea.dev/modules/util"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/markup/markdown/math"
+ "gotea.dev/modules/setting"
+ giteautil "gotea.dev/modules/util"
chromahtml "github.com/alecthomas/chroma/v2/formatters/html"
"github.com/yuin/goldmark"
diff --git a/modules/markup/markdown/markdown_attention_test.go b/modules/markup/markdown/markdown_attention_test.go
index d39c87f12c..9bf17f0f7e 100644
--- a/modules/markup/markdown/markdown_attention_test.go
+++ b/modules/markup/markdown/markdown_attention_test.go
@@ -7,9 +7,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/svg"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/svg"
"github.com/stretchr/testify/assert"
"golang.org/x/text/cases"
diff --git a/modules/markup/markdown/markdown_benchmark_test.go b/modules/markup/markdown/markdown_benchmark_test.go
index 07afd45a8d..ab8b5f9a3a 100644
--- a/modules/markup/markdown/markdown_benchmark_test.go
+++ b/modules/markup/markdown/markdown_benchmark_test.go
@@ -6,8 +6,8 @@ package markdown_test
import (
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
)
func BenchmarkSpecializedMarkdown(b *testing.B) {
diff --git a/modules/markup/markdown/markdown_math_test.go b/modules/markup/markdown/markdown_math_test.go
index 0810074247..b8d243a1a0 100644
--- a/modules/markup/markdown/markdown_math_test.go
+++ b/modules/markup/markdown/markdown_math_test.go
@@ -7,9 +7,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/markdown/markdown_test.go b/modules/markup/markdown/markdown_test.go
index 2af0d41b24..c44564457d 100644
--- a/modules/markup/markdown/markdown_test.go
+++ b/modules/markup/markdown/markdown_test.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/markdown/math/block_parser.go b/modules/markup/markdown/math/block_parser.go
index 47da3314de..5addb0f41a 100644
--- a/modules/markup/markdown/math/block_parser.go
+++ b/modules/markup/markdown/math/block_parser.go
@@ -6,7 +6,7 @@ package math
import (
"bytes"
- giteaUtil "gitea.dev/modules/util"
+ giteaUtil "gotea.dev/modules/util"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/parser"
diff --git a/modules/markup/markdown/math/block_renderer.go b/modules/markup/markdown/math/block_renderer.go
index e7dee38267..35831fb89b 100644
--- a/modules/markup/markdown/math/block_renderer.go
+++ b/modules/markup/markdown/math/block_renderer.go
@@ -6,8 +6,8 @@ package math
import (
"html/template"
- "gitea.dev/modules/markup/internal"
- giteaUtil "gitea.dev/modules/util"
+ "gotea.dev/modules/markup/internal"
+ giteaUtil "gotea.dev/modules/util"
gast "github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"
diff --git a/modules/markup/markdown/math/inline_renderer.go b/modules/markup/markdown/math/inline_renderer.go
index a72dd798e4..b988fd2784 100644
--- a/modules/markup/markdown/math/inline_renderer.go
+++ b/modules/markup/markdown/math/inline_renderer.go
@@ -6,7 +6,7 @@ package math
import (
"bytes"
- "gitea.dev/modules/markup/internal"
+ "gotea.dev/modules/markup/internal"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/renderer"
diff --git a/modules/markup/markdown/math/math.go b/modules/markup/markdown/math/math.go
index b8616f4d80..0a98269ecd 100644
--- a/modules/markup/markdown/math/math.go
+++ b/modules/markup/markdown/math/math.go
@@ -4,8 +4,8 @@
package math
import (
- "gitea.dev/modules/markup/internal"
- giteaUtil "gitea.dev/modules/util"
+ "gotea.dev/modules/markup/internal"
+ giteaUtil "gotea.dev/modules/util"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/parser"
diff --git a/modules/markup/markdown/renderconfig.go b/modules/markup/markdown/renderconfig.go
index 59f3e873ec..129793a356 100644
--- a/modules/markup/markdown/renderconfig.go
+++ b/modules/markup/markdown/renderconfig.go
@@ -7,7 +7,7 @@ import (
"fmt"
"strings"
- "gitea.dev/modules/markup"
+ "gotea.dev/modules/markup"
"github.com/yuin/goldmark/ast"
"go.yaml.in/yaml/v4"
diff --git a/modules/markup/markdown/transform_blockquote.go b/modules/markup/markdown/transform_blockquote.go
index ce39d4acfa..f926894c2d 100644
--- a/modules/markup/markdown/transform_blockquote.go
+++ b/modules/markup/markdown/transform_blockquote.go
@@ -6,7 +6,7 @@ package markdown
import (
"strings"
- "gitea.dev/modules/svg"
+ "gotea.dev/modules/svg"
"github.com/yuin/goldmark/ast"
"github.com/yuin/goldmark/text"
diff --git a/modules/markup/markdown/transform_codespan.go b/modules/markup/markdown/transform_codespan.go
index df4a56fd9e..b56cc42d53 100644
--- a/modules/markup/markdown/transform_codespan.go
+++ b/modules/markup/markdown/transform_codespan.go
@@ -7,7 +7,7 @@ import (
"bytes"
"strings"
- "gitea.dev/modules/markup"
+ "gotea.dev/modules/markup"
"github.com/microcosm-cc/bluemonday/css"
"github.com/yuin/goldmark/ast"
diff --git a/modules/markup/markdown/transform_list.go b/modules/markup/markdown/transform_list.go
index 05054a4687..d84ae38ab7 100644
--- a/modules/markup/markdown/transform_list.go
+++ b/modules/markup/markdown/transform_list.go
@@ -6,7 +6,7 @@ package markdown
import (
"fmt"
- "gitea.dev/modules/markup"
+ "gotea.dev/modules/markup"
"github.com/yuin/goldmark/ast"
east "github.com/yuin/goldmark/extension/ast"
diff --git a/modules/markup/mdstripper/mdstripper.go b/modules/markup/mdstripper/mdstripper.go
index a127bbfd4b..2f2c907b6c 100644
--- a/modules/markup/mdstripper/mdstripper.go
+++ b/modules/markup/mdstripper/mdstripper.go
@@ -10,9 +10,9 @@ import (
"strings"
"sync"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/setting"
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/ast"
diff --git a/modules/markup/orgmode/orgmode.go b/modules/markup/orgmode/orgmode.go
index 4685028c01..81861e80cc 100644
--- a/modules/markup/orgmode/orgmode.go
+++ b/modules/markup/orgmode/orgmode.go
@@ -9,11 +9,11 @@ import (
"io"
"strings"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
"github.com/alecthomas/chroma/v2"
"github.com/niklasfasching/go-org/org"
diff --git a/modules/markup/orgmode/orgmode_test.go b/modules/markup/orgmode/orgmode_test.go
index d1dea919fe..815dbd180d 100644
--- a/modules/markup/orgmode/orgmode_test.go
+++ b/modules/markup/orgmode/orgmode_test.go
@@ -8,9 +8,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/orgmode"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/orgmode"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/render.go b/modules/markup/render.go
index 492b680ed2..91264096b2 100644
--- a/modules/markup/render.go
+++ b/modules/markup/render.go
@@ -15,13 +15,13 @@ import (
"strings"
"time"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/markup/internal"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/markup/internal"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
"golang.org/x/sync/errgroup"
)
diff --git a/modules/markup/render_helper.go b/modules/markup/render_helper.go
index b1f44e46c3..f8523c0ce8 100644
--- a/modules/markup/render_helper.go
+++ b/modules/markup/render_helper.go
@@ -7,7 +7,7 @@ import (
"context"
"html/template"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
const (
diff --git a/modules/markup/render_link.go b/modules/markup/render_link.go
index 273146ac25..83ed7f33c8 100644
--- a/modules/markup/render_link.go
+++ b/modules/markup/render_link.go
@@ -9,8 +9,8 @@ import (
"path"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/setting"
)
// resolveLinkRelative tries to resolve the link relative to the "{base}/{cur}", and returns the final link.
diff --git a/modules/markup/render_link_test.go b/modules/markup/render_link_test.go
index 57485ebf55..42e28fdc42 100644
--- a/modules/markup/render_link_test.go
+++ b/modules/markup/render_link_test.go
@@ -6,7 +6,7 @@ package markup
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/markup/renderer.go b/modules/markup/renderer.go
index 99c1eb532f..9d6413412c 100644
--- a/modules/markup/renderer.go
+++ b/modules/markup/renderer.go
@@ -8,8 +8,8 @@ import (
"path"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/typesniffer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/typesniffer"
)
// Renderer defines an interface for rendering markup file to HTML
diff --git a/modules/markup/sanitizer_custom.go b/modules/markup/sanitizer_custom.go
index 5b7f086041..9f69319c38 100644
--- a/modules/markup/sanitizer_custom.go
+++ b/modules/markup/sanitizer_custom.go
@@ -7,7 +7,7 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/microcosm-cc/bluemonday"
)
diff --git a/modules/markup/sanitizer_default.go b/modules/markup/sanitizer_default.go
index 1d4a062059..f246708b5f 100644
--- a/modules/markup/sanitizer_default.go
+++ b/modules/markup/sanitizer_default.go
@@ -9,8 +9,8 @@ import (
"net/url"
"regexp"
- "gitea.dev/modules/markup/common"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup/common"
+ "gotea.dev/modules/setting"
"github.com/microcosm-cc/bluemonday"
)
diff --git a/modules/mcaptcha/mcaptcha.go b/modules/mcaptcha/mcaptcha.go
index 7c43cd76e0..8d42aa7a0c 100644
--- a/modules/mcaptcha/mcaptcha.go
+++ b/modules/mcaptcha/mcaptcha.go
@@ -14,9 +14,9 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
func Verify(ctx context.Context, token string) (bool, error) {
diff --git a/modules/mcaptcha/mcaptcha_test.go b/modules/mcaptcha/mcaptcha_test.go
index 30256d7fec..1f40d4f33c 100644
--- a/modules/mcaptcha/mcaptcha_test.go
+++ b/modules/mcaptcha/mcaptcha_test.go
@@ -9,9 +9,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/metrics/collector.go b/modules/metrics/collector.go
index c4c596821b..f124671d5a 100755
--- a/modules/metrics/collector.go
+++ b/modules/metrics/collector.go
@@ -6,9 +6,9 @@ package metrics
import (
"runtime"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/setting"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/setting"
"github.com/prometheus/client_golang/prometheus"
)
diff --git a/modules/migration/downloader.go b/modules/migration/downloader.go
index d69d7f9f68..13042ca70a 100644
--- a/modules/migration/downloader.go
+++ b/modules/migration/downloader.go
@@ -7,7 +7,7 @@ package migration
import (
"context"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/structs"
)
// Downloader downloads the site repo information
diff --git a/modules/migration/file_format.go b/modules/migration/file_format.go
index e925494cd2..b526ec8812 100644
--- a/modules/migration/file_format.go
+++ b/modules/migration/file_format.go
@@ -9,8 +9,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
"github.com/santhosh-tekuri/jsonschema/v6"
"go.yaml.in/yaml/v4"
diff --git a/modules/migration/options.go b/modules/migration/options.go
index cf696d8ce4..202e088e7d 100644
--- a/modules/migration/options.go
+++ b/modules/migration/options.go
@@ -4,7 +4,7 @@
package migration
-import "gitea.dev/modules/structs"
+import "gotea.dev/modules/structs"
// MigrateOptions defines the way a repository gets migrated
// this is for internal usage by migrations module and func who interact with it
diff --git a/modules/migration/pullrequest.go b/modules/migration/pullrequest.go
index 1397e87dae..3e42222ea3 100644
--- a/modules/migration/pullrequest.go
+++ b/modules/migration/pullrequest.go
@@ -8,7 +8,7 @@ import (
"fmt"
"time"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
// PullRequest defines a standard pull request information
diff --git a/modules/migration/schemas_bindata.go b/modules/migration/schemas_bindata.go
index 3f7ada1599..4ab216ff89 100644
--- a/modules/migration/schemas_bindata.go
+++ b/modules/migration/schemas_bindata.go
@@ -12,7 +12,7 @@ import (
"path"
"sync"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
_ "embed"
diff --git a/modules/nosql/manager.go b/modules/nosql/manager.go
index c7e7582c8c..cc771a234a 100644
--- a/modules/nosql/manager.go
+++ b/modules/nosql/manager.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/process"
+ "gotea.dev/modules/process"
"github.com/redis/go-redis/v9"
"github.com/syndtr/goleveldb/leveldb"
diff --git a/modules/nosql/manager_leveldb.go b/modules/nosql/manager_leveldb.go
index 3bac76f201..6ab4a7b339 100644
--- a/modules/nosql/manager_leveldb.go
+++ b/modules/nosql/manager_leveldb.go
@@ -10,7 +10,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/errors"
diff --git a/modules/nosql/manager_redis.go b/modules/nosql/manager_redis.go
index d84393b216..6d07ce854d 100644
--- a/modules/nosql/manager_redis.go
+++ b/modules/nosql/manager_redis.go
@@ -11,7 +11,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/redis/go-redis/v9"
)
diff --git a/modules/optional/option_test.go b/modules/optional/option_test.go
index 1ac54418b9..2be9369a37 100644
--- a/modules/optional/option_test.go
+++ b/modules/optional/option_test.go
@@ -6,7 +6,7 @@ package optional_test
import (
"testing"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/optional/serialization.go b/modules/optional/serialization.go
index 409117c62f..771294762c 100644
--- a/modules/optional/serialization.go
+++ b/modules/optional/serialization.go
@@ -6,7 +6,7 @@ package optional
import (
"reflect"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"go.yaml.in/yaml/v4"
)
diff --git a/modules/optional/serialization_test.go b/modules/optional/serialization_test.go
index e65c53a5db..8800de3fe6 100644
--- a/modules/optional/serialization_test.go
+++ b/modules/optional/serialization_test.go
@@ -8,8 +8,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
"go.yaml.in/yaml/v4"
diff --git a/modules/options/base.go b/modules/options/base.go
index 439eadb101..1cfc063c46 100644
--- a/modules/options/base.go
+++ b/modules/options/base.go
@@ -4,8 +4,8 @@
package options
import (
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/setting"
)
func CustomAssets() *assetfs.Layer {
diff --git a/modules/options/options_bindata.go b/modules/options/options_bindata.go
index fcd6872e24..e93e7cf7a0 100644
--- a/modules/options/options_bindata.go
+++ b/modules/options/options_bindata.go
@@ -10,7 +10,7 @@ package options
import (
"sync"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
_ "embed"
)
diff --git a/modules/options/options_dynamic.go b/modules/options/options_dynamic.go
index 98a32863a8..bfd70495db 100644
--- a/modules/options/options_dynamic.go
+++ b/modules/options/options_dynamic.go
@@ -6,8 +6,8 @@
package options
import (
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/setting"
)
func BuiltinAssets() *assetfs.Layer {
diff --git a/modules/packages/alpine/metadata.go b/modules/packages/alpine/metadata.go
index 524dfc7412..d27a883cd4 100644
--- a/modules/packages/alpine/metadata.go
+++ b/modules/packages/alpine/metadata.go
@@ -13,8 +13,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
)
var (
diff --git a/modules/packages/arch/metadata.go b/modules/packages/arch/metadata.go
index 366814cd38..7f7e94a454 100644
--- a/modules/packages/arch/metadata.go
+++ b/modules/packages/arch/metadata.go
@@ -13,9 +13,9 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/packages"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/packages"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/klauspost/compress/zstd"
"github.com/ulikunitz/xz"
diff --git a/modules/packages/arch/metadata_test.go b/modules/packages/arch/metadata_test.go
index 821c0adc9e..b9f5166965 100644
--- a/modules/packages/arch/metadata_test.go
+++ b/modules/packages/arch/metadata_test.go
@@ -10,8 +10,8 @@ import (
"io"
"testing"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/klauspost/compress/zstd"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/cargo/parser.go b/modules/packages/cargo/parser.go
index 1aa7603459..18bb28fc59 100644
--- a/modules/packages/cargo/parser.go
+++ b/modules/packages/cargo/parser.go
@@ -9,8 +9,8 @@ import (
"io"
"regexp"
- "gitea.dev/modules/json"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
)
diff --git a/modules/packages/chef/metadata.go b/modules/packages/chef/metadata.go
index 58e6f9fea1..4d3bffb1f0 100644
--- a/modules/packages/chef/metadata.go
+++ b/modules/packages/chef/metadata.go
@@ -10,9 +10,9 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
)
const (
diff --git a/modules/packages/composer/metadata.go b/modules/packages/composer/metadata.go
index 27ad422296..4b87e2775a 100644
--- a/modules/packages/composer/metadata.go
+++ b/modules/packages/composer/metadata.go
@@ -15,10 +15,10 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
)
diff --git a/modules/packages/composer/metadata_test.go b/modules/packages/composer/metadata_test.go
index ca9abac385..aecc9b1141 100644
--- a/modules/packages/composer/metadata_test.go
+++ b/modules/packages/composer/metadata_test.go
@@ -10,8 +10,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/test"
"github.com/dsnet/compress/bzip2"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/conan/conaninfo_parser.go b/modules/packages/conan/conaninfo_parser.go
index a06caadf58..0230352e01 100644
--- a/modules/packages/conan/conaninfo_parser.go
+++ b/modules/packages/conan/conaninfo_parser.go
@@ -8,7 +8,7 @@ import (
"io"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Conaninfo represents infos of a Conan package
diff --git a/modules/packages/conan/reference.go b/modules/packages/conan/reference.go
index 3fe8f90774..f3cb7a200f 100644
--- a/modules/packages/conan/reference.go
+++ b/modules/packages/conan/reference.go
@@ -8,8 +8,8 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/packages/conda/metadata.go b/modules/packages/conda/metadata.go
index dcd873d739..61455c8d58 100644
--- a/modules/packages/conda/metadata.go
+++ b/modules/packages/conda/metadata.go
@@ -10,10 +10,10 @@ import (
"io"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/zstd"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/zstd"
)
var (
diff --git a/modules/packages/conda/metadata_test.go b/modules/packages/conda/metadata_test.go
index 9f5992554d..e33665694c 100644
--- a/modules/packages/conda/metadata_test.go
+++ b/modules/packages/conda/metadata_test.go
@@ -10,7 +10,7 @@ import (
"io"
"testing"
- "gitea.dev/modules/zstd"
+ "gotea.dev/modules/zstd"
"github.com/dsnet/compress/bzip2"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/container/metadata.go b/modules/packages/container/metadata.go
index 02d7d23277..88f44b7901 100644
--- a/modules/packages/container/metadata.go
+++ b/modules/packages/container/metadata.go
@@ -8,9 +8,9 @@ import (
"io"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/packages/container/helm"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/packages/container/helm"
+ "gotea.dev/modules/validation"
oci "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/modules/packages/container/metadata_test.go b/modules/packages/container/metadata_test.go
index 7a6d9a2e8d..49ecb05661 100644
--- a/modules/packages/container/metadata_test.go
+++ b/modules/packages/container/metadata_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/packages/container/helm"
+ "gotea.dev/modules/packages/container/helm"
oci "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/content_store.go b/modules/packages/content_store.go
index d28c81e4c4..1e542704d1 100644
--- a/modules/packages/content_store.go
+++ b/modules/packages/content_store.go
@@ -11,10 +11,10 @@ import (
"path"
"strings"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
)
// BlobHash256Key is the key to address a blob content
diff --git a/modules/packages/cran/metadata.go b/modules/packages/cran/metadata.go
index c239bfcad8..c9dcc46ef3 100644
--- a/modules/packages/cran/metadata.go
+++ b/modules/packages/cran/metadata.go
@@ -13,7 +13,7 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/packages/debian/metadata.go b/modules/packages/debian/metadata.go
index 6a79595658..4b122c91e3 100644
--- a/modules/packages/debian/metadata.go
+++ b/modules/packages/debian/metadata.go
@@ -13,9 +13,9 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/zstd"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/zstd"
"github.com/blakesmith/ar"
"github.com/ulikunitz/xz"
diff --git a/modules/packages/debian/metadata_test.go b/modules/packages/debian/metadata_test.go
index 20d8c5f509..b6a166a8ad 100644
--- a/modules/packages/debian/metadata_test.go
+++ b/modules/packages/debian/metadata_test.go
@@ -10,8 +10,8 @@ import (
"io"
"testing"
- "gitea.dev/modules/util"
- "gitea.dev/modules/zstd"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/zstd"
"github.com/blakesmith/ar"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/filelist.go b/modules/packages/filelist.go
index 2e3676fbe4..84107b0914 100644
--- a/modules/packages/filelist.go
+++ b/modules/packages/filelist.go
@@ -3,7 +3,7 @@
package packages
-import "gitea.dev/modules/util"
+import "gotea.dev/modules/util"
// BoundedFileList accumulates file names from a package archive while enforcing caps on the number of
// entries and their total name length, returning an error once either cap would be exceeded.
diff --git a/modules/packages/goproxy/metadata.go b/modules/packages/goproxy/metadata.go
index db50ac7faa..897f13ad0d 100644
--- a/modules/packages/goproxy/metadata.go
+++ b/modules/packages/goproxy/metadata.go
@@ -9,7 +9,7 @@ import (
"path"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"golang.org/x/mod/semver"
)
diff --git a/modules/packages/hashed_buffer.go b/modules/packages/hashed_buffer.go
index 9625deb4a9..a4d9663e4b 100644
--- a/modules/packages/hashed_buffer.go
+++ b/modules/packages/hashed_buffer.go
@@ -6,8 +6,8 @@ package packages
import (
"io"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util/filebuffer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util/filebuffer"
)
// HashedSizeReader provide methods to read, sum hashes and a Size method
diff --git a/modules/packages/hashed_buffer_test.go b/modules/packages/hashed_buffer_test.go
index c9fc44f762..73ee2aab6b 100644
--- a/modules/packages/hashed_buffer_test.go
+++ b/modules/packages/hashed_buffer_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/packages/helm/metadata.go b/modules/packages/helm/metadata.go
index 3dc9951c9e..8c39dffdf9 100644
--- a/modules/packages/helm/metadata.go
+++ b/modules/packages/helm/metadata.go
@@ -10,9 +10,9 @@ import (
"io"
"strings"
- "gitea.dev/modules/packages"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/packages"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/ProtonMail/go-crypto/openpgp/clearsign"
"github.com/hashicorp/go-version"
diff --git a/modules/packages/limited_reader.go b/modules/packages/limited_reader.go
index 24b0ba717b..51afb949c5 100644
--- a/modules/packages/limited_reader.go
+++ b/modules/packages/limited_reader.go
@@ -6,7 +6,7 @@ package packages
import (
"io"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
var ErrContentTooLarge = util.NewInvalidArgumentErrorf("content exceeds the size limit")
diff --git a/modules/packages/maven/metadata.go b/modules/packages/maven/metadata.go
index f0cbae4d42..7c35b18356 100644
--- a/modules/packages/maven/metadata.go
+++ b/modules/packages/maven/metadata.go
@@ -7,8 +7,8 @@ import (
"encoding/xml"
"io"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"golang.org/x/net/html/charset"
)
diff --git a/modules/packages/maven/metadata_test.go b/modules/packages/maven/metadata_test.go
index 735f0de8b4..b682a1fd44 100644
--- a/modules/packages/maven/metadata_test.go
+++ b/modules/packages/maven/metadata_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/packages/npm/creator.go b/modules/packages/npm/creator.go
index b33df48df4..5d46eef417 100644
--- a/modules/packages/npm/creator.go
+++ b/modules/packages/npm/creator.go
@@ -18,9 +18,9 @@ import (
"sync"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
)
diff --git a/modules/packages/npm/creator_test.go b/modules/packages/npm/creator_test.go
index 1728f5d022..5df2f4fc38 100644
--- a/modules/packages/npm/creator_test.go
+++ b/modules/packages/npm/creator_test.go
@@ -12,8 +12,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/packages/nuget/metadata.go b/modules/packages/nuget/metadata.go
index b656ade363..10bcae1689 100644
--- a/modules/packages/nuget/metadata.go
+++ b/modules/packages/nuget/metadata.go
@@ -13,8 +13,8 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
)
diff --git a/modules/packages/nuget/symbol_extractor.go b/modules/packages/nuget/symbol_extractor.go
index 47d98b9dd7..e00a99184d 100644
--- a/modules/packages/nuget/symbol_extractor.go
+++ b/modules/packages/nuget/symbol_extractor.go
@@ -13,8 +13,8 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/packages"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/packages"
+ "gotea.dev/modules/util"
)
var (
diff --git a/modules/packages/nuget/symbol_extractor_test.go b/modules/packages/nuget/symbol_extractor_test.go
index 5b6884e023..e1c58f630e 100644
--- a/modules/packages/nuget/symbol_extractor_test.go
+++ b/modules/packages/nuget/symbol_extractor_test.go
@@ -9,7 +9,7 @@ import (
"encoding/base64"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/packages/pub/metadata.go b/modules/packages/pub/metadata.go
index 7291836e1f..1722c3a49b 100644
--- a/modules/packages/pub/metadata.go
+++ b/modules/packages/pub/metadata.go
@@ -10,8 +10,8 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
"go.yaml.in/yaml/v4"
diff --git a/modules/packages/rpm/metadata.go b/modules/packages/rpm/metadata.go
index 40b1dc90e7..3a365c53bb 100644
--- a/modules/packages/rpm/metadata.go
+++ b/modules/packages/rpm/metadata.go
@@ -8,8 +8,8 @@ import (
"io"
"strings"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/validation"
"github.com/sassoftware/go-rpmutils"
)
diff --git a/modules/packages/rubygems/marshal.go b/modules/packages/rubygems/marshal.go
index 79ddb6c508..0d90009f85 100644
--- a/modules/packages/rubygems/marshal.go
+++ b/modules/packages/rubygems/marshal.go
@@ -9,7 +9,7 @@ import (
"io"
"reflect"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/packages/rubygems/metadata.go b/modules/packages/rubygems/metadata.go
index c98334bff6..d5b6f818c6 100644
--- a/modules/packages/rubygems/metadata.go
+++ b/modules/packages/rubygems/metadata.go
@@ -12,8 +12,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"go.yaml.in/yaml/v4"
)
diff --git a/modules/packages/rubygems/metadata_test.go b/modules/packages/rubygems/metadata_test.go
index eba2cfd25c..a679121360 100644
--- a/modules/packages/rubygems/metadata_test.go
+++ b/modules/packages/rubygems/metadata_test.go
@@ -6,7 +6,7 @@ package rubygems
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/packages/swift/metadata.go b/modules/packages/swift/metadata.go
index f9a517f925..7d35e1ef86 100644
--- a/modules/packages/swift/metadata.go
+++ b/modules/packages/swift/metadata.go
@@ -11,9 +11,9 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"github.com/hashicorp/go-version"
)
diff --git a/modules/packages/swift/metadata_test.go b/modules/packages/swift/metadata_test.go
index d041d64f11..51bde8dbef 100644
--- a/modules/packages/swift/metadata_test.go
+++ b/modules/packages/swift/metadata_test.go
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/hashicorp/go-version"
"github.com/stretchr/testify/assert"
diff --git a/modules/packages/terraform/lock.go b/modules/packages/terraform/lock.go
index 1bce4b109e..b4b402c76c 100644
--- a/modules/packages/terraform/lock.go
+++ b/modules/packages/terraform/lock.go
@@ -9,10 +9,10 @@ import (
"io"
"time"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/modules/packages/terraform/state.go b/modules/packages/terraform/state.go
index 92d586b90f..adbd2a99e4 100644
--- a/modules/packages/terraform/state.go
+++ b/modules/packages/terraform/state.go
@@ -6,8 +6,8 @@ package terraform
import (
"io"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
)
// Note: this is a subset of the Terraform state file format as the full one has two forms.
diff --git a/modules/packages/vagrant/metadata.go b/modules/packages/vagrant/metadata.go
index a2fda49e01..7b6f9a122c 100644
--- a/modules/packages/vagrant/metadata.go
+++ b/modules/packages/vagrant/metadata.go
@@ -9,8 +9,8 @@ import (
"io"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/validation"
)
const (
diff --git a/modules/packages/vagrant/metadata_test.go b/modules/packages/vagrant/metadata_test.go
index ab42c65f9f..954d4a4928 100644
--- a/modules/packages/vagrant/metadata_test.go
+++ b/modules/packages/vagrant/metadata_test.go
@@ -10,7 +10,7 @@ import (
"io"
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/paginator/paginator.go b/modules/paginator/paginator.go
index ee06d70dca..68775e9b9e 100644
--- a/modules/paginator/paginator.go
+++ b/modules/paginator/paginator.go
@@ -4,7 +4,7 @@
package paginator
-import "gitea.dev/modules/util"
+import "gotea.dev/modules/util"
/*
In template:
diff --git a/modules/pprof/pprof.go b/modules/pprof/pprof.go
index c00bfb8f16..916dcafcf8 100644
--- a/modules/pprof/pprof.go
+++ b/modules/pprof/pprof.go
@@ -10,7 +10,7 @@ import (
"runtime"
"runtime/pprof"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
func dumpMemProfileForUsername(pprofDataPath, subName string) error {
diff --git a/modules/private/actions.go b/modules/private/actions.go
index b20a90c325..e39f03e4ae 100644
--- a/modules/private/actions.go
+++ b/modules/private/actions.go
@@ -6,7 +6,7 @@ package private
import (
"context"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type GenerateTokenRequest struct {
diff --git a/modules/private/hook.go b/modules/private/hook.go
index 5eedd135a1..9b2fd053dc 100644
--- a/modules/private/hook.go
+++ b/modules/private/hook.go
@@ -8,9 +8,9 @@ import (
"fmt"
"net/url"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/setting"
)
// Git environment variables
diff --git a/modules/private/internal.go b/modules/private/internal.go
index a3227eacb7..21318428ed 100644
--- a/modules/private/internal.go
+++ b/modules/private/internal.go
@@ -14,11 +14,11 @@ import (
"sync"
"time"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/proxyprotocol"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/proxyprotocol"
+ "gotea.dev/modules/setting"
)
// Response is used for internal request response (for user message and error message)
diff --git a/modules/private/internal_test.go b/modules/private/internal_test.go
index e0ee1a9bd4..f48d520bd3 100644
--- a/modules/private/internal_test.go
+++ b/modules/private/internal_test.go
@@ -6,8 +6,8 @@ package private
import (
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/private/key.go b/modules/private/key.go
index 4b4e8e3066..3fb39385b5 100644
--- a/modules/private/key.go
+++ b/modules/private/key.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
func UpdatePublicKeyLastUsed(ctx context.Context, keyID, repoID int64) error {
diff --git a/modules/private/mail.go b/modules/private/mail.go
index 5d8d01c28a..83e7385381 100644
--- a/modules/private/mail.go
+++ b/modules/private/mail.go
@@ -6,7 +6,7 @@ package private
import (
"context"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// Email structure holds a data for sending general emails
diff --git a/modules/private/manager.go b/modules/private/manager.go
index 58cb72b416..f1bbb6ea63 100644
--- a/modules/private/manager.go
+++ b/modules/private/manager.go
@@ -12,7 +12,7 @@ import (
"strconv"
"time"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// Shutdown calls the internal shutdown function
diff --git a/modules/private/pushoptions.go b/modules/private/pushoptions.go
index 8cf2416c8a..e4002fc8d7 100644
--- a/modules/private/pushoptions.go
+++ b/modules/private/pushoptions.go
@@ -7,7 +7,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
)
// GitPushOptions is a wrapper around a map[string]string
diff --git a/modules/private/request.go b/modules/private/request.go
index fb209a8f4a..f213af4b1b 100644
--- a/modules/private/request.go
+++ b/modules/private/request.go
@@ -8,8 +8,8 @@ import (
"io"
"net/http"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
)
// ResponseText is used to get the response as text, instead of parsing it as JSON.
diff --git a/modules/private/restore_repo.go b/modules/private/restore_repo.go
index 02f9099bb6..bfb1e99504 100644
--- a/modules/private/restore_repo.go
+++ b/modules/private/restore_repo.go
@@ -7,7 +7,7 @@ import (
"context"
"fmt"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// RestoreParams structure holds a data for restore repository
diff --git a/modules/private/serv.go b/modules/private/serv.go
index c61ef20476..41c62a5009 100644
--- a/modules/private/serv.go
+++ b/modules/private/serv.go
@@ -8,10 +8,10 @@ import (
"fmt"
"net/url"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
)
// KeyAndOwner is the response from ServNoCommand
diff --git a/modules/process/command_unix.go b/modules/process/command_unix.go
index a2f437e5da..54c28a7def 100644
--- a/modules/process/command_unix.go
+++ b/modules/process/command_unix.go
@@ -9,7 +9,7 @@ import (
"os/exec"
"syscall"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
func setSysProcAttribute(cmd *exec.Cmd) {
diff --git a/modules/process/manager.go b/modules/process/manager.go
index 062c21509e..33a9044508 100644
--- a/modules/process/manager.go
+++ b/modules/process/manager.go
@@ -12,8 +12,8 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/util"
)
// TODO: This packages still uses a singleton for the Manager.
diff --git a/modules/process/manager_stacktraces.go b/modules/process/manager_stacktraces.go
index 3911cb994b..a5d5d47263 100644
--- a/modules/process/manager_stacktraces.go
+++ b/modules/process/manager_stacktraces.go
@@ -10,7 +10,7 @@ import (
"sort"
"time"
- "gitea.dev/modules/gtprof"
+ "gotea.dev/modules/gtprof"
"github.com/google/pprof/profile"
)
diff --git a/modules/proxy/proxy.go b/modules/proxy/proxy.go
index 981811b59e..01ebbbaaef 100644
--- a/modules/proxy/proxy.go
+++ b/modules/proxy/proxy.go
@@ -8,9 +8,9 @@ import (
"net/url"
"sync"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
var (
diff --git a/modules/proxyprotocol/conn.go b/modules/proxyprotocol/conn.go
index d7aff7b1b0..bfe6eb620a 100644
--- a/modules/proxyprotocol/conn.go
+++ b/modules/proxyprotocol/conn.go
@@ -14,7 +14,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
var (
diff --git a/modules/public/manifest.go b/modules/public/manifest.go
index a99704bf3c..9b79655aff 100644
--- a/modules/public/manifest.go
+++ b/modules/public/manifest.go
@@ -13,9 +13,9 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// https://vite.dev/guide/backend-integration
diff --git a/modules/public/manifest_test.go b/modules/public/manifest_test.go
index a8b208e69d..c496d56b2f 100644
--- a/modules/public/manifest_test.go
+++ b/modules/public/manifest_test.go
@@ -8,8 +8,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/public/public.go b/modules/public/public.go
index 60eb3a293f..c7ae64d15f 100644
--- a/modules/public/public.go
+++ b/modules/public/public.go
@@ -12,12 +12,12 @@ import (
"strings"
"time"
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/container"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/go-chi/cors"
)
diff --git a/modules/public/public_bindata.go b/modules/public/public_bindata.go
index 551cd3db5f..e26352378b 100644
--- a/modules/public/public_bindata.go
+++ b/modules/public/public_bindata.go
@@ -10,7 +10,7 @@ package public
import (
"sync"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
_ "embed"
)
diff --git a/modules/public/public_dynamic.go b/modules/public/public_dynamic.go
index f03b3cd8dd..3a8d337c24 100644
--- a/modules/public/public_dynamic.go
+++ b/modules/public/public_dynamic.go
@@ -6,8 +6,8 @@
package public
import (
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/setting"
)
func BuiltinAssets() *assetfs.Layer {
diff --git a/modules/public/public_test.go b/modules/public/public_test.go
index cbac65d3e6..4a86f1cba1 100644
--- a/modules/public/public_test.go
+++ b/modules/public/public_test.go
@@ -6,7 +6,7 @@ package public
import (
"testing"
- "gitea.dev/modules/container"
+ "gotea.dev/modules/container"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/public/vitedev.go b/modules/public/vitedev.go
index 66915bedba..d08f48d061 100644
--- a/modules/public/vitedev.go
+++ b/modules/public/vitedev.go
@@ -13,11 +13,11 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/routing"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/routing"
)
const viteDevPortFile = "public/assets/.vite/dev-port"
diff --git a/modules/queue/base_channel.go b/modules/queue/base_channel.go
index e44293f9b9..73d5c59541 100644
--- a/modules/queue/base_channel.go
+++ b/modules/queue/base_channel.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/container"
+ "gotea.dev/modules/container"
)
var errChannelClosed = errors.New("channel is closed")
diff --git a/modules/queue/base_levelqueue.go b/modules/queue/base_levelqueue.go
index caa02c6023..a467256b4a 100644
--- a/modules/queue/base_levelqueue.go
+++ b/modules/queue/base_levelqueue.go
@@ -6,7 +6,7 @@ package queue
import (
"context"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/nosql"
"gitea.com/lunny/levelqueue"
"github.com/syndtr/goleveldb/leveldb"
diff --git a/modules/queue/base_levelqueue_common.go b/modules/queue/base_levelqueue_common.go
index 55238e0f4b..59c0cb275d 100644
--- a/modules/queue/base_levelqueue_common.go
+++ b/modules/queue/base_levelqueue_common.go
@@ -11,7 +11,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/nosql"
"gitea.com/lunny/levelqueue"
"github.com/syndtr/goleveldb/leveldb"
diff --git a/modules/queue/base_levelqueue_test.go b/modules/queue/base_levelqueue_test.go
index 163d5fbe0c..4db274f713 100644
--- a/modules/queue/base_levelqueue_test.go
+++ b/modules/queue/base_levelqueue_test.go
@@ -6,7 +6,7 @@ package queue
import (
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/queue/base_levelqueue_unique.go b/modules/queue/base_levelqueue_unique.go
index 33d37d8e0b..ee8a0dcbf9 100644
--- a/modules/queue/base_levelqueue_unique.go
+++ b/modules/queue/base_levelqueue_unique.go
@@ -7,7 +7,7 @@ import (
"context"
"sync"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/nosql"
"gitea.com/lunny/levelqueue"
"github.com/syndtr/goleveldb/leveldb"
diff --git a/modules/queue/base_redis.go b/modules/queue/base_redis.go
index b60f23288b..97c2d81888 100644
--- a/modules/queue/base_redis.go
+++ b/modules/queue/base_redis.go
@@ -8,9 +8,9 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/nosql"
"github.com/redis/go-redis/v9"
)
diff --git a/modules/queue/base_redis_test.go b/modules/queue/base_redis_test.go
index 14fb77c85c..1830e7440b 100644
--- a/modules/queue/base_redis_test.go
+++ b/modules/queue/base_redis_test.go
@@ -6,8 +6,8 @@ package queue
import (
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
)
func TestBaseRedis(t *testing.T) {
diff --git a/modules/queue/config.go b/modules/queue/config.go
index f05cb453d0..085fc9a9a1 100644
--- a/modules/queue/config.go
+++ b/modules/queue/config.go
@@ -4,7 +4,7 @@
package queue
import (
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
type BaseConfig struct {
diff --git a/modules/queue/manager.go b/modules/queue/manager.go
index 58187217f8..55a0273351 100644
--- a/modules/queue/manager.go
+++ b/modules/queue/manager.go
@@ -10,8 +10,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// Manager is a manager for the queues created by "CreateXxxQueue" functions, these queues are called "managed queues".
diff --git a/modules/queue/manager_test.go b/modules/queue/manager_test.go
index b2a60ff070..cae1152b61 100644
--- a/modules/queue/manager_test.go
+++ b/modules/queue/manager_test.go
@@ -7,7 +7,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/queue/queue.go b/modules/queue/queue.go
index 08de046ffb..0409b668c1 100644
--- a/modules/queue/queue.go
+++ b/modules/queue/queue.go
@@ -61,7 +61,7 @@
// func handler(items ...*mypkg.QueueItem) []*mypkg.QueueItem { ... }
package queue
-import "gitea.dev/modules/util"
+import "gotea.dev/modules/util"
type HandlerFuncT[T any] func(...T) (unhandled []T)
diff --git a/modules/queue/workergroup.go b/modules/queue/workergroup.go
index c7f734ffdd..55dbb8f5c5 100644
--- a/modules/queue/workergroup.go
+++ b/modules/queue/workergroup.go
@@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
var (
diff --git a/modules/queue/workerqueue.go b/modules/queue/workerqueue.go
index 4e1d4c76e1..d0ddc075a1 100644
--- a/modules/queue/workerqueue.go
+++ b/modules/queue/workerqueue.go
@@ -11,10 +11,10 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
)
// WorkerPoolQueue is a queue that uses a pool of workers to process items
diff --git a/modules/queue/workerqueue_test.go b/modules/queue/workerqueue_test.go
index 5cadabdeac..19cad71832 100644
--- a/modules/queue/workerqueue_test.go
+++ b/modules/queue/workerqueue_test.go
@@ -11,8 +11,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/recaptcha/recaptcha.go b/modules/recaptcha/recaptcha.go
index 3083c9830e..beab36e400 100644
--- a/modules/recaptcha/recaptcha.go
+++ b/modules/recaptcha/recaptcha.go
@@ -11,8 +11,8 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
)
// Response is the structure of JSON returned from API
diff --git a/modules/references/references.go b/modules/references/references.go
index 88530f509e..e73571883f 100644
--- a/modules/references/references.go
+++ b/modules/references/references.go
@@ -13,10 +13,10 @@ import (
"sync"
"unicode/utf8"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/mdstripper"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/mdstripper"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
var (
diff --git a/modules/references/references_test.go b/modules/references/references_test.go
index 53cd98a931..b09c155bf6 100644
--- a/modules/references/references_test.go
+++ b/modules/references/references_test.go
@@ -7,7 +7,7 @@ import (
"regexp"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/branch.go b/modules/repository/branch.go
index ff30017384..2eaa1eaa0e 100644
--- a/modules/repository/branch.go
+++ b/modules/repository/branch.go
@@ -7,13 +7,13 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
)
// SyncResult describes a reference update detected during sync.
diff --git a/modules/repository/branch_test.go b/modules/repository/branch_test.go
index 069a3588ee..3a9d42cae6 100644
--- a/modules/repository/branch_test.go
+++ b/modules/repository/branch_test.go
@@ -6,10 +6,10 @@ package repository
import (
"testing"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/commits.go b/modules/repository/commits.go
index b1e7872309..3206da273d 100644
--- a/modules/repository/commits.go
+++ b/modules/repository/commits.go
@@ -9,10 +9,10 @@ import (
"net/url"
"time"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
)
// PushCommit represents a commit in a push operation.
diff --git a/modules/repository/commits_test.go b/modules/repository/commits_test.go
index 5e6266d9f2..ae389e88c6 100644
--- a/modules/repository/commits_test.go
+++ b/modules/repository/commits_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/create.go b/modules/repository/create.go
index 1500d548fa..70882f26c6 100644
--- a/modules/repository/create.go
+++ b/modules/repository/create.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
)
// UpdateRepoSize updates the repository size, calculating it using getDirectorySize
diff --git a/modules/repository/create_test.go b/modules/repository/create_test.go
index 80df8362dc..25fdcff949 100644
--- a/modules/repository/create_test.go
+++ b/modules/repository/create_test.go
@@ -6,9 +6,9 @@ package repository
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/env.go b/modules/repository/env.go
index 1cd442a6b4..ae6015b9af 100644
--- a/modules/repository/env.go
+++ b/modules/repository/env.go
@@ -8,10 +8,10 @@ import (
"strconv"
"strings"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// env keys for git hooks need
diff --git a/modules/repository/fork.go b/modules/repository/fork.go
index 7236bd3ef7..a0ff9e9439 100644
--- a/modules/repository/fork.go
+++ b/modules/repository/fork.go
@@ -6,10 +6,10 @@ package repository
import (
"context"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
)
// CanUserForkBetweenOwners returns true if user can fork between owners.
diff --git a/modules/repository/fork_test.go b/modules/repository/fork_test.go
index 59b68d69d2..bda25aa824 100644
--- a/modules/repository/fork_test.go
+++ b/modules/repository/fork_test.go
@@ -6,12 +6,12 @@ package repository
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/init.go b/modules/repository/init.go
index 9313f63771..3f16014a6b 100644
--- a/modules/repository/init.go
+++ b/modules/repository/init.go
@@ -10,11 +10,11 @@ import (
"sort"
"strings"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/label"
- "gitea.dev/modules/options"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/label"
+ "gotea.dev/modules/options"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type OptionFile struct {
diff --git a/modules/repository/license.go b/modules/repository/license.go
index 20eab3259e..fec1130f42 100644
--- a/modules/repository/license.go
+++ b/modules/repository/license.go
@@ -10,7 +10,7 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/options"
+ "gotea.dev/modules/options"
)
type LicenseValues struct {
diff --git a/modules/repository/main_test.go b/modules/repository/main_test.go
index aeb415c076..9aaef7cb17 100644
--- a/modules/repository/main_test.go
+++ b/modules/repository/main_test.go
@@ -6,10 +6,10 @@ package repository
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/modules/repository/push.go b/modules/repository/push.go
index 5260597229..0c85050e84 100644
--- a/modules/repository/push.go
+++ b/modules/repository/push.go
@@ -4,7 +4,7 @@
package repository
import (
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
// PushUpdateOptions defines the push update options
diff --git a/modules/repository/repo.go b/modules/repository/repo.go
index 14dc1fba1f..2cdf37a3c7 100644
--- a/modules/repository/repo.go
+++ b/modules/repository/repo.go
@@ -10,15 +10,15 @@ import (
"io"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
/*
diff --git a/modules/repository/repo_test.go b/modules/repository/repo_test.go
index 40d1b4edfb..8ce1a2a788 100644
--- a/modules/repository/repo_test.go
+++ b/modules/repository/repo_test.go
@@ -6,7 +6,7 @@ package repository
import (
"testing"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/repository/temp.go b/modules/repository/temp.go
index b04906ece6..0da3e6cecc 100644
--- a/modules/repository/temp.go
+++ b/modules/repository/temp.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
)
// CreateTemporaryGitRepo creates a temporary Git repository empty directory (not initialized)
diff --git a/modules/reqctx/datastore.go b/modules/reqctx/datastore.go
index d1e7aab1a3..11ece120bd 100644
--- a/modules/reqctx/datastore.go
+++ b/modules/reqctx/datastore.go
@@ -11,7 +11,7 @@ import (
"reflect"
"sync"
- "gitea.dev/modules/process"
+ "gotea.dev/modules/process"
)
// MustContextValue returns the value stored under key. A missing or mistyped value can only
diff --git a/modules/session/db.go b/modules/session/db.go
index 748c7ec6f7..26a26f1e32 100644
--- a/modules/session/db.go
+++ b/modules/session/db.go
@@ -9,8 +9,8 @@ import (
"log"
"sync"
- "gitea.dev/models/auth"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/timeutil"
"gitea.com/go-chi/session"
)
diff --git a/modules/session/redis.go b/modules/session/redis.go
index e04debb588..553fe78efc 100644
--- a/modules/session/redis.go
+++ b/modules/session/redis.go
@@ -10,8 +10,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/nosql"
"gitea.com/go-chi/session"
"github.com/redis/go-redis/v9"
diff --git a/modules/session/store.go b/modules/session/store.go
index 3befbf4995..7192c89884 100644
--- a/modules/session/store.go
+++ b/modules/session/store.go
@@ -6,7 +6,7 @@ package session
import (
"net/http"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"gitea.com/go-chi/session"
)
diff --git a/modules/session/virtual.go b/modules/session/virtual.go
index c51c5fe788..381c1efca9 100644
--- a/modules/session/virtual.go
+++ b/modules/session/virtual.go
@@ -7,7 +7,7 @@ import (
"fmt"
"sync"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"gitea.com/go-chi/session"
couchbase "gitea.com/go-chi/session/couchbase"
diff --git a/modules/setting/actions.go b/modules/setting/actions.go
index 6c5e6323ad..7f409fabaa 100644
--- a/modules/setting/actions.go
+++ b/modules/setting/actions.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
const (
diff --git a/modules/setting/actions_test.go b/modules/setting/actions_test.go
index 5b2e5ac3d9..353757066a 100644
--- a/modules/setting/actions_test.go
+++ b/modules/setting/actions_test.go
@@ -8,7 +8,7 @@ import (
"slices"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/setting/admin.go b/modules/setting/admin.go
index fa03c39238..668f12ca52 100644
--- a/modules/setting/admin.go
+++ b/modules/setting/admin.go
@@ -4,8 +4,8 @@
package setting
import (
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
)
// Admin settings
diff --git a/modules/setting/audit.go b/modules/setting/audit.go
index 58243d6f11..ea7fde0994 100644
--- a/modules/setting/audit.go
+++ b/modules/setting/audit.go
@@ -7,7 +7,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
type AuditRecordOutput string
diff --git a/modules/setting/audit_test.go b/modules/setting/audit_test.go
index 7cd21de8cb..9a59cdc3c2 100644
--- a/modules/setting/audit_test.go
+++ b/modules/setting/audit_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/setting/cache.go b/modules/setting/cache.go
index 115c324678..5b1da5e339 100644
--- a/modules/setting/cache.go
+++ b/modules/setting/cache.go
@@ -6,7 +6,7 @@ package setting
import (
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Cache represents cache settings
diff --git a/modules/setting/cache_test.go b/modules/setting/cache_test.go
index 65699083b7..799318f3da 100644
--- a/modules/setting/cache_test.go
+++ b/modules/setting/cache_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/camo.go b/modules/setting/camo.go
index 64bcc14e46..d42617db35 100644
--- a/modules/setting/camo.go
+++ b/modules/setting/camo.go
@@ -6,7 +6,7 @@ package setting
import (
"strconv"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
var Camo = struct {
diff --git a/modules/setting/config.go b/modules/setting/config.go
index afc2eb1b7f..172b5e14e4 100644
--- a/modules/setting/config.go
+++ b/modules/setting/config.go
@@ -7,8 +7,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting/config"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting/config"
)
type PictureStruct struct {
diff --git a/modules/setting/config/value.go b/modules/setting/config/value.go
index 240f48243c..2a416a0991 100644
--- a/modules/setting/config/value.go
+++ b/modules/setting/config/value.go
@@ -8,9 +8,9 @@ import (
"reflect"
"sync"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
type CfgSecKey struct {
diff --git a/modules/setting/config_env.go b/modules/setting/config_env.go
index 18c94262e3..02782c932d 100644
--- a/modules/setting/config_env.go
+++ b/modules/setting/config_env.go
@@ -10,7 +10,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
const (
diff --git a/modules/setting/config_option_instance.go b/modules/setting/config_option_instance.go
index 70e27be552..72127de1e1 100644
--- a/modules/setting/config_option_instance.go
+++ b/modules/setting/config_option_instance.go
@@ -6,7 +6,7 @@ package setting
import (
"time"
- "gitea.dev/modules/setting/config"
+ "gotea.dev/modules/setting/config"
)
// WebBannerType fields are directly used in templates,
diff --git a/modules/setting/config_provider.go b/modules/setting/config_provider.go
index 1d4b3f9665..935ddbdf59 100644
--- a/modules/setting/config_provider.go
+++ b/modules/setting/config_provider.go
@@ -12,8 +12,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"gopkg.in/ini.v1" //nolint:depguard // wrapper for this package
)
diff --git a/modules/setting/federation.go b/modules/setting/federation.go
index 6d1bef62ab..2c3f61a5bb 100644
--- a/modules/setting/federation.go
+++ b/modules/setting/federation.go
@@ -4,7 +4,7 @@
package setting
import (
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/42wim/httpsig"
)
diff --git a/modules/setting/git.go b/modules/setting/git.go
index bec5330153..3bd61c0aed 100644
--- a/modules/setting/git.go
+++ b/modules/setting/git.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Git settings
diff --git a/modules/setting/git_test.go b/modules/setting/git_test.go
index 372eed067d..7637c60ceb 100644
--- a/modules/setting/git_test.go
+++ b/modules/setting/git_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/glob.go b/modules/setting/glob.go
index 765014fa3b..790afa0573 100644
--- a/modules/setting/glob.go
+++ b/modules/setting/glob.go
@@ -3,7 +3,7 @@
package setting
-import "gitea.dev/modules/glob"
+import "gotea.dev/modules/glob"
type GlobMatcher struct {
compiledGlob glob.Glob
diff --git a/modules/setting/global_lock.go b/modules/setting/global_lock.go
index 6fff4c44a1..4b55d531f4 100644
--- a/modules/setting/global_lock.go
+++ b/modules/setting/global_lock.go
@@ -4,8 +4,8 @@
package setting
import (
- "gitea.dev/modules/log"
- "gitea.dev/modules/nosql"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/nosql"
)
// GlobalLock represents configuration of global lock
diff --git a/modules/setting/global_lock_test.go b/modules/setting/global_lock_test.go
index 22bb4233f3..0faf554104 100644
--- a/modules/setting/global_lock_test.go
+++ b/modules/setting/global_lock_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/incoming_email.go b/modules/setting/incoming_email.go
index 78c9bb2bd7..52c3ae4e14 100644
--- a/modules/setting/incoming_email.go
+++ b/modules/setting/incoming_email.go
@@ -9,7 +9,7 @@ import (
"net/mail"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
const IncomingEmailTokenPlaceholder = "%{token}"
diff --git a/modules/setting/indexer.go b/modules/setting/indexer.go
index cfcee97fda..5683871b46 100644
--- a/modules/setting/indexer.go
+++ b/modules/setting/indexer.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Indexer settings
diff --git a/modules/setting/lfs.go b/modules/setting/lfs.go
index 961b1b4d82..b14cb99b06 100644
--- a/modules/setting/lfs.go
+++ b/modules/setting/lfs.go
@@ -7,7 +7,7 @@ import (
"fmt"
"time"
- "gitea.dev/modules/generate"
+ "gotea.dev/modules/generate"
)
// LFS represents the server-side configuration for Git LFS.
diff --git a/modules/setting/log.go b/modules/setting/log.go
index 0bd87add96..081293f00e 100644
--- a/modules/setting/log.go
+++ b/modules/setting/log.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
type LogGlobalConfig struct {
diff --git a/modules/setting/log_test.go b/modules/setting/log_test.go
index a217cf5490..a14937c110 100644
--- a/modules/setting/log_test.go
+++ b/modules/setting/log_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/setting/mailer.go b/modules/setting/mailer.go
index e28c467fcb..62ceb27203 100644
--- a/modules/setting/mailer.go
+++ b/modules/setting/mailer.go
@@ -11,7 +11,7 @@ import (
"text/template"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/kballard/go-shellquote"
)
diff --git a/modules/setting/mailer_test.go b/modules/setting/mailer_test.go
index 7bb1134dcd..7e55e58081 100644
--- a/modules/setting/mailer_test.go
+++ b/modules/setting/mailer_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/markup.go b/modules/setting/markup.go
index fa2d9367fd..aaf7d70702 100644
--- a/modules/setting/markup.go
+++ b/modules/setting/markup.go
@@ -8,8 +8,8 @@ import (
"strings"
"sync"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// ExternalMarkupRenderers represents the external markup renderers
diff --git a/modules/setting/migrations_test.go b/modules/setting/migrations_test.go
index 341ac3a1ec..05bc91aaad 100644
--- a/modules/setting/migrations_test.go
+++ b/modules/setting/migrations_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/setting/mirror.go b/modules/setting/mirror.go
index 6b2687088d..ba62c5e4e9 100644
--- a/modules/setting/mirror.go
+++ b/modules/setting/mirror.go
@@ -6,7 +6,7 @@ package setting
import (
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Mirror settings
diff --git a/modules/setting/oauth2.go b/modules/setting/oauth2.go
index d68b434457..54fa0e98d5 100644
--- a/modules/setting/oauth2.go
+++ b/modules/setting/oauth2.go
@@ -8,8 +8,8 @@ import (
"path/filepath"
"sync/atomic"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/log"
)
// OAuth2UsernameType is enum describing the way gitea generates its 'username' from oauth2 data
diff --git a/modules/setting/oauth2_test.go b/modules/setting/oauth2_test.go
index 4e5a647741..e08890b29e 100644
--- a/modules/setting/oauth2_test.go
+++ b/modules/setting/oauth2_test.go
@@ -7,8 +7,8 @@ import (
"os"
"testing"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/other.go b/modules/setting/other.go
index ef632ecf20..913e6e95bf 100644
--- a/modules/setting/other.go
+++ b/modules/setting/other.go
@@ -3,7 +3,7 @@
package setting
-import "gitea.dev/modules/log"
+import "gotea.dev/modules/log"
type OtherConfig struct {
ShowFooterVersion bool
diff --git a/modules/setting/packages.go b/modules/setting/packages.go
index e230c5a70e..56fdd772e4 100644
--- a/modules/setting/packages.go
+++ b/modules/setting/packages.go
@@ -7,7 +7,7 @@ import (
"fmt"
"math"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// Package registry settings
diff --git a/modules/setting/path.go b/modules/setting/path.go
index 3c16c61033..0c50969c30 100644
--- a/modules/setting/path.go
+++ b/modules/setting/path.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/tempdir"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/tempdir"
)
var (
diff --git a/modules/setting/proxy.go b/modules/setting/proxy.go
index 9b17dc50ca..3821d6b607 100644
--- a/modules/setting/proxy.go
+++ b/modules/setting/proxy.go
@@ -6,7 +6,7 @@ package setting
import (
"net/url"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Proxy settings
diff --git a/modules/setting/queue.go b/modules/setting/queue.go
index 44918c73ae..3b68b7befd 100644
--- a/modules/setting/queue.go
+++ b/modules/setting/queue.go
@@ -7,9 +7,9 @@ import (
"path/filepath"
"runtime"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// QueueSettings represent the settings for a queue from the ini
diff --git a/modules/setting/queue_test.go b/modules/setting/queue_test.go
index 4d4404886d..5137b98997 100644
--- a/modules/setting/queue_test.go
+++ b/modules/setting/queue_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/repository.go b/modules/setting/repository.go
index 05bf4a7274..43c8a46428 100644
--- a/modules/setting/repository.go
+++ b/modules/setting/repository.go
@@ -8,7 +8,7 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// enumerates all the policy repository creating
diff --git a/modules/setting/repository_test.go b/modules/setting/repository_test.go
index bd2779019c..50a3d6d57f 100644
--- a/modules/setting/repository_test.go
+++ b/modules/setting/repository_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/security.go b/modules/setting/security.go
index 1c514af5a5..6bccd62d1c 100644
--- a/modules/setting/security.go
+++ b/modules/setting/security.go
@@ -8,10 +8,10 @@ import (
"os"
"strings"
- "gitea.dev/modules/auth/password/hash"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/auth/password/hash"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/log"
)
// Security settings
diff --git a/modules/setting/server.go b/modules/setting/server.go
index 289db6a044..c44b1efde4 100644
--- a/modules/setting/server.go
+++ b/modules/setting/server.go
@@ -12,8 +12,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// Scheme describes protocol types
@@ -146,7 +146,7 @@ func loadServerDomainAndURL(sec ConfigSection, protocol string) {
func loadServerFrom(rootCfg ConfigProvider) {
sec := rootCfg.Section("server")
- AppName = rootCfg.Section("").Key("APP_NAME").MustString("Gitea: Git with a cup of tea")
+ AppName = rootCfg.Section("").Key("APP_NAME").MustString("Gotea: Game of Trees forge")
HTTPAddr = sec.Key("HTTP_ADDR").MustString("0.0.0.0")
HTTPPort = sec.Key("HTTP_PORT").MustString("3000")
diff --git a/modules/setting/service.go b/modules/setting/service.go
index 7a09c132bf..d3cf27bd38 100644
--- a/modules/setting/service.go
+++ b/modules/setting/service.go
@@ -9,9 +9,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/structs"
)
// enumerates all the types of captchas
diff --git a/modules/setting/service_test.go b/modules/setting/service_test.go
index 1527d4f263..f81fb095b8 100644
--- a/modules/setting/service_test.go
+++ b/modules/setting/service_test.go
@@ -6,9 +6,9 @@ package setting
import (
"testing"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/session.go b/modules/setting/session.go
index 67f1b7ca6b..aaaefd38e7 100644
--- a/modules/setting/session.go
+++ b/modules/setting/session.go
@@ -8,9 +8,9 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// SessionConfig defines Session settings
diff --git a/modules/setting/session_test.go b/modules/setting/session_test.go
index 0549ea11f9..05c8b0212e 100644
--- a/modules/setting/session_test.go
+++ b/modules/setting/session_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 94d3432ad2..9aef34a2be 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -12,10 +12,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/user"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/user"
+ "gotea.dev/modules/util"
)
const IsWindows = runtime.GOOS == "windows"
diff --git a/modules/setting/ssh.go b/modules/setting/ssh.go
index 60b3bcbe60..40dc511b8e 100644
--- a/modules/setting/ssh.go
+++ b/modules/setting/ssh.go
@@ -9,9 +9,9 @@ import (
"text/template"
"time"
- "gitea.dev/modules/consts"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/consts"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
gossh "golang.org/x/crypto/ssh"
)
diff --git a/modules/setting/testenv.go b/modules/setting/testenv.go
index 38bb936197..c7e85be4b3 100644
--- a/modules/setting/testenv.go
+++ b/modules/setting/testenv.go
@@ -11,9 +11,9 @@ import (
"runtime"
"strings"
- "gitea.dev/modules/auth/password/hash"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/auth/password/hash"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"github.com/kballard/go-shellquote"
)
diff --git a/modules/setting/time.go b/modules/setting/time.go
index fc70ffc7c4..23a643b015 100644
--- a/modules/setting/time.go
+++ b/modules/setting/time.go
@@ -6,7 +6,7 @@ package setting
import (
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// DefaultUILocation is the location on the UI, so that we can display the time on UI.
diff --git a/modules/setting/ui.go b/modules/setting/ui.go
index 23204daf87..6bb5e3ccfd 100644
--- a/modules/setting/ui.go
+++ b/modules/setting/ui.go
@@ -6,8 +6,8 @@ package setting
import (
"time"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
)
// UI settings
diff --git a/modules/setting/webhook.go b/modules/setting/webhook.go
index a192c5b49b..00765abc87 100644
--- a/modules/setting/webhook.go
+++ b/modules/setting/webhook.go
@@ -6,7 +6,7 @@ package setting
import (
"net/url"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// Webhook settings
diff --git a/modules/setting/websocket.go b/modules/setting/websocket.go
index 89f8e65e36..ccd16db516 100644
--- a/modules/setting/websocket.go
+++ b/modules/setting/websocket.go
@@ -3,7 +3,7 @@
package setting
-import "gitea.dev/modules/log"
+import "gotea.dev/modules/log"
const (
PubsubTypeMemory = "memory"
diff --git a/modules/setting/websocket_test.go b/modules/setting/websocket_test.go
index 25dc936446..2b3368ba3a 100644
--- a/modules/setting/websocket_test.go
+++ b/modules/setting/websocket_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/ssh/init.go b/modules/ssh/init.go
index 9bd4988b57..d7c2b45daa 100644
--- a/modules/ssh/init.go
+++ b/modules/ssh/init.go
@@ -11,10 +11,10 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// builtinUnused informs our cleanup routine that we will not be using a ssh port
diff --git a/modules/ssh/server.go b/modules/ssh/server.go
index 43020bc081..9565333989 100644
--- a/modules/ssh/server.go
+++ b/modules/ssh/server.go
@@ -10,9 +10,9 @@ import (
"syscall"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
gossh "golang.org/x/crypto/ssh"
)
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go
index 53b2f6f3df..195b695ff0 100644
--- a/modules/ssh/ssh.go
+++ b/modules/ssh/ssh.go
@@ -18,13 +18,13 @@ import (
"sync"
"syscall"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
gossh "golang.org/x/crypto/ssh"
)
diff --git a/modules/ssh/ssh_test.go b/modules/ssh/ssh_test.go
index c82aff13f7..a37ce5f333 100644
--- a/modules/ssh/ssh_test.go
+++ b/modules/ssh/ssh_test.go
@@ -11,7 +11,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/generate"
+ "gotea.dev/modules/generate"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/storage/azureblob.go b/modules/storage/azureblob.go
index 3f66013131..2461f5acf5 100644
--- a/modules/storage/azureblob.go
+++ b/modules/storage/azureblob.go
@@ -27,9 +27,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"golang.org/x/sync/errgroup"
)
diff --git a/modules/storage/azureblob_test.go b/modules/storage/azureblob_test.go
index 2a902f1221..a78ea51328 100644
--- a/modules/storage/azureblob_test.go
+++ b/modules/storage/azureblob_test.go
@@ -13,8 +13,8 @@ import (
"testing"
"testing/iotest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/storage/local.go b/modules/storage/local.go
index cd5ed256ee..396a518d86 100644
--- a/modules/storage/local.go
+++ b/modules/storage/local.go
@@ -13,9 +13,9 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
var _ ObjectStorage = &LocalStorage{}
diff --git a/modules/storage/local_test.go b/modules/storage/local_test.go
index 42d183c448..46c5b9f51c 100644
--- a/modules/storage/local_test.go
+++ b/modules/storage/local_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/storage/minio.go b/modules/storage/minio.go
index d9f0111181..58b6b9f1f0 100644
--- a/modules/storage/minio.go
+++ b/modules/storage/minio.go
@@ -17,9 +17,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials"
diff --git a/modules/storage/minio_test.go b/modules/storage/minio_test.go
index 0116e89026..b089071afe 100644
--- a/modules/storage/minio_test.go
+++ b/modules/storage/minio_test.go
@@ -8,8 +8,8 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/storage/storage.go b/modules/storage/storage.go
index 57cdf426e9..31ab90cbb9 100644
--- a/modules/storage/storage.go
+++ b/modules/storage/storage.go
@@ -14,11 +14,11 @@ import (
"strings"
"time"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// ErrURLNotSupported represents url is not supported
diff --git a/modules/structs/form.go b/modules/structs/form.go
index 1b245769ad..c2fd4f096e 100644
--- a/modules/structs/form.go
+++ b/modules/structs/form.go
@@ -4,7 +4,7 @@
package structs
import (
- "gitea.dev/modules/translation/i18n"
+ "gotea.dev/modules/translation/i18n"
"gitea.com/go-chi/binding" //nolint:depguard // avoid cycle import
)
diff --git a/modules/structs/hook.go b/modules/structs/hook.go
index 4c55f36985..cf9d4cf356 100644
--- a/modules/structs/hook.go
+++ b/modules/structs/hook.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
// ErrInvalidReceiveHook FIXME
diff --git a/modules/structs/hook_test.go b/modules/structs/hook_test.go
index 269b393397..c1b8c52473 100644
--- a/modules/structs/hook_test.go
+++ b/modules/structs/hook_test.go
@@ -6,7 +6,7 @@ package structs
import (
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/structs/issue_milestone.go b/modules/structs/issue_milestone.go
index 8acb94c3a2..6e2db62a5d 100644
--- a/modules/structs/issue_milestone.go
+++ b/modules/structs/issue_milestone.go
@@ -6,7 +6,7 @@ package structs
import (
"time"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
)
// Milestone milestone is a collection of issues on one repository
diff --git a/modules/structs/status.go b/modules/structs/status.go
index 7a700c6ef5..501640daf4 100644
--- a/modules/structs/status.go
+++ b/modules/structs/status.go
@@ -6,7 +6,7 @@ package structs
import (
"time"
- "gitea.dev/modules/commitstatus"
+ "gotea.dev/modules/commitstatus"
)
// CommitStatus holds a single status of a single Commit
diff --git a/modules/structs/user.go b/modules/structs/user.go
index fe52fb8334..48d1170edb 100644
--- a/modules/structs/user.go
+++ b/modules/structs/user.go
@@ -7,7 +7,7 @@ package structs
import (
"time"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
// User represents a user
diff --git a/modules/svg/svg.go b/modules/svg/svg.go
index 97e04792ef..4d727edf11 100644
--- a/modules/svg/svg.go
+++ b/modules/svg/svg.go
@@ -10,9 +10,9 @@ import (
"strings"
"sync"
- gitea_html "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
+ gitea_html "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
)
type svgIconItem struct {
diff --git a/modules/svg/svg_test.go b/modules/svg/svg_test.go
index 36ea463f19..8c9199d8ed 100644
--- a/modules/svg/svg_test.go
+++ b/modules/svg/svg_test.go
@@ -6,7 +6,7 @@ package svg
import (
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/system/appstate_test.go b/modules/system/appstate_test.go
index ba074ec58c..8840a971b6 100644
--- a/modules/system/appstate_test.go
+++ b/modules/system/appstate_test.go
@@ -6,7 +6,7 @@ package system
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/system/db.go b/modules/system/db.go
index 8c2855cac4..1d6ffb942d 100644
--- a/modules/system/db.go
+++ b/modules/system/db.go
@@ -6,9 +6,9 @@ package system
import (
"context"
- "gitea.dev/models/system"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/models/system"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
)
// DBStore can be used to store app state items in local filesystem
diff --git a/modules/tempdir/tempdir.go b/modules/tempdir/tempdir.go
index aaeae2f5b6..83bb1b7c92 100644
--- a/modules/tempdir/tempdir.go
+++ b/modules/tempdir/tempdir.go
@@ -8,8 +8,8 @@ import (
"path/filepath"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
type TempDir struct {
diff --git a/modules/templates/base.go b/modules/templates/base.go
index 5f567b2663..0f38300934 100644
--- a/modules/templates/base.go
+++ b/modules/templates/base.go
@@ -4,8 +4,8 @@
package templates
import (
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/setting"
)
func AssetFS() *assetfs.LayeredFS {
diff --git a/modules/templates/eval/eval.go b/modules/templates/eval/eval.go
index 5299f1a31c..7b4d04bc10 100644
--- a/modules/templates/eval/eval.go
+++ b/modules/templates/eval/eval.go
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type Num struct {
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index c4f0f16225..4ccaa1855f 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -12,15 +12,15 @@ import (
"strings"
"time"
- "gitea.dev/modules/base"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/templates/eval"
- "gitea.dev/modules/util"
- "gitea.dev/services/gitdiff"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/templates/eval"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/gitdiff"
)
func newFuncMapWebPage() template.FuncMap {
diff --git a/modules/templates/helper_test.go b/modules/templates/helper_test.go
index f04724bfe6..58dd4e2770 100644
--- a/modules/templates/helper_test.go
+++ b/modules/templates/helper_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/templates/htmlrenderer.go b/modules/templates/htmlrenderer.go
index 23b61751c1..96168c397b 100644
--- a/modules/templates/htmlrenderer.go
+++ b/modules/templates/htmlrenderer.go
@@ -17,11 +17,11 @@ import (
"sync/atomic"
texttemplate "text/template"
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates/scopedtmpl"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates/scopedtmpl"
+ "gotea.dev/modules/util"
)
type TemplateExecutor scopedtmpl.TemplateExecutor
diff --git a/modules/templates/htmlrenderer_test.go b/modules/templates/htmlrenderer_test.go
index cb3e088d8b..7b499bbc3a 100644
--- a/modules/templates/htmlrenderer_test.go
+++ b/modules/templates/htmlrenderer_test.go
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/templates/mail.go b/modules/templates/mail.go
index 023be18f83..e47b2d2cd9 100644
--- a/modules/templates/mail.go
+++ b/modules/templates/mail.go
@@ -14,11 +14,11 @@ import (
"sync"
texttmpl "text/template"
- "gitea.dev/modules/base"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type MailRender struct {
diff --git a/modules/templates/page.go b/modules/templates/page.go
index c02f5b43ae..0d93dd360a 100644
--- a/modules/templates/page.go
+++ b/modules/templates/page.go
@@ -14,10 +14,10 @@ import (
"sync"
texttemplate "text/template"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type pageRenderer struct {
diff --git a/modules/templates/templates_bindata.go b/modules/templates/templates_bindata.go
index 49b40f93e1..f404ee44c5 100644
--- a/modules/templates/templates_bindata.go
+++ b/modules/templates/templates_bindata.go
@@ -10,7 +10,7 @@ package templates
import (
"sync"
- "gitea.dev/modules/assetfs"
+ "gotea.dev/modules/assetfs"
_ "embed"
)
diff --git a/modules/templates/templates_dynamic.go b/modules/templates/templates_dynamic.go
index 851378d2c3..8836d3ea66 100644
--- a/modules/templates/templates_dynamic.go
+++ b/modules/templates/templates_dynamic.go
@@ -6,8 +6,8 @@
package templates
import (
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/setting"
)
func BuiltinAssets() *assetfs.Layer {
diff --git a/modules/templates/util_actions.go b/modules/templates/util_actions.go
index 8bb52ef428..43af28e9c8 100644
--- a/modules/templates/util_actions.go
+++ b/modules/templates/util_actions.go
@@ -6,8 +6,8 @@ package templates
import (
"context"
- git_model "gitea.dev/models/git"
- actions_module "gitea.dev/modules/actions"
+ git_model "gotea.dev/models/git"
+ actions_module "gotea.dev/modules/actions"
)
type ActionsUtils struct {
diff --git a/modules/templates/util_avatar.go b/modules/templates/util_avatar.go
index 2382ce7792..f97156d1c9 100644
--- a/modules/templates/util_avatar.go
+++ b/modules/templates/util_avatar.go
@@ -9,14 +9,14 @@ import (
"html/template"
"strconv"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/avatars"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- gitea_html "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/avatars"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ gitea_html "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type AvatarUtils struct {
diff --git a/modules/templates/util_date.go b/modules/templates/util_date.go
index 823222e13e..a992d88dc0 100644
--- a/modules/templates/util_date.go
+++ b/modules/templates/util_date.go
@@ -10,8 +10,8 @@ import (
"strings"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
type DateUtils struct{}
diff --git a/modules/templates/util_date_test.go b/modules/templates/util_date_test.go
index 577d1bba5d..6be3a815b1 100644
--- a/modules/templates/util_date_test.go
+++ b/modules/templates/util_date_test.go
@@ -7,9 +7,9 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/templates/util_dict.go b/modules/templates/util_dict.go
index 09dc838d6b..144684e2f4 100644
--- a/modules/templates/util_dict.go
+++ b/modules/templates/util_dict.go
@@ -10,9 +10,9 @@ import (
"html/template"
"reflect"
- "gitea.dev/modules/container"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
)
func dictMerge(base map[string]any, arg any) bool {
diff --git a/modules/templates/util_format.go b/modules/templates/util_format.go
index 26c195450e..86aa70f23d 100644
--- a/modules/templates/util_format.go
+++ b/modules/templates/util_format.go
@@ -7,7 +7,7 @@ import (
"fmt"
"strconv"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
func timeEstimateString(timeSec any) string {
diff --git a/modules/templates/util_json.go b/modules/templates/util_json.go
index eaa384cf78..a32acca298 100644
--- a/modules/templates/util_json.go
+++ b/modules/templates/util_json.go
@@ -6,7 +6,7 @@ package templates
import (
"bytes"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
)
type JsonUtils struct{}
diff --git a/modules/templates/util_misc.go b/modules/templates/util_misc.go
index f2c1380ca3..d566311627 100644
--- a/modules/templates/util_misc.go
+++ b/modules/templates/util_misc.go
@@ -12,16 +12,16 @@ import (
"strings"
"time"
- activities_model "gitea.dev/models/activities"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
+ activities_model "gotea.dev/models/activities"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
"github.com/editorconfig/editorconfig-core-go/v2"
)
diff --git a/modules/templates/util_render.go b/modules/templates/util_render.go
index 42b195f7cb..723c5133dd 100644
--- a/modules/templates/util_render.go
+++ b/modules/templates/util_render.go
@@ -13,24 +13,24 @@ import (
"slices"
"strings"
- user_model "gitea.dev/models/gituser"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/renderhelper"
- "gitea.dev/models/repo"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/services/webtheme"
+ user_model "gotea.dev/models/gituser"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/renderhelper"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/webtheme"
)
type RenderUtils struct {
diff --git a/modules/templates/util_render_comment.go b/modules/templates/util_render_comment.go
index ebe831786e..59b1b288b5 100644
--- a/modules/templates/util_render_comment.go
+++ b/modules/templates/util_render_comment.go
@@ -7,11 +7,11 @@ import (
"html/template"
"strings"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/util"
)
func commentTimelineEventIsWipToggle(c *issues_model.Comment) (isToggle, isWip bool) {
diff --git a/modules/templates/util_render_comment_test.go b/modules/templates/util_render_comment_test.go
index 5dd5b27a0e..49f313f502 100644
--- a/modules/templates/util_render_comment_test.go
+++ b/modules/templates/util_render_comment_test.go
@@ -7,9 +7,9 @@ import (
"html/template"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/translation"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/templates/util_render_test.go b/modules/templates/util_render_test.go
index 496c9198ea..5b501eaa22 100644
--- a/modules/templates/util_render_test.go
+++ b/modules/templates/util_render_test.go
@@ -11,17 +11,17 @@ import (
"strings"
"testing"
- "gitea.dev/models/gituser"
- "gitea.dev/models/issues"
- "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
+ "gotea.dev/models/gituser"
+ "gotea.dev/models/issues"
+ "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/templates/util_slice.go b/modules/templates/util_slice.go
index e77b5dd75b..33fdeba8fd 100644
--- a/modules/templates/util_slice.go
+++ b/modules/templates/util_slice.go
@@ -10,7 +10,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type SliceUtils struct{}
diff --git a/modules/templates/util_string.go b/modules/templates/util_string.go
index 2b7b87d7c5..20993dec57 100644
--- a/modules/templates/util_string.go
+++ b/modules/templates/util_string.go
@@ -8,7 +8,7 @@ import (
"html/template"
"strings"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type StringUtils struct{}
diff --git a/modules/test/file.go b/modules/test/file.go
index 65362feec7..7ec92873f3 100644
--- a/modules/test/file.go
+++ b/modules/test/file.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
type FileHelper struct {
diff --git a/modules/test/logchecker.go b/modules/test/logchecker.go
index 04e1bd58f6..4942c921eb 100644
--- a/modules/test/logchecker.go
+++ b/modules/test/logchecker.go
@@ -11,7 +11,7 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
type LogChecker struct {
diff --git a/modules/test/logchecker_test.go b/modules/test/logchecker_test.go
index 1549ee4c94..0c81e9ba84 100644
--- a/modules/test/logchecker_test.go
+++ b/modules/test/logchecker_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/test/utils.go b/modules/test/utils.go
index fc1211c1e9..fb209c792d 100644
--- a/modules/test/utils.go
+++ b/modules/test/utils.go
@@ -20,8 +20,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
"golang.org/x/net/html"
)
diff --git a/modules/testlogger/testlogger.go b/modules/testlogger/testlogger.go
index 70d6841fec..2ab7ced580 100644
--- a/modules/testlogger/testlogger.go
+++ b/modules/testlogger/testlogger.go
@@ -13,9 +13,9 @@ import (
"testing"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/util"
)
var (
diff --git a/modules/timeutil/since.go b/modules/timeutil/since.go
index 1cdd2eec58..57f9ed41dd 100644
--- a/modules/timeutil/since.go
+++ b/modules/timeutil/since.go
@@ -7,7 +7,7 @@ import (
"strings"
"time"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
)
// Seconds-based time units
diff --git a/modules/timeutil/since_test.go b/modules/timeutil/since_test.go
index e5ef72d9b3..382d9a5caf 100644
--- a/modules/timeutil/since_test.go
+++ b/modules/timeutil/since_test.go
@@ -9,8 +9,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/timeutil/timestamp.go b/modules/timeutil/timestamp.go
index a8c443aa49..32f1a3f893 100644
--- a/modules/timeutil/timestamp.go
+++ b/modules/timeutil/timestamp.go
@@ -6,7 +6,7 @@ package timeutil
import (
"time"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// TimeStamp defines a timestamp
diff --git a/modules/timeutil/timestampnano.go b/modules/timeutil/timestampnano.go
index aaca246e81..6468df2ddb 100644
--- a/modules/timeutil/timestampnano.go
+++ b/modules/timeutil/timestampnano.go
@@ -6,7 +6,7 @@ package timeutil
import (
"time"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// TimeStampNano is for nano time in database, do not use it unless there is a real requirement.
diff --git a/modules/translation/i18n/localestore.go b/modules/translation/i18n/localestore.go
index 5504d2f622..d7a0c42914 100644
--- a/modules/translation/i18n/localestore.go
+++ b/modules/translation/i18n/localestore.go
@@ -10,8 +10,8 @@ import (
"html/template"
"slices"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
)
// This file implements the static LocaleStore that will not watch for changes
diff --git a/modules/translation/translation.go b/modules/translation/translation.go
index d54f55ea68..513834b0ea 100644
--- a/modules/translation/translation.go
+++ b/modules/translation/translation.go
@@ -10,11 +10,11 @@ import (
"strings"
"sync"
- "gitea.dev/modules/log"
- "gitea.dev/modules/options"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation/i18n"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/options"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation/i18n"
+ "gotea.dev/modules/util"
"golang.org/x/text/language"
"golang.org/x/text/message"
diff --git a/modules/translation/translation_test.go b/modules/translation/translation_test.go
index 2b6a0a5874..8ff77739a3 100644
--- a/modules/translation/translation_test.go
+++ b/modules/translation/translation_test.go
@@ -6,7 +6,7 @@ package translation
import (
"testing"
- "gitea.dev/modules/translation/i18n"
+ "gotea.dev/modules/translation/i18n"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/turnstile/turnstile.go b/modules/turnstile/turnstile.go
index 6c330cd626..45a5e042f8 100644
--- a/modules/turnstile/turnstile.go
+++ b/modules/turnstile/turnstile.go
@@ -11,10 +11,10 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/json"
- "gitea.dev/modules/proxy"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/proxy"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// httpClient returns an HTTP client that honors Gitea's proxy configuration.
diff --git a/modules/turnstile/turnstile_test.go b/modules/turnstile/turnstile_test.go
index a997e4c32a..99bdee2d1c 100644
--- a/modules/turnstile/turnstile_test.go
+++ b/modules/turnstile/turnstile_test.go
@@ -9,8 +9,8 @@ import (
"net/url"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/modules/updatechecker/update_checker.go b/modules/updatechecker/update_checker.go
index 5a9c2d40fd..fbb57c4e0b 100644
--- a/modules/updatechecker/update_checker.go
+++ b/modules/updatechecker/update_checker.go
@@ -8,10 +8,10 @@ import (
"io"
"net/http"
- "gitea.dev/modules/json"
- "gitea.dev/modules/proxy"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/system"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/proxy"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/system"
"github.com/hashicorp/go-version"
)
diff --git a/modules/util/rotatingfilewriter/writer.go b/modules/util/rotatingfilewriter/writer.go
index fc5c10881b..babaad8093 100644
--- a/modules/util/rotatingfilewriter/writer.go
+++ b/modules/util/rotatingfilewriter/writer.go
@@ -14,8 +14,8 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful/releasereopen"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful/releasereopen"
+ "gotea.dev/modules/util"
)
type Options struct {
diff --git a/modules/util/util.go b/modules/util/util.go
index 7df08f40c5..5c4211c2fc 100644
--- a/modules/util/util.go
+++ b/modules/util/util.go
@@ -15,7 +15,7 @@ import (
"strconv"
"sync"
- "gitea.dev/modules/container"
+ "gotea.dev/modules/container"
"golang.org/x/text/cases"
"golang.org/x/text/language"
diff --git a/modules/validation/binding.go b/modules/validation/binding.go
index e784c8876c..6509651219 100644
--- a/modules/validation/binding.go
+++ b/modules/validation/binding.go
@@ -11,11 +11,11 @@ import (
"strings"
"sync"
- "gitea.dev/modules/auth"
- "gitea.dev/modules/git"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/auth"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
"gitea.com/go-chi/binding" //nolint:depguard // this package wraps it
)
diff --git a/modules/validation/glob_pattern_test.go b/modules/validation/glob_pattern_test.go
index 44b1cac8e0..2b05985f70 100644
--- a/modules/validation/glob_pattern_test.go
+++ b/modules/validation/glob_pattern_test.go
@@ -6,7 +6,7 @@ package validation
import (
"testing"
- "gitea.dev/modules/glob"
+ "gotea.dev/modules/glob"
)
func getGlobPatternErrorString(pattern string) string {
diff --git a/modules/validation/helpers.go b/modules/validation/helpers.go
index 9a4db7014e..02d0ad12d6 100644
--- a/modules/validation/helpers.go
+++ b/modules/validation/helpers.go
@@ -12,8 +12,8 @@ import (
"sync"
"unicode/utf8"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/setting"
)
type globalVarsStruct struct {
diff --git a/modules/web/handler.go b/modules/web/handler.go
index 62fb0709b4..87b391cd8e 100644
--- a/modules/web/handler.go
+++ b/modules/web/handler.go
@@ -11,9 +11,9 @@ import (
"reflect"
"slices"
- "gitea.dev/modules/log"
- "gitea.dev/modules/web/routing"
- "gitea.dev/modules/web/types"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/web/routing"
+ "gotea.dev/modules/web/types"
)
var responseStatusProviders = map[reflect.Type]func(req *http.Request) types.ResponseStatusProvider{}
diff --git a/modules/web/middleware/binding.go b/modules/web/middleware/binding.go
index e19a309ea9..19ea05b891 100644
--- a/modules/web/middleware/binding.go
+++ b/modules/web/middleware/binding.go
@@ -9,11 +9,11 @@ import (
"reflect"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
"gitea.com/go-chi/binding" //nolint:depguard // this package wraps it
)
diff --git a/modules/web/middleware/binding_test.go b/modules/web/middleware/binding_test.go
index 0cd8dd6c79..e2ff07ec76 100644
--- a/modules/web/middleware/binding_test.go
+++ b/modules/web/middleware/binding_test.go
@@ -6,8 +6,8 @@ package middleware
import (
"testing"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/validation"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/validation"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/web/middleware/cookie.go b/modules/web/middleware/cookie.go
index 1db79582ff..7961ba97d9 100644
--- a/modules/web/middleware/cookie.go
+++ b/modules/web/middleware/cookie.go
@@ -9,10 +9,10 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
const (
diff --git a/modules/web/middleware/data.go b/modules/web/middleware/data.go
index dfe8e10a47..736f751895 100644
--- a/modules/web/middleware/data.go
+++ b/modules/web/middleware/data.go
@@ -7,9 +7,9 @@ import (
"context"
"time"
- "gitea.dev/modules/public"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
)
const (
diff --git a/modules/web/middleware/flash.go b/modules/web/middleware/flash.go
index 36a3615954..9e0b2f6e52 100644
--- a/modules/web/middleware/flash.go
+++ b/modules/web/middleware/flash.go
@@ -9,7 +9,7 @@ import (
"net/http"
"net/url"
- "gitea.dev/modules/reqctx"
+ "gotea.dev/modules/reqctx"
)
// Flash represents a one time data transfer between two requests.
diff --git a/modules/web/middleware/locale.go b/modules/web/middleware/locale.go
index 572f938aff..90a1c0d85b 100644
--- a/modules/web/middleware/locale.go
+++ b/modules/web/middleware/locale.go
@@ -6,8 +6,8 @@ package middleware
import (
"net/http"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/translation/i18n"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/translation/i18n"
"golang.org/x/text/language"
)
diff --git a/modules/web/routemock.go b/modules/web/routemock.go
index bbb8021193..b7f271e1b4 100644
--- a/modules/web/routemock.go
+++ b/modules/web/routemock.go
@@ -6,7 +6,7 @@ package web
import (
"net/http"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// MockAfterMiddlewares is a general mock point, it's between middlewares and the handler
diff --git a/modules/web/routemock_test.go b/modules/web/routemock_test.go
index 0db19f7827..4291f8febd 100644
--- a/modules/web/routemock_test.go
+++ b/modules/web/routemock_test.go
@@ -8,7 +8,7 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/modules/web/router.go b/modules/web/router.go
index d138402839..d86176c5f0 100644
--- a/modules/web/router.go
+++ b/modules/web/router.go
@@ -10,14 +10,14 @@ import (
"reflect"
"strings"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/public"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/modules/web/types"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/types"
"github.com/go-chi/chi/v5"
)
diff --git a/modules/web/router_path.go b/modules/web/router_path.go
index 46cc0d7c0a..4708e3d49c 100644
--- a/modules/web/router_path.go
+++ b/modules/web/router_path.go
@@ -10,8 +10,8 @@ import (
"slices"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/util"
"github.com/go-chi/chi/v5"
)
diff --git a/modules/web/router_test.go b/modules/web/router_test.go
index 2dceedbb27..9b2088bc45 100644
--- a/modules/web/router_test.go
+++ b/modules/web/router_test.go
@@ -11,10 +11,10 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/types"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/types"
"github.com/go-chi/chi/v5"
"github.com/stretchr/testify/assert"
diff --git a/modules/web/routing/context.go b/modules/web/routing/context.go
index 4ccdd62a5a..22cb7b54ce 100644
--- a/modules/web/routing/context.go
+++ b/modules/web/routing/context.go
@@ -7,10 +7,10 @@ import (
"context"
"net/http"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/web/types"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/web/types"
)
type contextKeyType struct{}
diff --git a/modules/web/routing/funcinfo.go b/modules/web/routing/funcinfo.go
index 7776c975b2..428bca33fe 100644
--- a/modules/web/routing/funcinfo.go
+++ b/modules/web/routing/funcinfo.go
@@ -130,7 +130,7 @@ func copyFuncInfo(l *FuncInfo) *FuncInfo {
}
}
-// shortenFilename generates a short source code filename from a full package path, eg: "gitea.dev/routers/common/logger_context.go" => "common/logger_context.go"
+// shortenFilename generates a short source code filename from a full package path, eg: "gotea.dev/routers/common/logger_context.go" => "common/logger_context.go"
func shortenFilename(filename, fallback string) string {
if filename == "" {
return fallback
diff --git a/modules/web/routing/funcinfo_test.go b/modules/web/routing/funcinfo_test.go
index aa6a58b594..ab573a27d5 100644
--- a/modules/web/routing/funcinfo_test.go
+++ b/modules/web/routing/funcinfo_test.go
@@ -17,7 +17,7 @@ func Test_shortenFilename(t *testing.T) {
expected string
}{
{
- "gitea.dev/routers/common/logger_context.go",
+ "gotea.dev/routers/common/logger_context.go",
"NO_FALLBACK",
"common/logger_context.go",
},
diff --git a/modules/web/routing/logger.go b/modules/web/routing/logger.go
index 4a94b71d6d..d1f77ceadf 100644
--- a/modules/web/routing/logger.go
+++ b/modules/web/routing/logger.go
@@ -7,8 +7,8 @@ import (
"net/http"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/web/types"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/web/types"
)
var (
diff --git a/modules/web/routing/logger_manager.go b/modules/web/routing/logger_manager.go
index 3a331c8eb5..73130a773b 100644
--- a/modules/web/routing/logger_manager.go
+++ b/modules/web/routing/logger_manager.go
@@ -9,9 +9,9 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
)
// Event indicates when the printer is triggered
diff --git a/modules/web/routing/requestinfo.go b/modules/web/routing/requestinfo.go
index 5cbd192cc4..a189b4c824 100644
--- a/modules/web/routing/requestinfo.go
+++ b/modules/web/routing/requestinfo.go
@@ -9,8 +9,8 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// NewRequestInfoHandler is a handler that saves request info into request context.
diff --git a/modules/web/routing/requestrecord.go b/modules/web/routing/requestrecord.go
index d51c95dd39..65ea94a1b3 100644
--- a/modules/web/routing/requestrecord.go
+++ b/modules/web/routing/requestrecord.go
@@ -8,7 +8,7 @@ import (
"sync"
"time"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
type requestRecord struct {
diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json
index 6707c552a9..fbdc011949 100644
--- a/options/locale/locale_en-US.json
+++ b/options/locale/locale_en-US.json
@@ -25,7 +25,7 @@
"enable_javascript": "This website requires JavaScript.",
"toc": "Table of Contents",
"licenses": "Licenses",
- "return_to_gitea": "Return to Gitea",
+ "return_to_gitea": "Return to Gotea",
"more_items": "More items",
"username": "Username",
"email": "Email Address",
@@ -227,7 +227,7 @@
"filter.string.asc": "A–Z",
"filter.string.desc": "Z–A",
"error.occurred": "An error occurred",
- "error.report_message": "If you believe that this is a Gitea bug, please search for issues on GitHub or open a new issue if necessary.",
+ "error.report_message": "If you believe that this is a Gotea bug, please search for issues on GitHub or open a new issue if necessary.",
"error.not_found": "The target couldn't be found.",
"error.permission_denied": "Permission denied.",
"error.network_error": "Network error",
@@ -235,17 +235,17 @@
"startpage.install": "Easy to install",
"startpage.install_desc": "Simply run the binary for your platform, ship it with Docker, or get it packaged.",
"startpage.platform": "Cross-platform",
- "startpage.platform_desc": "Gitea runs anywhere Go can compile for: Windows, macOS, Linux, ARM, etc. Choose the one you love!",
+ "startpage.platform_desc": "Gotea runs anywhere Go can compile for: Windows, macOS, Linux, ARM, etc. Choose the one you love!",
"startpage.lightweight": "Lightweight",
- "startpage.lightweight_desc": "Gitea has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy!",
+ "startpage.lightweight_desc": "Gotea has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy!",
"startpage.license": "Open Source",
"startpage.license_desc": "Go get %[2]s! Join us by contributing to make this project even better. Don't hesitate to contribute!",
"install.install": "Installation",
"install.installing_desc": "Installing now, please wait…",
"install.title": "Initial Configuration",
- "install.docker_helper": "If you run Gitea inside Docker, please read the documentation before changing any settings.",
+ "install.docker_helper": "If you run Gotea inside Docker, please read the documentation before changing any settings.",
"install.config_edit_helper": "To fine tune more details: edit the configuration file after installation. Reference: app.example.ini.",
- "install.require_db_desc": "Gitea requires MySQL, PostgreSQL, MSSQL, SQLite3 or TiDB (MySQL protocol).",
+ "install.require_db_desc": "Gotea requires MySQL, PostgreSQL, MSSQL, SQLite3 or TiDB (MySQL protocol).",
"install.db_title": "Database Settings",
"install.db_type": "Database Type",
"install.host": "Host",
@@ -256,12 +256,12 @@
"install.db_schema_helper": "Leave blank for database default (\"public\").",
"install.ssl_mode": "SSL",
"install.path": "Path",
- "install.sqlite_helper": "File path for the SQLite3 database.
Enter an absolute path if you run Gitea as a service.",
- "install.reinstall_error": "You are trying to install into an existing Gitea database",
- "install.reinstall_confirm_message": "Re-installing with an existing Gitea database can cause multiple problems. In most cases, you should use your existing \"app.ini\" to run Gitea. If you know what you are doing, confirm the following:",
+ "install.sqlite_helper": "File path for the SQLite3 database.
Enter an absolute path if you run Gotea as a service.",
+ "install.reinstall_error": "You are trying to install into an existing Gotea database",
+ "install.reinstall_confirm_message": "Re-installing with an existing Gotea database can cause multiple problems. In most cases, you should use your existing \"app.ini\" to run Gotea. If you know what you are doing, confirm the following:",
"install.reinstall_confirm_check_1": "The data encrypted by the SECRET_KEY in app.ini may be lost: users may not be able to log in with 2FA/OTP and mirrors may not function correctly. By checking this box, you confirm that the current app.ini file contains the correct SECRET_KEY.",
"install.reinstall_confirm_check_2": "The repositories and settings may need to be resynchronized. By checking this box, you confirm that you will resynchronize the hooks for the repositories and authorized_keys file manually. You confirm that you will ensure that repository and mirror settings are correct.",
- "install.reinstall_confirm_check_3": "You confirm that you are absolutely sure that this Gitea is running with the correct app.ini location and that you are sure that you have to re-install. You confirm that you acknowledge the above risks.",
+ "install.reinstall_confirm_check_3": "You confirm that you are absolutely sure that this Gotea is running with the correct app.ini location and that you are sure that you have to re-install. You confirm that you acknowledge the above risks.",
"install.err_empty_db_path": "The SQLite3 database path cannot be empty.",
"install.no_admin_and_disable_registration": "You cannot disable user self-registration without creating an administrator account.",
"install.admin_user_recreation_disallowed": "You cannot re-create an admin user since the database user table is not empty, you can use 'gitea admin user ...' sub-commands to manage admin users after installation.",
@@ -274,24 +274,24 @@
"install.app_name": "Site Title",
"install.app_name_helper": "You can enter your company name here.",
"install.app_data_path": "Data Path",
- "install.app_data_path_helper": "Most Gitea data will be saved to this directory.",
+ "install.app_data_path_helper": "Most Gotea data will be saved to this directory.",
"install.run_user": "Run As Username",
- "install.run_user_helper": "The operating system username that Gitea runs as, it must have write access to the data paths. This value is auto-detected and cannot be changed here. To use a different user, restart Gitea under that account.",
+ "install.run_user_helper": "The operating system username that Gotea runs as, it must have write access to the data paths. This value is auto-detected and cannot be changed here. To use a different user, restart Gotea under that account.",
"install.domain": "Server Domain",
"install.domain_helper": "Domain or host address for the server.",
"install.ssh_port": "SSH Server Port",
"install.ssh_port_helper": "Port number your SSH server listens on. Leave empty to disable.",
"install.http_port": "HTTP Server Port",
- "install.http_port_helper": "Port number the Gitea web server will listen on.",
- "install.app_url": "Gitea Website URL",
- "install.app_url_helper": "Gitea web application's public URL for HTTP(S) access, clone URLs and email notifications.",
+ "install.http_port_helper": "Port number the Gotea web server will listen on.",
+ "install.app_url": "Gotea Website URL",
+ "install.app_url_helper": "Gotea web application's public URL for HTTP(S) access, clone URLs and email notifications.",
"install.optional_title": "Optional Settings",
"install.email_title": "Email Settings",
"install.smtp_addr": "SMTP Host",
"install.smtp_port": "SMTP Port",
"install.smtp_from": "Send Email As",
"install.smtp_from_invalid": "The \"Send Email As\" address is invalid",
- "install.smtp_from_helper": "Email address Gitea will use. Enter a plain email address or use the \"Name\" format.",
+ "install.smtp_from_helper": "Email address Gotea will use. Enter a plain email address or use the \"Name\" format.",
"install.mailer_user": "SMTP Username",
"install.mailer_password": "SMTP Password",
"install.register_confirm": "Require Email Confirmation to Register",
@@ -308,7 +308,7 @@
"install.admin_password": "Password",
"install.confirm_password": "Confirm Password",
"install.admin_email": "Email Address",
- "install.install_btn_confirm": "Install Gitea",
+ "install.install_btn_confirm": "Install Gotea",
"install.test_git_failed": "Could not test 'git' command: %v",
"install.invalid_db_setting": "The database settings are invalid: %v",
"install.invalid_db_table": "The database table \"%s\" is invalid: %v",
@@ -375,7 +375,7 @@
"auth.forgot_password_title": "Forgot Password",
"auth.forgot_password": "Forgot password?",
"auth.need_account": "Need an account?",
- "auth.sign_up_tip": "You are registering the first account in the system, which has administrator privileges. Please carefully remember your username and password. If you forget the username or password, please refer to the Gitea documentation to recover the account.",
+ "auth.sign_up_tip": "You are registering the first account in the system, which has administrator privileges. Please carefully remember your username and password. If you forget the username or password, please refer to the Gotea documentation to recover the account.",
"auth.sign_up_now": "Register now.",
"auth.sign_up_successful": "Account was successfully created. Welcome!",
"auth.confirmation_mail_sent_prompt_ex": "A new confirmation email has been sent to %s. Please check your inbox within the next %s to complete the registration process. If your registration email address is incorrect, you can sign in again and change it.",
@@ -399,7 +399,7 @@
"auth.reset_password_helper": "Recover Account",
"auth.reset_password_wrong_user": "You are signed in as %s, but the account recovery link is meant for %s",
"auth.password_too_short": "Password length cannot be less than %d characters.",
- "auth.non_local_account": "Non-local users cannot update their password through the Gitea web interface.",
+ "auth.non_local_account": "Non-local users cannot update their password through the Gotea web interface.",
"auth.verify": "Verify",
"auth.scratch_code": "Scratch code",
"auth.use_scratch_code": "Use a scratch code",
@@ -715,7 +715,7 @@
"settings.retype_new_password": "Confirm New Password",
"settings.password_incorrect": "The current password is incorrect.",
"settings.change_password_success": "Your password has been updated. Sign in using your new password from now on.",
- "settings.password_change_disabled": "Non-local users cannot update their password through the Gitea web interface.",
+ "settings.password_change_disabled": "Non-local users cannot update their password through the Gotea web interface.",
"settings.emails": "Email Addresses",
"settings.manage_emails": "Manage Email Addresses",
"settings.manage_themes": "Select default theme",
@@ -723,7 +723,7 @@
"settings.email_desc": "Your primary email address will be used for notifications, password recovery and, provided that it is not hidden, web-based Git operations.",
"settings.theme_desc": "This will be your default theme across the site.",
"settings.theme_colorblindness_help": "Color blindness Theme Support",
- "settings.theme_colorblindness_prompt": "Gitea only has a few themes with basic color blindness support, which only have a few colors defined. The work is still in progress. More improvements could be made by defining more colors in the theme CSS files.",
+ "settings.theme_colorblindness_prompt": "Gotea only has a few themes with basic color blindness support, which only have a few colors defined. The work is still in progress. More improvements could be made by defining more colors in the theme CSS files.",
"settings.primary": "Primary",
"settings.activated": "Activated",
"settings.requires_activation": "Requires activation",
@@ -832,7 +832,7 @@
"settings.unbind_success": "The social account has been removed successfully.",
"settings.manage_access_token": "Manage Access Tokens",
"settings.generate_new_token": "Generate New Token",
- "settings.tokens_desc": "These tokens grant access to your account using the Gitea API.",
+ "settings.tokens_desc": "These tokens grant access to your account using the Gotea API.",
"settings.token_name": "Token Name",
"settings.generate_token": "Generate Token",
"settings.generate_token_success": "Your new token has been generated. Copy it now as it will not be shown again.",
@@ -861,7 +861,7 @@
"settings.permissions_list": "Permissions:",
"settings.manage_oauth2_applications": "Manage OAuth2 Applications",
"settings.edit_oauth2_application": "Edit OAuth2 Application",
- "settings.oauth2_applications_desc": "OAuth2 applications enable your third-party application to securely authenticate users at this Gitea instance.",
+ "settings.oauth2_applications_desc": "OAuth2 applications enable your third-party application to securely authenticate users at this Gotea instance.",
"settings.remove_oauth2_application": "Remove OAuth2 Application",
"settings.remove_oauth2_application_desc": "Removing an OAuth2 application will revoke access to all signed access tokens. Continue?",
"settings.remove_oauth2_application_success": "The application has been deleted.",
@@ -882,9 +882,9 @@
"settings.oauth2_application_edit": "Edit",
"settings.oauth2_application_create_description": "OAuth2 applications give your third-party application access to user accounts on this instance.",
"settings.oauth2_application_remove_description": "Removing an OAuth2 application will prevent it from accessing authorized user accounts on this instance. Continue?",
- "settings.oauth2_application_locked": "Gitea pre-registers some OAuth2 applications on startup if enabled in config. To prevent unexpected behavior, these can neither be edited nor removed. Please refer to the OAuth2 documentation for more information.",
+ "settings.oauth2_application_locked": "Gotea pre-registers some OAuth2 applications on startup if enabled in config. To prevent unexpected behavior, these can neither be edited nor removed. Please refer to the OAuth2 documentation for more information.",
"settings.authorized_oauth2_applications": "Authorized OAuth2 Applications",
- "settings.authorized_oauth2_applications_description": "You have granted access to your personal Gitea account to these third-party applications. Please revoke access for applications you no longer need.",
+ "settings.authorized_oauth2_applications_description": "You have granted access to your personal Gotea account to these third-party applications. Please revoke access for applications you no longer need.",
"settings.revoke_key": "Revoke",
"settings.revoke_oauth2_grant": "Revoke Access",
"settings.revoke_oauth2_grant_description": "Revoking access for this third-party application will prevent this application from accessing your data. Are you sure?",
@@ -915,11 +915,11 @@
"settings.webauthn_key_loss_warning": "If you lose your security keys, you will lose access to your account.",
"settings.webauthn_alternative_tip": "You may want to configure an additional authentication method.",
"settings.manage_account_links": "Manage Linked Accounts",
- "settings.manage_account_links_desc": "These external accounts are linked to your Gitea account.",
- "settings.account_links_not_available": "No external accounts are currently linked to your Gitea account.",
+ "settings.manage_account_links_desc": "These external accounts are linked to your Gotea account.",
+ "settings.account_links_not_available": "No external accounts are currently linked to your Gotea account.",
"settings.link_account": "Link Account",
"settings.remove_account_link": "Remove Linked Account",
- "settings.remove_account_link_desc": "Removing a linked account will revoke its access to your Gitea account. Continue?",
+ "settings.remove_account_link_desc": "Removing a linked account will revoke its access to your Gotea account. Continue?",
"settings.remove_account_link_success": "The linked account has been removed.",
"settings.hooks.desc": "Add webhooks which will be triggered for all repositories that you own.",
"settings.orgs_none": "You are not a member of any organizations.",
@@ -935,7 +935,7 @@
"settings.email_notifications.disable": "Disable Email Notifications",
"settings.email_notifications.submit": "Set Email Preference",
"settings.email_notifications.andyourown": "And Your Own Notifications",
- "settings.email_notifications.actions.desc": "Notifications for workflow runs on repositories set up with Gitea Actions.",
+ "settings.email_notifications.actions.desc": "Notifications for workflow runs on repositories set up with Gotea Actions.",
"settings.email_notifications.actions.failure_only": "Only notify for failed workflow runs",
"settings.visibility": "User visibility",
"settings.visibility.public": "Public",
@@ -1119,7 +1119,7 @@
"repo.migrate.github.description": "Migrate data from github.com or other GitHub instances.",
"repo.migrate.git.description": "Migrate a repository only from any Git service.",
"repo.migrate.gitlab.description": "Migrate data from gitlab.com or other GitLab instances.",
- "repo.migrate.gitea.description": "Migrate data from gitea.com or other Gitea instances.",
+ "repo.migrate.gitea.description": "Migrate data from gitea.com or other Gotea instances.",
"repo.migrate.gogs.description": "Migrate data from notabug.org or other Gogs instances.",
"repo.migrate.onedev.description": "Migrate data from code.onedev.io or other OneDev instances.",
"repo.migrate.codebase.description": "Migrate data from codebasehq.com.",
@@ -1900,7 +1900,7 @@
"repo.pulls.cmd_instruction_checkout_title": "Checkout",
"repo.pulls.cmd_instruction_checkout_desc": "From your project repository, check out a new branch and test the changes.",
"repo.pulls.cmd_instruction_merge_title": "Merge",
- "repo.pulls.cmd_instruction_merge_desc": "Merge the changes and update on Gitea.",
+ "repo.pulls.cmd_instruction_merge_desc": "Merge the changes and update on Gotea.",
"repo.pulls.cmd_instruction_merge_warning": "Warning: This operation cannot merge pull request because \"autodetect manual merge\" is not enabled.",
"repo.pulls.clear_merge_message": "Clear merge message",
"repo.pulls.clear_merge_message_hint": "Clearing the merge message will only remove the commit message content and keep generated git trailers such as \"Co-Authored-By…\".",
@@ -2210,11 +2210,11 @@
"repo.settings.trust_model.collaborator.long": "Collaborator: Trust signatures by collaborators",
"repo.settings.trust_model.collaborator.desc": "Valid signatures by collaborators of this repository will be marked \"trusted\", whether they match the committer or not. Otherwise, valid signatures will be marked \"untrusted\" if the signature matches the committer and \"unmatched\" if not.",
"repo.settings.trust_model.committer": "Committer",
- "repo.settings.trust_model.committer.long": "Committer: Trust signatures that match committers. This matches GitHub's behavior and will force commits signed by Gitea to have Gitea as the committer.",
- "repo.settings.trust_model.committer.desc": "Valid signatures will only be marked \"trusted\" if they match the committer, otherwise they will be marked \"unmatched\". This forces Gitea to be the committer on signed commits, with the actual committer marked as a Co-authored-by: trailer in the commit. The default Gitea key must match a user in the database.",
+ "repo.settings.trust_model.committer.long": "Committer: Trust signatures that match committers. This matches GitHub's behavior and will force commits signed by Gotea to have Gotea as the committer.",
+ "repo.settings.trust_model.committer.desc": "Valid signatures will only be marked \"trusted\" if they match the committer, otherwise they will be marked \"unmatched\". This forces Gotea to be the committer on signed commits, with the actual committer marked as a Co-authored-by: trailer in the commit. The default Gotea key must match a user in the database.",
"repo.settings.trust_model.collaboratorcommitter": "Collaborator+Committer",
"repo.settings.trust_model.collaboratorcommitter.long": "Collaborator+Committer: Trust signatures by collaborators which match the committer",
- "repo.settings.trust_model.collaboratorcommitter.desc": "Valid signatures by collaborators of this repository will be marked \"trusted\" if they match the committer. Otherwise, valid signatures will be marked \"untrusted\" if the signature matches the committer and \"unmatched\" otherwise. This will force Gitea to be marked as the committer on signed commits, with the actual committer marked as a Co-Authored-By: trailer in the commit. The default Gitea key must match a user in the database.",
+ "repo.settings.trust_model.collaboratorcommitter.desc": "Valid signatures by collaborators of this repository will be marked \"trusted\" if they match the committer. Otherwise, valid signatures will be marked \"untrusted\" if the signature matches the committer and \"unmatched\" otherwise. This will force Gotea to be marked as the committer on signed commits, with the actual committer marked as a Co-Authored-By: trailer in the commit. The default Gotea key must match a user in the database.",
"repo.settings.wiki_delete": "Delete Wiki Data",
"repo.settings.wiki_delete_desc": "Deleting repository wiki data is permanent and cannot be undone.",
"repo.settings.wiki_delete_notices_1": "- This will permanently delete and disable the repository wiki for %s.",
@@ -2251,7 +2251,7 @@
"repo.settings.remove_team_success": "The team's access to the repository has been removed.",
"repo.settings.add_webhook": "Add Webhook",
"repo.settings.add_webhook.invalid_channel_name": "Webhook channel name cannot be empty and cannot contain only a # character.",
- "repo.settings.hooks_desc": "Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Read more in the webhooks guide.",
+ "repo.settings.hooks_desc": "Webhooks automatically make HTTP POST requests to a server when certain Gotea events trigger. Read more in the webhooks guide.",
"repo.settings.webhook_deletion": "Remove Webhook",
"repo.settings.webhook_deletion_desc": "Removing a webhook deletes its settings and delivery history. Continue?",
"repo.settings.webhook_deletion_success": "The webhook has been removed.",
@@ -2268,7 +2268,7 @@
"repo.settings.githooks_desc": "Git Hooks are powered by Git itself. You can edit hook files below to set up custom operations.",
"repo.settings.githook_edit_desc": "If the hook is inactive, sample content will be presented. Leaving content to an empty value will disable this hook.",
"repo.settings.update_githook": "Update Hook",
- "repo.settings.add_webhook_desc": "Gitea will send POST requests with a specified content type to the target URL. Read more in the webhooks guide.",
+ "repo.settings.add_webhook_desc": "Gotea will send POST requests with a specified content type to the target URL. Read more in the webhooks guide.",
"repo.settings.payload_url": "Target URL",
"repo.settings.http_method": "HTTP Method",
"repo.settings.content_type": "POST Content Type",
@@ -2336,9 +2336,9 @@
"repo.settings.event_pull_request_merge": "Pull Request Merge",
"repo.settings.event_header_workflow": "Workflow Events",
"repo.settings.event_workflow_run": "Workflow Run",
- "repo.settings.event_workflow_run_desc": "Gitea Actions Workflow run queued, waiting, in progress, or completed.",
+ "repo.settings.event_workflow_run_desc": "Gotea Actions Workflow run queued, waiting, in progress, or completed.",
"repo.settings.event_workflow_job": "Workflow Jobs",
- "repo.settings.event_workflow_job_desc": "Gitea Actions Workflow job queued, waiting, in progress, or completed.",
+ "repo.settings.event_workflow_job_desc": "Gotea Actions Workflow job queued, waiting, in progress, or completed.",
"repo.settings.event_package": "Package",
"repo.settings.event_package_desc": "Package created or deleted in a repository.",
"repo.settings.branch_filter": "Branch filter",
@@ -2359,7 +2359,7 @@
"repo.settings.slack_domain": "Domain",
"repo.settings.slack_channel": "Channel",
"repo.settings.add_web_hook_desc": "Integrate %s into your repository.",
- "repo.settings.web_hook_name_gitea": "Gitea",
+ "repo.settings.web_hook_name_gitea": "Gotea",
"repo.settings.web_hook_name_gogs": "Gogs",
"repo.settings.web_hook_name_slack": "Slack",
"repo.settings.web_hook_name_discord": "Discord",
@@ -2671,7 +2671,7 @@
"repo.release.delete_release": "Delete Release",
"repo.release.delete_tag": "Delete Tag",
"repo.release.deletion": "Delete Release",
- "repo.release.deletion_desc": "Deleting a release only removes it from Gitea. It will not affect the Git tag, the contents of your repository or its history. Continue?",
+ "repo.release.deletion_desc": "Deleting a release only removes it from Gotea. It will not affect the Git tag, the contents of your repository or its history. Continue?",
"repo.release.deletion_success": "The release has been deleted.",
"repo.release.deletion_tag_desc": "Will delete this tag from repository. Repository contents and history remain unchanged. Continue?",
"repo.release.deletion_tag_success": "The tag has been deleted.",
@@ -2960,7 +2960,7 @@
"admin.last_page": "Last",
"admin.total": "Total: %d",
"admin.settings": "Admin Settings",
- "admin.dashboard.new_version_hint": "Gitea %s is now available, you are running %s. Check the blog for more details.",
+ "admin.dashboard.new_version_hint": "Gotea %s is now available, you are running %s. Check the blog for more details.",
"admin.dashboard.statistic": "Summary",
"admin.dashboard.maintenance_operations": "Maintenance Operations",
"admin.dashboard.system_status": "System Status",
@@ -2996,8 +2996,8 @@
"admin.dashboard.deleted_branches_cleanup": "Clean up deleted branches",
"admin.dashboard.update_migration_poster_id": "Update migration poster IDs",
"admin.dashboard.git_gc_repos": "Garbage-collect all repositories",
- "admin.dashboard.resync_all_sshkeys": "Update the '.ssh/authorized_keys' file with Gitea SSH keys",
- "admin.dashboard.resync_all_sshprincipals": "Update the '.ssh/authorized_principals' file with Gitea SSH principals",
+ "admin.dashboard.resync_all_sshkeys": "Update the '.ssh/authorized_keys' file with Gotea SSH keys",
+ "admin.dashboard.resync_all_sshprincipals": "Update the '.ssh/authorized_principals' file with Gotea SSH principals",
"admin.dashboard.resync_all_hooks": "Resynchronize git hooks of all repositories (pre-receive, update, post-receive, proc-receive, ...)",
"admin.dashboard.reinit_missing_repos": "Reinitialize all missing Git repositories for which records exist",
"admin.dashboard.sync_external_users": "Synchronize external user data",
@@ -3087,7 +3087,7 @@
"admin.users.is_admin": "Is Administrator",
"admin.users.is_restricted": "Is Restricted",
"admin.users.allow_git_hook": "May Create Git Hooks",
- "admin.users.allow_git_hook_tooltip": "Git Hooks are executed as the OS user running Gitea and will have the same level of host access. As a result, users with this special Git Hook privilege can access and modify all Gitea repositories as well as the database used by Gitea. Consequently they are also able to gain Gitea administrator privileges.",
+ "admin.users.allow_git_hook_tooltip": "Git Hooks are executed as the OS user running Gotea and will have the same level of host access. As a result, users with this special Git Hook privilege can access and modify all Gotea repositories as well as the database used by Gotea. Consequently they are also able to gain Gotea administrator privileges.",
"admin.users.allow_import_local": "May Import Local Repositories",
"admin.users.allow_create_organization": "May Create Organizations",
"admin.users.update_profile": "Update User Account",
@@ -3163,11 +3163,11 @@
"admin.packages.size": "Size",
"admin.packages.published": "Published",
"admin.defaulthooks": "Default Webhooks",
- "admin.defaulthooks.desc": "Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here are defaults and will be copied into all new repositories. Read more in the webhooks guide.",
+ "admin.defaulthooks.desc": "Webhooks automatically make HTTP POST requests to a server when certain Gotea events trigger. Webhooks defined here are defaults and will be copied into all new repositories. Read more in the webhooks guide.",
"admin.defaulthooks.add_webhook": "Add Default Webhook",
"admin.defaulthooks.update_webhook": "Update Default Webhook",
"admin.systemhooks": "System Webhooks",
- "admin.systemhooks.desc": "Webhooks automatically make HTTP POST requests to a server when certain Gitea events trigger. Webhooks defined here will act on all repositories on the system, so please consider any performance implications this may have. Read more in the webhooks guide.",
+ "admin.systemhooks.desc": "Webhooks automatically make HTTP POST requests to a server when certain Gotea events trigger. Webhooks defined here will act on all repositories on the system, so please consider any performance implications this may have. Read more in the webhooks guide.",
"admin.systemhooks.add_webhook": "Add System Webhook",
"admin.systemhooks.update_webhook": "Update System Webhook",
"admin.auths.auth_manage_panel": "Authentication Source Management",
@@ -3188,7 +3188,7 @@
"admin.auths.user_base": "User Search Base",
"admin.auths.user_dn": "User DN",
"admin.auths.attribute_username": "Username Attribute",
- "admin.auths.attribute_username_placeholder": "Leave empty to use the username entered in Gitea.",
+ "admin.auths.attribute_username_placeholder": "Leave empty to use the username entered in Gotea.",
"admin.auths.attribute_name": "First Name Attribute",
"admin.auths.attribute_surname": "Surname Attribute",
"admin.auths.attribute_mail": "Email Attribute",
@@ -3295,7 +3295,7 @@
"admin.auths.invalid_openIdConnectAutoDiscoveryURL": "Invalid Auto Discovery URL (this must be a valid URL starting with http:// or https://)",
"admin.config.server_config": "Server Configuration",
"admin.config.app_name": "Site Title",
- "admin.config.app_ver": "Gitea Version",
+ "admin.config.app_ver": "Gotea Version",
"admin.config.custom_conf": "Configuration File Path",
"admin.config.custom_file_root_path": "Custom File Root Path",
"admin.config.disable_router_log": "Disable Router Log",
@@ -3332,7 +3332,7 @@
"admin.config.service_config": "Service Configuration",
"admin.config.register_email_confirm": "Require Email Confirmation to Register",
"admin.config.disable_register": "Disable Self-Registration",
- "admin.config.allow_only_internal_registration": "Allow Registration Only Through Gitea itself",
+ "admin.config.allow_only_internal_registration": "Allow Registration Only Through Gotea itself",
"admin.config.allow_only_external_registration": "Allow Registration Only Through External Services",
"admin.config.enable_openid_signup": "Enable OpenID Self-Registration",
"admin.config.enable_openid_signin": "Enable OpenID Sign-In",
@@ -3473,11 +3473,11 @@
"admin.self_check.no_problem_found": "No problem found yet.",
"admin.self_check.startup_warnings": "Startup warnings:",
"admin.self_check.database_collation_mismatch": "Expect database to use collation: %s",
- "admin.self_check.database_collation_case_insensitive": "Database is using collation %s, which is a case-insensitive collation. Although Gitea could work with it, there might be some rare cases which don't work as expected.",
+ "admin.self_check.database_collation_case_insensitive": "Database is using collation %s, which is a case-insensitive collation. Although Gotea could work with it, there might be some rare cases which don't work as expected.",
"admin.self_check.database_inconsistent_collation_columns": "Database is using collation %s, but these columns are using mismatched collations. This might cause some unexpected problems.",
"admin.self_check.database_fix_mysql": "For MySQL/MariaDB users, you could use the \"gitea doctor convert\" command to fix the collation problems, or you could also fix the problem manually with \"ALTER ... COLLATE ...\" SQL queries.",
"admin.self_check.database_fix_mssql": "For MSSQL users, you could only fix the problem manually with \"ALTER ... COLLATE ...\" SQL queries at the moment.",
- "admin.self_check.location_origin_mismatch": "Current URL (%[1]s) doesn't match the URL seen by Gitea (%[2]s). If you are using a reverse proxy, please make sure the \"Host\" and \"X-Forwarded-Proto\" headers are set correctly.",
+ "admin.self_check.location_origin_mismatch": "Current URL (%[1]s) doesn't match the URL seen by Gotea (%[2]s). If you are using a reverse proxy, please make sure the \"Host\" and \"X-Forwarded-Proto\" headers are set correctly.",
"action.create_repo": "created repository %s",
"action.rename_repo": "renamed repository from %[1]s to %[3]s",
"action.commit_repo": "pushed to %[3]s at %[4]s",
@@ -3857,8 +3857,8 @@
"actions.runs.branches_no_select": "All branches",
"actions.runs.no_results": "No results matched.",
"actions.runs.no_workflows": "There are no workflows yet.",
- "actions.runs.no_workflows.quick_start": "Don't know how to start with Gitea Actions? See the quick start guide.",
- "actions.runs.no_workflows.documentation": "For more information on Gitea Actions, see the documentation.",
+ "actions.runs.no_workflows.quick_start": "Don't know how to start with Gotea Actions? See the quick start guide.",
+ "actions.runs.no_workflows.documentation": "For more information on Gotea Actions, see the documentation.",
"actions.runs.no_runs": "The workflow has no runs yet.",
"actions.runs.empty_commit_message": "(empty commit message)",
"actions.runs.expire_log_message": "Logs have been purged because they were too old.",
diff --git a/routers/api/actions/actions.go b/routers/api/actions/actions.go
index d75517cac6..ce206c761f 100644
--- a/routers/api/actions/actions.go
+++ b/routers/api/actions/actions.go
@@ -6,9 +6,9 @@ package actions
import (
"net/http"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/actions/ping"
- "gitea.dev/routers/api/actions/runner"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/actions/ping"
+ "gotea.dev/routers/api/actions/runner"
)
func Routes(prefix string) *web.Router {
diff --git a/routers/api/actions/artifact.pb.go b/routers/api/actions/artifact.pb.go
index 6b5ac37114..46e4812137 100644
--- a/routers/api/actions/artifact.pb.go
+++ b/routers/api/actions/artifact.pb.go
@@ -760,7 +760,7 @@ const file_artifact_proto_rawDesc = "" +
"\x16DeleteArtifactResponse\x12\x0e\n" +
"\x02ok\x18\x01 \x01(\bR\x02ok\x12\x1f\n" +
"\vartifact_id\x18\x02 \x01(\x03R\n" +
- "artifactIdB\x1fZ\x1dgitea.dev/routers/api/actionsb\x06proto3"
+ "artifactIdB\x1fZ\x1dgotea.dev/routers/api/actionsb\x06proto3"
var (
file_artifact_proto_rawDescOnce sync.Once
diff --git a/routers/api/actions/artifacts.go b/routers/api/actions/artifacts.go
index 4548e768ff..04caf816bf 100644
--- a/routers/api/actions/artifacts.go
+++ b/routers/api/actions/artifacts.go
@@ -70,21 +70,21 @@ import (
"strconv"
"strings"
- "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- web_types "gitea.dev/modules/web/types"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/context"
+ "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ web_types "gotea.dev/modules/web/types"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/context"
)
const artifactRouteBase = "/_apis/pipelines/workflows/{run_id}/artifacts"
diff --git a/routers/api/actions/artifacts_chunks.go b/routers/api/actions/artifacts_chunks.go
index 51098c86f4..b814d051f5 100644
--- a/routers/api/actions/artifacts_chunks.go
+++ b/routers/api/actions/artifacts_chunks.go
@@ -17,11 +17,11 @@ import (
"strings"
"time"
- "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
+ "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
)
type saveUploadChunkOptions struct {
diff --git a/routers/api/actions/artifacts_utils.go b/routers/api/actions/artifacts_utils.go
index 64bf649795..d35de844e6 100644
--- a/routers/api/actions/artifacts_utils.go
+++ b/routers/api/actions/artifacts_utils.go
@@ -10,9 +10,9 @@ import (
"strconv"
"strings"
- "gitea.dev/models/actions"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/models/actions"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
const (
diff --git a/routers/api/actions/artifactsv4.go b/routers/api/actions/artifactsv4.go
index 93c892573d..0dc3e38e7d 100644
--- a/routers/api/actions/artifactsv4.go
+++ b/routers/api/actions/artifactsv4.go
@@ -102,18 +102,18 @@ import (
"strings"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/actions"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/reflect/protoreflect"
diff --git a/routers/api/actions/job_summary.go b/routers/api/actions/job_summary.go
index fa21cd6d11..a1e5dbbe3f 100644
--- a/routers/api/actions/job_summary.go
+++ b/routers/api/actions/job_summary.go
@@ -11,9 +11,9 @@ import (
"slices"
"strconv"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
const jobSummaryRouteBase = "/_apis/pipelines/workflows/{run_id}/jobs/{job_id}/steps/{step_index}/summary"
diff --git a/routers/api/actions/ping/ping.go b/routers/api/actions/ping/ping.go
index 32c90a46af..4701e48099 100644
--- a/routers/api/actions/ping/ping.go
+++ b/routers/api/actions/ping/ping.go
@@ -10,7 +10,7 @@ import (
pingv1 "gitea.dev/actionslib/ping/v1"
"gitea.dev/actionslib/ping/v1/pingv1connect"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
"connectrpc.com/connect"
)
diff --git a/routers/api/actions/runner/interceptor.go b/routers/api/actions/runner/interceptor.go
index 5b649d01c5..808000ff60 100644
--- a/routers/api/actions/runner/interceptor.go
+++ b/routers/api/actions/runner/interceptor.go
@@ -11,11 +11,11 @@ import (
"time"
"gitea.dev/actionslib/pkg/protocol"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"connectrpc.com/connect"
lru "github.com/hashicorp/golang-lru/v2"
diff --git a/routers/api/actions/runner/interceptor_test.go b/routers/api/actions/runner/interceptor_test.go
index 8c0af2b860..9aa6a3d4d1 100644
--- a/routers/api/actions/runner/interceptor_test.go
+++ b/routers/api/actions/runner/interceptor_test.go
@@ -7,8 +7,8 @@ import (
"crypto/sha256"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/actions/runner/runner.go b/routers/api/actions/runner/runner.go
index 3a05cc7315..ccc883e4a1 100644
--- a/routers/api/actions/runner/runner.go
+++ b/routers/api/actions/runner/runner.go
@@ -12,13 +12,13 @@ import (
runnerv1 "gitea.dev/actionslib/runner/v1"
"gitea.dev/actionslib/runner/v1/runnerv1connect"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- actions_service "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ actions_service "gotea.dev/services/actions"
"connectrpc.com/connect"
"google.golang.org/grpc/codes"
diff --git a/routers/api/actions/runner/runner_test.go b/routers/api/actions/runner/runner_test.go
index 32ef6f9574..eb6405778d 100644
--- a/routers/api/actions/runner/runner_test.go
+++ b/routers/api/actions/runner/runner_test.go
@@ -7,7 +7,7 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
+ actions_model "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/packages/alpine/alpine.go b/routers/api/packages/alpine/alpine.go
index 9a593f7caa..2228d241fe 100644
--- a/routers/api/packages/alpine/alpine.go
+++ b/routers/api/packages/alpine/alpine.go
@@ -13,15 +13,15 @@ import (
"net/http"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- alpine_module "gitea.dev/modules/packages/alpine"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
- alpine_service "gitea.dev/services/packages/alpine"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ alpine_module "gotea.dev/modules/packages/alpine"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
+ alpine_service "gotea.dev/services/packages/alpine"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/api.go b/routers/api/packages/api.go
index ba7326bf51..809c2066e3 100644
--- a/routers/api/packages/api.go
+++ b/routers/api/packages/api.go
@@ -6,37 +6,37 @@ package packages
import (
"net/http"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- "gitea.dev/modules/log"
- npm_module "gitea.dev/modules/packages/npm"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/packages/alpine"
- "gitea.dev/routers/api/packages/arch"
- "gitea.dev/routers/api/packages/cargo"
- "gitea.dev/routers/api/packages/chef"
- "gitea.dev/routers/api/packages/composer"
- "gitea.dev/routers/api/packages/conan"
- "gitea.dev/routers/api/packages/conda"
- "gitea.dev/routers/api/packages/container"
- "gitea.dev/routers/api/packages/cran"
- "gitea.dev/routers/api/packages/debian"
- "gitea.dev/routers/api/packages/generic"
- "gitea.dev/routers/api/packages/goproxy"
- "gitea.dev/routers/api/packages/helm"
- "gitea.dev/routers/api/packages/maven"
- "gitea.dev/routers/api/packages/npm"
- "gitea.dev/routers/api/packages/nuget"
- "gitea.dev/routers/api/packages/pub"
- "gitea.dev/routers/api/packages/pypi"
- "gitea.dev/routers/api/packages/rpm"
- "gitea.dev/routers/api/packages/rubygems"
- "gitea.dev/routers/api/packages/swift"
- "gitea.dev/routers/api/packages/terraform"
- "gitea.dev/routers/api/packages/vagrant"
- "gitea.dev/services/auth"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/log"
+ npm_module "gotea.dev/modules/packages/npm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/packages/alpine"
+ "gotea.dev/routers/api/packages/arch"
+ "gotea.dev/routers/api/packages/cargo"
+ "gotea.dev/routers/api/packages/chef"
+ "gotea.dev/routers/api/packages/composer"
+ "gotea.dev/routers/api/packages/conan"
+ "gotea.dev/routers/api/packages/conda"
+ "gotea.dev/routers/api/packages/container"
+ "gotea.dev/routers/api/packages/cran"
+ "gotea.dev/routers/api/packages/debian"
+ "gotea.dev/routers/api/packages/generic"
+ "gotea.dev/routers/api/packages/goproxy"
+ "gotea.dev/routers/api/packages/helm"
+ "gotea.dev/routers/api/packages/maven"
+ "gotea.dev/routers/api/packages/npm"
+ "gotea.dev/routers/api/packages/nuget"
+ "gotea.dev/routers/api/packages/pub"
+ "gotea.dev/routers/api/packages/pypi"
+ "gotea.dev/routers/api/packages/rpm"
+ "gotea.dev/routers/api/packages/rubygems"
+ "gotea.dev/routers/api/packages/swift"
+ "gotea.dev/routers/api/packages/terraform"
+ "gotea.dev/routers/api/packages/vagrant"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/context"
)
func reqPackageAccess(accessMode perm.AccessMode) func(ctx *context.Context) {
diff --git a/routers/api/packages/arch/arch.go b/routers/api/packages/arch/arch.go
index eab2733f57..2470a492b8 100644
--- a/routers/api/packages/arch/arch.go
+++ b/routers/api/packages/arch/arch.go
@@ -12,15 +12,15 @@ import (
"net/http"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- arch_module "gitea.dev/modules/packages/arch"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
- arch_service "gitea.dev/services/packages/arch"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ arch_module "gotea.dev/modules/packages/arch"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
+ arch_service "gotea.dev/services/packages/arch"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/auth.go b/routers/api/packages/auth.go
index ac23902166..1710cc1ae0 100644
--- a/routers/api/packages/auth.go
+++ b/routers/api/packages/auth.go
@@ -6,10 +6,10 @@ package packages
import (
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/services/auth"
- "gitea.dev/services/packages"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/packages"
)
var _ auth.Method = &Auth{}
diff --git a/routers/api/packages/cargo/cargo.go b/routers/api/packages/cargo/cargo.go
index c0ad0f0f03..85aeefe85f 100644
--- a/routers/api/packages/cargo/cargo.go
+++ b/routers/api/packages/cargo/cargo.go
@@ -10,20 +10,20 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- cargo_module "gitea.dev/modules/packages/cargo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- packages_service "gitea.dev/services/packages"
- cargo_service "gitea.dev/services/packages/cargo"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ cargo_module "gotea.dev/modules/packages/cargo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ packages_service "gotea.dev/services/packages"
+ cargo_service "gotea.dev/services/packages/cargo"
)
// https://doc.rust-lang.org/cargo/reference/registries.html#web-api
diff --git a/routers/api/packages/chef/auth.go b/routers/api/packages/chef/auth.go
index 3d3902bdc6..a2c24037d6 100644
--- a/routers/api/packages/chef/auth.go
+++ b/routers/api/packages/chef/auth.go
@@ -24,10 +24,10 @@ import (
"strings"
"time"
- user_model "gitea.dev/models/user"
- chef_module "gitea.dev/modules/packages/chef"
- "gitea.dev/modules/util"
- "gitea.dev/services/auth"
+ user_model "gotea.dev/models/user"
+ chef_module "gotea.dev/modules/packages/chef"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/auth"
)
const (
diff --git a/routers/api/packages/chef/chef.go b/routers/api/packages/chef/chef.go
index 1a797af158..80afb511ca 100644
--- a/routers/api/packages/chef/chef.go
+++ b/routers/api/packages/chef/chef.go
@@ -13,16 +13,16 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- chef_module "gitea.dev/modules/packages/chef"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ chef_module "gotea.dev/modules/packages/chef"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/composer/api.go b/routers/api/packages/composer/api.go
index af861a492a..d9a1ace217 100644
--- a/routers/api/packages/composer/api.go
+++ b/routers/api/packages/composer/api.go
@@ -8,11 +8,11 @@ import (
"net/url"
"time"
- packages_model "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/modules/log"
- composer_module "gitea.dev/modules/packages/composer"
- "gitea.dev/services/context"
+ packages_model "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/modules/log"
+ composer_module "gotea.dev/modules/packages/composer"
+ "gotea.dev/services/context"
)
// ServiceIndexResponse contains registry endpoints
diff --git a/routers/api/packages/composer/composer.go b/routers/api/packages/composer/composer.go
index 744e8cd9ad..f4b0e21ea7 100644
--- a/routers/api/packages/composer/composer.go
+++ b/routers/api/packages/composer/composer.go
@@ -10,17 +10,17 @@ import (
"net/url"
"strconv"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- composer_module "gitea.dev/modules/packages/composer"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ composer_module "gotea.dev/modules/packages/composer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/conan/conan.go b/routers/api/packages/conan/conan.go
index ff6237de4b..1179171044 100644
--- a/routers/api/packages/conan/conan.go
+++ b/routers/api/packages/conan/conan.go
@@ -12,21 +12,21 @@ import (
"strings"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- conan_model "gitea.dev/models/packages/conan"
- "gitea.dev/modules/container"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- packages_module "gitea.dev/modules/packages"
- conan_module "gitea.dev/modules/packages/conan"
- "gitea.dev/modules/setting"
- "gitea.dev/routers/api/packages/helper"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- notify_service "gitea.dev/services/notify"
- packages_service "gitea.dev/services/packages"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ conan_model "gotea.dev/models/packages/conan"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ packages_module "gotea.dev/modules/packages"
+ conan_module "gotea.dev/modules/packages/conan"
+ "gotea.dev/modules/setting"
+ "gotea.dev/routers/api/packages/helper"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ notify_service "gotea.dev/services/notify"
+ packages_service "gotea.dev/services/packages"
)
const (
diff --git a/routers/api/packages/conan/search.go b/routers/api/packages/conan/search.go
index a7ae16f597..781ef85672 100644
--- a/routers/api/packages/conan/search.go
+++ b/routers/api/packages/conan/search.go
@@ -8,11 +8,11 @@ import (
"net/http"
"strings"
- conan_model "gitea.dev/models/packages/conan"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- conan_module "gitea.dev/modules/packages/conan"
- "gitea.dev/services/context"
+ conan_model "gotea.dev/models/packages/conan"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ conan_module "gotea.dev/modules/packages/conan"
+ "gotea.dev/services/context"
)
// SearchResult contains the found recipe names
diff --git a/routers/api/packages/conda/conda.go b/routers/api/packages/conda/conda.go
index 48cb85192b..ff2aabe5dd 100644
--- a/routers/api/packages/conda/conda.go
+++ b/routers/api/packages/conda/conda.go
@@ -10,15 +10,15 @@ import (
"net/http"
"strings"
- packages_model "gitea.dev/models/packages"
- conda_model "gitea.dev/models/packages/conda"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- conda_module "gitea.dev/modules/packages/conda"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ conda_model "gotea.dev/models/packages/conda"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ conda_module "gotea.dev/modules/packages/conda"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
"github.com/dsnet/compress/bzip2"
)
diff --git a/routers/api/packages/container/blob.go b/routers/api/packages/container/blob.go
index ceaecd2a62..c3401b7833 100644
--- a/routers/api/packages/container/blob.go
+++ b/routers/api/packages/container/blob.go
@@ -10,14 +10,14 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- container_model "gitea.dev/models/packages/container"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/log"
- packages_module "gitea.dev/modules/packages"
- container_module "gitea.dev/modules/packages/container"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ container_model "gotea.dev/models/packages/container"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/log"
+ packages_module "gotea.dev/modules/packages"
+ container_module "gotea.dev/modules/packages/container"
+ packages_service "gotea.dev/services/packages"
"github.com/opencontainers/go-digest"
)
diff --git a/routers/api/packages/container/container.go b/routers/api/packages/container/container.go
index 35817e6cce..81c31cec39 100644
--- a/routers/api/packages/container/container.go
+++ b/routers/api/packages/container/container.go
@@ -14,25 +14,25 @@ import (
"strings"
"sync"
- auth_model "gitea.dev/models/auth"
- packages_model "gitea.dev/models/packages"
- container_model "gitea.dev/models/packages/container"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- container_module "gitea.dev/modules/packages/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
- container_service "gitea.dev/services/packages/container"
+ auth_model "gotea.dev/models/auth"
+ packages_model "gotea.dev/models/packages"
+ container_model "gotea.dev/models/packages/container"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ container_module "gotea.dev/modules/packages/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
+ container_service "gotea.dev/services/packages/container"
"github.com/opencontainers/go-digest"
)
diff --git a/routers/api/packages/container/manifest.go b/routers/api/packages/container/manifest.go
index 54a93ed7ca..bfc4030c6e 100644
--- a/routers/api/packages/container/manifest.go
+++ b/routers/api/packages/container/manifest.go
@@ -10,18 +10,18 @@ import (
"io"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- container_model "gitea.dev/models/packages/container"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- packages_module "gitea.dev/modules/packages"
- container_module "gitea.dev/modules/packages/container"
- notify_service "gitea.dev/services/notify"
- packages_service "gitea.dev/services/packages"
- container_service "gitea.dev/services/packages/container"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ container_model "gotea.dev/models/packages/container"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ packages_module "gotea.dev/modules/packages"
+ container_module "gotea.dev/modules/packages/container"
+ notify_service "gotea.dev/services/notify"
+ packages_service "gotea.dev/services/packages"
+ container_service "gotea.dev/services/packages/container"
"github.com/opencontainers/go-digest"
oci "github.com/opencontainers/image-spec/specs-go/v1"
diff --git a/routers/api/packages/cran/cran.go b/routers/api/packages/cran/cran.go
index 13357661ff..5a505461fc 100644
--- a/routers/api/packages/cran/cran.go
+++ b/routers/api/packages/cran/cran.go
@@ -11,14 +11,14 @@ import (
"net/http"
"strings"
- packages_model "gitea.dev/models/packages"
- cran_model "gitea.dev/models/packages/cran"
- packages_module "gitea.dev/modules/packages"
- cran_module "gitea.dev/modules/packages/cran"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ cran_model "gotea.dev/models/packages/cran"
+ packages_module "gotea.dev/modules/packages"
+ cran_module "gotea.dev/modules/packages/cran"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/debian/debian.go b/routers/api/packages/debian/debian.go
index 6ccaf15fd0..4c199c43f0 100644
--- a/routers/api/packages/debian/debian.go
+++ b/routers/api/packages/debian/debian.go
@@ -11,16 +11,16 @@ import (
"net/http"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- packages_module "gitea.dev/modules/packages"
- debian_module "gitea.dev/modules/packages/debian"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- notify_service "gitea.dev/services/notify"
- packages_service "gitea.dev/services/packages"
- debian_service "gitea.dev/services/packages/debian"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ packages_module "gotea.dev/modules/packages"
+ debian_module "gotea.dev/modules/packages/debian"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ notify_service "gotea.dev/services/notify"
+ packages_service "gotea.dev/services/packages"
+ debian_service "gotea.dev/services/packages/debian"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/generic/generic.go b/routers/api/packages/generic/generic.go
index f1ad4efe9f..525e7bb9e5 100644
--- a/routers/api/packages/generic/generic.go
+++ b/routers/api/packages/generic/generic.go
@@ -10,11 +10,11 @@ import (
"strings"
"unicode"
- packages_model "gitea.dev/models/packages"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
var (
diff --git a/routers/api/packages/goproxy/goproxy.go b/routers/api/packages/goproxy/goproxy.go
index 9d3ea6515f..35b5148f4c 100644
--- a/routers/api/packages/goproxy/goproxy.go
+++ b/routers/api/packages/goproxy/goproxy.go
@@ -11,14 +11,14 @@ import (
"sort"
"time"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- goproxy_module "gitea.dev/modules/packages/goproxy"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ goproxy_module "gotea.dev/modules/packages/goproxy"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/helm/helm.go b/routers/api/packages/helm/helm.go
index 8b732d8547..d0aa104462 100644
--- a/routers/api/packages/helm/helm.go
+++ b/routers/api/packages/helm/helm.go
@@ -12,16 +12,16 @@ import (
"strings"
"time"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- helm_module "gitea.dev/modules/packages/helm"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ helm_module "gotea.dev/modules/packages/helm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
"go.yaml.in/yaml/v4"
)
diff --git a/routers/api/packages/helper/helper.go b/routers/api/packages/helper/helper.go
index 3961b1296c..57def652d6 100644
--- a/routers/api/packages/helper/helper.go
+++ b/routers/api/packages/helper/helper.go
@@ -10,11 +10,11 @@ import (
"net/http"
"net/url"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// PackageErrorStatus returns the status to report for a package lookup error
diff --git a/routers/api/packages/maven/api.go b/routers/api/packages/maven/api.go
index 75d142278a..7c2b905d6d 100644
--- a/routers/api/packages/maven/api.go
+++ b/routers/api/packages/maven/api.go
@@ -7,7 +7,7 @@ import (
"encoding/xml"
"strings"
- packages_model "gitea.dev/models/packages"
+ packages_model "gotea.dev/models/packages"
)
// MetadataResponse https://maven.apache.org/ref/3.2.5/maven-repository-metadata/repository-metadata.html
diff --git a/routers/api/packages/maven/maven.go b/routers/api/packages/maven/maven.go
index 0b6d9085ef..d7e30bfdf4 100644
--- a/routers/api/packages/maven/maven.go
+++ b/routers/api/packages/maven/maven.go
@@ -19,15 +19,15 @@ import (
"strconv"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- maven_module "gitea.dev/modules/packages/maven"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ maven_module "gotea.dev/modules/packages/maven"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
const maxChecksumSize = sha512.Size*2 + 1
diff --git a/routers/api/packages/npm/api.go b/routers/api/packages/npm/api.go
index 5eba148ab2..ba619736f6 100644
--- a/routers/api/packages/npm/api.go
+++ b/routers/api/packages/npm/api.go
@@ -13,8 +13,8 @@ import (
"sort"
"time"
- packages_model "gitea.dev/models/packages"
- npm_module "gitea.dev/modules/packages/npm"
+ packages_model "gotea.dev/models/packages"
+ npm_module "gotea.dev/modules/packages/npm"
)
func createPackageMetadataResponse(registryURL string, pds []*packages_model.PackageDescriptor) *npm_module.PackageMetadata {
diff --git a/routers/api/packages/npm/api_test.go b/routers/api/packages/npm/api_test.go
index 22fce04018..9d1bc02d9b 100644
--- a/routers/api/packages/npm/api_test.go
+++ b/routers/api/packages/npm/api_test.go
@@ -7,18 +7,18 @@ import (
"testing"
"time"
- packages_model "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- npm_module "gitea.dev/modules/packages/npm"
- "gitea.dev/modules/timeutil"
+ packages_model "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ npm_module "gotea.dev/modules/packages/npm"
+ "gotea.dev/modules/timeutil"
"github.com/hashicorp/go-version"
"github.com/stretchr/testify/assert"
)
func TestCreatePackageMetadataResponse(t *testing.T) {
- repository := npm_module.Repository{Type: "git", URL: "https://gitea.dev/alice/test.git"}
+ repository := npm_module.Repository{Type: "git", URL: "https://gotea.dev/alice/test.git"}
descriptor := func(v string, publishedUnix int64, repo npm_module.Repository, tarballPath string) *packages_model.PackageDescriptor {
return &packages_model.PackageDescriptor{
Package: &packages_model.Package{Name: "@scope/test"},
@@ -33,7 +33,7 @@ func TestCreatePackageMetadataResponse(t *testing.T) {
}
}
- result := createPackageMetadataResponse("https://gitea.dev/api/packages/alice/npm", []*packages_model.PackageDescriptor{
+ result := createPackageMetadataResponse("https://gotea.dev/api/packages/alice/npm", []*packages_model.PackageDescriptor{
descriptor("1.1.0", 1000, npm_module.Repository{}, "@scope/test/-/test-1.1.0.tgz"),
descriptor("2.0.0-rc.1", 1500, repository, ""),
descriptor("1.0.0", 2000, repository, ""),
@@ -54,11 +54,11 @@ func TestCreatePackageMetadataResponse(t *testing.T) {
assert.Equal(t, []string{"gitea"}, result.Versions["1.0.0"].Keywords)
assert.Equal(t, []npm_module.User{{Name: "alice"}}, result.Versions["1.0.0"].Maintainers)
assert.Equal(t,
- "https://gitea.dev/api/packages/alice/npm/%40scope%2Ftest/-/1.0.0/test-1.0.0.tgz",
+ "https://gotea.dev/api/packages/alice/npm/%40scope%2Ftest/-/1.0.0/test-1.0.0.tgz",
result.Versions["1.0.0"].Dist.Tarball,
)
assert.Equal(t,
- "https://gitea.dev/api/packages/alice/npm/@scope/test/-/test-1.1.0.tgz",
+ "https://gotea.dev/api/packages/alice/npm/@scope/test/-/test-1.1.0.tgz",
result.Versions["1.1.0"].Dist.Tarball,
)
assert.Equal(t, repository, result.Versions["1.0.0"].Repository)
diff --git a/routers/api/packages/npm/npm.go b/routers/api/packages/npm/npm.go
index da75fc597c..5c9051f08d 100644
--- a/routers/api/packages/npm/npm.go
+++ b/routers/api/packages/npm/npm.go
@@ -14,21 +14,21 @@ import (
"net/url"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- npm_module "gitea.dev/modules/packages/npm"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ npm_module "gotea.dev/modules/packages/npm"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
"github.com/hashicorp/go-version"
)
diff --git a/routers/api/packages/nuget/api_v2.go b/routers/api/packages/nuget/api_v2.go
index b011bb1cda..58928ef228 100644
--- a/routers/api/packages/nuget/api_v2.go
+++ b/routers/api/packages/nuget/api_v2.go
@@ -8,8 +8,8 @@ import (
"strings"
"time"
- packages_model "gitea.dev/models/packages"
- nuget_module "gitea.dev/modules/packages/nuget"
+ packages_model "gotea.dev/models/packages"
+ nuget_module "gotea.dev/modules/packages/nuget"
)
type AtomTitle struct {
diff --git a/routers/api/packages/nuget/api_v3.go b/routers/api/packages/nuget/api_v3.go
index 5650d9a22e..c4014bb94e 100644
--- a/routers/api/packages/nuget/api_v3.go
+++ b/routers/api/packages/nuget/api_v3.go
@@ -7,8 +7,8 @@ import (
"sort"
"time"
- packages_model "gitea.dev/models/packages"
- nuget_module "gitea.dev/modules/packages/nuget"
+ packages_model "gotea.dev/models/packages"
+ nuget_module "gotea.dev/modules/packages/nuget"
"golang.org/x/text/collate"
"golang.org/x/text/language"
diff --git a/routers/api/packages/nuget/auth.go b/routers/api/packages/nuget/auth.go
index ba5cc3f46e..b2dfc0fa62 100644
--- a/routers/api/packages/nuget/auth.go
+++ b/routers/api/packages/nuget/auth.go
@@ -6,8 +6,8 @@ package nuget
import (
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/auth"
)
var _ auth.Method = &Auth{}
diff --git a/routers/api/packages/nuget/nuget.go b/routers/api/packages/nuget/nuget.go
index 8aa21e6a10..3052fd394d 100644
--- a/routers/api/packages/nuget/nuget.go
+++ b/routers/api/packages/nuget/nuget.go
@@ -14,17 +14,17 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- nuget_model "gitea.dev/models/packages/nuget"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- nuget_module "gitea.dev/modules/packages/nuget"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ nuget_model "gotea.dev/models/packages/nuget"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ nuget_module "gotea.dev/modules/packages/nuget"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/pub/pub.go b/routers/api/packages/pub/pub.go
index 4ca10eaea0..7a8e55ec76 100644
--- a/routers/api/packages/pub/pub.go
+++ b/routers/api/packages/pub/pub.go
@@ -13,15 +13,15 @@ import (
"strings"
"time"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- pub_module "gitea.dev/modules/packages/pub"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ pub_module "gotea.dev/modules/packages/pub"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func jsonResponse(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/pypi/pypi.go b/routers/api/packages/pypi/pypi.go
index c34e5902a4..055ee8f43b 100644
--- a/routers/api/packages/pypi/pypi.go
+++ b/routers/api/packages/pypi/pypi.go
@@ -12,14 +12,14 @@ import (
"strings"
"unicode"
- packages_model "gitea.dev/models/packages"
- packages_module "gitea.dev/modules/packages"
- pypi_module "gitea.dev/modules/packages/pypi"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/validation"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ packages_module "gotea.dev/modules/packages"
+ pypi_module "gotea.dev/modules/packages/pypi"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/validation"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
// https://peps.python.org/pep-0426/#name
diff --git a/routers/api/packages/rpm/rpm.go b/routers/api/packages/rpm/rpm.go
index c1475cf5c8..9d6f12c8be 100644
--- a/routers/api/packages/rpm/rpm.go
+++ b/routers/api/packages/rpm/rpm.go
@@ -13,18 +13,18 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- rpm_module "gitea.dev/modules/packages/rpm"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- notify_service "gitea.dev/services/notify"
- packages_service "gitea.dev/services/packages"
- rpm_service "gitea.dev/services/packages/rpm"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ rpm_module "gotea.dev/modules/packages/rpm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ notify_service "gotea.dev/services/notify"
+ packages_service "gotea.dev/services/packages"
+ rpm_service "gotea.dev/services/packages/rpm"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/rubygems/rubygems.go b/routers/api/packages/rubygems/rubygems.go
index c78a1dc63a..ba6760e397 100644
--- a/routers/api/packages/rubygems/rubygems.go
+++ b/routers/api/packages/rubygems/rubygems.go
@@ -13,15 +13,15 @@ import (
"net/http"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- rubygems_module "gitea.dev/modules/packages/rubygems"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ rubygems_module "gotea.dev/modules/packages/rubygems"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
func apiError(ctx *context.Context, status int, obj any) {
diff --git a/routers/api/packages/rubygems/rubygems_test.go b/routers/api/packages/rubygems/rubygems_test.go
index a2d8a52305..72d184c634 100644
--- a/routers/api/packages/rubygems/rubygems_test.go
+++ b/routers/api/packages/rubygems/rubygems_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- rubygems_module "gitea.dev/modules/packages/rubygems"
+ rubygems_module "gotea.dev/modules/packages/rubygems"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/packages/swift/swift.go b/routers/api/packages/swift/swift.go
index 997a3dbcca..98cb86420c 100644
--- a/routers/api/packages/swift/swift.go
+++ b/routers/api/packages/swift/swift.go
@@ -13,17 +13,17 @@ import (
"sort"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- swift_module "gitea.dev/modules/packages/swift"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ swift_module "gotea.dev/modules/packages/swift"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
"github.com/hashicorp/go-version"
)
diff --git a/routers/api/packages/terraform/terraform.go b/routers/api/packages/terraform/terraform.go
index 0bc6dde5d4..b2e72e38ae 100644
--- a/routers/api/packages/terraform/terraform.go
+++ b/routers/api/packages/terraform/terraform.go
@@ -13,15 +13,15 @@ import (
"strings"
"unicode"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- terraform_module "gitea.dev/modules/packages/terraform"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ terraform_module "gotea.dev/modules/packages/terraform"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
)
var packageNameRegex = regexp.MustCompile(`\A[-_+.\w]+\z`)
diff --git a/routers/api/packages/vagrant/vagrant.go b/routers/api/packages/vagrant/vagrant.go
index 07038bcf0e..3f02084edd 100644
--- a/routers/api/packages/vagrant/vagrant.go
+++ b/routers/api/packages/vagrant/vagrant.go
@@ -11,13 +11,13 @@ import (
"sort"
"strings"
- packages_model "gitea.dev/models/packages"
- packages_module "gitea.dev/modules/packages"
- vagrant_module "gitea.dev/modules/packages/vagrant"
- "gitea.dev/modules/setting"
- "gitea.dev/routers/api/packages/helper"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ packages_module "gotea.dev/modules/packages"
+ vagrant_module "gotea.dev/modules/packages/vagrant"
+ "gotea.dev/modules/setting"
+ "gotea.dev/routers/api/packages/helper"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
"github.com/hashicorp/go-version"
)
diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go
index 7e85fedc54..ca40da53bb 100644
--- a/routers/api/v1/activitypub/person.go
+++ b/routers/api/v1/activitypub/person.go
@@ -6,7 +6,7 @@ package activitypub
import (
"net/http"
- "gitea.dev/services/context"
+ "gotea.dev/services/context"
)
func NotImplemented(ctx *context.APIContext) {
diff --git a/routers/api/v1/admin/action.go b/routers/api/v1/admin/action.go
index 38e9cc314e..cd4ad7bcff 100644
--- a/routers/api/v1/admin/action.go
+++ b/routers/api/v1/admin/action.go
@@ -4,8 +4,8 @@
package admin
import (
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/services/context"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/services/context"
)
// ListWorkflowJobs Lists all jobs
diff --git a/routers/api/v1/admin/adopt.go b/routers/api/v1/admin/adopt.go
index 2bc8ddc4bd..ac69f77201 100644
--- a/routers/api/v1/admin/adopt.go
+++ b/routers/api/v1/admin/adopt.go
@@ -6,13 +6,13 @@ package admin
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
// ListUnadoptedRepositories lists the unadopted repositories that match the provided names
diff --git a/routers/api/v1/admin/cron.go b/routers/api/v1/admin/cron.go
index 58c4875764..11accb1f45 100644
--- a/routers/api/v1/admin/cron.go
+++ b/routers/api/v1/admin/cron.go
@@ -6,12 +6,12 @@ package admin
import (
"net/http"
- "gitea.dev/modules/log"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/cron"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/cron"
)
// ListCronTasks api for getting cron tasks
diff --git a/routers/api/v1/admin/email.go b/routers/api/v1/admin/email.go
index 358e350fca..5a7fe18c97 100644
--- a/routers/api/v1/admin/email.go
+++ b/routers/api/v1/admin/email.go
@@ -6,11 +6,11 @@ package admin
import (
"net/http"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetAllEmails
diff --git a/routers/api/v1/admin/hooks.go b/routers/api/v1/admin/hooks.go
index 8aaaf245f7..d11c2663fd 100644
--- a/routers/api/v1/admin/hooks.go
+++ b/routers/api/v1/admin/hooks.go
@@ -7,16 +7,16 @@ import (
"errors"
"net/http"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ webhook_service "gotea.dev/services/webhook"
)
// ListHooks list system's webhooks
diff --git a/routers/api/v1/admin/org.go b/routers/api/v1/admin/org.go
index 236fb8a30d..adcdbb0641 100644
--- a/routers/api/v1/admin/org.go
+++ b/routers/api/v1/admin/org.go
@@ -7,16 +7,16 @@ package admin
import (
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// CreateOrg api for create organization
diff --git a/routers/api/v1/admin/packages.go b/routers/api/v1/admin/packages.go
index 20f87d2d0c..bfb59fd039 100644
--- a/routers/api/v1/admin/packages.go
+++ b/routers/api/v1/admin/packages.go
@@ -6,12 +6,12 @@ package admin
import (
"net/http"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListPackages lists every package version on the instance.
diff --git a/routers/api/v1/admin/repo.go b/routers/api/v1/admin/repo.go
index 30d45683a5..ff301a955c 100644
--- a/routers/api/v1/admin/repo.go
+++ b/routers/api/v1/admin/repo.go
@@ -4,10 +4,10 @@
package admin
import (
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/repo"
- "gitea.dev/services/context"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/repo"
+ "gotea.dev/services/context"
)
// CreateRepo api for creating a repository
diff --git a/routers/api/v1/admin/runners.go b/routers/api/v1/admin/runners.go
index 93af28942c..330532f39f 100644
--- a/routers/api/v1/admin/runners.go
+++ b/routers/api/v1/admin/runners.go
@@ -4,8 +4,8 @@
package admin
import (
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/services/context"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/services/context"
)
// https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-organization
diff --git a/routers/api/v1/admin/user.go b/routers/api/v1/admin/user.go
index d726df5032..36fef8622c 100644
--- a/routers/api/v1/admin/user.go
+++ b/routers/api/v1/admin/user.go
@@ -9,29 +9,29 @@ import (
"fmt"
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/user"
- "gitea.dev/routers/api/v1/utils"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/mailer"
- user_service "gitea.dev/services/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/user"
+ "gotea.dev/routers/api/v1/utils"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/mailer"
+ user_service "gotea.dev/services/user"
)
func parseAuthSource(ctx *context.APIContext, u *user_model.User, sourceID int64) {
diff --git a/routers/api/v1/admin/user_badge.go b/routers/api/v1/admin/user_badge.go
index 878b763cdb..bd8da75a99 100644
--- a/routers/api/v1/admin/user_badge.go
+++ b/routers/api/v1/admin/user_badge.go
@@ -6,10 +6,10 @@ package admin
import (
"net/http"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
)
// ListUserBadges lists all badges belonging to a user
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index 2bbe9f804e..333197d023 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -68,41 +68,41 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers/api/v1/activitypub"
- "gitea.dev/routers/api/v1/admin"
- "gitea.dev/routers/api/v1/misc"
- "gitea.dev/routers/api/v1/notify"
- "gitea.dev/routers/api/v1/org"
- "gitea.dev/routers/api/v1/packages"
- "gitea.dev/routers/api/v1/repo"
- "gitea.dev/routers/api/v1/settings"
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/routers/api/v1/token"
- "gitea.dev/routers/api/v1/user"
- "gitea.dev/routers/common"
- "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers/api/v1/activitypub"
+ "gotea.dev/routers/api/v1/admin"
+ "gotea.dev/routers/api/v1/misc"
+ "gotea.dev/routers/api/v1/notify"
+ "gotea.dev/routers/api/v1/org"
+ "gotea.dev/routers/api/v1/packages"
+ "gotea.dev/routers/api/v1/repo"
+ "gotea.dev/routers/api/v1/settings"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/routers/api/v1/token"
+ "gotea.dev/routers/api/v1/user"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
- _ "gitea.dev/routers/api/v1/swagger" // for swagger generation
+ _ "gotea.dev/routers/api/v1/swagger" // for swagger generation
chi_middleware "github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/cors"
diff --git a/routers/api/v1/api_test.go b/routers/api/v1/api_test.go
index 8ab4a496e2..e654a04f8d 100644
--- a/routers/api/v1/api_test.go
+++ b/routers/api/v1/api_test.go
@@ -6,9 +6,9 @@ package v1
import (
"testing"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/api/v1/misc/gitignore.go b/routers/api/v1/misc/gitignore.go
index 6e4800fd58..0954d74fdb 100644
--- a/routers/api/v1/misc/gitignore.go
+++ b/routers/api/v1/misc/gitignore.go
@@ -6,11 +6,11 @@ package misc
import (
"net/http"
- "gitea.dev/modules/options"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/modules/options"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// Shows a list of all Gitignore templates
diff --git a/routers/api/v1/misc/label_templates.go b/routers/api/v1/misc/label_templates.go
index 1ddc948b75..b60809d455 100644
--- a/routers/api/v1/misc/label_templates.go
+++ b/routers/api/v1/misc/label_templates.go
@@ -6,10 +6,10 @@ package misc
import (
"net/http"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// Shows a list of all Label templates
diff --git a/routers/api/v1/misc/licenses.go b/routers/api/v1/misc/licenses.go
index ee3fac131e..212992bff9 100644
--- a/routers/api/v1/misc/licenses.go
+++ b/routers/api/v1/misc/licenses.go
@@ -8,12 +8,12 @@ import (
"net/http"
"net/url"
- "gitea.dev/modules/options"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/modules/options"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// Returns a list of all License templates
diff --git a/routers/api/v1/misc/markup.go b/routers/api/v1/misc/markup.go
index deef088a4d..1d8d73e07f 100644
--- a/routers/api/v1/misc/markup.go
+++ b/routers/api/v1/misc/markup.go
@@ -6,12 +6,12 @@ package misc
import (
"io"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
)
// Markup render markup document to HTML
diff --git a/routers/api/v1/misc/markup_test.go b/routers/api/v1/misc/markup_test.go
index d8b83ea330..ab7d03f5bd 100644
--- a/routers/api/v1/misc/markup_test.go
+++ b/routers/api/v1/misc/markup_test.go
@@ -11,12 +11,12 @@ import (
"strings"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/misc/signing.go b/routers/api/v1/misc/signing.go
index 494b3fc61d..adbd69fec1 100644
--- a/routers/api/v1/misc/signing.go
+++ b/routers/api/v1/misc/signing.go
@@ -4,9 +4,9 @@
package misc
import (
- "gitea.dev/modules/git"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/context"
+ "gotea.dev/modules/git"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/context"
)
func getSigningKey(ctx *context.APIContext, expectedFormat string) {
diff --git a/routers/api/v1/misc/version.go b/routers/api/v1/misc/version.go
index 4399e6ae3c..58b00054b7 100644
--- a/routers/api/v1/misc/version.go
+++ b/routers/api/v1/misc/version.go
@@ -6,9 +6,9 @@ package misc
import (
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
)
// Version shows the version of the Gitea server
diff --git a/routers/api/v1/notify/notifications.go b/routers/api/v1/notify/notifications.go
index 8e032292c2..57ff0eec3a 100644
--- a/routers/api/v1/notify/notifications.go
+++ b/routers/api/v1/notify/notifications.go
@@ -7,11 +7,11 @@ import (
"net/http"
"strings"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
)
// NewAvailable check if unread notifications exist
diff --git a/routers/api/v1/notify/repo.go b/routers/api/v1/notify/repo.go
index e9f0eefe7b..a4047fe1ba 100644
--- a/routers/api/v1/notify/repo.go
+++ b/routers/api/v1/notify/repo.go
@@ -8,12 +8,12 @@ import (
"strings"
"time"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/notifications"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/notifications"
)
func statusStringToNotificationStatus(status string) activities_model.NotificationStatus {
diff --git a/routers/api/v1/notify/threads.go b/routers/api/v1/notify/threads.go
index 7fdf7d7846..25d2923b0d 100644
--- a/routers/api/v1/notify/threads.go
+++ b/routers/api/v1/notify/threads.go
@@ -7,12 +7,12 @@ import (
"fmt"
"net/http"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/notifications"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/notifications"
)
// GetThread get notification by ID
diff --git a/routers/api/v1/notify/user.go b/routers/api/v1/notify/user.go
index 8bcb6fee6c..99c0f54d41 100644
--- a/routers/api/v1/notify/user.go
+++ b/routers/api/v1/notify/user.go
@@ -7,12 +7,12 @@ import (
"net/http"
"time"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/notifications"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/notifications"
)
// ListNotifications list users's notification threads
diff --git a/routers/api/v1/org/action.go b/routers/api/v1/org/action.go
index 5c55763380..eed293d6f9 100644
--- a/routers/api/v1/org/action.go
+++ b/routers/api/v1/org/action.go
@@ -7,18 +7,18 @@ import (
"errors"
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- secret_model "gitea.dev/models/secret"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/routers/api/v1/utils"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- secret_service "gitea.dev/services/secrets"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ secret_model "gotea.dev/models/secret"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/routers/api/v1/utils"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ secret_service "gotea.dev/services/secrets"
)
// ListActionsSecrets list an organization's actions secrets
diff --git a/routers/api/v1/org/avatar.go b/routers/api/v1/org/avatar.go
index b6a077df66..739c177019 100644
--- a/routers/api/v1/org/avatar.go
+++ b/routers/api/v1/org/avatar.go
@@ -7,10 +7,10 @@ import (
"encoding/base64"
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- user_service "gitea.dev/services/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ user_service "gotea.dev/services/user"
)
// UpdateAvatarupdates the Avatar of an Organisation
diff --git a/routers/api/v1/org/block.go b/routers/api/v1/org/block.go
index a43a7b5d7a..4707742459 100644
--- a/routers/api/v1/org/block.go
+++ b/routers/api/v1/org/block.go
@@ -4,8 +4,8 @@
package org
import (
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/services/context"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/services/context"
)
func ListBlocks(ctx *context.APIContext) {
diff --git a/routers/api/v1/org/hook.go b/routers/api/v1/org/hook.go
index cc19781dbc..af8459493f 100644
--- a/routers/api/v1/org/hook.go
+++ b/routers/api/v1/org/hook.go
@@ -6,11 +6,11 @@ package org
import (
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- webhook_service "gitea.dev/services/webhook"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ webhook_service "gotea.dev/services/webhook"
)
// ListHooks list an organization's webhooks
diff --git a/routers/api/v1/org/label.go b/routers/api/v1/org/label.go
index 0c5c838699..40b062464f 100644
--- a/routers/api/v1/org/label.go
+++ b/routers/api/v1/org/label.go
@@ -8,13 +8,13 @@ import (
"strconv"
"strings"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/label"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/label"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListLabels list all the labels of an organization
diff --git a/routers/api/v1/org/member.go b/routers/api/v1/org/member.go
index 11b46a05c1..b20cc22d32 100644
--- a/routers/api/v1/org/member.go
+++ b/routers/api/v1/org/member.go
@@ -7,15 +7,15 @@ import (
"net/http"
"net/url"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/user"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- org_service "gitea.dev/services/org"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/user"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ org_service "gotea.dev/services/org"
)
// listMembers list an organization's members
diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go
index bf3b792f7e..c4ce310644 100644
--- a/routers/api/v1/org/org.go
+++ b/routers/api/v1/org/org.go
@@ -10,30 +10,30 @@ import (
"fmt"
"net/http"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/user"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- feed_service "gitea.dev/services/feed"
- "gitea.dev/services/org"
- repo_service "gitea.dev/services/repository"
- user_service "gitea.dev/services/user"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/user"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ feed_service "gotea.dev/services/feed"
+ "gotea.dev/services/org"
+ repo_service "gotea.dev/services/repository"
+ user_service "gotea.dev/services/user"
)
func listUserOrgs(ctx *context.APIContext, u *user_model.User) {
diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go
index 8dae8a96d4..43b30491c4 100644
--- a/routers/api/v1/org/team.go
+++ b/routers/api/v1/org/team.go
@@ -9,24 +9,24 @@ import (
"maps"
"net/http"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/user"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- feed_service "gitea.dev/services/feed"
- org_service "gitea.dev/services/org"
- repo_service "gitea.dev/services/repository"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/user"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ feed_service "gotea.dev/services/feed"
+ org_service "gotea.dev/services/org"
+ repo_service "gotea.dev/services/repository"
)
// ListTeams list all the teams of an organization
diff --git a/routers/api/v1/packages/package.go b/routers/api/v1/packages/package.go
index d06d2a636b..a0a7e6e672 100644
--- a/routers/api/v1/packages/package.go
+++ b/routers/api/v1/packages/package.go
@@ -7,15 +7,15 @@ import (
"errors"
"net/http"
- "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- packages_service "gitea.dev/services/packages"
+ "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ packages_service "gotea.dev/services/packages"
)
// ListPackages gets all packages of an owner
diff --git a/routers/api/v1/repo/action.go b/routers/api/v1/repo/action.go
index 94ca4096c0..80d4038192 100644
--- a/routers/api/v1/repo/action.go
+++ b/routers/api/v1/repo/action.go
@@ -17,23 +17,23 @@ import (
"time"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- secret_model "gitea.dev/models/secret"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/routers/api/v1/utils"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- secret_service "gitea.dev/services/secrets"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ secret_model "gotea.dev/models/secret"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/routers/api/v1/utils"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ secret_service "gotea.dev/services/secrets"
)
// ListActionsSecrets list a repo's actions secrets
diff --git a/routers/api/v1/repo/actions_run.go b/routers/api/v1/repo/actions_run.go
index 90c14d03a1..cc2967522b 100644
--- a/routers/api/v1/repo/actions_run.go
+++ b/routers/api/v1/repo/actions_run.go
@@ -6,10 +6,10 @@ package repo
import (
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/routers/common"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/routers/common"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/context"
)
func DownloadActionsRunJobLogs(ctx *context.APIContext) {
diff --git a/routers/api/v1/repo/avatar.go b/routers/api/v1/repo/avatar.go
index 8a17f2ef2e..094601fa05 100644
--- a/routers/api/v1/repo/avatar.go
+++ b/routers/api/v1/repo/avatar.go
@@ -7,10 +7,10 @@ import (
"encoding/base64"
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
// UpdateAvatar updates the Avatar of a Repo
diff --git a/routers/api/v1/repo/blob.go b/routers/api/v1/repo/blob.go
index d16cff0765..979dd31000 100644
--- a/routers/api/v1/repo/blob.go
+++ b/routers/api/v1/repo/blob.go
@@ -6,8 +6,8 @@ package repo
import (
"net/http"
- "gitea.dev/services/context"
- files_service "gitea.dev/services/repository/files"
+ "gotea.dev/services/context"
+ files_service "gotea.dev/services/repository/files"
)
// GetBlob get the blob of a repository file.
diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go
index 5cc013d803..1d9e83d3d1 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routers/api/v1/repo/branch.go
@@ -8,25 +8,25 @@ import (
"errors"
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- pull_service "gitea.dev/services/pull"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ pull_service "gotea.dev/services/pull"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
)
// GetBranch get a branch of a repository
diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go
index bf74299f3d..50d0d2c1ff 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routers/api/v1/repo/collaborators.go
@@ -9,18 +9,18 @@ import (
"net/http"
"strings"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
// ListCollaborators list a repository's collaborators
diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go
index 25effda94f..1b6a255324 100644
--- a/routers/api/v1/repo/commits.go
+++ b/routers/api/v1/repo/commits.go
@@ -10,14 +10,14 @@ import (
"strconv"
"time"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetSingleCommit get a commit via sha
diff --git a/routers/api/v1/repo/compare.go b/routers/api/v1/repo/compare.go
index 0557360305..2082bd9e4c 100644
--- a/routers/api/v1/repo/compare.go
+++ b/routers/api/v1/repo/compare.go
@@ -6,12 +6,12 @@ package repo
import (
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- git_service "gitea.dev/services/git"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ git_service "gotea.dev/services/git"
)
// CompareDiff compare two branches or commits
diff --git a/routers/api/v1/repo/download.go b/routers/api/v1/repo/download.go
index e88b19c00d..a04ba4dd88 100644
--- a/routers/api/v1/repo/download.go
+++ b/routers/api/v1/repo/download.go
@@ -7,10 +7,10 @@ import (
"errors"
"net/http"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- archiver_service "gitea.dev/services/repository/archiver"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ archiver_service "gotea.dev/services/repository/archiver"
)
func serveRepoArchive(ctx *context.APIContext, reqFileName string, paths []string) {
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index 6a97b5dc59..aa8861cbfb 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -14,22 +14,22 @@ import (
"strings"
"time"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- pull_service "gitea.dev/services/pull"
- files_service "gitea.dev/services/repository/files"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ pull_service "gotea.dev/services/pull"
+ files_service "gotea.dev/services/repository/files"
)
const giteaObjectTypeHeader = "X-Gitea-Object-Type"
diff --git a/routers/api/v1/repo/fork.go b/routers/api/v1/repo/fork.go
index 4749c2fd6d..b7c5319611 100644
--- a/routers/api/v1/repo/fork.go
+++ b/routers/api/v1/repo/fork.go
@@ -8,18 +8,18 @@ import (
"errors"
"net/http"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ repo_service "gotea.dev/services/repository"
)
// ListForks list a repository's forks
diff --git a/routers/api/v1/repo/git_hook.go b/routers/api/v1/repo/git_hook.go
index eb1bffcc20..84adfb92b6 100644
--- a/routers/api/v1/repo/git_hook.go
+++ b/routers/api/v1/repo/git_hook.go
@@ -7,11 +7,11 @@ import (
"errors"
"net/http"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListGitHooks list all Git hooks of a repository
diff --git a/routers/api/v1/repo/git_ref.go b/routers/api/v1/repo/git_ref.go
index c6014e7311..944988c30f 100644
--- a/routers/api/v1/repo/git_ref.go
+++ b/routers/api/v1/repo/git_ref.go
@@ -8,10 +8,10 @@ import (
"net/http"
"net/url"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
)
// GetGitAllRefs get ref or a list of all the refs of a repository
diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go
index 43d1084f2c..5767cf04e6 100644
--- a/routers/api/v1/repo/hook.go
+++ b/routers/api/v1/repo/hook.go
@@ -7,20 +7,20 @@ package repo
import (
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ webhook_service "gotea.dev/services/webhook"
)
// ListHooks list all hooks of a repository
diff --git a/routers/api/v1/repo/hook_test.go b/routers/api/v1/repo/hook_test.go
index f33ebb674e..6441b09da1 100644
--- a/routers/api/v1/repo/hook_test.go
+++ b/routers/api/v1/repo/hook_test.go
@@ -8,10 +8,10 @@ import (
"strconv"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/models/webhook"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/models/webhook"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go
index 397c6636b3..16c732bc4c 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routers/api/v1/repo/issue.go
@@ -12,24 +12,24 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// SearchIssues searches for issues across the repositories that the user has access to
diff --git a/routers/api/v1/repo/issue_assignee.go b/routers/api/v1/repo/issue_assignee.go
index 0718ba8d38..93f9f9dc9e 100644
--- a/routers/api/v1/repo/issue_assignee.go
+++ b/routers/api/v1/repo/issue_assignee.go
@@ -6,15 +6,15 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// AddIssueAssignees add assignees to an issue
diff --git a/routers/api/v1/repo/issue_attachment.go b/routers/api/v1/repo/issue_attachment.go
index 3bb3ac99a4..0c3e847468 100644
--- a/routers/api/v1/repo/issue_attachment.go
+++ b/routers/api/v1/repo/issue_attachment.go
@@ -7,18 +7,18 @@ import (
"errors"
"net/http"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- attachment_service "gitea.dev/services/attachment"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ attachment_service "gotea.dev/services/attachment"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// GetIssueAttachment gets a single attachment of the issue
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index b31a23ec26..99d55b74e6 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routers/api/v1/repo/issue_comment.go
@@ -8,17 +8,17 @@ import (
"errors"
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// ListIssueComments list all the comments of an issue
diff --git a/routers/api/v1/repo/issue_comment_attachment.go b/routers/api/v1/repo/issue_comment_attachment.go
index 9eea903bf3..56a8051e82 100644
--- a/routers/api/v1/repo/issue_comment_attachment.go
+++ b/routers/api/v1/repo/issue_comment_attachment.go
@@ -7,20 +7,20 @@ import (
"errors"
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- attachment_service "gitea.dev/services/attachment"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ attachment_service "gotea.dev/services/attachment"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// GetIssueCommentAttachment gets a single attachment of the comment
diff --git a/routers/api/v1/repo/issue_comment_test.go b/routers/api/v1/repo/issue_comment_test.go
index 78afdaa460..60f29cccc2 100644
--- a/routers/api/v1/repo/issue_comment_test.go
+++ b/routers/api/v1/repo/issue_comment_test.go
@@ -7,13 +7,13 @@ import (
"net/http"
"testing"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/repo/issue_dependency.go b/routers/api/v1/repo/issue_dependency.go
index c7a23d01d4..1d62e14693 100644
--- a/routers/api/v1/repo/issue_dependency.go
+++ b/routers/api/v1/repo/issue_dependency.go
@@ -7,15 +7,15 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetIssueDependencies list an issue's dependencies
diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go
index a1f285a91b..5bfb4c6da2 100644
--- a/routers/api/v1/repo/issue_label.go
+++ b/routers/api/v1/repo/issue_label.go
@@ -9,13 +9,13 @@ import (
"net/http"
"reflect"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/container"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/container"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// ListIssueLabels list all the labels of an issue
diff --git a/routers/api/v1/repo/issue_lock.go b/routers/api/v1/repo/issue_lock.go
index 39ec3e72ed..87d5e6a703 100644
--- a/routers/api/v1/repo/issue_lock.go
+++ b/routers/api/v1/repo/issue_lock.go
@@ -6,10 +6,10 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
)
// LockIssue lock an issue
diff --git a/routers/api/v1/repo/issue_pin.go b/routers/api/v1/repo/issue_pin.go
index 1570f9f8dd..887b0e73a7 100644
--- a/routers/api/v1/repo/issue_pin.go
+++ b/routers/api/v1/repo/issue_pin.go
@@ -6,10 +6,10 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// PinIssue pins a issue
diff --git a/routers/api/v1/repo/issue_reaction.go b/routers/api/v1/repo/issue_reaction.go
index d77958cd47..261f556183 100644
--- a/routers/api/v1/repo/issue_reaction.go
+++ b/routers/api/v1/repo/issue_reaction.go
@@ -7,15 +7,15 @@ import (
"errors"
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
)
// GetIssueCommentReactions list reactions of a comment from an issue
diff --git a/routers/api/v1/repo/issue_stopwatch.go b/routers/api/v1/repo/issue_stopwatch.go
index 92c05a0344..c3393032af 100644
--- a/routers/api/v1/repo/issue_stopwatch.go
+++ b/routers/api/v1/repo/issue_stopwatch.go
@@ -6,11 +6,11 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- notify_service "gitea.dev/services/notify"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ notify_service "gotea.dev/services/notify"
)
// StartIssueStopwatch creates a stopwatch for the given issue.
diff --git a/routers/api/v1/repo/issue_subscription.go b/routers/api/v1/repo/issue_subscription.go
index ed66443740..0781be0c81 100644
--- a/routers/api/v1/repo/issue_subscription.go
+++ b/routers/api/v1/repo/issue_subscription.go
@@ -7,12 +7,12 @@ import (
"fmt"
"net/http"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// AddIssueSubscription Subscribe user to issue
diff --git a/routers/api/v1/repo/issue_tracked_time.go b/routers/api/v1/repo/issue_tracked_time.go
index fa28662662..5ae59ab80c 100644
--- a/routers/api/v1/repo/issue_tracked_time.go
+++ b/routers/api/v1/repo/issue_tracked_time.go
@@ -7,16 +7,16 @@ import (
"net/http"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListTrackedTimes list all the tracked times of an issue
diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go
index f4c5e599b1..38ef366db5 100644
--- a/routers/api/v1/repo/key.go
+++ b/routers/api/v1/repo/key.go
@@ -9,21 +9,21 @@ import (
"fmt"
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// appendPrivateInformation appends the owner and key type information to api.PublicKey
diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go
index 755951debb..86ae7b2115 100644
--- a/routers/api/v1/repo/label.go
+++ b/routers/api/v1/repo/label.go
@@ -8,13 +8,13 @@ import (
"net/http"
"strconv"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/label"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/label"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListLabels list all the labels of a repository
diff --git a/routers/api/v1/repo/language.go b/routers/api/v1/repo/language.go
index 8ba85a1065..5989555874 100644
--- a/routers/api/v1/repo/language.go
+++ b/routers/api/v1/repo/language.go
@@ -8,9 +8,9 @@ import (
"net/http"
"strconv"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
type languageResponse []*repo_model.LanguageStat
diff --git a/routers/api/v1/repo/license.go b/routers/api/v1/repo/license.go
index 9680c420d4..2ad004c32b 100644
--- a/routers/api/v1/repo/license.go
+++ b/routers/api/v1/repo/license.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
// GetLicenses returns licenses
diff --git a/routers/api/v1/repo/main_test.go b/routers/api/v1/repo/main_test.go
index e3a8866933..fd3ad71cd2 100644
--- a/routers/api/v1/repo/main_test.go
+++ b/routers/api/v1/repo/main_test.go
@@ -6,9 +6,9 @@ package repo
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ webhook_service "gotea.dev/services/webhook"
)
func TestMain(m *testing.M) {
diff --git a/routers/api/v1/repo/migrate.go b/routers/api/v1/repo/migrate.go
index 3a23213e37..d0f7a50f2a 100644
--- a/routers/api/v1/repo/migrate.go
+++ b/routers/api/v1/repo/migrate.go
@@ -9,27 +9,27 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/migrations"
- notify_service "gitea.dev/services/notify"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/migrations"
+ notify_service "gotea.dev/services/notify"
+ repo_service "gotea.dev/services/repository"
)
// Migrate migrate remote git repository to gitea
diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go
index b0bf013ca0..3925ff0db2 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routers/api/v1/repo/milestone.go
@@ -8,15 +8,15 @@ import (
"net/http"
"strconv"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListMilestones list milestones for a repository
diff --git a/routers/api/v1/repo/mirror.go b/routers/api/v1/repo/mirror.go
index 4c7ae91279..7703c05484 100644
--- a/routers/api/v1/repo/mirror.go
+++ b/routers/api/v1/repo/mirror.go
@@ -10,21 +10,21 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/migrations"
- mirror_service "gitea.dev/services/mirror"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/migrations"
+ mirror_service "gotea.dev/services/mirror"
)
// MirrorSync adds a mirrored repository to the sync queue
diff --git a/routers/api/v1/repo/mirror_test.go b/routers/api/v1/repo/mirror_test.go
index 90f50d45e7..603d3de526 100644
--- a/routers/api/v1/repo/mirror_test.go
+++ b/routers/api/v1/repo/mirror_test.go
@@ -7,14 +7,14 @@ import (
"net/http"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/repo/notes.go b/routers/api/v1/repo/notes.go
index 80e17b784b..7ffde9893d 100644
--- a/routers/api/v1/repo/notes.go
+++ b/routers/api/v1/repo/notes.go
@@ -6,10 +6,10 @@ package repo
import (
"net/http"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetNote Get a note corresponding to a single commit from a repository
diff --git a/routers/api/v1/repo/patch.go b/routers/api/v1/repo/patch.go
index 4a016eef34..f28a355f70 100644
--- a/routers/api/v1/repo/patch.go
+++ b/routers/api/v1/repo/patch.go
@@ -6,10 +6,10 @@ package repo
import (
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/repository/files"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/repository/files"
)
// ApplyDiffPatch handles API call for applying a patch
diff --git a/routers/api/v1/repo/pull.go b/routers/api/v1/repo/pull.go
index 0063287f77..27c359c76b 100644
--- a/routers/api/v1/repo/pull.go
+++ b/routers/api/v1/repo/pull.go
@@ -12,37 +12,37 @@ import (
"strings"
"time"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/routers/common"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/automerge"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- git_service "gitea.dev/services/git"
- "gitea.dev/services/gitdiff"
- issue_service "gitea.dev/services/issue"
- "gitea.dev/services/notifications"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/routers/common"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/automerge"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ git_service "gotea.dev/services/git"
+ "gotea.dev/services/gitdiff"
+ issue_service "gotea.dev/services/issue"
+ "gotea.dev/services/notifications"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
// ListPullRequests returns a list of all PRs
diff --git a/routers/api/v1/repo/pull_review.go b/routers/api/v1/repo/pull_review.go
index 686b3e0ae3..d6d0c5e316 100644
--- a/routers/api/v1/repo/pull_review.go
+++ b/routers/api/v1/repo/pull_review.go
@@ -9,18 +9,18 @@ import (
"net/http"
"strings"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
)
// ListPullReviews lists all reviews of a pull request
diff --git a/routers/api/v1/repo/release.go b/routers/api/v1/repo/release.go
index 0448a1961b..6b0418e8b4 100644
--- a/routers/api/v1/repo/release.go
+++ b/routers/api/v1/repo/release.go
@@ -6,17 +6,17 @@ package repo
import (
"net/http"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- release_service "gitea.dev/services/release"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ release_service "gotea.dev/services/release"
)
func canAccessReleaseDraft(ctx *context.APIContext) bool {
diff --git a/routers/api/v1/repo/release_attachment.go b/routers/api/v1/repo/release_attachment.go
index 4a1a1f48cd..e204d0d64c 100644
--- a/routers/api/v1/repo/release_attachment.go
+++ b/routers/api/v1/repo/release_attachment.go
@@ -8,16 +8,16 @@ import (
"net/http"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- attachment_service "gitea.dev/services/attachment"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/convert"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ attachment_service "gotea.dev/services/attachment"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/convert"
)
func checkReleaseMatchRepo(ctx *context.APIContext, releaseID int64) bool {
diff --git a/routers/api/v1/repo/release_tags.go b/routers/api/v1/repo/release_tags.go
index 65338607c5..0183e4fcab 100644
--- a/routers/api/v1/repo/release_tags.go
+++ b/routers/api/v1/repo/release_tags.go
@@ -6,11 +6,11 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- release_service "gitea.dev/services/release"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ release_service "gotea.dev/services/release"
)
// GetReleaseByTag get a single release of a repository by tag name
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go
index c61dadbd02..093036baf5 100644
--- a/routers/api/v1/repo/repo.go
+++ b/routers/api/v1/repo/repo.go
@@ -13,35 +13,35 @@ import (
"strings"
"time"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- feed_service "gitea.dev/services/feed"
- "gitea.dev/services/issue"
- "gitea.dev/services/migrations"
- mirror_service "gitea.dev/services/mirror"
- repo_service "gitea.dev/services/repository"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ feed_service "gotea.dev/services/feed"
+ "gotea.dev/services/issue"
+ "gotea.dev/services/migrations"
+ mirror_service "gotea.dev/services/mirror"
+ repo_service "gotea.dev/services/repository"
)
// Search repositories via options
diff --git a/routers/api/v1/repo/repo_test.go b/routers/api/v1/repo/repo_test.go
index f472dff895..ea927facd7 100644
--- a/routers/api/v1/repo/repo_test.go
+++ b/routers/api/v1/repo/repo_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/repo/star.go b/routers/api/v1/repo/star.go
index d5c37471ec..53fb228aba 100644
--- a/routers/api/v1/repo/star.go
+++ b/routers/api/v1/repo/star.go
@@ -6,11 +6,11 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListStargazers list a repository's stargazers
diff --git a/routers/api/v1/repo/status.go b/routers/api/v1/repo/status.go
index 2fdbe3daa5..bef79e272a 100644
--- a/routers/api/v1/repo/status.go
+++ b/routers/api/v1/repo/status.go
@@ -7,14 +7,14 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
)
// NewCommitStatus creates a new CommitStatus
diff --git a/routers/api/v1/repo/subscriber.go b/routers/api/v1/repo/subscriber.go
index 7f7428adcb..80851cfc67 100644
--- a/routers/api/v1/repo/subscriber.go
+++ b/routers/api/v1/repo/subscriber.go
@@ -6,11 +6,11 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListSubscribers list a repo's subscribers (i.e. watchers)
diff --git a/routers/api/v1/repo/tag.go b/routers/api/v1/repo/tag.go
index edf043f63d..78b849d843 100644
--- a/routers/api/v1/repo/tag.go
+++ b/routers/api/v1/repo/tag.go
@@ -9,18 +9,18 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- release_service "gitea.dev/services/release"
+ audit_model "gotea.dev/models/audit"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ release_service "gotea.dev/services/release"
)
// ListTags list all the tags of a repository
diff --git a/routers/api/v1/repo/teams.go b/routers/api/v1/repo/teams.go
index 4aabb06a4b..c2e04bf793 100644
--- a/routers/api/v1/repo/teams.go
+++ b/routers/api/v1/repo/teams.go
@@ -7,11 +7,11 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ repo_service "gotea.dev/services/repository"
)
// ListTeams list a repository's teams
diff --git a/routers/api/v1/repo/topic.go b/routers/api/v1/repo/topic.go
index 4b825cddda..70045cc494 100644
--- a/routers/api/v1/repo/topic.go
+++ b/routers/api/v1/repo/topic.go
@@ -7,14 +7,14 @@ import (
"net/http"
"strings"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// ListTopics returns list of current topics for repo
diff --git a/routers/api/v1/repo/transfer.go b/routers/api/v1/repo/transfer.go
index ef05dac65b..1e0a97b3a0 100644
--- a/routers/api/v1/repo/transfer.go
+++ b/routers/api/v1/repo/transfer.go
@@ -8,18 +8,18 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ repo_service "gotea.dev/services/repository"
)
// Transfer transfers the ownership of a repository
diff --git a/routers/api/v1/repo/tree.go b/routers/api/v1/repo/tree.go
index 2514421ca6..86f31d3b3a 100644
--- a/routers/api/v1/repo/tree.go
+++ b/routers/api/v1/repo/tree.go
@@ -6,8 +6,8 @@ package repo
import (
"net/http"
- "gitea.dev/services/context"
- files_service "gitea.dev/services/repository/files"
+ "gotea.dev/services/context"
+ files_service "gotea.dev/services/repository/files"
)
// GetTree get the tree of a repository.
diff --git a/routers/api/v1/repo/wiki.go b/routers/api/v1/repo/wiki.go
index 6c9cc0e8cf..1013d87f92 100644
--- a/routers/api/v1/repo/wiki.go
+++ b/routers/api/v1/repo/wiki.go
@@ -9,15 +9,15 @@ import (
"net/http"
"net/url"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- notify_service "gitea.dev/services/notify"
- wiki_service "gitea.dev/services/wiki"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ notify_service "gotea.dev/services/notify"
+ wiki_service "gotea.dev/services/wiki"
)
// NewWikiPage response for wiki create request
diff --git a/routers/api/v1/settings/settings.go b/routers/api/v1/settings/settings.go
index b0571f6da2..83b7013aa8 100644
--- a/routers/api/v1/settings/settings.go
+++ b/routers/api/v1/settings/settings.go
@@ -6,9 +6,9 @@ package settings
import (
"net/http"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
)
// GetGeneralUISettings returns instance's global settings for ui
diff --git a/routers/api/v1/shared/action.go b/routers/api/v1/shared/action.go
index ac6c88bc18..5a10e6fc24 100644
--- a/routers/api/v1/shared/action.go
+++ b/routers/api/v1/shared/action.go
@@ -7,20 +7,20 @@ import (
"fmt"
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/webhook"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/webhook"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
"xorm.io/builder"
)
diff --git a/routers/api/v1/shared/block.go b/routers/api/v1/shared/block.go
index c2a5fe8a4e..93baf9815b 100644
--- a/routers/api/v1/shared/block.go
+++ b/routers/api/v1/shared/block.go
@@ -7,13 +7,13 @@ import (
"errors"
"net/http"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ user_service "gotea.dev/services/user"
)
func ListBlocks(ctx *context.APIContext, blocker *user_model.User) {
diff --git a/routers/api/v1/shared/project.go b/routers/api/v1/shared/project.go
index be6602ee44..ff8eccc2a2 100644
--- a/routers/api/v1/shared/project.go
+++ b/routers/api/v1/shared/project.go
@@ -7,24 +7,24 @@ import (
"math"
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/routers/common"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- project_service "gitea.dev/services/projects"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ project_service "gotea.dev/services/projects"
)
// projectScope identifies whose projects a route operates on. Exactly one of Repo /
diff --git a/routers/api/v1/shared/runners.go b/routers/api/v1/shared/runners.go
index ed4341033c..5a0893d762 100644
--- a/routers/api/v1/shared/runners.go
+++ b/routers/api/v1/shared/runners.go
@@ -7,15 +7,15 @@ import (
"errors"
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// RegistrationToken is response related to registration token
diff --git a/routers/api/v1/swagger/action.go b/routers/api/v1/swagger/action.go
index f8c865a0c0..f3104b596f 100644
--- a/routers/api/v1/swagger/action.go
+++ b/routers/api/v1/swagger/action.go
@@ -3,7 +3,7 @@
package swagger
-import api "gitea.dev/modules/structs"
+import api "gotea.dev/modules/structs"
// SecretList
// swagger:response SecretList
diff --git a/routers/api/v1/swagger/activity.go b/routers/api/v1/swagger/activity.go
index 0f17762fbe..c1e7da959f 100644
--- a/routers/api/v1/swagger/activity.go
+++ b/routers/api/v1/swagger/activity.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// ActivityFeedsList
diff --git a/routers/api/v1/swagger/app.go b/routers/api/v1/swagger/app.go
index 3097035e45..bfc848a16b 100644
--- a/routers/api/v1/swagger/app.go
+++ b/routers/api/v1/swagger/app.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// OAuth2Application
diff --git a/routers/api/v1/swagger/cron.go b/routers/api/v1/swagger/cron.go
index 9d6b8c4826..22584e4233 100644
--- a/routers/api/v1/swagger/cron.go
+++ b/routers/api/v1/swagger/cron.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// CronList
diff --git a/routers/api/v1/swagger/issue.go b/routers/api/v1/swagger/issue.go
index ca2abbed23..24b36ffc0b 100644
--- a/routers/api/v1/swagger/issue.go
+++ b/routers/api/v1/swagger/issue.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// Issue
diff --git a/routers/api/v1/swagger/key.go b/routers/api/v1/swagger/key.go
index 8e7b89a3c6..27d33505e2 100644
--- a/routers/api/v1/swagger/key.go
+++ b/routers/api/v1/swagger/key.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// PublicKey
diff --git a/routers/api/v1/swagger/misc.go b/routers/api/v1/swagger/misc.go
index e999d89ec3..8ded4fc697 100644
--- a/routers/api/v1/swagger/misc.go
+++ b/routers/api/v1/swagger/misc.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// ServerVersion
diff --git a/routers/api/v1/swagger/notify.go b/routers/api/v1/swagger/notify.go
index 2d2939c3bb..ed7f5742bc 100644
--- a/routers/api/v1/swagger/notify.go
+++ b/routers/api/v1/swagger/notify.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// NotificationThread
diff --git a/routers/api/v1/swagger/options.go b/routers/api/v1/swagger/options.go
index 0522fcec68..1b6a545c6d 100644
--- a/routers/api/v1/swagger/options.go
+++ b/routers/api/v1/swagger/options.go
@@ -4,8 +4,8 @@
package swagger
import (
- api "gitea.dev/modules/structs"
- "gitea.dev/services/forms"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/forms"
)
// not actually a set of parameters, just a hack to get go-swagger to include
diff --git a/routers/api/v1/swagger/org.go b/routers/api/v1/swagger/org.go
index f603555f0f..61949e4419 100644
--- a/routers/api/v1/swagger/org.go
+++ b/routers/api/v1/swagger/org.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// Organization
diff --git a/routers/api/v1/swagger/package.go b/routers/api/v1/swagger/package.go
index 4f2b0b0d8d..22938fe16b 100644
--- a/routers/api/v1/swagger/package.go
+++ b/routers/api/v1/swagger/package.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// Package
diff --git a/routers/api/v1/swagger/project.go b/routers/api/v1/swagger/project.go
index 6374c850c1..99a1a8454a 100644
--- a/routers/api/v1/swagger/project.go
+++ b/routers/api/v1/swagger/project.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// Project
diff --git a/routers/api/v1/swagger/repo.go b/routers/api/v1/swagger/repo.go
index 50dbb91d3b..0022218152 100644
--- a/routers/api/v1/swagger/repo.go
+++ b/routers/api/v1/swagger/repo.go
@@ -4,7 +4,7 @@
package swagger
import (
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
)
// Repository
diff --git a/routers/api/v1/swagger/settings.go b/routers/api/v1/swagger/settings.go
index 07ddcfb04e..78a05b49b7 100644
--- a/routers/api/v1/swagger/settings.go
+++ b/routers/api/v1/swagger/settings.go
@@ -3,7 +3,7 @@
package swagger
-import api "gitea.dev/modules/structs"
+import api "gotea.dev/modules/structs"
// GeneralRepoSettings
// swagger:response GeneralRepoSettings
diff --git a/routers/api/v1/swagger/user.go b/routers/api/v1/swagger/user.go
index c10b373601..7e0d6bf0a4 100644
--- a/routers/api/v1/swagger/user.go
+++ b/routers/api/v1/swagger/user.go
@@ -4,8 +4,8 @@
package swagger
import (
- activities_model "gitea.dev/models/activities"
- api "gitea.dev/modules/structs"
+ activities_model "gotea.dev/models/activities"
+ api "gotea.dev/modules/structs"
)
// User
diff --git a/routers/api/v1/token/token.go b/routers/api/v1/token/token.go
index 7712a7c8c2..ad12338ff7 100644
--- a/routers/api/v1/token/token.go
+++ b/routers/api/v1/token/token.go
@@ -7,12 +7,12 @@ import (
"errors"
"net/http"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/httpauth"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/httpauth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// GetCurrentToken returns metadata about the currently authenticated token.
diff --git a/routers/api/v1/user/action.go b/routers/api/v1/user/action.go
index fd7eac2f64..28296d12d0 100644
--- a/routers/api/v1/user/action.go
+++ b/routers/api/v1/user/action.go
@@ -7,17 +7,17 @@ import (
"errors"
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/routers/api/v1/utils"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- secret_service "gitea.dev/services/secrets"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/routers/api/v1/utils"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ secret_service "gotea.dev/services/secrets"
)
// create or update one secret of the user scope
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go
index a5df04a2cb..f9f0729ef0 100644
--- a/routers/api/v1/user/app.go
+++ b/routers/api/v1/user/app.go
@@ -10,16 +10,16 @@ import (
"strconv"
"strings"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
)
// ListAccessTokens list all the access tokens
diff --git a/routers/api/v1/user/avatar.go b/routers/api/v1/user/avatar.go
index 5266cdf71f..b1c6156b5a 100644
--- a/routers/api/v1/user/avatar.go
+++ b/routers/api/v1/user/avatar.go
@@ -7,10 +7,10 @@ import (
"encoding/base64"
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- user_service "gitea.dev/services/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ user_service "gotea.dev/services/user"
)
// UpdateAvatar updates the Avatar of a User
diff --git a/routers/api/v1/user/block.go b/routers/api/v1/user/block.go
index 268ef7da90..c26f916894 100644
--- a/routers/api/v1/user/block.go
+++ b/routers/api/v1/user/block.go
@@ -4,8 +4,8 @@
package user
import (
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/services/context"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/services/context"
)
func ListBlocks(ctx *context.APIContext) {
diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go
index b642e81e06..8bc06d0668 100644
--- a/routers/api/v1/user/email.go
+++ b/routers/api/v1/user/email.go
@@ -6,13 +6,13 @@ package user
import (
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ user_service "gotea.dev/services/user"
)
// ListEmails list all of the authenticated user's email addresses
diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go
index 3ceab651f2..8a070503b2 100644
--- a/routers/api/v1/user/follower.go
+++ b/routers/api/v1/user/follower.go
@@ -7,11 +7,11 @@ package user
import (
"net/http"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
func responseAPIUsers(ctx *context.APIContext, users []*user_model.User) {
diff --git a/routers/api/v1/user/gpg_key.go b/routers/api/v1/user/gpg_key.go
index 58637775a3..44c5bae7dc 100644
--- a/routers/api/v1/user/gpg_key.go
+++ b/routers/api/v1/user/gpg_key.go
@@ -7,15 +7,15 @@ import (
"net/http"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
func listGPGKeys(ctx *context.APIContext, uid int64, listOptions db.ListOptions) {
diff --git a/routers/api/v1/user/helper.go b/routers/api/v1/user/helper.go
index ee7b8b1727..e521ab198a 100644
--- a/routers/api/v1/user/helper.go
+++ b/routers/api/v1/user/helper.go
@@ -4,8 +4,8 @@
package user
import (
- user_model "gitea.dev/models/user"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/context"
)
// GetUserByPathParam get user by the path param name
diff --git a/routers/api/v1/user/hook.go b/routers/api/v1/user/hook.go
index 008484f1e6..e299b94d92 100644
--- a/routers/api/v1/user/hook.go
+++ b/routers/api/v1/user/hook.go
@@ -6,11 +6,11 @@ package user
import (
"net/http"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- webhook_service "gitea.dev/services/webhook"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ webhook_service "gotea.dev/services/webhook"
)
// ListHooks list the authenticated user's webhooks
diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go
index 76e8fb9d64..7cc9de99a0 100644
--- a/routers/api/v1/user/key.go
+++ b/routers/api/v1/user/key.go
@@ -8,18 +8,18 @@ import (
std_ctx "context"
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/routers/api/v1/repo"
- "gitea.dev/routers/api/v1/utils"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/api/v1/repo"
+ "gotea.dev/routers/api/v1/utils"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// appendPrivateInformation appends the owner and key type information to api.PublicKey
diff --git a/routers/api/v1/user/repo.go b/routers/api/v1/user/repo.go
index 6bcd860e0e..8131558681 100644
--- a/routers/api/v1/user/repo.go
+++ b/routers/api/v1/user/repo.go
@@ -6,13 +6,13 @@ package user
import (
"net/http"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// listUserRepos - List the repositories owned by the given user.
diff --git a/routers/api/v1/user/runners.go b/routers/api/v1/user/runners.go
index dcfc60c5b9..a8e1e12b8f 100644
--- a/routers/api/v1/user/runners.go
+++ b/routers/api/v1/user/runners.go
@@ -4,8 +4,8 @@
package user
import (
- "gitea.dev/routers/api/v1/shared"
- "gitea.dev/services/context"
+ "gotea.dev/routers/api/v1/shared"
+ "gotea.dev/services/context"
)
// https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-organization
diff --git a/routers/api/v1/user/settings.go b/routers/api/v1/user/settings.go
index 466372e801..1d73550cc4 100644
--- a/routers/api/v1/user/settings.go
+++ b/routers/api/v1/user/settings.go
@@ -6,12 +6,12 @@ package user
import (
"net/http"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- user_service "gitea.dev/services/user"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ user_service "gotea.dev/services/user"
)
// GetUserSettings returns user settings
diff --git a/routers/api/v1/user/star.go b/routers/api/v1/user/star.go
index 26288161fd..8f7994b0ae 100644
--- a/routers/api/v1/user/star.go
+++ b/routers/api/v1/user/star.go
@@ -8,13 +8,13 @@ import (
"errors"
"net/http"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// getStarredRepos returns the repos that the user with the specified userID has
diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go
index 5db314713d..c1f1d99c98 100644
--- a/routers/api/v1/user/user.go
+++ b/routers/api/v1/user/user.go
@@ -7,13 +7,13 @@ package user
import (
"net/http"
- activities_model "gitea.dev/models/activities"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- feed_service "gitea.dev/services/feed"
+ activities_model "gotea.dev/models/activities"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ feed_service "gotea.dev/services/feed"
)
// Search search users
diff --git a/routers/api/v1/user/watch.go b/routers/api/v1/user/watch.go
index a37682c299..59dd06e449 100644
--- a/routers/api/v1/user/watch.go
+++ b/routers/api/v1/user/watch.go
@@ -7,13 +7,13 @@ import (
"errors"
"net/http"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/routers/api/v1/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/routers/api/v1/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// getWatchedRepos returns the repos that the user with the specified userID is watching
diff --git a/routers/api/v1/utils/git.go b/routers/api/v1/utils/git.go
index 8f1c335ad0..b227039dff 100644
--- a/routers/api/v1/utils/git.go
+++ b/routers/api/v1/utils/git.go
@@ -7,11 +7,11 @@ import (
"errors"
"strings"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/reqctx"
- "gitea.dev/services/context"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/services/context"
)
type RefCommit struct {
diff --git a/routers/api/v1/utils/hook.go b/routers/api/v1/utils/hook.go
index 25cb708105..d6f2952b13 100644
--- a/routers/api/v1/utils/hook.go
+++ b/routers/api/v1/utils/hook.go
@@ -8,18 +8,18 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ webhook_service "gotea.dev/services/webhook"
)
// ListOwnerHooks lists the webhooks of the provided owner
diff --git a/routers/api/v1/utils/hook_test.go b/routers/api/v1/utils/hook_test.go
index 9e7f3af981..da392359fe 100644
--- a/routers/api/v1/utils/hook_test.go
+++ b/routers/api/v1/utils/hook_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/structs"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/api/v1/utils/main_test.go b/routers/api/v1/utils/main_test.go
index 2063b4be39..07ade3667e 100644
--- a/routers/api/v1/utils/main_test.go
+++ b/routers/api/v1/utils/main_test.go
@@ -6,9 +6,9 @@ package utils
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ webhook_service "gotea.dev/services/webhook"
)
func TestMain(m *testing.M) {
diff --git a/routers/api/v1/utils/page.go b/routers/api/v1/utils/page.go
index 02de431aa3..354db61a6e 100644
--- a/routers/api/v1/utils/page.go
+++ b/routers/api/v1/utils/page.go
@@ -4,9 +4,9 @@
package utils
import (
- "gitea.dev/models/db"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetListOptions returns list options using the page and limit parameters
diff --git a/routers/api/v1/utils/sort.go b/routers/api/v1/utils/sort.go
index 669a09988a..d900679ce7 100644
--- a/routers/api/v1/utils/sort.go
+++ b/routers/api/v1/utils/sort.go
@@ -7,8 +7,8 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/services/context"
)
// ResolveSortOrder reads "sort" and "order" query params and returns the matching
diff --git a/routers/api/v1/utils/sort_test.go b/routers/api/v1/utils/sort_test.go
index 4885f10f8c..96efbdd8f4 100644
--- a/routers/api/v1/utils/sort_test.go
+++ b/routers/api/v1/utils/sort_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/db"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/common/actions.go b/routers/common/actions.go
index 220dad32e2..c9d2e0aaf5 100644
--- a/routers/common/actions.go
+++ b/routers/common/actions.go
@@ -11,14 +11,14 @@ import (
"io"
"io/fs"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/container"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- context_module "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ context_module "gotea.dev/services/context"
)
func openTaskLogs(ctx context.Context, task *actions_model.ActionTask) (io.ReadSeekCloser, error) {
diff --git a/routers/common/audit.go b/routers/common/audit.go
index 8a3eb87274..2255674414 100644
--- a/routers/common/audit.go
+++ b/routers/common/audit.go
@@ -6,10 +6,10 @@ package common
import (
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/reqctx"
- audit_service "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/reqctx"
+ audit_service "gotea.dev/services/audit"
)
// AuditOrigin publishes the origin and the client address of the request, so
diff --git a/routers/common/auth.go b/routers/common/auth.go
index 14bfe09bd3..acebe03da8 100644
--- a/routers/common/auth.go
+++ b/routers/common/auth.go
@@ -4,13 +4,13 @@
package common
import (
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web/middleware"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web/middleware"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
)
type AuthResult struct {
diff --git a/routers/common/auth_test.go b/routers/common/auth_test.go
index 464bab25b7..032bca5c31 100644
--- a/routers/common/auth_test.go
+++ b/routers/common/auth_test.go
@@ -6,10 +6,10 @@ package common
import (
"testing"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/common/blockexpensive.go b/routers/common/blockexpensive.go
index 62cb1c7050..ea2041ed03 100644
--- a/routers/common/blockexpensive.go
+++ b/routers/common/blockexpensive.go
@@ -7,11 +7,11 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/modules/web/routing"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/routing"
"github.com/go-chi/chi/v5"
)
diff --git a/routers/common/codesearch.go b/routers/common/codesearch.go
index 7eb1374209..d4606cf485 100644
--- a/routers/common/codesearch.go
+++ b/routers/common/codesearch.go
@@ -4,10 +4,10 @@
package common
import (
- "gitea.dev/modules/indexer"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ "gotea.dev/modules/indexer"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
func PrepareCodeSearch(ctx *context.Context) (ret struct {
diff --git a/routers/common/compare.go b/routers/common/compare.go
index 4bbe27d6ca..f8a877148a 100644
--- a/routers/common/compare.go
+++ b/routers/common/compare.go
@@ -9,10 +9,10 @@ import (
"strings"
"sync"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
)
type CompareRouterReq struct {
diff --git a/routers/common/compare_test.go b/routers/common/compare_test.go
index 1c1f66be50..3ccb89f8a0 100644
--- a/routers/common/compare_test.go
+++ b/routers/common/compare_test.go
@@ -6,7 +6,7 @@ package common
import (
"testing"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/common/db.go b/routers/common/db.go
index f187ee23a0..b222cf0d80 100644
--- a/routers/common/db.go
+++ b/routers/common/db.go
@@ -8,13 +8,13 @@ import (
"errors"
"time"
- "gitea.dev/modelmigration"
- "gitea.dev/models/db"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/services/versioned_migration"
+ "gotea.dev/modelmigration"
+ "gotea.dev/models/db"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/services/versioned_migration"
)
// InitDBEngine In case of problems connecting to DB, retry connection. Eg, PGSQL in Docker Container on Synology
diff --git a/routers/common/deadline.go b/routers/common/deadline.go
index 3ce533286a..2bf5cd5629 100644
--- a/routers/common/deadline.go
+++ b/routers/common/deadline.go
@@ -6,10 +6,10 @@ package common
import (
"time"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func ParseDeadlineDateToEndOfDay(date string) (timeutil.TimeStamp, error) {
diff --git a/routers/common/errpage.go b/routers/common/errpage.go
index fcf60fc7eb..38bbe9f926 100644
--- a/routers/common/errpage.go
+++ b/routers/common/errpage.go
@@ -10,15 +10,15 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/modules/web/routing"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/routing"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/common/errpage_test.go b/routers/common/errpage_test.go
index 5732261b23..adcf907ace 100644
--- a/routers/common/errpage_test.go
+++ b/routers/common/errpage_test.go
@@ -10,9 +10,9 @@ import (
"net/url"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/test"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/common/issue_filter.go b/routers/common/issue_filter.go
index 6af542874b..44657229e8 100644
--- a/routers/common/issue_filter.go
+++ b/routers/common/issue_filter.go
@@ -6,13 +6,13 @@ package common
import (
"context"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
)
func ParseIssueFilterStateIsClosed(state string) optional.Option[bool] {
diff --git a/routers/common/issue_filter_test.go b/routers/common/issue_filter_test.go
index 6cffeef45f..c5be47c230 100644
--- a/routers/common/issue_filter_test.go
+++ b/routers/common/issue_filter_test.go
@@ -6,9 +6,9 @@ package common
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/common/lfs.go b/routers/common/lfs.go
index 39644c7427..50b28873c0 100644
--- a/routers/common/lfs.go
+++ b/routers/common/lfs.go
@@ -6,8 +6,8 @@ package common
import (
"net/http"
- "gitea.dev/modules/web"
- "gitea.dev/services/lfs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/lfs"
)
const RouterMockPointCommonLFS = "common-lfs"
diff --git a/routers/common/maintenancemode.go b/routers/common/maintenancemode.go
index 39748e8934..45849db8e2 100644
--- a/routers/common/maintenancemode.go
+++ b/routers/common/maintenancemode.go
@@ -7,8 +7,8 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
)
func MaintenanceModeHandler() func(h http.Handler) http.Handler {
diff --git a/routers/common/markup.go b/routers/common/markup.go
index cf3c799e90..ba32fe74f3 100644
--- a/routers/common/markup.go
+++ b/routers/common/markup.go
@@ -10,14 +10,14 @@ import (
"path"
"strings"
- "gitea.dev/models/renderhelper"
- "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/renderhelper"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// RenderMarkup renders markup text for the /markup and /markdown endpoints
diff --git a/routers/common/middleware.go b/routers/common/middleware.go
index dcd9ea3ad6..790e5e28cf 100644
--- a/routers/common/middleware.go
+++ b/routers/common/middleware.go
@@ -8,15 +8,15 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web/routing"
- "gitea.dev/services/context"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web/routing"
+ "gotea.dev/services/context"
"gitea.com/go-chi/session"
"github.com/chi-middleware/proxy"
diff --git a/routers/common/pagetmpl.go b/routers/common/pagetmpl.go
index 09c7a04bde..f09793a874 100644
--- a/routers/common/pagetmpl.go
+++ b/routers/common/pagetmpl.go
@@ -8,11 +8,11 @@ import (
"errors"
"sync"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
// StopwatchTmplInfo is a view on a stopwatch specifically for template rendering
diff --git a/routers/common/qos.go b/routers/common/qos.go
index 3fc76830b7..a6a3e4b7ad 100644
--- a/routers/common/qos.go
+++ b/routers/common/qos.go
@@ -9,12 +9,12 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/modules/web/routing"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/routing"
"github.com/bohde/codel"
"github.com/go-chi/chi/v5"
diff --git a/routers/common/qos_test.go b/routers/common/qos_test.go
index 0f9ced2fb9..d7ffe7b86a 100644
--- a/routers/common/qos_test.go
+++ b/routers/common/qos_test.go
@@ -6,9 +6,9 @@ package common
import (
"testing"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/contexttest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/contexttest"
"github.com/go-chi/chi/v5"
"github.com/stretchr/testify/assert"
diff --git a/routers/common/redirect.go b/routers/common/redirect.go
index f6e5d8786c..db774151c5 100644
--- a/routers/common/redirect.go
+++ b/routers/common/redirect.go
@@ -6,7 +6,7 @@ package common
import (
"net/http"
- "gitea.dev/modules/httplib"
+ "gotea.dev/modules/httplib"
)
// FetchRedirectDelegate helps the "fetch" requests to redirect to the correct location
diff --git a/routers/common/redirect_test.go b/routers/common/redirect_test.go
index 04b06f5dd5..682cceeee6 100644
--- a/routers/common/redirect_test.go
+++ b/routers/common/redirect_test.go
@@ -10,8 +10,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/common/serve.go b/routers/common/serve.go
index 740742a890..6b8fb0a874 100644
--- a/routers/common/serve.go
+++ b/routers/common/serve.go
@@ -7,13 +7,13 @@ import (
"path"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
)
// ServeBlob download a git.Blob
diff --git a/routers/init.go b/routers/init.go
index 7770243e43..4dbbe7a65f 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -9,52 +9,52 @@ import (
"reflect"
"runtime"
- "gitea.dev/models"
- authmodel "gitea.dev/models/auth"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/external"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/ssh"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/system"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/routing"
- actions_router "gitea.dev/routers/api/actions"
- packages_router "gitea.dev/routers/api/packages"
- apiv1 "gitea.dev/routers/api/v1"
- "gitea.dev/routers/common"
- "gitea.dev/routers/private"
- web_routers "gitea.dev/routers/web"
- actions_service "gitea.dev/services/actions"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/automerge"
- "gitea.dev/services/cron"
- feed_service "gitea.dev/services/feed"
- gitproxy_service "gitea.dev/services/gitproxy"
- indexer_service "gitea.dev/services/indexer"
- "gitea.dev/services/mailer"
- mailer_incoming "gitea.dev/services/mailer/incoming"
- markup_service "gitea.dev/services/markup"
- mirror_service "gitea.dev/services/mirror"
- "gitea.dev/services/oauth2_provider"
- packages_spec "gitea.dev/services/packages/pkgspec"
- pull_service "gitea.dev/services/pull"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/services/repository/archiver"
- "gitea.dev/services/task"
- "gitea.dev/services/uinotification"
- "gitea.dev/services/webhook"
- websocket_service "gitea.dev/services/websocket"
+ "gotea.dev/models"
+ authmodel "gotea.dev/models/auth"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/external"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/ssh"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/system"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/routing"
+ actions_router "gotea.dev/routers/api/actions"
+ packages_router "gotea.dev/routers/api/packages"
+ apiv1 "gotea.dev/routers/api/v1"
+ "gotea.dev/routers/common"
+ "gotea.dev/routers/private"
+ web_routers "gotea.dev/routers/web"
+ actions_service "gotea.dev/services/actions"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/automerge"
+ "gotea.dev/services/cron"
+ feed_service "gotea.dev/services/feed"
+ gitproxy_service "gotea.dev/services/gitproxy"
+ indexer_service "gotea.dev/services/indexer"
+ "gotea.dev/services/mailer"
+ mailer_incoming "gotea.dev/services/mailer/incoming"
+ markup_service "gotea.dev/services/markup"
+ mirror_service "gotea.dev/services/mirror"
+ "gotea.dev/services/oauth2_provider"
+ packages_spec "gotea.dev/services/packages/pkgspec"
+ pull_service "gotea.dev/services/pull"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/services/repository/archiver"
+ "gotea.dev/services/task"
+ "gotea.dev/services/uinotification"
+ "gotea.dev/services/webhook"
+ websocket_service "gotea.dev/services/websocket"
)
func mustInit(fn func() error) {
diff --git a/routers/install/install.go b/routers/install/install.go
index 1490947b87..aa40c8b8bb 100644
--- a/routers/install/install.go
+++ b/routers/install/install.go
@@ -16,26 +16,26 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- db_install "gitea.dev/models/db/install"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers/common"
- "gitea.dev/services/audit"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/versioned_migration"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ db_install "gotea.dev/models/db/install"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/audit"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/versioned_migration"
)
const (
diff --git a/routers/install/install_test.go b/routers/install/install_test.go
index 534b115601..d1cd7d79cb 100644
--- a/routers/install/install_test.go
+++ b/routers/install/install_test.go
@@ -8,10 +8,10 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/install/routes.go b/routers/install/routes.go
index 14f3c4ff55..4859c9ecbf 100644
--- a/routers/install/routes.go
+++ b/routers/install/routes.go
@@ -8,13 +8,13 @@ import (
"html"
"net/http"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/routers/web/healthcheck"
- "gitea.dev/routers/web/misc"
- "gitea.dev/services/forms"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/routers/web/healthcheck"
+ "gotea.dev/routers/web/misc"
+ "gotea.dev/services/forms"
)
// Routes registers the installation routes
diff --git a/routers/private/actions.go b/routers/private/actions.go
index fa4c200fa6..43329e4b95 100644
--- a/routers/private/actions.go
+++ b/routers/private/actions.go
@@ -8,13 +8,13 @@ import (
"net/http"
"strings"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/private"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// GenerateActionsRunnerToken generates a new runner token for a given scope
diff --git a/routers/private/hook_post_receive.go b/routers/private/hook_post_receive.go
index d4dd97cb0b..cb9ba22b21 100644
--- a/routers/private/hook_post_receive.go
+++ b/routers/private/hook_post_receive.go
@@ -8,20 +8,20 @@ import (
"fmt"
"net/http"
- audit_model "gitea.dev/models/audit"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- gitea_context "gitea.dev/services/context"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ audit_model "gotea.dev/models/audit"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ gitea_context "gotea.dev/services/context"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
func hookPostReceiveCollectPushUpdates(opts *private.HookOptions, repo *repo_model.Repository) []*repo_module.PushUpdateOptions {
diff --git a/routers/private/hook_pre_receive.go b/routers/private/hook_pre_receive.go
index 8fbad4945e..f27b39abb0 100644
--- a/routers/private/hook_pre_receive.go
+++ b/routers/private/hook_pre_receive.go
@@ -8,18 +8,18 @@ import (
"net/http"
"os"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/private"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/agit"
- gitea_context "gitea.dev/services/context"
- pull_service "gitea.dev/services/pull"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/agit"
+ gitea_context "gotea.dev/services/context"
+ pull_service "gotea.dev/services/pull"
)
type preReceiveContext struct {
diff --git a/routers/private/hook_pre_receive_test.go b/routers/private/hook_pre_receive_test.go
index 6faf1e5fc9..b901a7efa7 100644
--- a/routers/private/hook_pre_receive_test.go
+++ b/routers/private/hook_pre_receive_test.go
@@ -7,16 +7,16 @@ import (
"net/http"
"testing"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/private"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/private/hook_proc_receive.go b/routers/private/hook_proc_receive.go
index 75970159fc..12575cde13 100644
--- a/routers/private/hook_proc_receive.go
+++ b/routers/private/hook_proc_receive.go
@@ -8,13 +8,13 @@ import (
"net/http"
"slices"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/private"
- "gitea.dev/modules/web"
- "gitea.dev/services/agit"
- gitea_context "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/agit"
+ gitea_context "gotea.dev/services/context"
)
// HookProcReceive proc-receive hook - only handles agit Proc-Receive requests at present
diff --git a/routers/private/hook_verification.go b/routers/private/hook_verification.go
index 5e82675852..3e900f8edc 100644
--- a/routers/private/hook_verification.go
+++ b/routers/private/hook_verification.go
@@ -8,10 +8,10 @@ import (
"context"
"io"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- asymkey_service "gitea.dev/services/asymkey"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ asymkey_service "gotea.dev/services/asymkey"
)
// This file contains commit verification functions for refs passed across in hooks
diff --git a/routers/private/hook_verification_test.go b/routers/private/hook_verification_test.go
index f71dd58b8c..8b2805764a 100644
--- a/routers/private/hook_verification_test.go
+++ b/routers/private/hook_verification_test.go
@@ -6,8 +6,8 @@ package private
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/private/internal.go b/routers/private/internal.go
index 4a6c473d19..a2743abaa0 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -10,16 +10,16 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers/common"
- "gitea.dev/routers/web/misc"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers/common"
+ "gotea.dev/routers/web/misc"
+ "gotea.dev/services/context"
)
func authInternal(next http.Handler) http.Handler {
diff --git a/routers/private/internal_repo.go b/routers/private/internal_repo.go
index b84b10d907..a57d0fdfa0 100644
--- a/routers/private/internal_repo.go
+++ b/routers/private/internal_repo.go
@@ -4,11 +4,11 @@
package private
import (
- "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/user"
- "gitea.dev/modules/git"
- gitea_context "gitea.dev/services/context"
+ "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ gitea_context "gotea.dev/services/context"
)
// This file contains common functions relating to setting the Repository for the internal routes
diff --git a/routers/private/key.go b/routers/private/key.go
index e42f354497..55dee78a1e 100644
--- a/routers/private/key.go
+++ b/routers/private/key.go
@@ -6,9 +6,9 @@ package private
import (
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/services/context"
+ asymkey_model "gotea.dev/models/asymkey"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/services/context"
)
// UpdatePublicKeyInRepo update public key and deploy key updates
diff --git a/routers/private/mail.go b/routers/private/mail.go
index 684366a9dc..bf77a3fc59 100644
--- a/routers/private/mail.go
+++ b/routers/private/mail.go
@@ -8,14 +8,14 @@ import (
"net/http"
"strconv"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- "gitea.dev/services/mailer"
- sender_service "gitea.dev/services/mailer/sender"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ "gotea.dev/services/mailer"
+ sender_service "gotea.dev/services/mailer/sender"
)
// SendEmail pushes messages to mail queue
diff --git a/routers/private/main_test.go b/routers/private/main_test.go
index 478c25a9d7..9ec54e33c4 100644
--- a/routers/private/main_test.go
+++ b/routers/private/main_test.go
@@ -6,7 +6,7 @@ package private
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/private/manager.go b/routers/private/manager.go
index 28c2debe77..fb714e3fd1 100644
--- a/routers/private/manager.go
+++ b/routers/private/manager.go
@@ -7,15 +7,15 @@ import (
"net/http"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/graceful/releasereopen"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/graceful/releasereopen"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
)
// ReloadTemplates reloads all the templates
diff --git a/routers/private/manager_process.go b/routers/private/manager_process.go
index 1352edb890..11c304da2f 100644
--- a/routers/private/manager_process.go
+++ b/routers/private/manager_process.go
@@ -11,8 +11,8 @@ import (
"runtime"
"time"
- process_module "gitea.dev/modules/process"
- "gitea.dev/services/context"
+ process_module "gotea.dev/modules/process"
+ "gotea.dev/services/context"
)
// Processes prints out the processes
diff --git a/routers/private/manager_unix.go b/routers/private/manager_unix.go
index 8bb394c0ba..caa34d5b0a 100644
--- a/routers/private/manager_unix.go
+++ b/routers/private/manager_unix.go
@@ -8,8 +8,8 @@ package private
import (
"net/http"
- "gitea.dev/modules/graceful"
- "gitea.dev/services/context"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/services/context"
)
// Restart causes the server to perform a graceful restart
diff --git a/routers/private/manager_windows.go b/routers/private/manager_windows.go
index d5df4414f3..e776573552 100644
--- a/routers/private/manager_windows.go
+++ b/routers/private/manager_windows.go
@@ -8,8 +8,8 @@ package private
import (
"net/http"
- "gitea.dev/modules/graceful"
- "gitea.dev/services/context"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/services/context"
)
// Restart is not implemented for Windows based servers as they can't fork
diff --git a/routers/private/restore_repo.go b/routers/private/restore_repo.go
index 5b14586c11..2a98770c1c 100644
--- a/routers/private/restore_repo.go
+++ b/routers/private/restore_repo.go
@@ -7,9 +7,9 @@ import (
"io"
"net/http"
- "gitea.dev/modules/json"
- myCtx "gitea.dev/services/context"
- "gitea.dev/services/migrations"
+ "gotea.dev/modules/json"
+ myCtx "gotea.dev/services/context"
+ "gotea.dev/services/migrations"
)
// RestoreRepo restore a repository from data
diff --git a/routers/private/serv.go b/routers/private/serv.go
index f900361819..65bb52944e 100644
--- a/routers/private/serv.go
+++ b/routers/private/serv.go
@@ -7,22 +7,22 @@ import (
"net/http"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
- wiki_service "gitea.dev/services/wiki"
+ asymkey_model "gotea.dev/models/asymkey"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
+ wiki_service "gotea.dev/services/wiki"
)
// ServNoCommand returns information about the provided keyid
diff --git a/routers/private/ssh_log.go b/routers/private/ssh_log.go
index fb32135656..034f6ba59c 100644
--- a/routers/private/ssh_log.go
+++ b/routers/private/ssh_log.go
@@ -6,11 +6,11 @@ package private
import (
"net/http"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
)
// SSHLog hook to response ssh log
diff --git a/routers/web/admin/admin.go b/routers/web/admin/admin.go
index d418dcb037..ee67128e29 100644
--- a/routers/web/admin/admin.go
+++ b/routers/web/admin/admin.go
@@ -12,23 +12,23 @@ import (
"strings"
"time"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/updatechecker"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/cron"
- "gitea.dev/services/forms"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/updatechecker"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/cron"
+ "gotea.dev/services/forms"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/admin/admin_test.go b/routers/web/admin/admin_test.go
index 69e22a0d5e..46f0765bad 100644
--- a/routers/web/admin/admin_test.go
+++ b/routers/web/admin/admin_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/contexttest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/admin/applications.go b/routers/web/admin/applications.go
index 488ca67291..2080f3464d 100644
--- a/routers/web/admin/applications.go
+++ b/routers/web/admin/applications.go
@@ -6,12 +6,12 @@ package admin
import (
"net/http"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- user_setting "gitea.dev/routers/web/user/setting"
- "gitea.dev/services/context"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ user_setting "gotea.dev/routers/web/user/setting"
+ "gotea.dev/services/context"
)
var (
diff --git a/routers/web/admin/audit.go b/routers/web/admin/audit.go
index 8950cb14f0..9de1d4f940 100644
--- a/routers/web/admin/audit.go
+++ b/routers/web/admin/audit.go
@@ -8,12 +8,12 @@ import (
"net/http"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- shared_audit "gitea.dev/routers/web/shared/audit"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ shared_audit "gotea.dev/routers/web/shared/audit"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
)
const auditExportPageSize = 1000
diff --git a/routers/web/admin/auths.go b/routers/web/admin/auths.go
index 551fed338c..856569c374 100644
--- a/routers/web/admin/auths.go
+++ b/routers/web/admin/auths.go
@@ -12,21 +12,21 @@ import (
"strconv"
"strings"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/auth/pam"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/ldap"
- "gitea.dev/services/auth/source/oauth2"
- pam_service "gitea.dev/services/auth/source/pam"
- "gitea.dev/services/auth/source/smtp"
- "gitea.dev/services/auth/source/sspi"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/auth/pam"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/ldap"
+ "gotea.dev/services/auth/source/oauth2"
+ pam_service "gotea.dev/services/auth/source/pam"
+ "gotea.dev/services/auth/source/smtp"
+ "gotea.dev/services/auth/source/sspi"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/admin/badges.go b/routers/web/admin/badges.go
index 6c4e9b54b9..a3d48796a0 100644
--- a/routers/web/admin/badges.go
+++ b/routers/web/admin/badges.go
@@ -9,15 +9,15 @@ import (
"net/url"
"strings"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/admin/config.go b/routers/web/admin/config.go
index 74124b1999..4c3fdc19d0 100644
--- a/routers/web/admin/config.go
+++ b/routers/web/admin/config.go
@@ -7,17 +7,17 @@ package admin
import (
"net/http"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/mailer"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/mailer"
"gitea.com/go-chi/session"
)
diff --git a/routers/web/admin/diagnosis.go b/routers/web/admin/diagnosis.go
index 3567b46d90..b4a2796c32 100644
--- a/routers/web/admin/diagnosis.go
+++ b/routers/web/admin/diagnosis.go
@@ -9,10 +9,10 @@ import (
"runtime/pprof"
"time"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/tailmsg"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/tailmsg"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
func MonitorDiagnosis(ctx *context.Context) {
diff --git a/routers/web/admin/emails.go b/routers/web/admin/emails.go
index eed4ff1cce..cdb252f04c 100644
--- a/routers/web/admin/emails.go
+++ b/routers/web/admin/emails.go
@@ -8,16 +8,16 @@ import (
"net/http"
"net/url"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/user"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/user"
)
const (
diff --git a/routers/web/admin/hooks.go b/routers/web/admin/hooks.go
index eaf5448480..edae739a29 100644
--- a/routers/web/admin/hooks.go
+++ b/routers/web/admin/hooks.go
@@ -6,12 +6,12 @@ package admin
import (
"net/http"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/admin/main_test.go b/routers/web/admin/main_test.go
index 44a9bb4e50..76f44857dd 100644
--- a/routers/web/admin/main_test.go
+++ b/routers/web/admin/main_test.go
@@ -6,7 +6,7 @@ package admin
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/admin/notice.go b/routers/web/admin/notice.go
index de2311af3f..daf582bfc5 100644
--- a/routers/web/admin/notice.go
+++ b/routers/web/admin/notice.go
@@ -8,12 +8,12 @@ import (
"net/http"
"strconv"
- "gitea.dev/models/db"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/admin/orgs.go b/routers/web/admin/orgs.go
index 057ac27cb3..58ff6f539a 100644
--- a/routers/web/admin/orgs.go
+++ b/routers/web/admin/orgs.go
@@ -5,13 +5,13 @@
package admin
import (
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/web/explore"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/web/explore"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/admin/packages.go b/routers/web/admin/packages.go
index 64322ac182..ba2801d73a 100644
--- a/routers/web/admin/packages.go
+++ b/routers/web/admin/packages.go
@@ -7,14 +7,14 @@ import (
"net/http"
"time"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- packages_service "gitea.dev/services/packages"
- packages_cleanup_service "gitea.dev/services/packages/cleanup"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ packages_service "gotea.dev/services/packages"
+ packages_cleanup_service "gotea.dev/services/packages/cleanup"
)
const (
diff --git a/routers/web/admin/perftrace.go b/routers/web/admin/perftrace.go
index 99ff3a759b..16603d39d4 100644
--- a/routers/web/admin/perftrace.go
+++ b/routers/web/admin/perftrace.go
@@ -6,8 +6,8 @@ package admin
import (
"net/http"
- "gitea.dev/modules/tailmsg"
- "gitea.dev/services/context"
+ "gotea.dev/modules/tailmsg"
+ "gotea.dev/services/context"
)
func PerfTrace(ctx *context.Context) {
diff --git a/routers/web/admin/queue.go b/routers/web/admin/queue.go
index e5ac55bdfc..b2fde4ceb8 100644
--- a/routers/web/admin/queue.go
+++ b/routers/web/admin/queue.go
@@ -7,9 +7,9 @@ import (
"net/http"
"strconv"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
func Queues(ctx *context.Context) {
diff --git a/routers/web/admin/queue_tester.go b/routers/web/admin/queue_tester.go
index e3f04ac705..122da85e12 100644
--- a/routers/web/admin/queue_tester.go
+++ b/routers/web/admin/queue_tester.go
@@ -8,11 +8,11 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
)
var testQueueOnce sync.Once
diff --git a/routers/web/admin/repos.go b/routers/web/admin/repos.go
index 16c9bebaca..993faca06b 100644
--- a/routers/web/admin/repos.go
+++ b/routers/web/admin/repos.go
@@ -8,17 +8,17 @@ import (
"net/url"
"strings"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/web/explore"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/web/explore"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/admin/stacktrace.go b/routers/web/admin/stacktrace.go
index 79eaa64137..5bd21c771e 100644
--- a/routers/web/admin/stacktrace.go
+++ b/routers/web/admin/stacktrace.go
@@ -7,9 +7,9 @@ import (
"net/http"
"runtime"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
func monitorTraceCommon(ctx *context.Context) {
diff --git a/routers/web/admin/users.go b/routers/web/admin/users.go
index 3ab59179ef..11522ec4e0 100644
--- a/routers/web/admin/users.go
+++ b/routers/web/admin/users.go
@@ -11,31 +11,31 @@ import (
"strconv"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/explore"
- user_setting "gitea.dev/routers/web/user/setting"
- "gitea.dev/services/audit"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- "gitea.dev/services/mailer"
- org_service "gitea.dev/services/org"
- user_service "gitea.dev/services/user"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/explore"
+ user_setting "gotea.dev/routers/web/user/setting"
+ "gotea.dev/services/audit"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/mailer"
+ org_service "gotea.dev/services/org"
+ user_service "gotea.dev/services/user"
)
const (
diff --git a/routers/web/admin/users_test.go b/routers/web/admin/users_test.go
index 31e0a76849..9cb87d332a 100644
--- a/routers/web/admin/users_test.go
+++ b/routers/web/admin/users_test.go
@@ -6,13 +6,13 @@ package admin
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/auth/2fa.go b/routers/web/auth/2fa.go
index d2884af4b8..12048e5032 100644
--- a/routers/web/auth/2fa.go
+++ b/routers/web/auth/2fa.go
@@ -7,18 +7,18 @@ import (
"errors"
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
var (
diff --git a/routers/web/auth/auth.go b/routers/web/auth/auth.go
index 4b10b8b091..8bb76e2076 100644
--- a/routers/web/auth/auth.go
+++ b/routers/web/auth/auth.go
@@ -13,30 +13,30 @@ import (
"net/url"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/audit"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- "gitea.dev/services/externalaccount"
- "gitea.dev/services/forms"
- "gitea.dev/services/mailer"
- user_service "gitea.dev/services/user"
- websocket_service "gitea.dev/services/websocket"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/audit"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ "gotea.dev/services/externalaccount"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/mailer"
+ user_service "gotea.dev/services/user"
+ websocket_service "gotea.dev/services/websocket"
"github.com/markbates/goth"
)
diff --git a/routers/web/auth/auth_test.go b/routers/web/auth/auth_test.go
index 5d2b9095c4..c2dbb4705b 100644
--- a/routers/web/auth/auth_test.go
+++ b/routers/web/auth/auth_test.go
@@ -10,15 +10,15 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/contexttest"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/contexttest"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
diff --git a/routers/web/auth/linkaccount.go b/routers/web/auth/linkaccount.go
index dde59bba2f..160cc32235 100644
--- a/routers/web/auth/linkaccount.go
+++ b/routers/web/auth/linkaccount.go
@@ -8,19 +8,19 @@ import (
"net/http"
"strings"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- "gitea.dev/services/externalaccount"
- "gitea.dev/services/forms"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ "gotea.dev/services/externalaccount"
+ "gotea.dev/services/forms"
)
var tplLinkAccount templates.TplName = "user/auth/link_account"
diff --git a/routers/web/auth/main_test.go b/routers/web/auth/main_test.go
index 7b02e2a20a..aa3a4f6183 100644
--- a/routers/web/auth/main_test.go
+++ b/routers/web/auth/main_test.go
@@ -6,7 +6,7 @@ package auth
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/auth/oauth.go b/routers/web/auth/oauth.go
index 89f6f7903a..122c540829 100644
--- a/routers/web/auth/oauth.go
+++ b/routers/web/auth/oauth.go
@@ -15,22 +15,22 @@ import (
"strings"
"time"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- auth_module "gitea.dev/modules/auth"
- "gitea.dev/modules/container"
- "gitea.dev/modules/egress"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/services/audit"
- source_service "gitea.dev/services/auth/source"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- "gitea.dev/services/externalaccount"
- user_service "gitea.dev/services/user"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ auth_module "gotea.dev/modules/auth"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/egress"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/audit"
+ source_service "gotea.dev/services/auth/source"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ "gotea.dev/services/externalaccount"
+ user_service "gotea.dev/services/user"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
diff --git a/routers/web/auth/oauth2_provider.go b/routers/web/auth/oauth2_provider.go
index 64b6af47b0..a8af269d46 100644
--- a/routers/web/auth/oauth2_provider.go
+++ b/routers/web/auth/oauth2_provider.go
@@ -13,21 +13,21 @@ import (
"strconv"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/httpauth"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/oauth2_provider"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/httpauth"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/oauth2_provider"
jwt "github.com/golang-jwt/jwt/v5"
)
diff --git a/routers/web/auth/oauth2_provider_test.go b/routers/web/auth/oauth2_provider_test.go
index aa3a0ae898..1f2815fa24 100644
--- a/routers/web/auth/oauth2_provider_test.go
+++ b/routers/web/auth/oauth2_provider_test.go
@@ -9,14 +9,14 @@ import (
"strings"
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
- "gitea.dev/services/oauth2_provider"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/oauth2_provider"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/auth/oauth2_wellknown.go b/routers/web/auth/oauth2_wellknown.go
index 9798a826f9..de894d47a9 100644
--- a/routers/web/auth/oauth2_wellknown.go
+++ b/routers/web/auth/oauth2_wellknown.go
@@ -7,9 +7,9 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- "gitea.dev/services/oauth2_provider"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ "gotea.dev/services/oauth2_provider"
)
// OIDCWellKnown generates JSON so OIDC clients know Gitea's capabilities
diff --git a/routers/web/auth/oauth_signin_sync.go b/routers/web/auth/oauth_signin_sync.go
index 0642b93900..f9fdb2b6c6 100644
--- a/routers/web/auth/oauth_signin_sync.go
+++ b/routers/web/auth/oauth_signin_sync.go
@@ -6,16 +6,16 @@ package auth
import (
"fmt"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- user_service "gitea.dev/services/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ user_service "gotea.dev/services/user"
"github.com/markbates/goth"
)
diff --git a/routers/web/auth/oauth_test.go b/routers/web/auth/oauth_test.go
index 12a775819e..d1340c47a9 100644
--- a/routers/web/auth/oauth_test.go
+++ b/routers/web/auth/oauth_test.go
@@ -9,17 +9,17 @@ import (
"sync/atomic"
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
- "gitea.dev/services/oauth2_provider"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/oauth2_provider"
"github.com/golang-jwt/jwt/v5"
"github.com/stretchr/testify/assert"
diff --git a/routers/web/auth/openid.go b/routers/web/auth/openid.go
index f57030c2f0..d325aece93 100644
--- a/routers/web/auth/openid.go
+++ b/routers/web/auth/openid.go
@@ -8,17 +8,17 @@ import (
"net/http"
"net/url"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/openid"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/openid"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/auth/password.go b/routers/web/auth/password.go
index 3f47cae146..39e035b1b3 100644
--- a/routers/web/auth/password.go
+++ b/routers/web/auth/password.go
@@ -7,23 +7,23 @@ import (
"errors"
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/mailer"
- user_service "gitea.dev/services/user"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/mailer"
+ user_service "gotea.dev/services/user"
)
var (
diff --git a/routers/web/auth/webauthn.go b/routers/web/auth/webauthn.go
index 6f43d8a4e8..a4e3292fff 100644
--- a/routers/web/auth/webauthn.go
+++ b/routers/web/auth/webauthn.go
@@ -8,13 +8,13 @@ import (
"errors"
"net/http"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- wa "gitea.dev/modules/auth/webauthn"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ wa "gotea.dev/modules/auth/webauthn"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
diff --git a/routers/web/base.go b/routers/web/base.go
index 23c027da5c..63a9e9cb82 100644
--- a/routers/web/base.go
+++ b/routers/web/base.go
@@ -12,14 +12,14 @@ import (
"path"
"strings"
- "gitea.dev/modules/assetfs"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/routing"
+ "gotea.dev/modules/assetfs"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/routing"
)
func avatarStorageHandler(storageSetting *setting.Storage, prefix string, objStore storage.ObjectStorage) http.HandlerFunc {
diff --git a/routers/web/devtest/devtest.go b/routers/web/devtest/devtest.go
index e5e1ff385b..7c59b9ce0c 100644
--- a/routers/web/devtest/devtest.go
+++ b/routers/web/devtest/devtest.go
@@ -13,17 +13,17 @@ import (
"time"
"unicode"
- "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/gituser"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/badge"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/gituser"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/badge"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// List all devtest templates, they will be used for e2e tests for the UI components
diff --git a/routers/web/devtest/mail_preview.go b/routers/web/devtest/mail_preview.go
index 103eef16f3..20c4851f92 100644
--- a/routers/web/devtest/mail_preview.go
+++ b/routers/web/devtest/mail_preview.go
@@ -10,11 +10,11 @@ import (
"regexp"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/mailer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/mailer"
"go.yaml.in/yaml/v4"
)
diff --git a/routers/web/devtest/mock_actions.go b/routers/web/devtest/mock_actions.go
index f61becd65f..87204f8f20 100644
--- a/routers/web/devtest/mock_actions.go
+++ b/routers/web/devtest/mock_actions.go
@@ -14,15 +14,15 @@ import (
"strings"
"time"
- actions_model "gitea.dev/models/actions"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/repo/actions"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/repo/actions"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/explore/code.go b/routers/web/explore/code.go
index 91839c71c7..b1b9af685b 100644
--- a/routers/web/explore/code.go
+++ b/routers/web/explore/code.go
@@ -7,13 +7,13 @@ import (
"net/http"
"slices"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/explore/org.go b/routers/web/explore/org.go
index 687d83ff36..2326a827ad 100644
--- a/routers/web/explore/org.go
+++ b/routers/web/explore/org.go
@@ -4,13 +4,13 @@
package explore
import (
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// Organizations render explore organizations page
diff --git a/routers/web/explore/repo.go b/routers/web/explore/repo.go
index 9490f7343c..de20cb9f24 100644
--- a/routers/web/explore/repo.go
+++ b/routers/web/explore/repo.go
@@ -6,13 +6,13 @@ package explore
import (
"net/http"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/sitemap"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/sitemap"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/explore/topic.go b/routers/web/explore/topic.go
index aae0522b06..48041fd3d6 100644
--- a/routers/web/explore/topic.go
+++ b/routers/web/explore/topic.go
@@ -6,11 +6,11 @@ package explore
import (
"net/http"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// TopicSearch search for creating topic
diff --git a/routers/web/explore/user.go b/routers/web/explore/user.go
index a0e5a377e0..e36031c281 100644
--- a/routers/web/explore/user.go
+++ b/routers/web/explore/user.go
@@ -7,17 +7,17 @@ import (
"bytes"
"net/http"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/sitemap"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/sitemap"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/feed/branch.go b/routers/web/feed/branch.go
index 6793bb6a69..ce8c89e57b 100644
--- a/routers/web/feed/branch.go
+++ b/routers/web/feed/branch.go
@@ -6,9 +6,9 @@ package feed
import (
"time"
- "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/services/context"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/services/context"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/feed/convert.go b/routers/web/feed/convert.go
index ccdd250a3b..b5cfe5f2ed 100644
--- a/routers/web/feed/convert.go
+++ b/routers/web/feed/convert.go
@@ -12,16 +12,16 @@ import (
"strconv"
"strings"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/feed/file.go b/routers/web/feed/file.go
index 9ea35a796c..d40b38c6d3 100644
--- a/routers/web/feed/file.go
+++ b/routers/web/feed/file.go
@@ -6,10 +6,10 @@ package feed
import (
"time"
- "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/feed/profile.go b/routers/web/feed/profile.go
index d1d9c9d6e1..b6bd22e9f3 100644
--- a/routers/web/feed/profile.go
+++ b/routers/web/feed/profile.go
@@ -6,16 +6,16 @@ package feed
import (
"time"
- activities_model "gitea.dev/models/activities"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- "gitea.dev/models/renderhelper"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- feed_service "gitea.dev/services/feed"
+ activities_model "gotea.dev/models/activities"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/renderhelper"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ feed_service "gotea.dev/services/feed"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/feed/profile_test.go b/routers/web/feed/profile_test.go
index 66216191cf..43063eda8f 100644
--- a/routers/web/feed/profile_test.go
+++ b/routers/web/feed/profile_test.go
@@ -5,10 +5,10 @@ package feed_test
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/routers/web/feed"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/feed/release.go b/routers/web/feed/release.go
index 274eb0cd8a..68f1d7d42f 100644
--- a/routers/web/feed/release.go
+++ b/routers/web/feed/release.go
@@ -6,9 +6,9 @@ package feed
import (
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/services/context"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/feed/render.go b/routers/web/feed/render.go
index 1ffa10a7a2..dab065901b 100644
--- a/routers/web/feed/render.go
+++ b/routers/web/feed/render.go
@@ -4,8 +4,8 @@
package feed
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/context"
)
// checkRepoFeedTokenScope ensures an API token has repository read scope before a
diff --git a/routers/web/feed/repo.go b/routers/web/feed/repo.go
index 2986e00bb6..57c2565384 100644
--- a/routers/web/feed/repo.go
+++ b/routers/web/feed/repo.go
@@ -6,10 +6,10 @@ package feed
import (
"time"
- activities_model "gitea.dev/models/activities"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/services/context"
- feed_service "gitea.dev/services/feed"
+ activities_model "gotea.dev/models/activities"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/services/context"
+ feed_service "gotea.dev/services/feed"
"github.com/gorilla/feeds"
)
diff --git a/routers/web/githttp.go b/routers/web/githttp.go
index ed0287cc39..d33ce0592b 100644
--- a/routers/web/githttp.go
+++ b/routers/web/githttp.go
@@ -4,8 +4,8 @@
package web
import (
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/repo"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/repo"
)
func addOwnerRepoGitHTTPRouters(m *web.Router, middlewares ...any) {
diff --git a/routers/web/goget.go b/routers/web/goget.go
index d4af7b3518..b7ee40d44d 100644
--- a/routers/web/goget.go
+++ b/routers/web/goget.go
@@ -11,14 +11,14 @@ import (
"path"
"strings"
- auth_model "gitea.dev/models/auth"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
func goGet(ctx *context.Context) {
diff --git a/routers/web/healthcheck/check.go b/routers/web/healthcheck/check.go
index 747d588cb0..ca313d8217 100644
--- a/routers/web/healthcheck/check.go
+++ b/routers/web/healthcheck/check.go
@@ -9,11 +9,11 @@ import (
"os"
"time"
- "gitea.dev/models/db"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
type status string
diff --git a/routers/web/home.go b/routers/web/home.go
index c0756294ba..cfd72fd507 100644
--- a/routers/web/home.go
+++ b/routers/web/home.go
@@ -8,17 +8,17 @@ import (
"net/http"
"strconv"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/sitemap"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/web/user"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/sitemap"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/web/user"
+ "gotea.dev/services/context"
)
const tplHome templates.TplName = "home"
diff --git a/routers/web/metrics.go b/routers/web/metrics.go
index 8b0143e341..d689b0a6ca 100644
--- a/routers/web/metrics.go
+++ b/routers/web/metrics.go
@@ -7,7 +7,7 @@ import (
"crypto/subtle"
"net/http"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
diff --git a/routers/web/misc/markup.go b/routers/web/misc/markup.go
index 2158bd4511..aff9a62441 100644
--- a/routers/web/misc/markup.go
+++ b/routers/web/misc/markup.go
@@ -5,11 +5,11 @@
package misc
import (
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
)
// Markup render markup document to HTML
diff --git a/routers/web/misc/misc.go b/routers/web/misc/misc.go
index beb01611da..f3efed148a 100644
--- a/routers/web/misc/misc.go
+++ b/routers/web/misc/misc.go
@@ -9,16 +9,16 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/agit"
- "gitea.dev/services/context"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/agit"
+ "gotea.dev/services/context"
)
func SiteManifest(w http.ResponseWriter, req *http.Request) {
diff --git a/routers/web/misc/swagger.go b/routers/web/misc/swagger.go
index 0e65f599e8..7419442004 100644
--- a/routers/web/misc/swagger.go
+++ b/routers/web/misc/swagger.go
@@ -6,7 +6,7 @@ package misc
import (
"net/http"
- "gitea.dev/services/context"
+ "gotea.dev/services/context"
)
func Swagger(ctx *context.Context) {
diff --git a/routers/web/misc/webtheme.go b/routers/web/misc/webtheme.go
index 54ae592fc4..c9ed7e6564 100644
--- a/routers/web/misc/webtheme.go
+++ b/routers/web/misc/webtheme.go
@@ -6,13 +6,13 @@ package misc
import (
"net/http"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/context"
- user_service "gitea.dev/services/user"
- "gitea.dev/services/webtheme"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/context"
+ user_service "gotea.dev/services/user"
+ "gotea.dev/services/webtheme"
)
func WebThemeList(ctx *context.Context) {
diff --git a/routers/web/nodeinfo.go b/routers/web/nodeinfo.go
index 8d8b404444..148c45abed 100644
--- a/routers/web/nodeinfo.go
+++ b/routers/web/nodeinfo.go
@@ -6,8 +6,8 @@ package web
import (
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
type nodeInfoLinks struct {
diff --git a/routers/web/org/block.go b/routers/web/org/block.go
index b5f068298a..3e17486daa 100644
--- a/routers/web/org/block.go
+++ b/routers/web/org/block.go
@@ -6,9 +6,9 @@ package org
import (
"net/http"
- "gitea.dev/modules/templates"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/modules/templates"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/org/home.go b/routers/web/org/home.go
index 6469484cdb..4343803710 100644
--- a/routers/web/org/home.go
+++ b/routers/web/org/home.go
@@ -7,18 +7,18 @@ import (
"net/http"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const tplOrgHome templates.TplName = "org/home"
diff --git a/routers/web/org/main_test.go b/routers/web/org/main_test.go
index f800ebbbf9..84a64b32fe 100644
--- a/routers/web/org/main_test.go
+++ b/routers/web/org/main_test.go
@@ -6,7 +6,7 @@ package org_test
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/org/members.go b/routers/web/org/members.go
index 181593af91..a166fec0d9 100644
--- a/routers/web/org/members.go
+++ b/routers/web/org/members.go
@@ -8,14 +8,14 @@ import (
"errors"
"net/http"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- org_service "gitea.dev/services/org"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ org_service "gotea.dev/services/org"
)
const (
diff --git a/routers/web/org/mention.go b/routers/web/org/mention.go
index 9331a1b8e8..62fd05ea7f 100644
--- a/routers/web/org/mention.go
+++ b/routers/web/org/mention.go
@@ -6,10 +6,10 @@ package org
import (
"net/http"
- "gitea.dev/models/organization"
- "gitea.dev/modules/util"
- shared_mention "gitea.dev/routers/web/shared/mention"
- "gitea.dev/services/context"
+ "gotea.dev/models/organization"
+ "gotea.dev/modules/util"
+ shared_mention "gotea.dev/routers/web/shared/mention"
+ "gotea.dev/services/context"
)
// GetMentionsInOwner returns JSON data for mention autocomplete on owner-level pages.
diff --git a/routers/web/org/org.go b/routers/web/org/org.go
index 2d068005dd..c4990258f6 100644
--- a/routers/web/org/org.go
+++ b/routers/web/org/org.go
@@ -8,17 +8,17 @@ import (
"errors"
"net/http"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/org/org_labels.go b/routers/web/org/org_labels.go
index 2e39b2ea10..3075a2a9b4 100644
--- a/routers/web/org/org_labels.go
+++ b/routers/web/org/org_labels.go
@@ -6,15 +6,15 @@ package org
import (
"errors"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/label"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_label "gitea.dev/routers/web/shared/label"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/label"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_label "gotea.dev/routers/web/shared/label"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
// RetrieveLabels find all the labels of an organization
diff --git a/routers/web/org/projects.go b/routers/web/org/projects.go
index eb5a564a72..d1800426d7 100644
--- a/routers/web/org/projects.go
+++ b/routers/web/org/projects.go
@@ -8,22 +8,22 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/shared/issue"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- project_service "gitea.dev/services/projects"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/shared/issue"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ project_service "gotea.dev/services/projects"
"xorm.io/builder"
)
diff --git a/routers/web/org/projects_test.go b/routers/web/org/projects_test.go
index 88832a4891..ef21e657b8 100644
--- a/routers/web/org/projects_test.go
+++ b/routers/web/org/projects_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/routers/web/org"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/routers/web/org"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go
index 2cd7f94859..eb997af7f4 100644
--- a/routers/web/org/setting.go
+++ b/routers/web/org/setting.go
@@ -9,26 +9,26 @@ import (
"net/http"
"net/url"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_user "gitea.dev/routers/web/shared/user"
- user_setting "gitea.dev/routers/web/user/setting"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- org_service "gitea.dev/services/org"
- user_service "gitea.dev/services/user"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_user "gotea.dev/routers/web/shared/user"
+ user_setting "gotea.dev/routers/web/user/setting"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ org_service "gotea.dev/services/org"
+ user_service "gotea.dev/services/user"
)
const (
diff --git a/routers/web/org/setting/audit.go b/routers/web/org/setting/audit.go
index 73220a2a40..0f092b1e94 100644
--- a/routers/web/org/setting/audit.go
+++ b/routers/web/org/setting/audit.go
@@ -4,9 +4,9 @@
package setting
import (
- audit_model "gitea.dev/models/audit"
- shared_audit "gitea.dev/routers/web/shared/audit"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ shared_audit "gotea.dev/routers/web/shared/audit"
+ "gotea.dev/services/context"
)
func ViewAuditLogs(ctx *context.Context) {
diff --git a/routers/web/org/setting_oauth2.go b/routers/web/org/setting_oauth2.go
index 953a9c01c7..d7058e5146 100644
--- a/routers/web/org/setting_oauth2.go
+++ b/routers/web/org/setting_oauth2.go
@@ -7,13 +7,13 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- shared_user "gitea.dev/routers/web/shared/user"
- user_setting "gitea.dev/routers/web/user/setting"
- "gitea.dev/services/context"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ shared_user "gotea.dev/routers/web/shared/user"
+ user_setting "gotea.dev/routers/web/user/setting"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/org/setting_packages.go b/routers/web/org/setting_packages.go
index 85cb1ff3b8..04d335f6cc 100644
--- a/routers/web/org/setting_packages.go
+++ b/routers/web/org/setting_packages.go
@@ -7,11 +7,11 @@ import (
"fmt"
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- shared "gitea.dev/routers/web/shared/packages"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ shared "gotea.dev/routers/web/shared/packages"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/org/teams.go b/routers/web/org/teams.go
index d93cbac0b9..594a9574e0 100644
--- a/routers/web/org/teams.go
+++ b/routers/web/org/teams.go
@@ -13,24 +13,24 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- org_service "gitea.dev/services/org"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ org_service "gotea.dev/services/org"
+ repo_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/org/worktime.go b/routers/web/org/worktime.go
index 56d4b16933..7b0a52d501 100644
--- a/routers/web/org/worktime.go
+++ b/routers/web/org/worktime.go
@@ -7,10 +7,10 @@ import (
"net/http"
"time"
- "gitea.dev/models/organization"
- "gitea.dev/modules/templates"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/models/organization"
+ "gotea.dev/modules/templates"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const tplByRepos templates.TplName = "org/worktime"
diff --git a/routers/web/passkey.go b/routers/web/passkey.go
index 22acb6e7e4..e39e3e8b6f 100644
--- a/routers/web/passkey.go
+++ b/routers/web/passkey.go
@@ -6,8 +6,8 @@ package web
import (
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
type passkeyEndpointsType struct {
diff --git a/routers/web/repo/actions/actions.go b/routers/web/repo/actions/actions.go
index 4cb4c687ab..5e56af6197 100644
--- a/routers/web/repo/actions/actions.go
+++ b/routers/web/repo/actions/actions.go
@@ -14,26 +14,26 @@ import (
"strings"
act_model "gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared_actions "gitea.dev/routers/web/shared/actions"
- shared_user "gitea.dev/routers/web/shared/user"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared_actions "gotea.dev/routers/web/shared/actions"
+ shared_user "gotea.dev/routers/web/shared/user"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
const (
diff --git a/routers/web/repo/actions/actions_test.go b/routers/web/repo/actions/actions_test.go
index 5950af8385..2b6be52895 100644
--- a/routers/web/repo/actions/actions_test.go
+++ b/routers/web/repo/actions/actions_test.go
@@ -8,14 +8,14 @@ import (
"net/http/httptest"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- unittest "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- web_context "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ unittest "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ web_context "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/actions/badge.go b/routers/web/repo/actions/badge.go
index 01a78a7f19..00f4410477 100644
--- a/routers/web/repo/actions/badge.go
+++ b/routers/web/repo/actions/badge.go
@@ -9,12 +9,12 @@ import (
"path/filepath"
"strings"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/badge"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/badge"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
func GetWorkflowBadge(ctx *context.Context) {
diff --git a/routers/web/repo/actions/job_queue.go b/routers/web/repo/actions/job_queue.go
index 44f1ef4369..da656126ad 100644
--- a/routers/web/repo/actions/job_queue.go
+++ b/routers/web/repo/actions/job_queue.go
@@ -6,9 +6,9 @@ package actions
import (
"errors"
- "gitea.dev/modules/util"
- shared_actions "gitea.dev/routers/web/shared/actions"
- "gitea.dev/services/context"
+ "gotea.dev/modules/util"
+ shared_actions "gotea.dev/routers/web/shared/actions"
+ "gotea.dev/services/context"
)
// JobQueue renders this repository's Actions job queue.
diff --git a/routers/web/repo/actions/main_test.go b/routers/web/repo/actions/main_test.go
index 647914a1dd..dc4768b2f0 100644
--- a/routers/web/repo/actions/main_test.go
+++ b/routers/web/repo/actions/main_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/repo/actions/view.go b/routers/web/repo/actions/view.go
index 457a1963e7..3488f351cf 100644
--- a/routers/web/repo/actions/view.go
+++ b/routers/web/repo/actions/view.go
@@ -18,31 +18,31 @@ import (
"time"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/base"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/storage"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers/common"
- actions_service "gitea.dev/services/actions"
- context_module "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/storage"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers/common"
+ actions_service "gotea.dev/services/actions"
+ context_module "gotea.dev/services/context"
)
func findCurrentJobByPathParam(ctx *context_module.Context, jobs []*actions_model.ActionRunJob) (job *actions_model.ActionRunJob, hasPathParam bool) {
diff --git a/routers/web/repo/actions/view_artifact.go b/routers/web/repo/actions/view_artifact.go
index 6364c142a3..c8e3c31304 100644
--- a/routers/web/repo/actions/view_artifact.go
+++ b/routers/web/repo/actions/view_artifact.go
@@ -21,21 +21,21 @@ import (
"strings"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
- actions_service "gitea.dev/services/actions"
- context_module "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
+ actions_service "gotea.dev/services/actions"
+ context_module "gotea.dev/services/context"
"github.com/hashicorp/golang-lru/v2/expirable"
)
diff --git a/routers/web/repo/actions/view_artifact_test.go b/routers/web/repo/actions/view_artifact_test.go
index 00019ff06b..b5455ff4b6 100644
--- a/routers/web/repo/actions/view_artifact_test.go
+++ b/routers/web/repo/actions/view_artifact_test.go
@@ -8,9 +8,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/typesniffer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/typesniffer"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/actions/view_test.go b/routers/web/repo/actions/view_test.go
index af8ccfe3fd..cef58fbd0a 100644
--- a/routers/web/repo/actions/view_test.go
+++ b/routers/web/repo/actions/view_test.go
@@ -6,11 +6,11 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/repo/activity.go b/routers/web/repo/activity.go
index 432617f995..a39bdd5bef 100644
--- a/routers/web/repo/activity.go
+++ b/routers/web/repo/activity.go
@@ -7,11 +7,11 @@ import (
"net/http"
"time"
- activities_model "gitea.dev/models/activities"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/unit"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ activities_model "gotea.dev/models/activities"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/attachment.go b/routers/web/repo/attachment.go
index 71ba712bc0..b03d818afc 100644
--- a/routers/web/repo/attachment.go
+++ b/routers/web/repo/attachment.go
@@ -6,19 +6,19 @@ package repo
import (
"net/http"
- auth_model "gitea.dev/models/auth"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/services/attachment"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/services/attachment"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ repo_service "gotea.dev/services/repository"
)
func attachmentReadScope(unitType unit.Type) (auth_model.AccessTokenScope, bool) {
diff --git a/routers/web/repo/blame.go b/routers/web/repo/blame.go
index 40bb7c7a97..16153876fd 100644
--- a/routers/web/repo/blame.go
+++ b/routers/web/repo/blame.go
@@ -12,16 +12,16 @@ import (
"path"
"strconv"
- "gitea.dev/models/gituser"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/languagestats"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/gituser"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/languagestats"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
type blameRow struct {
diff --git a/routers/web/repo/branch.go b/routers/web/repo/branch.go
index e2edcc75d6..f8120ac197 100644
--- a/routers/web/repo/branch.go
+++ b/routers/web/repo/branch.go
@@ -10,23 +10,23 @@ import (
"net/http"
"strings"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- pull_service "gitea.dev/services/pull"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ pull_service "gotea.dev/services/pull"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/repo/code_frequency.go b/routers/web/repo/code_frequency.go
index 15281ea74a..7f73cec557 100644
--- a/routers/web/repo/code_frequency.go
+++ b/routers/web/repo/code_frequency.go
@@ -7,9 +7,9 @@ import (
"errors"
"net/http"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- contributors_service "gitea.dev/services/repository"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ contributors_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/repo/commit.go b/routers/web/repo/commit.go
index 7ce0276590..3abbbbd60d 100644
--- a/routers/web/repo/commit.go
+++ b/routers/web/repo/commit.go
@@ -10,30 +10,30 @@ import (
"net/http"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/context"
- git_service "gitea.dev/services/git"
- "gitea.dev/services/gitdiff"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/services/repository/gitgraph"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/context"
+ git_service "gotea.dev/services/git"
+ "gotea.dev/services/gitdiff"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/services/repository/gitgraph"
)
const (
diff --git a/routers/web/repo/common_recentbranches.go b/routers/web/repo/common_recentbranches.go
index 4006e03207..b1367f2255 100644
--- a/routers/web/repo/common_recentbranches.go
+++ b/routers/web/repo/common_recentbranches.go
@@ -4,12 +4,12 @@
package repo
import (
- git_model "gitea.dev/models/git"
- access_model "gitea.dev/models/perm/access"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ access_model "gotea.dev/models/perm/access"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
type RecentBranchesPromptDataStruct struct {
diff --git a/routers/web/repo/compare.go b/routers/web/repo/compare.go
index 2fdc4fce89..0b03f66564 100644
--- a/routers/web/repo/compare.go
+++ b/routers/web/repo/compare.go
@@ -14,32 +14,32 @@ import (
"strings"
"unicode"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/charset"
- csv_module "gitea.dev/modules/csv"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- git_service "gitea.dev/services/git"
- "gitea.dev/services/gitdiff"
- user_service "gitea.dev/services/user"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/charset"
+ csv_module "gotea.dev/modules/csv"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ git_service "gotea.dev/services/git"
+ "gotea.dev/services/gitdiff"
+ user_service "gotea.dev/services/user"
)
const (
diff --git a/routers/web/repo/compare_test.go b/routers/web/repo/compare_test.go
index d5b7609fa3..fcee6fb23f 100644
--- a/routers/web/repo/compare_test.go
+++ b/routers/web/repo/compare_test.go
@@ -7,14 +7,14 @@ import (
"strings"
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- git_service "gitea.dev/services/git"
- "gitea.dev/services/gitdiff"
+ asymkey_model "gotea.dev/models/asymkey"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ git_service "gotea.dev/services/git"
+ "gotea.dev/services/gitdiff"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/contributors.go b/routers/web/repo/contributors.go
index 941f934d11..62aa4f16d1 100644
--- a/routers/web/repo/contributors.go
+++ b/routers/web/repo/contributors.go
@@ -7,9 +7,9 @@ import (
"errors"
"net/http"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- contributors_service "gitea.dev/services/repository"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ contributors_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/repo/download.go b/routers/web/repo/download.go
index ed6de00092..abbca4c389 100644
--- a/routers/web/repo/download.go
+++ b/routers/web/repo/download.go
@@ -7,16 +7,16 @@ package repo
import (
"time"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
)
func checkDownloadTokenScope(ctx *context.Context) bool {
diff --git a/routers/web/repo/editor.go b/routers/web/repo/editor.go
index 23b91adacd..00ec9dcb72 100644
--- a/routers/web/repo/editor.go
+++ b/routers/web/repo/editor.go
@@ -11,21 +11,21 @@ import (
"path"
"strings"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/issues"
- "gitea.dev/models/unit"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/forms"
- files_service "gitea.dev/services/repository/files"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/issues"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/forms"
+ files_service "gotea.dev/services/repository/files"
)
const (
diff --git a/routers/web/repo/editor_apply_patch.go b/routers/web/repo/editor_apply_patch.go
index d87096cef2..b30674447d 100644
--- a/routers/web/repo/editor_apply_patch.go
+++ b/routers/web/repo/editor_apply_patch.go
@@ -7,10 +7,10 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/repository/files"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/repository/files"
)
func NewDiffPatch(ctx *context.Context) {
diff --git a/routers/web/repo/editor_cherry_pick.go b/routers/web/repo/editor_cherry_pick.go
index 8d133de867..10417a533c 100644
--- a/routers/web/repo/editor_cherry_pick.go
+++ b/routers/web/repo/editor_cherry_pick.go
@@ -7,11 +7,11 @@ import (
"bytes"
"net/http"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/repository/files"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/repository/files"
)
func CherryPick(ctx *context.Context) {
diff --git a/routers/web/repo/editor_error.go b/routers/web/repo/editor_error.go
index 902f3e3c44..ba9a388d8a 100644
--- a/routers/web/repo/editor_error.go
+++ b/routers/web/repo/editor_error.go
@@ -6,14 +6,14 @@ package repo
import (
"errors"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/utils"
- context_service "gitea.dev/services/context"
- files_service "gitea.dev/services/repository/files"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/utils"
+ context_service "gotea.dev/services/context"
+ files_service "gotea.dev/services/repository/files"
)
func errorAs[T error](v error) (e T, ok bool) {
diff --git a/routers/web/repo/editor_fork.go b/routers/web/repo/editor_fork.go
index 4e90af0243..9b9c10f270 100644
--- a/routers/web/repo/editor_fork.go
+++ b/routers/web/repo/editor_fork.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
const tplEditorFork templates.TplName = "repo/editor/fork"
diff --git a/routers/web/repo/editor_preview.go b/routers/web/repo/editor_preview.go
index 5b4fb5bf74..510a74ac03 100644
--- a/routers/web/repo/editor_preview.go
+++ b/routers/web/repo/editor_preview.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- files_service "gitea.dev/services/repository/files"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ files_service "gotea.dev/services/repository/files"
)
func DiffPreviewPost(ctx *context.Context) {
diff --git a/routers/web/repo/editor_test.go b/routers/web/repo/editor_test.go
index 4391dedf31..ae13d8c786 100644
--- a/routers/web/repo/editor_test.go
+++ b/routers/web/repo/editor_test.go
@@ -6,9 +6,9 @@ package repo
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/editor_uploader.go b/routers/web/repo/editor_uploader.go
index a6d5512b9c..f8edcb23d8 100644
--- a/routers/web/repo/editor_uploader.go
+++ b/routers/web/repo/editor_uploader.go
@@ -6,12 +6,12 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- files_service "gitea.dev/services/repository/files"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ files_service "gotea.dev/services/repository/files"
)
// UploadFileToServer upload file to server file dir not git
diff --git a/routers/web/repo/editor_util.go b/routers/web/repo/editor_util.go
index 10a4a59ed3..a212581ca2 100644
--- a/routers/web/repo/editor_util.go
+++ b/routers/web/repo/editor_util.go
@@ -10,18 +10,18 @@ import (
"strconv"
"strings"
- git_model "gitea.dev/models/git"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- context_service "gitea.dev/services/context"
+ git_model "gotea.dev/models/git"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ context_service "gotea.dev/services/context"
)
// getUniquePatchBranchName Gets a unique branch name for a new patch branch
diff --git a/routers/web/repo/fork.go b/routers/web/repo/fork.go
index d2b8559722..6f26d2f198 100644
--- a/routers/web/repo/fork.go
+++ b/routers/web/repo/fork.go
@@ -9,21 +9,21 @@ import (
"net/url"
"slices"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ repo_service "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/repo/githttp.go b/routers/web/repo/githttp.go
index dd8123997f..89d8a773d9 100644
--- a/routers/web/repo/githttp.go
+++ b/routers/web/repo/githttp.go
@@ -17,22 +17,22 @@ import (
"sync"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
"github.com/go-chi/cors"
)
diff --git a/routers/web/repo/helper.go b/routers/web/repo/helper.go
index 49d79ec692..fcf3783094 100644
--- a/routers/web/repo/helper.go
+++ b/routers/web/repo/helper.go
@@ -4,8 +4,8 @@
package repo
import (
- "gitea.dev/modules/git"
- "gitea.dev/services/context"
+ "gotea.dev/modules/git"
+ "gotea.dev/services/context"
)
func HandleGitError(ctx *context.Context, msg string, err error) {
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index 571af7525d..aafd9b5c8f 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -12,28 +12,28 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
)
const (
diff --git a/routers/web/repo/issue_comment.go b/routers/web/repo/issue_comment.go
index ae1f208b4f..28c15ef05b 100644
--- a/routers/web/repo/issue_comment.go
+++ b/routers/web/repo/issue_comment.go
@@ -10,23 +10,23 @@ import (
"net/http"
"strconv"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- "gitea.dev/models/renderhelper"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/renderhelper"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
)
// NewComment create a comment for issue
diff --git a/routers/web/repo/issue_content_history.go b/routers/web/repo/issue_content_history.go
index f085ba2ee0..fe478a2bcb 100644
--- a/routers/web/repo/issue_content_history.go
+++ b/routers/web/repo/issue_content_history.go
@@ -8,13 +8,13 @@ import (
"net/http"
"strings"
- "gitea.dev/models/avatars"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/avatars"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
"github.com/sergi/go-diff/diffmatchpatch"
)
diff --git a/routers/web/repo/issue_dependency.go b/routers/web/repo/issue_dependency.go
index 1223f1868c..5f725f806e 100644
--- a/routers/web/repo/issue_dependency.go
+++ b/routers/web/repo/issue_dependency.go
@@ -4,10 +4,10 @@
package repo
import (
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
// AddDependency adds new dependencies
diff --git a/routers/web/repo/issue_label.go b/routers/web/repo/issue_label.go
index 310556940a..85df1fc312 100644
--- a/routers/web/repo/issue_label.go
+++ b/routers/web/repo/issue_label.go
@@ -7,18 +7,18 @@ import (
"errors"
"net/http"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/modules/label"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_label "gitea.dev/routers/web/shared/label"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/modules/label"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_label "gotea.dev/routers/web/shared/label"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
)
const (
diff --git a/routers/web/repo/issue_label_test.go b/routers/web/repo/issue_label_test.go
index 7e141b0a65..1e35bb4035 100644
--- a/routers/web/repo/issue_label_test.go
+++ b/routers/web/repo/issue_label_test.go
@@ -9,14 +9,14 @@ import (
"strings"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/base"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/issue_list.go b/routers/web/repo/issue_list.go
index d055b53656..456215299e 100644
--- a/routers/web/repo/issue_list.go
+++ b/routers/web/repo/issue_list.go
@@ -13,22 +13,22 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- issue_indexer "gitea.dev/modules/indexer/issues"
- db_indexer "gitea.dev/modules/indexer/issues/db"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/routers/common"
- "gitea.dev/routers/web/shared/issue"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ db_indexer "gotea.dev/modules/indexer/issues/db"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/common"
+ "gotea.dev/routers/web/shared/issue"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
)
func retrieveProjectsForIssueList(ctx *context.Context, repo *repo_model.Repository) {
diff --git a/routers/web/repo/issue_lock.go b/routers/web/repo/issue_lock.go
index 4d9e8fe904..997d85f76c 100644
--- a/routers/web/repo/issue_lock.go
+++ b/routers/web/repo/issue_lock.go
@@ -4,10 +4,10 @@
package repo
import (
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
// LockIssue locks an issue. This would limit commenting abilities to
diff --git a/routers/web/repo/issue_new.go b/routers/web/repo/issue_new.go
index efbf6354bc..7e838e67e7 100644
--- a/routers/web/repo/issue_new.go
+++ b/routers/web/repo/issue_new.go
@@ -14,26 +14,26 @@ import (
"strconv"
"strings"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- issue_template "gitea.dev/modules/issue/template"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/utils"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ issue_template "gotea.dev/modules/issue/template"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/utils"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
)
// Tries to load and set an issue template. The first return value indicates if a template was loaded.
diff --git a/routers/web/repo/issue_page_meta.go b/routers/web/repo/issue_page_meta.go
index 76382f18ae..172c928b8c 100644
--- a/routers/web/repo/issue_page_meta.go
+++ b/routers/web/repo/issue_page_meta.go
@@ -8,18 +8,18 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
)
type issueSidebarMilestoneData struct {
diff --git a/routers/web/repo/issue_pin.go b/routers/web/repo/issue_pin.go
index 04c281908a..24f7f10a70 100644
--- a/routers/web/repo/issue_pin.go
+++ b/routers/web/repo/issue_pin.go
@@ -6,11 +6,11 @@ package repo
import (
"net/http"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
// IssuePinOrUnpin pin or unpin a Issue
diff --git a/routers/web/repo/issue_poster.go b/routers/web/repo/issue_poster.go
index 683db527b6..3d29f67b76 100644
--- a/routers/web/repo/issue_poster.go
+++ b/routers/web/repo/issue_poster.go
@@ -8,10 +8,10 @@ import (
"slices"
"strings"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
func IssuePullPosters(ctx *context.Context) {
diff --git a/routers/web/repo/issue_stopwatch.go b/routers/web/repo/issue_stopwatch.go
index 14ae07d456..577ed865d0 100644
--- a/routers/web/repo/issue_stopwatch.go
+++ b/routers/web/repo/issue_stopwatch.go
@@ -4,9 +4,9 @@
package repo
import (
- issues_model "gitea.dev/models/issues"
- "gitea.dev/services/context"
- notify_service "gitea.dev/services/notify"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/services/context"
+ notify_service "gotea.dev/services/notify"
)
// IssueStartStopwatch creates a stopwatch for the given issue.
diff --git a/routers/web/repo/issue_suggestions.go b/routers/web/repo/issue_suggestions.go
index c136bc776a..8eb60a4011 100644
--- a/routers/web/repo/issue_suggestions.go
+++ b/routers/web/repo/issue_suggestions.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- issue_service "gitea.dev/services/issue"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ issue_service "gotea.dev/services/issue"
)
// IssueSuggestions returns a list of issue suggestions
diff --git a/routers/web/repo/issue_test.go b/routers/web/repo/issue_test.go
index c68f80756c..cfd2503638 100644
--- a/routers/web/repo/issue_test.go
+++ b/routers/web/repo/issue_test.go
@@ -8,17 +8,17 @@ import (
"net/http/httptest"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/references"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/references"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/repo/issue_timetrack.go b/routers/web/repo/issue_timetrack.go
index 89df3b8082..1c8e53ac03 100644
--- a/routers/web/repo/issue_timetrack.go
+++ b/routers/web/repo/issue_timetrack.go
@@ -8,13 +8,13 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
)
// AddTimeManually tracks time manually
diff --git a/routers/web/repo/issue_view.go b/routers/web/repo/issue_view.go
index 6662557290..52bcc942c1 100644
--- a/routers/web/repo/issue_view.go
+++ b/routers/web/repo/issue_view.go
@@ -11,35 +11,35 @@ import (
"sort"
"strconv"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/references"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/templates/vars"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/middleware"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- issue_service "gitea.dev/services/issue"
- "gitea.dev/services/notifications"
- pull_service "gitea.dev/services/pull"
- user_service "gitea.dev/services/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/templates/vars"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/middleware"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ issue_service "gotea.dev/services/issue"
+ "gotea.dev/services/notifications"
+ pull_service "gotea.dev/services/pull"
+ user_service "gotea.dev/services/user"
)
// roleDescriptor returns the role descriptor for a comment in/with the given repo, poster and issue
diff --git a/routers/web/repo/issue_watch.go b/routers/web/repo/issue_watch.go
index 3194cc3308..f5afc4a553 100644
--- a/routers/web/repo/issue_watch.go
+++ b/routers/web/repo/issue_watch.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/main_test.go b/routers/web/repo/main_test.go
index 1c0da7c431..cd45607619 100644
--- a/routers/web/repo/main_test.go
+++ b/routers/web/repo/main_test.go
@@ -6,7 +6,7 @@ package repo
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/repo/mention.go b/routers/web/repo/mention.go
index ca99d49f6f..9f190901da 100644
--- a/routers/web/repo/mention.go
+++ b/routers/web/repo/mention.go
@@ -7,12 +7,12 @@ import (
"errors"
"net/http"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
- shared_mention "gitea.dev/routers/web/shared/mention"
- "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
+ shared_mention "gotea.dev/routers/web/shared/mention"
+ "gotea.dev/services/context"
)
// GetMentionsInRepo returns JSON data for mention autocomplete (assignees, participants, mentionable teams).
diff --git a/routers/web/repo/middlewares.go b/routers/web/repo/middlewares.go
index a4c0fac551..e4f73e60c1 100644
--- a/routers/web/repo/middlewares.go
+++ b/routers/web/repo/middlewares.go
@@ -6,14 +6,14 @@ package repo
import (
"strconv"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- "gitea.dev/services/gitdiff"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ "gotea.dev/services/gitdiff"
+ user_service "gotea.dev/services/user"
)
// SetEditorconfigIfExists set editor config as render variable
diff --git a/routers/web/repo/middlewares_test.go b/routers/web/repo/middlewares_test.go
index 35cd903c96..cbe2f90fc7 100644
--- a/routers/web/repo/middlewares_test.go
+++ b/routers/web/repo/middlewares_test.go
@@ -6,9 +6,9 @@ package repo
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/gitdiff"
+ "gotea.dev/models/unittest"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/gitdiff"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/migrate.go b/routers/web/repo/migrate.go
index 7ccc288d52..a97df0ffad 100644
--- a/routers/web/repo/migrate.go
+++ b/routers/web/repo/migrate.go
@@ -9,25 +9,25 @@ import (
"net/http"
"net/url"
- admin_model "gitea.dev/models/admin"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/migrations"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/services/task"
+ admin_model "gotea.dev/models/admin"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/migrations"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/services/task"
)
const (
diff --git a/routers/web/repo/milestone.go b/routers/web/repo/milestone.go
index 5a8bfb6cb3..ceecd35632 100644
--- a/routers/web/repo/milestone.go
+++ b/routers/web/repo/milestone.go
@@ -7,18 +7,18 @@ import (
"net/http"
"net/url"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/renderhelper"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/issue"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/renderhelper"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/issue"
"xorm.io/builder"
)
diff --git a/routers/web/repo/packages.go b/routers/web/repo/packages.go
index 4b73eca1c7..b979f70435 100644
--- a/routers/web/repo/packages.go
+++ b/routers/web/repo/packages.go
@@ -6,13 +6,13 @@ package repo
import (
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/models/packages"
- "gitea.dev/models/unit"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go
index 2eb1f5ab89..8476a6503f 100644
--- a/routers/web/repo/projects.go
+++ b/routers/web/repo/projects.go
@@ -9,26 +9,26 @@ import (
"slices"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/shared/issue"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- project_service "gitea.dev/services/projects"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/shared/issue"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ project_service "gotea.dev/services/projects"
)
const (
diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go
index 53fd535ea6..be3be22024 100644
--- a/routers/web/repo/pull.go
+++ b/routers/web/repo/pull.go
@@ -15,43 +15,43 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/glob"
- issue_template "gitea.dev/modules/issue/template"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/utils"
- shared_user "gitea.dev/routers/web/shared/user"
- actions_service "gitea.dev/services/actions"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/automerge"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/forms"
- git_service "gitea.dev/services/git"
- "gitea.dev/services/gitdiff"
- "gitea.dev/services/notifications"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
- user_service "gitea.dev/services/user"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/glob"
+ issue_template "gotea.dev/modules/issue/template"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/utils"
+ shared_user "gotea.dev/routers/web/shared/user"
+ actions_service "gotea.dev/services/actions"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/automerge"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/forms"
+ git_service "gotea.dev/services/git"
+ "gotea.dev/services/gitdiff"
+ "gotea.dev/services/notifications"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
+ user_service "gotea.dev/services/user"
)
const (
diff --git a/routers/web/repo/pull_merge_box.go b/routers/web/repo/pull_merge_box.go
index d76aacde2f..37366ca4a1 100644
--- a/routers/web/repo/pull_merge_box.go
+++ b/routers/web/repo/pull_merge_box.go
@@ -6,10 +6,10 @@ package repo
import (
"html/template"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
type pullMergeBoxInfoItem struct {
diff --git a/routers/web/repo/pull_merge_form.go b/routers/web/repo/pull_merge_form.go
index 6e57fc04dd..0f5e75c38f 100644
--- a/routers/web/repo/pull_merge_form.go
+++ b/routers/web/repo/pull_merge_form.go
@@ -7,16 +7,16 @@ import (
"errors"
"html/template"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- pull_service "gitea.dev/services/pull"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ pull_service "gotea.dev/services/pull"
)
func (prInfo *pullRequestViewInfo) prepareMergeBoxFormProps(ctx *context.Context) {
diff --git a/routers/web/repo/pull_review.go b/routers/web/repo/pull_review.go
index 8e53cdb1af..a34cc0c570 100644
--- a/routers/web/repo/pull_review.go
+++ b/routers/web/repo/pull_review.go
@@ -8,21 +8,21 @@ import (
"fmt"
"net/http"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- pull_model "gitea.dev/models/pull"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/forms"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- user_service "gitea.dev/services/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ pull_model "gotea.dev/models/pull"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/forms"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ user_service "gotea.dev/services/user"
)
const (
diff --git a/routers/web/repo/pull_review_test.go b/routers/web/repo/pull_review_test.go
index 691be213e6..323e08936a 100644
--- a/routers/web/repo/pull_review_test.go
+++ b/routers/web/repo/pull_review_test.go
@@ -8,14 +8,14 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/pull"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/pull"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/repo/recent_commits.go b/routers/web/repo/recent_commits.go
index 0ac4d895dc..0880f9bb02 100644
--- a/routers/web/repo/recent_commits.go
+++ b/routers/web/repo/recent_commits.go
@@ -6,8 +6,8 @@ package repo
import (
"net/http"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/release.go b/routers/web/repo/release.go
index 3bffbf5b07..79f316615d 100644
--- a/routers/web/repo/release.go
+++ b/routers/web/repo/release.go
@@ -12,24 +12,24 @@ import (
"strconv"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/feed"
- "gitea.dev/services/context"
- "gitea.dev/services/context/upload"
- "gitea.dev/services/forms"
- release_service "gitea.dev/services/release"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/services/context"
+ "gotea.dev/services/context/upload"
+ "gotea.dev/services/forms"
+ release_service "gotea.dev/services/release"
)
const (
diff --git a/routers/web/repo/release_test.go b/routers/web/repo/release_test.go
index dc8bb277c4..b7ebb07f8b 100644
--- a/routers/web/repo/release_test.go
+++ b/routers/web/repo/release_test.go
@@ -8,15 +8,15 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/repo/render.go b/routers/web/repo/render.go
index 011dfd8d49..e7a43f57cf 100644
--- a/routers/web/repo/render.go
+++ b/routers/web/repo/render.go
@@ -7,11 +7,11 @@ import (
"net/http"
"path"
- "gitea.dev/models/renderhelper"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/services/context"
+ "gotea.dev/models/renderhelper"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/services/context"
)
// RenderFile renders a file by repos path
diff --git a/routers/web/repo/repo.go b/routers/web/repo/repo.go
index 24be92da96..7f6fdfb771 100644
--- a/routers/web/repo/repo.go
+++ b/routers/web/repo/repo.go
@@ -11,28 +11,28 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- repo_service "gitea.dev/services/repository"
- archiver_service "gitea.dev/services/repository/archiver"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ repo_service "gotea.dev/services/repository"
+ archiver_service "gotea.dev/services/repository/archiver"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
)
const (
diff --git a/routers/web/repo/search.go b/routers/web/repo/search.go
index 2ef77185f4..156d46fe2a 100644
--- a/routers/web/repo/search.go
+++ b/routers/web/repo/search.go
@@ -6,14 +6,14 @@ package repo
import (
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/modules/git"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/indexer/code/gitgrep"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/git"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/indexer/code/gitgrep"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
)
const tplSearch templates.TplName = "repo/search"
diff --git a/routers/web/repo/setting/actions.go b/routers/web/repo/setting/actions.go
index 7c47537232..933309e916 100644
--- a/routers/web/repo/setting/actions.go
+++ b/routers/web/repo/setting/actions.go
@@ -7,15 +7,15 @@ import (
"errors"
"net/http"
- "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared_actions "gitea.dev/routers/web/shared/actions"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared_actions "gotea.dev/routers/web/shared/actions"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
const tplRepoActionsGeneralSettings templates.TplName = "repo/settings/actions"
diff --git a/routers/web/repo/setting/audit.go b/routers/web/repo/setting/audit.go
index 1bacbf691e..0d3881893d 100644
--- a/routers/web/repo/setting/audit.go
+++ b/routers/web/repo/setting/audit.go
@@ -4,9 +4,9 @@
package setting
import (
- audit_model "gitea.dev/models/audit"
- shared_audit "gitea.dev/routers/web/shared/audit"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ shared_audit "gotea.dev/routers/web/shared/audit"
+ "gotea.dev/services/context"
)
func ViewAuditLogs(ctx *context.Context) {
diff --git a/routers/web/repo/setting/avatar.go b/routers/web/repo/setting/avatar.go
index 11ae4fe07c..2991a8c21c 100644
--- a/routers/web/repo/setting/avatar.go
+++ b/routers/web/repo/setting/avatar.go
@@ -8,13 +8,13 @@ import (
"fmt"
"io"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ repo_service "gotea.dev/services/repository"
)
// UpdateAvatarSetting update repo's avatar
diff --git a/routers/web/repo/setting/collaboration.go b/routers/web/repo/setting/collaboration.go
index 1a7418ec80..e28aaeca88 100644
--- a/routers/web/repo/setting/collaboration.go
+++ b/routers/web/repo/setting/collaboration.go
@@ -8,17 +8,17 @@ import (
"net/http"
"strings"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- "gitea.dev/services/mailer"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ "gotea.dev/services/mailer"
+ repo_service "gotea.dev/services/repository"
)
// Collaboration render a repository's collaboration page
diff --git a/routers/web/repo/setting/default_branch.go b/routers/web/repo/setting/default_branch.go
index 204c4fa3cd..4f4c8ce0c6 100644
--- a/routers/web/repo/setting/default_branch.go
+++ b/routers/web/repo/setting/default_branch.go
@@ -6,12 +6,12 @@ package setting
import (
"net/http"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/routers/web/repo"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/routers/web/repo"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
// SetDefaultBranchPost set default branch
diff --git a/routers/web/repo/setting/deploy_key.go b/routers/web/repo/setting/deploy_key.go
index 8a67c3ddfd..d5b19e63ba 100644
--- a/routers/web/repo/setting/deploy_key.go
+++ b/routers/web/repo/setting/deploy_key.go
@@ -7,18 +7,18 @@ import (
"errors"
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
func DeployKeys(ctx *context.Context) {
diff --git a/routers/web/repo/setting/git_hooks.go b/routers/web/repo/setting/git_hooks.go
index 53b7e9e359..4623820061 100644
--- a/routers/web/repo/setting/git_hooks.go
+++ b/routers/web/repo/setting/git_hooks.go
@@ -6,9 +6,9 @@ package setting
import (
"net/http"
- "gitea.dev/modules/git"
- "gitea.dev/routers/web/repo"
- "gitea.dev/services/context"
+ "gotea.dev/modules/git"
+ "gotea.dev/routers/web/repo"
+ "gotea.dev/services/context"
)
// GitHooks hooks of a repository
diff --git a/routers/web/repo/setting/lfs.go b/routers/web/repo/setting/lfs.go
index e72aef67f1..207ada17b2 100644
--- a/routers/web/repo/setting/lfs.go
+++ b/routers/web/repo/setting/lfs.go
@@ -14,22 +14,22 @@ import (
"strconv"
"strings"
- git_model "gitea.dev/models/git"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
- "gitea.dev/modules/git/pipeline"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
+ "gotea.dev/modules/git/pipeline"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/setting/main_test.go b/routers/web/repo/setting/main_test.go
index 770d712681..699c15aa31 100644
--- a/routers/web/repo/setting/main_test.go
+++ b/routers/web/repo/setting/main_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/repo/setting/protected_branch.go b/routers/web/repo/setting/protected_branch.go
index 045513a321..e52782b249 100644
--- a/routers/web/repo/setting/protected_branch.go
+++ b/routers/web/repo/setting/protected_branch.go
@@ -12,24 +12,24 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/base"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/json"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/repo"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- pull_service "gitea.dev/services/pull"
- "gitea.dev/services/repository"
+ audit_model "gotea.dev/models/audit"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/repo"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ pull_service "gotea.dev/services/pull"
+ "gotea.dev/services/repository"
)
const (
diff --git a/routers/web/repo/setting/protected_tag.go b/routers/web/repo/setting/protected_tag.go
index e3efb39848..ad437ec637 100644
--- a/routers/web/repo/setting/protected_tag.go
+++ b/routers/web/repo/setting/protected_tag.go
@@ -8,19 +8,19 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/unit"
- "gitea.dev/modules/base"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/repo/setting/public_access.go b/routers/web/repo/setting/public_access.go
index 15886b4354..01cedef637 100644
--- a/routers/web/repo/setting/public_access.go
+++ b/routers/web/repo/setting/public_access.go
@@ -8,12 +8,12 @@ import (
"slices"
"strconv"
- "gitea.dev/models/perm"
- "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const tplRepoSettingsPublicAccess templates.TplName = "repo/settings/public_access"
diff --git a/routers/web/repo/setting/secrets.go b/routers/web/repo/setting/secrets.go
index 5064fa7965..d04bb4710b 100644
--- a/routers/web/repo/setting/secrets.go
+++ b/routers/web/repo/setting/secrets.go
@@ -7,13 +7,13 @@ import (
"errors"
"net/http"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- shared "gitea.dev/routers/web/shared/secrets"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ shared "gotea.dev/routers/web/shared/secrets"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/repo/setting/setting.go b/routers/web/repo/setting/setting.go
index 9f7d930718..5a42a70385 100644
--- a/routers/web/repo/setting/setting.go
+++ b/routers/web/repo/setting/setting.go
@@ -11,35 +11,35 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/indexer/code"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/indexer/stats"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web"
- repo_router "gitea.dev/routers/web/repo"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/migrations"
- mirror_service "gitea.dev/services/mirror"
- repo_service "gitea.dev/services/repository"
- wiki_service "gitea.dev/services/wiki"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/indexer/code"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/indexer/stats"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web"
+ repo_router "gotea.dev/routers/web/repo"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/migrations"
+ mirror_service "gotea.dev/services/mirror"
+ repo_service "gotea.dev/services/repository"
+ wiki_service "gotea.dev/services/wiki"
"xorm.io/xorm/convert"
)
diff --git a/routers/web/repo/setting/settings_test.go b/routers/web/repo/setting/settings_test.go
index ce1be238ea..1a14b28b17 100644
--- a/routers/web/repo/setting/settings_test.go
+++ b/routers/web/repo/setting/settings_test.go
@@ -8,22 +8,22 @@ import (
"net/url"
"testing"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
- mirror_service "gitea.dev/services/mirror"
- repo_service "gitea.dev/services/repository"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
+ mirror_service "gotea.dev/services/mirror"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/repo/setting/webhook.go b/routers/web/repo/setting/webhook.go
index 7fc8a4b6dc..09d5f98a0e 100644
--- a/routers/web/repo/setting/webhook.go
+++ b/routers/web/repo/setting/webhook.go
@@ -12,25 +12,25 @@ import (
"path"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- webhook_service "gitea.dev/services/webhook"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ webhook_service "gotea.dev/services/webhook"
)
const (
diff --git a/routers/web/repo/star.go b/routers/web/repo/star.go
index 46c969d021..30b6a9a0e8 100644
--- a/routers/web/repo/star.go
+++ b/routers/web/repo/star.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const tplStarUnstar templates.TplName = "repo/header/star"
diff --git a/routers/web/repo/topic.go b/routers/web/repo/topic.go
index 1689d7ce38..b5dbe63384 100644
--- a/routers/web/repo/topic.go
+++ b/routers/web/repo/topic.go
@@ -7,9 +7,9 @@ import (
"net/http"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
// TopicsPost response for creating repository
diff --git a/routers/web/repo/transfer.go b/routers/web/repo/transfer.go
index 7bbcacdd05..4f2d2531f6 100644
--- a/routers/web/repo/transfer.go
+++ b/routers/web/repo/transfer.go
@@ -4,8 +4,8 @@
package repo
import (
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
func acceptTransfer(ctx *context.Context) {
diff --git a/routers/web/repo/treelist.go b/routers/web/repo/treelist.go
index dda100f699..96bd7716fa 100644
--- a/routers/web/repo/treelist.go
+++ b/routers/web/repo/treelist.go
@@ -9,13 +9,13 @@ import (
"path"
"strings"
- pull_model "gitea.dev/models/pull"
- "gitea.dev/modules/base"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/services/context"
- "gitea.dev/services/gitdiff"
- files_service "gitea.dev/services/repository/files"
+ pull_model "gotea.dev/models/pull"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/services/context"
+ "gotea.dev/services/gitdiff"
+ files_service "gotea.dev/services/repository/files"
"github.com/go-enry/go-enry/v2"
)
diff --git a/routers/web/repo/treelist_test.go b/routers/web/repo/treelist_test.go
index 171b32a66a..7cf9061af3 100644
--- a/routers/web/repo/treelist_test.go
+++ b/routers/web/repo/treelist_test.go
@@ -7,10 +7,10 @@ import (
"html/template"
"testing"
- pull_model "gitea.dev/models/pull"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/services/gitdiff"
+ pull_model "gotea.dev/models/pull"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/services/gitdiff"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/view.go b/routers/web/repo/view.go
index 2dd11ab7ee..7afbc4ca80 100644
--- a/routers/web/repo/view.go
+++ b/routers/web/repo/view.go
@@ -15,31 +15,31 @@ import (
"path"
"time"
- activities_model "gitea.dev/models/activities"
- admin_model "gitea.dev/models/admin"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ activities_model "gotea.dev/models/activities"
+ admin_model "gotea.dev/models/admin"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
_ "golang.org/x/image/bmp" // for processing bmp images
_ "golang.org/x/image/webp" // for processing webp images
diff --git a/routers/web/repo/view_file.go b/routers/web/repo/view_file.go
index d003d11102..b38beb2503 100644
--- a/routers/web/repo/view_file.go
+++ b/routers/web/repo/view_file.go
@@ -11,21 +11,21 @@ import (
"path"
"strings"
- git_model "gitea.dev/models/git"
- issue_model "gitea.dev/models/issues"
- "gitea.dev/models/renderhelper"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- issue_service "gitea.dev/services/issue"
+ git_model "gotea.dev/models/git"
+ issue_model "gotea.dev/models/issues"
+ "gotea.dev/models/renderhelper"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ issue_service "gotea.dev/services/issue"
)
func prepareLatestCommitInfo(ctx *context.Context) bool {
diff --git a/routers/web/repo/view_home.go b/routers/web/repo/view_home.go
index 61fc19eecf..1f04af2d21 100644
--- a/routers/web/repo/view_home.go
+++ b/routers/web/repo/view_home.go
@@ -11,23 +11,23 @@ import (
"strings"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/util"
- "gitea.dev/routers/web/feed"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
func checkOutdatedBranch(ctx *context.Context) {
diff --git a/routers/web/repo/view_home_test.go b/routers/web/repo/view_home_test.go
index b17c5f4f43..5a382733d9 100644
--- a/routers/web/repo/view_home_test.go
+++ b/routers/web/repo/view_home_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- git_module "gitea.dev/modules/git"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ git_module "gotea.dev/modules/git"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/repo/view_readme.go b/routers/web/repo/view_readme.go
index 3341c3b138..15cc732949 100644
--- a/routers/web/repo/view_readme.go
+++ b/routers/web/repo/view_readme.go
@@ -13,14 +13,14 @@ import (
"path"
"strings"
- "gitea.dev/models/renderhelper"
- "gitea.dev/modules/base"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/renderhelper"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// locate a README for a tree in one of the supported paths.
diff --git a/routers/web/repo/watch.go b/routers/web/repo/watch.go
index 92a9fe9ed3..a0a32b524e 100644
--- a/routers/web/repo/watch.go
+++ b/routers/web/repo/watch.go
@@ -6,9 +6,9 @@ package repo
import (
"net/http"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const tplWatch templates.TplName = "repo/header/watch"
diff --git a/routers/web/repo/webgit.go b/routers/web/repo/webgit.go
index b92b2ff76f..427e69c185 100644
--- a/routers/web/repo/webgit.go
+++ b/routers/web/repo/webgit.go
@@ -4,12 +4,12 @@
package repo
import (
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- files_service "gitea.dev/services/repository/files"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ files_service "gotea.dev/services/repository/files"
)
func WebGitOperationCommonData(ctx *context.Context) {
diff --git a/routers/web/repo/wiki.go b/routers/web/repo/wiki.go
index d67e7cfb5a..d016eeaa50 100644
--- a/routers/web/repo/wiki.go
+++ b/routers/web/repo/wiki.go
@@ -14,27 +14,27 @@ import (
"path"
"strings"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/base"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- git_service "gitea.dev/services/git"
- notify_service "gitea.dev/services/notify"
- repo_service "gitea.dev/services/repository"
- wiki_service "gitea.dev/services/wiki"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ git_service "gotea.dev/services/git"
+ notify_service "gotea.dev/services/notify"
+ repo_service "gotea.dev/services/repository"
+ wiki_service "gotea.dev/services/wiki"
)
const (
diff --git a/routers/web/repo/wiki_test.go b/routers/web/repo/wiki_test.go
index 15f5ad69f2..f945c3e830 100644
--- a/routers/web/repo/wiki_test.go
+++ b/routers/web/repo/wiki_test.go
@@ -10,13 +10,13 @@ import (
"net/url"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/test"
- "gitea.dev/services/contexttest"
- repo_service "gitea.dev/services/repository"
- wiki_service "gitea.dev/services/wiki"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/contexttest"
+ repo_service "gotea.dev/services/repository"
+ wiki_service "gotea.dev/services/wiki"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/shared/actions/general.go b/routers/web/shared/actions/general.go
index 9db7bdf852..3a01b4f03d 100644
--- a/routers/web/shared/actions/general.go
+++ b/routers/web/shared/actions/general.go
@@ -8,13 +8,13 @@ import (
"slices"
"strconv"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/shared/actions/job_queue.go b/routers/web/shared/actions/job_queue.go
index a0710983e4..5838fdaad5 100644
--- a/routers/web/shared/actions/job_queue.go
+++ b/routers/web/shared/actions/job_queue.go
@@ -10,15 +10,15 @@ import (
"slices"
"strconv"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// JobQueue renders the instance-wide Actions job queue on the admin settings page.
diff --git a/routers/web/shared/actions/runners.go b/routers/web/shared/actions/runners.go
index 71c693589d..55fb78c5b3 100644
--- a/routers/web/shared/actions/runners.go
+++ b/routers/web/shared/actions/runners.go
@@ -10,16 +10,16 @@ import (
"net/http"
"net/url"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/shared/actions/scoped_workflows.go b/routers/web/shared/actions/scoped_workflows.go
index db5100dba5..8f2a0e740e 100644
--- a/routers/web/shared/actions/scoped_workflows.go
+++ b/routers/web/shared/actions/scoped_workflows.go
@@ -9,18 +9,18 @@ import (
"slices"
"strings"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared_user "gitea.dev/routers/web/shared/user"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared_user "gotea.dev/routers/web/shared/user"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/shared/actions/scoped_workflows_test.go b/routers/web/shared/actions/scoped_workflows_test.go
index a51861bdc6..2bc8519d1d 100644
--- a/routers/web/shared/actions/scoped_workflows_test.go
+++ b/routers/web/shared/actions/scoped_workflows_test.go
@@ -6,7 +6,7 @@ package actions
import (
"testing"
- actions_module "gitea.dev/modules/actions"
+ actions_module "gotea.dev/modules/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/shared/actions/variables.go b/routers/web/shared/actions/variables.go
index d999cac005..ac62fe905b 100644
--- a/routers/web/shared/actions/variables.go
+++ b/routers/web/shared/actions/variables.go
@@ -7,16 +7,16 @@ import (
"errors"
"net/http"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- shared_user "gitea.dev/routers/web/shared/user"
- actions_service "gitea.dev/services/actions"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ shared_user "gotea.dev/routers/web/shared/user"
+ actions_service "gotea.dev/services/actions"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/shared/audit/audit.go b/routers/web/shared/audit/audit.go
index 3d1045442c..6dc0059e40 100644
--- a/routers/web/shared/audit/audit.go
+++ b/routers/web/shared/audit/audit.go
@@ -8,14 +8,14 @@ import (
"net/http"
"slices"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
)
// ViewOptions configures a scoped audit log listing. The admin view leaves
diff --git a/routers/web/shared/issue/issue_label.go b/routers/web/shared/issue/issue_label.go
index aba0c2b1ef..8d50beb806 100644
--- a/routers/web/shared/issue/issue_label.go
+++ b/routers/web/shared/issue/issue_label.go
@@ -6,11 +6,11 @@ package issue
import (
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/services/context"
)
// PrepareFilterIssueLabels reads the "labels" query parameter, sets `ctx.Data["Labels"]` and `ctx.Data["SelectLabels"]`
diff --git a/routers/web/shared/label/label.go b/routers/web/shared/label/label.go
index 5563e72df5..2375b595f8 100644
--- a/routers/web/shared/label/label.go
+++ b/routers/web/shared/label/label.go
@@ -4,10 +4,10 @@
package label
import (
- "gitea.dev/modules/label"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ "gotea.dev/modules/label"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
func GetLabelEditForm(ctx *context.Context) *forms.CreateLabelForm {
diff --git a/routers/web/shared/mention/mention.go b/routers/web/shared/mention/mention.go
index df2826ae42..2ba93149d5 100644
--- a/routers/web/shared/mention/mention.go
+++ b/routers/web/shared/mention/mention.go
@@ -6,8 +6,8 @@ package mention
import (
"context"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
)
// Mention is the JSON structure returned by mention autocomplete endpoints.
diff --git a/routers/web/shared/packages/packages.go b/routers/web/shared/packages/packages.go
index d88d0be637..e2e4e135fe 100644
--- a/routers/web/shared/packages/packages.go
+++ b/routers/web/shared/packages/packages.go
@@ -8,16 +8,16 @@ import (
"net/http"
"time"
- packages_model "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- cargo_service "gitea.dev/services/packages/cargo"
- container_service "gitea.dev/services/packages/container"
+ packages_model "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ cargo_service "gotea.dev/services/packages/cargo"
+ container_service "gotea.dev/services/packages/container"
)
func SetPackagesContext(ctx *context.Context, owner *user_model.User) {
diff --git a/routers/web/shared/project/project.go b/routers/web/shared/project/project.go
index 999e4ec62a..b312905233 100644
--- a/routers/web/shared/project/project.go
+++ b/routers/web/shared/project/project.go
@@ -6,13 +6,13 @@ package project
import (
"errors"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- "gitea.dev/modules/json"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- project_service "gitea.dev/services/projects"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ project_service "gotea.dev/services/projects"
)
// findProject loads the "id" path param, scoped to whichever owner the route assigned:
diff --git a/routers/web/shared/project/project_test.go b/routers/web/shared/project/project_test.go
index 64017c226f..d287a0658a 100644
--- a/routers/web/shared/project/project_test.go
+++ b/routers/web/shared/project/project_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/shared/secrets/secrets.go b/routers/web/shared/secrets/secrets.go
index 88c2cb4ca4..36b87e4d74 100644
--- a/routers/web/shared/secrets/secrets.go
+++ b/routers/web/shared/secrets/secrets.go
@@ -4,17 +4,17 @@
package secrets
import (
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- secret_model "gitea.dev/models/secret"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- secret_service "gitea.dev/services/secrets"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ secret_model "gotea.dev/models/secret"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ secret_service "gotea.dev/services/secrets"
)
func SetSecretsContext(ctx *context.Context, ownerID, repoID int64) {
diff --git a/routers/web/shared/user/block.go b/routers/web/shared/user/block.go
index beaed239fb..1ca04e2b1a 100644
--- a/routers/web/shared/user/block.go
+++ b/routers/web/shared/user/block.go
@@ -6,13 +6,13 @@ package user
import (
"errors"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ user_service "gotea.dev/services/user"
)
func BlockedUsers(ctx *context.Context, blocker *user_model.User) {
diff --git a/routers/web/shared/user/header.go b/routers/web/shared/user/header.go
index 8393aed637..33c3ee458f 100644
--- a/routers/web/shared/user/header.go
+++ b/routers/web/shared/user/header.go
@@ -7,21 +7,21 @@ import (
"errors"
"net/url"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// prepareContextForProfileBigAvatar set the context for big avatar view on the profile page
diff --git a/routers/web/shared/user/helper.go b/routers/web/shared/user/helper.go
index 0b3db67091..80b9f10de4 100644
--- a/routers/web/shared/user/helper.go
+++ b/routers/web/shared/user/helper.go
@@ -8,7 +8,7 @@ import (
"slices"
"strconv"
- "gitea.dev/models/user"
+ "gotea.dev/models/user"
)
type SearchUserInfo struct {
diff --git a/routers/web/shared/user/helper_test.go b/routers/web/shared/user/helper_test.go
index 563d383a4e..65a605d078 100644
--- a/routers/web/shared/user/helper_test.go
+++ b/routers/web/shared/user/helper_test.go
@@ -6,7 +6,7 @@ package user
import (
"testing"
- "gitea.dev/models/user"
+ "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/swagger_json.go b/routers/web/swagger_json.go
index d00eefbc74..5928ad2514 100644
--- a/routers/web/swagger_json.go
+++ b/routers/web/swagger_json.go
@@ -8,10 +8,10 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
func swaggerJsonServe(ctx *context.Context, file string) {
diff --git a/routers/web/user/avatar.go b/routers/web/user/avatar.go
index fa179758f6..7b77656627 100644
--- a/routers/web/user/avatar.go
+++ b/routers/web/user/avatar.go
@@ -6,10 +6,10 @@ package user
import (
"time"
- "gitea.dev/models/avatars"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httpcache"
- "gitea.dev/services/context"
+ "gotea.dev/models/avatars"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/services/context"
)
func cacheableRedirect(ctx *context.Context, location string) {
diff --git a/routers/web/user/code.go b/routers/web/user/code.go
index 0c794c3ec0..a9a5c2c62b 100644
--- a/routers/web/user/code.go
+++ b/routers/web/user/code.go
@@ -7,14 +7,14 @@ import (
"net/http"
"slices"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/common"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/common"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/heatmap.go b/routers/web/user/heatmap.go
index 475e48ff58..f9350a09dc 100644
--- a/routers/web/user/heatmap.go
+++ b/routers/web/user/heatmap.go
@@ -7,10 +7,10 @@ import (
"net/http"
"net/url"
- activities_model "gitea.dev/models/activities"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ activities_model "gotea.dev/models/activities"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
func prepareHeatmapURL(ctx *context.Context) {
diff --git a/routers/web/user/home.go b/routers/web/user/home.go
index 6e422b408b..80f6be5f5e 100644
--- a/routers/web/user/home.go
+++ b/routers/web/user/home.go
@@ -14,32 +14,32 @@ import (
"strconv"
"strings"
- activities_model "gitea.dev/models/activities"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/indexer"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/routers/web/feed"
- "gitea.dev/routers/web/shared/issue"
- "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- feed_service "gitea.dev/services/feed"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
+ activities_model "gotea.dev/models/activities"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/indexer"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/routers/web/shared/issue"
+ "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ feed_service "gotea.dev/services/feed"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/armor"
diff --git a/routers/web/user/home_test.go b/routers/web/user/home_test.go
index a0fd73ffd9..563c263dbd 100644
--- a/routers/web/user/home_test.go
+++ b/routers/web/user/home_test.go
@@ -7,12 +7,12 @@ import (
"net/http"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/user/main_test.go b/routers/web/user/main_test.go
index bcec936cbb..6c6aae8d30 100644
--- a/routers/web/user/main_test.go
+++ b/routers/web/user/main_test.go
@@ -6,7 +6,7 @@ package user
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/user/notification.go b/routers/web/user/notification.go
index aa6ffab033..707564f70f 100644
--- a/routers/web/user/notification.go
+++ b/routers/web/user/notification.go
@@ -9,24 +9,24 @@ import (
"net/http"
"strings"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
- issue_service "gitea.dev/services/issue"
- "gitea.dev/services/notifications"
- pull_service "gitea.dev/services/pull"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
+ issue_service "gotea.dev/services/issue"
+ "gotea.dev/services/notifications"
+ pull_service "gotea.dev/services/pull"
)
const (
diff --git a/routers/web/user/notification_test.go b/routers/web/user/notification_test.go
index b6c060d04c..ce9fb26fca 100644
--- a/routers/web/user/notification_test.go
+++ b/routers/web/user/notification_test.go
@@ -6,10 +6,10 @@ package user
import (
"testing"
- activities_model "gitea.dev/models/activities"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ activities_model "gotea.dev/models/activities"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/user/package.go b/routers/web/user/package.go
index 185d3b6d7b..b181709c70 100644
--- a/routers/web/user/package.go
+++ b/routers/web/user/package.go
@@ -11,31 +11,31 @@ import (
"time"
"uuid"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- container_model "gitea.dev/models/packages/container"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/container"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/optional"
- alpine_module "gitea.dev/modules/packages/alpine"
- arch_module "gitea.dev/modules/packages/arch"
- container_module "gitea.dev/modules/packages/container"
- rpm_module "gitea.dev/modules/packages/rpm"
- terraform_module "gitea.dev/modules/packages/terraform"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- packages_helper "gitea.dev/routers/api/packages/helper"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- packages_service "gitea.dev/services/packages"
- container_service "gitea.dev/services/packages/container"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ container_model "gotea.dev/models/packages/container"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/optional"
+ alpine_module "gotea.dev/modules/packages/alpine"
+ arch_module "gotea.dev/modules/packages/arch"
+ container_module "gotea.dev/modules/packages/container"
+ rpm_module "gotea.dev/modules/packages/rpm"
+ terraform_module "gotea.dev/modules/packages/terraform"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ packages_helper "gotea.dev/routers/api/packages/helper"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ packages_service "gotea.dev/services/packages"
+ container_service "gotea.dev/services/packages/container"
)
const (
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go
index 62a51e8579..e99656fdf1 100644
--- a/routers/web/user/profile.go
+++ b/routers/web/user/profile.go
@@ -9,23 +9,23 @@ import (
"net/http"
"strings"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/routers/web/feed"
- "gitea.dev/routers/web/org"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
- feed_service "gitea.dev/services/feed"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/routers/web/org"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
+ feed_service "gotea.dev/services/feed"
)
const (
diff --git a/routers/web/user/search.go b/routers/web/user/search.go
index 467333a6b5..3376fcca98 100644
--- a/routers/web/user/search.go
+++ b/routers/web/user/search.go
@@ -6,12 +6,12 @@ package user
import (
"net/http"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// SearchCandidates searches candidate users for dropdown list
diff --git a/routers/web/user/setting/account.go b/routers/web/user/setting/account.go
index 4d610ac8f1..72e10062c9 100644
--- a/routers/web/user/setting/account.go
+++ b/routers/web/user/setting/account.go
@@ -9,25 +9,25 @@ import (
"net/http"
"time"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/password"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/db"
- "gitea.dev/services/auth/source/smtp"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- "gitea.dev/services/mailer"
- "gitea.dev/services/user"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/db"
+ "gotea.dev/services/auth/source/smtp"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/mailer"
+ "gotea.dev/services/user"
)
const (
diff --git a/routers/web/user/setting/account_test.go b/routers/web/user/setting/account_test.go
index caf358f2c0..857db09c1b 100644
--- a/routers/web/user/setting/account_test.go
+++ b/routers/web/user/setting/account_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
)
diff --git a/routers/web/user/setting/adopt.go b/routers/web/user/setting/adopt.go
index be6057fde7..b8da9cec18 100644
--- a/routers/web/user/setting/adopt.go
+++ b/routers/web/user/setting/adopt.go
@@ -4,12 +4,12 @@
package setting
import (
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
- repo_service "gitea.dev/services/repository"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
+ repo_service "gotea.dev/services/repository"
)
// AdoptOrDeleteRepository adopts or deletes a repository
diff --git a/routers/web/user/setting/applications.go b/routers/web/user/setting/applications.go
index 5e4845c534..1cbf5475f2 100644
--- a/routers/web/user/setting/applications.go
+++ b/routers/web/user/setting/applications.go
@@ -8,16 +8,16 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/user/setting/audit.go b/routers/web/user/setting/audit.go
index 058950e958..6cb0bb1caa 100644
--- a/routers/web/user/setting/audit.go
+++ b/routers/web/user/setting/audit.go
@@ -4,9 +4,9 @@
package setting
import (
- audit_model "gitea.dev/models/audit"
- shared_audit "gitea.dev/routers/web/shared/audit"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ shared_audit "gotea.dev/routers/web/shared/audit"
+ "gotea.dev/services/context"
)
func ViewAuditLogs(ctx *context.Context) {
diff --git a/routers/web/user/setting/block.go b/routers/web/user/setting/block.go
index e2fc8d8d9d..8bb69af737 100644
--- a/routers/web/user/setting/block.go
+++ b/routers/web/user/setting/block.go
@@ -6,10 +6,10 @@ package setting
import (
"net/http"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/context"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/setting/keys.go b/routers/web/user/setting/keys.go
index 98d88eb154..dc3531afe3 100644
--- a/routers/web/user/setting/keys.go
+++ b/routers/web/user/setting/keys.go
@@ -8,17 +8,17 @@ import (
"errors"
"net/http"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/web"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/web"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const (
diff --git a/routers/web/user/setting/main_test.go b/routers/web/user/setting/main_test.go
index 5de9b48f3e..9f848bd1f1 100644
--- a/routers/web/user/setting/main_test.go
+++ b/routers/web/user/setting/main_test.go
@@ -6,7 +6,7 @@ package setting
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/user/setting/notifications.go b/routers/web/user/setting/notifications.go
index ea206be55e..aaa01f5ccc 100644
--- a/routers/web/user/setting/notifications.go
+++ b/routers/web/user/setting/notifications.go
@@ -6,13 +6,13 @@ package setting
import (
"net/http"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
- "gitea.dev/services/user"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
+ "gotea.dev/services/user"
)
const tplSettingsNotifications templates.TplName = "user/settings/notifications"
diff --git a/routers/web/user/setting/oauth2.go b/routers/web/user/setting/oauth2.go
index 696c1eeace..03990618e6 100644
--- a/routers/web/user/setting/oauth2.go
+++ b/routers/web/user/setting/oauth2.go
@@ -4,10 +4,10 @@
package setting
import (
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/setting/oauth2_common.go b/routers/web/user/setting/oauth2_common.go
index 86dd41fce3..1534c59675 100644
--- a/routers/web/user/setting/oauth2_common.go
+++ b/routers/web/user/setting/oauth2_common.go
@@ -7,15 +7,15 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- shared_user "gitea.dev/routers/web/shared/user"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ shared_user "gotea.dev/routers/web/shared/user"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
type OAuth2CommonHandlers struct {
diff --git a/routers/web/user/setting/packages.go b/routers/web/user/setting/packages.go
index 68491a39ff..078243ae3f 100644
--- a/routers/web/user/setting/packages.go
+++ b/routers/web/user/setting/packages.go
@@ -7,13 +7,13 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
- chef_module "gitea.dev/modules/packages/chef"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- shared "gitea.dev/routers/web/shared/packages"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ chef_module "gotea.dev/modules/packages/chef"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ shared "gotea.dev/routers/web/shared/packages"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/setting/profile.go b/routers/web/user/setting/profile.go
index 7f982d7c6d..74326adeaf 100644
--- a/routers/web/user/setting/profile.go
+++ b/routers/web/user/setting/profile.go
@@ -14,25 +14,25 @@ import (
"path/filepath"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
- user_service "gitea.dev/services/user"
- "gitea.dev/services/webtheme"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
+ user_service "gotea.dev/services/user"
+ "gotea.dev/services/webtheme"
)
const (
diff --git a/routers/web/user/setting/security/2fa.go b/routers/web/user/setting/security/2fa.go
index bc9d57dd86..224eadff3c 100644
--- a/routers/web/user/setting/security/2fa.go
+++ b/routers/web/user/setting/security/2fa.go
@@ -12,16 +12,16 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
"github.com/pquerna/otp"
"github.com/pquerna/otp/totp"
diff --git a/routers/web/user/setting/security/main_test.go b/routers/web/user/setting/security/main_test.go
index 0fc03c5635..52e3c03fcb 100644
--- a/routers/web/user/setting/security/main_test.go
+++ b/routers/web/user/setting/security/main_test.go
@@ -6,7 +6,7 @@ package security
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/routers/web/user/setting/security/openid.go b/routers/web/user/setting/security/openid.go
index 06a620a84f..cddbe21d6c 100644
--- a/routers/web/user/setting/security/openid.go
+++ b/routers/web/user/setting/security/openid.go
@@ -9,17 +9,17 @@ import (
"net/http"
"time"
- audit_model "gitea.dev/models/audit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/openid"
- "gitea.dev/modules/base"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/openid"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
)
const openIDAssociationCodeMinutes = 10
diff --git a/routers/web/user/setting/security/openid_test.go b/routers/web/user/setting/security/openid_test.go
index 2490272e76..5ba958553e 100644
--- a/routers/web/user/setting/security/openid_test.go
+++ b/routers/web/user/setting/security/openid_test.go
@@ -11,14 +11,14 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/forms"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/routers/web/user/setting/security/security.go b/routers/web/user/setting/security/security.go
index c7132430fd..c568163dd9 100644
--- a/routers/web/user/setting/security/security.go
+++ b/routers/web/user/setting/security/security.go
@@ -8,16 +8,16 @@ import (
"net/http"
"sort"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/audit"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/setting/security/webauthn.go b/routers/web/user/setting/security/webauthn.go
index da488ccdef..ac06faa1a0 100644
--- a/routers/web/user/setting/security/webauthn.go
+++ b/routers/web/user/setting/security/webauthn.go
@@ -9,17 +9,17 @@ import (
"strconv"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- wa "gitea.dev/modules/auth/webauthn"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ wa "gotea.dev/modules/auth/webauthn"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
diff --git a/routers/web/user/setting/settings.go b/routers/web/user/setting/settings.go
index 5241c5d913..b2154b683e 100644
--- a/routers/web/user/setting/settings.go
+++ b/routers/web/user/setting/settings.go
@@ -7,10 +7,10 @@ import (
"net/http"
"strconv"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
func SettingsCtxData(ctx *context.Context) {
diff --git a/routers/web/user/setting/webhooks.go b/routers/web/user/setting/webhooks.go
index b261853b37..8190166ddd 100644
--- a/routers/web/user/setting/webhooks.go
+++ b/routers/web/user/setting/webhooks.go
@@ -6,12 +6,12 @@ package setting
import (
"net/http"
- "gitea.dev/models/db"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/audit"
- "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/context"
)
const (
diff --git a/routers/web/user/stop_watch.go b/routers/web/user/stop_watch.go
index 0c674cfe58..e6536ff977 100644
--- a/routers/web/user/stop_watch.go
+++ b/routers/web/user/stop_watch.go
@@ -6,10 +6,10 @@ package user
import (
"net/http"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
// GetStopwatches get all stopwatches
diff --git a/routers/web/web.go b/routers/web/web.go
index 67b3caa851..0e596459b6 100644
--- a/routers/web/web.go
+++ b/routers/web/web.go
@@ -7,48 +7,48 @@ import (
"net/http"
"strings"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/metrics"
- "gitea.dev/modules/public"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/modules/web/routing"
- "gitea.dev/modules/web/types"
- "gitea.dev/routers/common"
- "gitea.dev/routers/web/admin"
- "gitea.dev/routers/web/auth"
- "gitea.dev/routers/web/devtest"
- "gitea.dev/routers/web/explore"
- "gitea.dev/routers/web/feed"
- "gitea.dev/routers/web/healthcheck"
- "gitea.dev/routers/web/misc"
- "gitea.dev/routers/web/org"
- org_setting "gitea.dev/routers/web/org/setting"
- "gitea.dev/routers/web/repo"
- "gitea.dev/routers/web/repo/actions"
- repo_setting "gitea.dev/routers/web/repo/setting"
- shared_actions "gitea.dev/routers/web/shared/actions"
- "gitea.dev/routers/web/shared/project"
- "gitea.dev/routers/web/user"
- user_setting "gitea.dev/routers/web/user/setting"
- "gitea.dev/routers/web/user/setting/security"
- gitea_websocket "gitea.dev/routers/web/websocket"
- auth_service "gitea.dev/services/auth"
- "gitea.dev/services/context"
- "gitea.dev/services/forms"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/metrics"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/routing"
+ "gotea.dev/modules/web/types"
+ "gotea.dev/routers/common"
+ "gotea.dev/routers/web/admin"
+ "gotea.dev/routers/web/auth"
+ "gotea.dev/routers/web/devtest"
+ "gotea.dev/routers/web/explore"
+ "gotea.dev/routers/web/feed"
+ "gotea.dev/routers/web/healthcheck"
+ "gotea.dev/routers/web/misc"
+ "gotea.dev/routers/web/org"
+ org_setting "gotea.dev/routers/web/org/setting"
+ "gotea.dev/routers/web/repo"
+ "gotea.dev/routers/web/repo/actions"
+ repo_setting "gotea.dev/routers/web/repo/setting"
+ shared_actions "gotea.dev/routers/web/shared/actions"
+ "gotea.dev/routers/web/shared/project"
+ "gotea.dev/routers/web/user"
+ user_setting "gotea.dev/routers/web/user/setting"
+ "gotea.dev/routers/web/user/setting/security"
+ gitea_websocket "gotea.dev/routers/web/websocket"
+ auth_service "gotea.dev/services/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/services/forms"
- _ "gitea.dev/modules/session" // to register all internal adapters
+ _ "gotea.dev/modules/session" // to register all internal adapters
"gitea.com/go-chi/captcha"
chi_middleware "github.com/go-chi/chi/v5/middleware"
diff --git a/routers/web/webfinger.go b/routers/web/webfinger.go
index 3ba5371e1e..87a267987a 100644
--- a/routers/web/webfinger.go
+++ b/routers/web/webfinger.go
@@ -10,10 +10,10 @@ import (
"strconv"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/context"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/context"
)
// https://datatracker.ietf.org/doc/html/draft-ietf-appsawg-webfinger-14#section-4.4
diff --git a/routers/web/websocket/websocket.go b/routers/web/websocket/websocket.go
index 553ffa7191..3ab5572ac1 100644
--- a/routers/web/websocket/websocket.go
+++ b/routers/web/websocket/websocket.go
@@ -8,11 +8,11 @@ import (
"net/http"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
- "gitea.dev/services/pubsub"
- websocket_service "gitea.dev/services/websocket"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
+ "gotea.dev/services/pubsub"
+ websocket_service "gotea.dev/services/websocket"
gitea_ws "github.com/coder/websocket"
)
diff --git a/services/actions/approve.go b/services/actions/approve.go
index 327072aa06..752191d346 100644
--- a/services/actions/approve.go
+++ b/services/actions/approve.go
@@ -9,13 +9,13 @@ import (
"fmt"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/services/actions/approve_test.go b/services/actions/approve_test.go
index eda11b2a77..bc911124c4 100644
--- a/services/actions/approve_test.go
+++ b/services/actions/approve_test.go
@@ -6,12 +6,12 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/test"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/artifacts.go b/services/actions/artifacts.go
index 012a49ddfb..98f95a108e 100644
--- a/services/actions/artifacts.go
+++ b/services/actions/artifacts.go
@@ -7,12 +7,12 @@ import (
"net/http"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/services/context"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/services/context"
)
// IsArtifactV4 detects whether the artifact is likely from v4.
diff --git a/services/actions/auth.go b/services/actions/auth.go
index 6a160102f1..cc97ba32bf 100644
--- a/services/actions/auth.go
+++ b/services/actions/auth.go
@@ -10,9 +10,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/actions/auth_test.go b/services/actions/auth_test.go
index 85f2fb4e9a..01290a8106 100644
--- a/services/actions/auth_test.go
+++ b/services/actions/auth_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
"github.com/golang-jwt/jwt/v5"
"github.com/stretchr/testify/assert"
diff --git a/services/actions/cancel.go b/services/actions/cancel.go
index a62fb0edd9..a95e0d352d 100644
--- a/services/actions/cancel.go
+++ b/services/actions/cancel.go
@@ -8,10 +8,10 @@ import (
"fmt"
"gitea.dev/actionslib/pkg/expreval"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/log"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/log"
)
// CancelRun cancels a run's cancellable jobs and returns the run's post-cancellation state.
diff --git a/services/actions/cancel_test.go b/services/actions/cancel_test.go
index ba08b5c152..125057d6bb 100644
--- a/services/actions/cancel_test.go
+++ b/services/actions/cancel_test.go
@@ -6,11 +6,11 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/cleanup.go b/services/actions/cleanup.go
index 7c2fedc7e6..66cb72e300 100644
--- a/services/actions/cleanup.go
+++ b/services/actions/cleanup.go
@@ -8,14 +8,14 @@ import (
"fmt"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
"xorm.io/builder"
)
diff --git a/services/actions/cleanup_test.go b/services/actions/cleanup_test.go
index 54ab6a30e1..5d629862f8 100644
--- a/services/actions/cleanup_test.go
+++ b/services/actions/cleanup_test.go
@@ -9,15 +9,15 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/clear_tasks.go b/services/actions/clear_tasks.go
index a1389a5495..214a3c7ed5 100644
--- a/services/actions/clear_tasks.go
+++ b/services/actions/clear_tasks.go
@@ -9,17 +9,17 @@ import (
"slices"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
// StopZombieTasks stops tasks in running/cancelling status that haven't been updated for a long time
diff --git a/services/actions/clear_tasks_test.go b/services/actions/clear_tasks_test.go
index 923218a913..ca52deb4a2 100644
--- a/services/actions/clear_tasks_test.go
+++ b/services/actions/clear_tasks_test.go
@@ -8,12 +8,12 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/commit_status.go b/services/actions/commit_status.go
index c5723bf0fd..49ba2fbedc 100644
--- a/services/actions/commit_status.go
+++ b/services/actions/commit_status.go
@@ -9,21 +9,21 @@ import (
"fmt"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
- pull_service "gitea.dev/services/pull"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
+ pull_service "gotea.dev/services/pull"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
)
// CreateCommitStatusForRunJobs creates a commit status for the given job if it has a supported event and related commit.
diff --git a/services/actions/commit_status_test.go b/services/actions/commit_status_test.go
index b595602cfd..be33c06fc2 100644
--- a/services/actions/commit_status_test.go
+++ b/services/actions/commit_status_test.go
@@ -6,16 +6,16 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/timeutil"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/concurrency.go b/services/actions/concurrency.go
index ba66a84433..bc490a68b9 100644
--- a/services/actions/concurrency.go
+++ b/services/actions/concurrency.go
@@ -8,10 +8,10 @@ import (
"fmt"
act_model "gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/services/actions/context.go b/services/actions/context.go
index 8dcc8bc447..b79df75298 100644
--- a/services/actions/context.go
+++ b/services/actions/context.go
@@ -14,17 +14,17 @@ import (
"gitea.dev/actionslib/pkg/expreval"
"gitea.dev/actionslib/pkg/exprparser"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
)
type GiteaContext map[string]any
diff --git a/services/actions/context_test.go b/services/actions/context_test.go
index 6d466a123b..39939f86c1 100644
--- a/services/actions/context_test.go
+++ b/services/actions/context_test.go
@@ -8,18 +8,18 @@ import (
"testing"
act_model "gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/helper.go b/services/actions/helper.go
index 195822291a..6c466cb6ad 100644
--- a/services/actions/helper.go
+++ b/services/actions/helper.go
@@ -10,13 +10,13 @@ import (
"maps"
"strings"
- actions_model "gitea.dev/models/actions"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// dispatchInputsForJob types a top-level job's `inputs.*` from EventPayload, empty for other events.
diff --git a/services/actions/helper_test.go b/services/actions/helper_test.go
index eb7c822119..bbe9328bab 100644
--- a/services/actions/helper_test.go
+++ b/services/actions/helper_test.go
@@ -6,13 +6,13 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/init.go b/services/actions/init.go
index 9261c48f29..ec127d9ee3 100644
--- a/services/actions/init.go
+++ b/services/actions/init.go
@@ -10,13 +10,13 @@ import (
"os"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ notify_service "gotea.dev/services/notify"
)
func initGlobalRunnerToken(ctx context.Context) error {
diff --git a/services/actions/init_test.go b/services/actions/init_test.go
index e019907122..3f0550bdb8 100644
--- a/services/actions/init_test.go
+++ b/services/actions/init_test.go
@@ -7,10 +7,10 @@ import (
"os"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/interface.go b/services/actions/interface.go
index 9df265c35b..298b068893 100644
--- a/services/actions/interface.go
+++ b/services/actions/interface.go
@@ -3,7 +3,7 @@
package actions
-import "gitea.dev/services/context"
+import "gotea.dev/services/context"
// API for actions of a repository or organization
type API interface {
diff --git a/services/actions/invalid_workflow.go b/services/actions/invalid_workflow.go
index 56edb0a977..c819bea25a 100644
--- a/services/actions/invalid_workflow.go
+++ b/services/actions/invalid_workflow.go
@@ -7,15 +7,15 @@ import (
"context"
"fmt"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unit"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func handleInvalidWorkflows(ctx context.Context, input *notifyInput, ref git.RefName, commit *git.Commit, invalid map[string]error) {
diff --git a/services/actions/job_emitter.go b/services/actions/job_emitter.go
index 69b111e234..81d3c886aa 100644
--- a/services/actions/job_emitter.go
+++ b/services/actions/job_emitter.go
@@ -9,15 +9,15 @@ import (
"fmt"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/container"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/services/actions/job_emitter_test.go b/services/actions/job_emitter_test.go
index 115ab3fcf5..54e1cf7222 100644
--- a/services/actions/job_emitter_test.go
+++ b/services/actions/job_emitter_test.go
@@ -8,12 +8,12 @@ import (
"slices"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/matrix.go b/services/actions/matrix.go
index f7490576fd..2d8656851c 100644
--- a/services/actions/matrix.go
+++ b/services/actions/matrix.go
@@ -9,13 +9,13 @@ import (
"fmt"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/services/actions/matrix_test.go b/services/actions/matrix_test.go
index 9f931ee5f4..6c8929c627 100644
--- a/services/actions/matrix_test.go
+++ b/services/actions/matrix_test.go
@@ -8,10 +8,10 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/actions/jobparser"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/actions/jobparser"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/max_parallel.go b/services/actions/max_parallel.go
index dd0e122777..3801102a89 100644
--- a/services/actions/max_parallel.go
+++ b/services/actions/max_parallel.go
@@ -7,8 +7,8 @@ import (
"strings"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/log"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/log"
)
// parseMaxParallel returns strategy.max-parallel for a job, 0 meaning unlimited.
diff --git a/services/actions/max_parallel_test.go b/services/actions/max_parallel_test.go
index 23f5f390bb..3973bd797f 100644
--- a/services/actions/max_parallel_test.go
+++ b/services/actions/max_parallel_test.go
@@ -9,13 +9,13 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/notifier.go b/services/actions/notifier.go
index 560e46c9b8..bf95870438 100644
--- a/services/actions/notifier.go
+++ b/services/actions/notifier.go
@@ -7,23 +7,23 @@ import (
"context"
"errors"
- actions_model "gitea.dev/models/actions"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/convert"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/convert"
+ notify_service "gotea.dev/services/notify"
)
type actionsNotifier struct {
diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go
index 66d2e18525..b3f485d5b7 100644
--- a/services/actions/notifier_helper.go
+++ b/services/actions/notifier_helper.go
@@ -10,25 +10,25 @@ import (
"slices"
"strings"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- packages_model "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ packages_model "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/convert"
)
type methodCtxKeyType struct{}
diff --git a/services/actions/notifier_helper_test.go b/services/actions/notifier_helper_test.go
index 7eb29743a3..efdc0a290e 100644
--- a/services/actions/notifier_helper_test.go
+++ b/services/actions/notifier_helper_test.go
@@ -8,14 +8,14 @@ import (
"errors"
"testing"
- actions_model "gitea.dev/models/actions"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/notify.go b/services/actions/notify.go
index 040ddec98e..7ae7eae9bb 100644
--- a/services/actions/notify.go
+++ b/services/actions/notify.go
@@ -6,9 +6,9 @@ package actions
import (
"context"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/log"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/log"
+ notify_service "gotea.dev/services/notify"
)
// NotifyWorkflowJobsAndRunsStatusUpdate notifies status changes for a batch of jobs and the runs they affect.
diff --git a/services/actions/permission_parser.go b/services/actions/permission_parser.go
index 2e35815e06..5e1bcebd62 100644
--- a/services/actions/permission_parser.go
+++ b/services/actions/permission_parser.go
@@ -4,11 +4,11 @@
package actions
import (
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/setting"
"go.yaml.in/yaml/v4"
)
diff --git a/services/actions/permission_parser_test.go b/services/actions/permission_parser_test.go
index e2e6990b00..b9d94fd9e0 100644
--- a/services/actions/permission_parser_test.go
+++ b/services/actions/permission_parser_test.go
@@ -6,10 +6,10 @@ package actions
import (
"testing"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/actions/jobparser"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/actions/jobparser"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/rerun.go b/services/actions/rerun.go
index 19b331652a..3bfd6f775c 100644
--- a/services/actions/rerun.go
+++ b/services/actions/rerun.go
@@ -9,15 +9,15 @@ import (
"slices"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/services/actions/rerun_test.go b/services/actions/rerun_test.go
index 4c7383ba1f..244b0decef 100644
--- a/services/actions/rerun_test.go
+++ b/services/actions/rerun_test.go
@@ -6,13 +6,13 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/reusable_workflow.go b/services/actions/reusable_workflow.go
index c9cd13c0e4..03493d76f3 100644
--- a/services/actions/reusable_workflow.go
+++ b/services/actions/reusable_workflow.go
@@ -10,23 +10,23 @@ import (
"strings"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/convert"
"go.yaml.in/yaml/v4"
"xorm.io/builder"
diff --git a/services/actions/reusable_workflow_test.go b/services/actions/reusable_workflow_test.go
index 41a33d6564..9a0054b06d 100644
--- a/services/actions/reusable_workflow_test.go
+++ b/services/actions/reusable_workflow_test.go
@@ -8,15 +8,15 @@ import (
"testing"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/run.go b/services/actions/run.go
index d095769486..7b5aaac886 100644
--- a/services/actions/run.go
+++ b/services/actions/run.go
@@ -8,11 +8,11 @@ import (
"fmt"
act_model "gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/services/actions/schedule_tasks.go b/services/actions/schedule_tasks.go
index 0656767c98..7e06f8359f 100644
--- a/services/actions/schedule_tasks.go
+++ b/services/actions/schedule_tasks.go
@@ -9,19 +9,19 @@ import (
"maps"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/convert"
"xorm.io/builder"
)
diff --git a/services/actions/schedule_tasks_test.go b/services/actions/schedule_tasks_test.go
index 1bfb60ff68..4b1873e73c 100644
--- a/services/actions/schedule_tasks_test.go
+++ b/services/actions/schedule_tasks_test.go
@@ -7,13 +7,13 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/scoped_workflow_cache.go b/services/actions/scoped_workflow_cache.go
index debbc92d49..79bffcc024 100644
--- a/services/actions/scoped_workflow_cache.go
+++ b/services/actions/scoped_workflow_cache.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
lru "github.com/hashicorp/golang-lru/v2"
)
diff --git a/services/actions/task.go b/services/actions/task.go
index b0794ade76..7da822a417 100644
--- a/services/actions/task.go
+++ b/services/actions/task.go
@@ -11,13 +11,13 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- secret_model "gitea.dev/models/secret"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ secret_model "gotea.dev/models/secret"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"go.yaml.in/yaml/v4"
"google.golang.org/protobuf/types/known/structpb"
diff --git a/services/actions/task_test.go b/services/actions/task_test.go
index 89786ec608..a63823ff53 100644
--- a/services/actions/task_test.go
+++ b/services/actions/task_test.go
@@ -6,10 +6,10 @@ package actions
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/actions/jobparser"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/actions/jobparser"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/actions/variables.go b/services/actions/variables.go
index 811a512d25..596624abd2 100644
--- a/services/actions/variables.go
+++ b/services/actions/variables.go
@@ -6,9 +6,9 @@ package actions
import (
"context"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/modules/util"
- secret_service "gitea.dev/services/secrets"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/modules/util"
+ secret_service "gotea.dev/services/secrets"
)
func CreateVariable(ctx context.Context, ownerID, repoID int64, name, data, description string) (*actions_model.ActionVariable, error) {
diff --git a/services/actions/workflow.go b/services/actions/workflow.go
index b02a6dd438..9ab75f81db 100644
--- a/services/actions/workflow.go
+++ b/services/actions/workflow.go
@@ -9,22 +9,22 @@ import (
"gitea.dev/actionslib/pkg/exprparser"
"gitea.dev/actionslib/pkg/model"
- actions_model "gitea.dev/models/actions"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/git"
- "gitea.dev/modules/reqctx"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- gitea_context "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ actions_model "gotea.dev/models/actions"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/reqctx"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ gitea_context "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
func EnableOrDisableWorkflow(ctx *gitea_context.APIContext, workflowID string, isEnable bool) error {
diff --git a/services/agit/agit.go b/services/agit/agit.go
index 34b83c6f41..d2026d88a8 100644
--- a/services/agit/agit.go
+++ b/services/agit/agit.go
@@ -10,18 +10,18 @@ import (
"fmt"
"strings"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
)
const SshInfoJson = `{"type":"agit","version":1}`
diff --git a/services/agit/agit_test.go b/services/agit/agit_test.go
index 81204fc7b7..58d7f596d4 100644
--- a/services/agit/agit_test.go
+++ b/services/agit/agit_test.go
@@ -6,8 +6,8 @@ package agit
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/services/asymkey/commit.go b/services/asymkey/commit.go
index 645c4a9c7f..703b8f22d2 100644
--- a/services/asymkey/commit.go
+++ b/services/asymkey/commit.go
@@ -9,15 +9,15 @@ import (
"slices"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/cachegroup"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/cachegroup"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/42wim/sshsig"
"github.com/ProtonMail/go-crypto/openpgp/packet"
diff --git a/services/asymkey/commit_test.go b/services/asymkey/commit_test.go
index 46e499a30e..dacc58e7fd 100644
--- a/services/asymkey/commit_test.go
+++ b/services/asymkey/commit_test.go
@@ -7,13 +7,13 @@ import (
"strings"
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/asymkey/deploy_key.go b/services/asymkey/deploy_key.go
index 22f30f8a95..8003a76af6 100644
--- a/services/asymkey/deploy_key.go
+++ b/services/asymkey/deploy_key.go
@@ -7,12 +7,12 @@ import (
"context"
"fmt"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/services/audit"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/services/audit"
)
// DeleteRepoDeployKeys deletes all deploy keys of a repository. permissions check should be done outside
diff --git a/services/asymkey/main_test.go b/services/asymkey/main_test.go
index b0e254c51b..49eaf93be5 100644
--- a/services/asymkey/main_test.go
+++ b/services/asymkey/main_test.go
@@ -6,11 +6,11 @@ package asymkey
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
)
func TestMain(m *testing.M) {
diff --git a/services/asymkey/sign.go b/services/asymkey/sign.go
index e95aa3439a..0df4705da6 100644
--- a/services/asymkey/sign.go
+++ b/services/asymkey/sign.go
@@ -9,17 +9,17 @@ import (
"os"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
)
type signingMode string
diff --git a/services/asymkey/sign_test.go b/services/asymkey/sign_test.go
index 06480e8cb1..6f2e53e494 100644
--- a/services/asymkey/sign_test.go
+++ b/services/asymkey/sign_test.go
@@ -6,7 +6,7 @@ package asymkey
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/asymkey/ssh_key.go b/services/asymkey/ssh_key.go
index 8670a027eb..a2ea7824e6 100644
--- a/services/asymkey/ssh_key.go
+++ b/services/asymkey/ssh_key.go
@@ -6,11 +6,11 @@ package asymkey
import (
"context"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/audit"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/audit"
)
// DeletePublicKey deletes SSH key information both in database and authorized_keys file.
diff --git a/services/asymkey/ssh_key_authorized_keys.go b/services/asymkey/ssh_key_authorized_keys.go
index 79b21cbaf8..f0d002f713 100644
--- a/services/asymkey/ssh_key_authorized_keys.go
+++ b/services/asymkey/ssh_key_authorized_keys.go
@@ -10,10 +10,10 @@ import (
"path/filepath"
"time"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// RewriteAllPublicKeys removes any authorized key and rewrite all keys from database again.
diff --git a/services/asymkey/ssh_key_authorized_principals.go b/services/asymkey/ssh_key_authorized_principals.go
index 1a3dfd80e9..fd9b633829 100644
--- a/services/asymkey/ssh_key_authorized_principals.go
+++ b/services/asymkey/ssh_key_authorized_principals.go
@@ -13,11 +13,11 @@ import (
"strings"
"time"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/services/asymkey/ssh_key_principals.go b/services/asymkey/ssh_key_principals.go
index bfa7aa23af..d2855e4aa8 100644
--- a/services/asymkey/ssh_key_principals.go
+++ b/services/asymkey/ssh_key_principals.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
)
// AddPrincipalKey adds new principal to database and authorized_principals file.
diff --git a/services/asymkey/ssh_key_test.go b/services/asymkey/ssh_key_test.go
index 936201e656..6089c86912 100644
--- a/services/asymkey/ssh_key_test.go
+++ b/services/asymkey/ssh_key_test.go
@@ -6,11 +6,11 @@ package asymkey
import (
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/attachment/attachment.go b/services/attachment/attachment.go
index 61b0d7d443..749ae9d294 100644
--- a/services/attachment/attachment.go
+++ b/services/attachment/attachment.go
@@ -12,12 +12,12 @@ import (
"net/http"
"uuid"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
- "gitea.dev/services/context/upload"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context/upload"
)
// NewAttachment creates a new attachment object, but do not verify.
diff --git a/services/attachment/attachment_test.go b/services/attachment/attachment_test.go
index 7df200769b..3ea95c21f0 100644
--- a/services/attachment/attachment_test.go
+++ b/services/attachment/attachment_test.go
@@ -8,11 +8,11 @@ import (
"path/filepath"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/services/audit/actor.go b/services/audit/actor.go
index 0abcea3412..8b232eeb39 100644
--- a/services/audit/actor.go
+++ b/services/audit/actor.go
@@ -6,8 +6,8 @@ package audit
import (
"context"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/web/middleware"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/web/middleware"
)
type doerContextKeyType struct{}
diff --git a/services/audit/audit_test.go b/services/audit/audit_test.go
index a935808bc1..b01f0bb9c0 100644
--- a/services/audit/audit_test.go
+++ b/services/audit/audit_test.go
@@ -7,14 +7,14 @@ import (
"context"
"testing"
- audit_model "gitea.dev/models/audit"
- repository_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web/middleware"
+ audit_model "gotea.dev/models/audit"
+ repository_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web/middleware"
"github.com/stretchr/testify/assert"
)
diff --git a/services/audit/event.go b/services/audit/event.go
index 3700aa1ecc..d0989c8bee 100644
--- a/services/audit/event.go
+++ b/services/audit/event.go
@@ -7,12 +7,12 @@ import (
"context"
"time"
- audit_model "gitea.dev/models/audit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ audit_model "gotea.dev/models/audit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
// RecordParams describes an audit event. Callers (or domain-specific helpers)
diff --git a/services/audit/export.go b/services/audit/export.go
index 263423e78d..674eb37680 100644
--- a/services/audit/export.go
+++ b/services/audit/export.go
@@ -6,8 +6,8 @@ package audit
import (
"io"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/json"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/json"
)
// WriteEventsAsJSON writes one JSON object per line.
diff --git a/services/audit/export_test.go b/services/audit/export_test.go
index b0caf59c59..182a61252f 100644
--- a/services/audit/export_test.go
+++ b/services/audit/export_test.go
@@ -8,11 +8,11 @@ import (
"testing"
"time"
- audit_model "gitea.dev/models/audit"
- repository_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/timeutil"
+ audit_model "gotea.dev/models/audit"
+ repository_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
)
diff --git a/services/audit/main_test.go b/services/audit/main_test.go
index e628abeb51..1611465485 100644
--- a/services/audit/main_test.go
+++ b/services/audit/main_test.go
@@ -6,7 +6,7 @@ package audit
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/audit/message.go b/services/audit/message.go
index 473ea1a806..9964e88bfb 100644
--- a/services/audit/message.go
+++ b/services/audit/message.go
@@ -7,8 +7,8 @@ import (
"fmt"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/modules/log"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/modules/log"
)
// Reserved placeholders, filled from the event itself rather than from metadata.
diff --git a/services/audit/notifier.go b/services/audit/notifier.go
index 6ac925c620..d21d90b40a 100644
--- a/services/audit/notifier.go
+++ b/services/audit/notifier.go
@@ -7,12 +7,12 @@ import (
"context"
"fmt"
- audit_model "gitea.dev/models/audit"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- notify_service "gitea.dev/services/notify"
+ audit_model "gotea.dev/models/audit"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ notify_service "gotea.dev/services/notify"
)
func init() {
diff --git a/services/audit/notifier_test.go b/services/audit/notifier_test.go
index 451322dbbf..c0a2119236 100644
--- a/services/audit/notifier_test.go
+++ b/services/audit/notifier_test.go
@@ -6,14 +6,14 @@ package audit
import (
"testing"
- audit_model "gitea.dev/models/audit"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ audit_model "gotea.dev/models/audit"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/audit/refs.go b/services/audit/refs.go
index f88ea20d91..3a11edfcfd 100644
--- a/services/audit/refs.go
+++ b/services/audit/refs.go
@@ -6,11 +6,11 @@ package audit
import (
"context"
- audit_model "gitea.dev/models/audit"
- repository_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ audit_model "gotea.dev/models/audit"
+ repository_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// actorRef builds the actor reference of an event. An unresolvable actor means
diff --git a/services/audit/scoped.go b/services/audit/scoped.go
index 474eec7431..d4504137ed 100644
--- a/services/audit/scoped.go
+++ b/services/audit/scoped.go
@@ -6,10 +6,10 @@ package audit
import (
"context"
- audit_model "gitea.dev/models/audit"
- repository_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ audit_model "gotea.dev/models/audit"
+ repository_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
)
// ScopedActions holds the action variants for a resource that can be owned by a
diff --git a/services/audit/scoped_test.go b/services/audit/scoped_test.go
index 8c8f569920..47f5fca198 100644
--- a/services/audit/scoped_test.go
+++ b/services/audit/scoped_test.go
@@ -6,9 +6,9 @@ package audit
import (
"testing"
- audit_model "gitea.dev/models/audit"
- repository_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
+ audit_model "gotea.dev/models/audit"
+ repository_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/auth/auth.go b/services/auth/auth.go
index 050ecb0e6f..6d18acd6fc 100644
--- a/services/auth/auth.go
+++ b/services/auth/auth.go
@@ -9,13 +9,13 @@ import (
"fmt"
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/webauthn"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/session"
- "gitea.dev/modules/web/middleware"
- user_service "gitea.dev/services/user"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/webauthn"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/web/middleware"
+ user_service "gotea.dev/services/user"
)
type ErrUserAuthMessage string
diff --git a/services/auth/auth_token.go b/services/auth/auth_token.go
index a68f0f26b6..f2d277ef26 100644
--- a/services/auth/auth_token.go
+++ b/services/auth/auth_token.go
@@ -11,10 +11,10 @@ import (
"strings"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
// Based on https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence#secure-remember-me-cookies
diff --git a/services/auth/auth_token_test.go b/services/auth/auth_token_test.go
index 86e04be5e0..08ec171a46 100644
--- a/services/auth/auth_token_test.go
+++ b/services/auth/auth_token_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/basic.go b/services/auth/basic.go
index 593a44fb28..1bb9e14a43 100644
--- a/services/auth/basic.go
+++ b/services/auth/basic.go
@@ -8,16 +8,16 @@ import (
"errors"
"net/http"
- actions_model "gitea.dev/models/actions"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/httpauth"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
+ actions_model "gotea.dev/models/actions"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/httpauth"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
)
// Ensure the struct implements the interface.
diff --git a/services/auth/credential.go b/services/auth/credential.go
index 381507e7cc..9025209f7e 100644
--- a/services/auth/credential.go
+++ b/services/auth/credential.go
@@ -6,7 +6,7 @@ package auth
import (
"strconv"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/web/middleware"
)
// Credential kinds naming how a request authenticated, recorded so an audit
diff --git a/services/auth/deploy_token.go b/services/auth/deploy_token.go
index bbe76e557a..fef4c6f200 100644
--- a/services/auth/deploy_token.go
+++ b/services/auth/deploy_token.go
@@ -6,9 +6,9 @@ package auth
import (
"net/http"
- deploykey_model "gitea.dev/models/deploykey"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ deploykey_model "gotea.dev/models/deploykey"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
)
var _ Method = &DeployToken{}
diff --git a/services/auth/group.go b/services/auth/group.go
index d9c2d74460..45de065ac8 100644
--- a/services/auth/group.go
+++ b/services/auth/group.go
@@ -7,7 +7,7 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
+ user_model "gotea.dev/models/user"
)
// Ensure the struct implements the interface.
diff --git a/services/auth/httpsign.go b/services/auth/httpsign.go
index c6048b2de7..1dccf7f623 100644
--- a/services/auth/httpsign.go
+++ b/services/auth/httpsign.go
@@ -11,11 +11,11 @@ import (
"net/http"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/42wim/httpsig"
"golang.org/x/crypto/ssh"
diff --git a/services/auth/impersonate.go b/services/auth/impersonate.go
index 514072733a..5428c1725e 100644
--- a/services/auth/impersonate.go
+++ b/services/auth/impersonate.go
@@ -7,8 +7,8 @@ import (
"errors"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
)
func ImpersonateUser(sess SessionStore, u *user_model.User) error {
diff --git a/services/auth/interface.go b/services/auth/interface.go
index 30012fda5f..7b358d69a7 100644
--- a/services/auth/interface.go
+++ b/services/auth/interface.go
@@ -7,9 +7,9 @@ import (
"context"
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/session"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/session"
)
type DataStore = reqctx.ContextDataProvider
diff --git a/services/auth/main_test.go b/services/auth/main_test.go
index fd7d07d17c..81432589cc 100644
--- a/services/auth/main_test.go
+++ b/services/auth/main_test.go
@@ -6,7 +6,7 @@ package auth
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/auth/oauth2.go b/services/auth/oauth2.go
index 2fa3ba2a34..bb738c4362 100644
--- a/services/auth/oauth2.go
+++ b/services/auth/oauth2.go
@@ -11,16 +11,16 @@ import (
"strings"
"time"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/httpauth"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/actions"
- "gitea.dev/services/oauth2_provider"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/httpauth"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/actions"
+ "gotea.dev/services/oauth2_provider"
)
var _ Method = &OAuth2{}
diff --git a/services/auth/oauth2_test.go b/services/auth/oauth2_test.go
index 511bee7d21..fb5c529272 100644
--- a/services/auth/oauth2_test.go
+++ b/services/auth/oauth2_test.go
@@ -6,10 +6,10 @@ package auth
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/reqctx"
- "gitea.dev/services/actions"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/services/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/reverseproxy.go b/services/auth/reverseproxy.go
index 7d3e7edd8d..8aa0b9bc5d 100644
--- a/services/auth/reverseproxy.go
+++ b/services/auth/reverseproxy.go
@@ -9,13 +9,13 @@ import (
"strings"
"uuid"
- audit_model "gitea.dev/models/audit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/audit"
)
// Ensure the struct implements the interface.
diff --git a/services/auth/reverseproxy_test.go b/services/auth/reverseproxy_test.go
index 0f9d7f2746..cb930a40a3 100644
--- a/services/auth/reverseproxy_test.go
+++ b/services/auth/reverseproxy_test.go
@@ -7,12 +7,12 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/session.go b/services/auth/session.go
index 8cb83dfa9d..8004625596 100644
--- a/services/auth/session.go
+++ b/services/auth/session.go
@@ -6,9 +6,9 @@ package auth
import (
"net/http"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/session"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/session"
)
// Ensure the struct implements the interface.
diff --git a/services/auth/session_test.go b/services/auth/session_test.go
index 27db1d505f..789c3bb77c 100644
--- a/services/auth/session_test.go
+++ b/services/auth/session_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/signin.go b/services/auth/signin.go
index 9264e20216..657aca09db 100644
--- a/services/auth/signin.go
+++ b/services/auth/signin.go
@@ -7,18 +7,18 @@ import (
"context"
"strings"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/auth/source/smtp"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/auth/source/smtp"
- _ "gitea.dev/services/auth/source/db" // register the sources (and below)
- _ "gitea.dev/services/auth/source/ldap" // register the ldap source
- _ "gitea.dev/services/auth/source/pam" // register the pam source
- _ "gitea.dev/services/auth/source/sspi" // register the sspi source
+ _ "gotea.dev/services/auth/source/db" // register the sources (and below)
+ _ "gotea.dev/services/auth/source/ldap" // register the ldap source
+ _ "gotea.dev/services/auth/source/pam" // register the pam source
+ _ "gotea.dev/services/auth/source/sspi" // register the sspi source
"xorm.io/builder"
)
diff --git a/services/auth/signin_test.go b/services/auth/signin_test.go
index ed2acf364b..26b30c049e 100644
--- a/services/auth/signin_test.go
+++ b/services/auth/signin_test.go
@@ -7,10 +7,10 @@ import (
"context"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/source.go b/services/auth/source.go
index 5c1335e9e3..447a16180d 100644
--- a/services/auth/source.go
+++ b/services/auth/source.go
@@ -6,11 +6,11 @@ package auth
import (
"context"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/audit"
)
// CreateSource creates a AuthSource record in DB.
diff --git a/services/auth/source/db/assert_interface_test.go b/services/auth/source/db/assert_interface_test.go
index 413d5d476b..350e12e7a3 100644
--- a/services/auth/source/db/assert_interface_test.go
+++ b/services/auth/source/db/assert_interface_test.go
@@ -4,9 +4,9 @@
package db_test
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/db"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/db"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/db/authenticate.go b/services/auth/source/db/authenticate.go
index 4029159abe..0167443215 100644
--- a/services/auth/source/db/authenticate.go
+++ b/services/auth/source/db/authenticate.go
@@ -7,9 +7,9 @@ import (
"context"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// ErrUserPasswordNotSet represents a "ErrUserPasswordNotSet" kind of error.
diff --git a/services/auth/source/db/source.go b/services/auth/source/db/source.go
index 2dfcfdec85..74600c1a21 100644
--- a/services/auth/source/db/source.go
+++ b/services/auth/source/db/source.go
@@ -6,8 +6,8 @@ package db
import (
"context"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
)
// Source is a password authentication service
diff --git a/services/auth/source/ldap/assert_interface_test.go b/services/auth/source/ldap/assert_interface_test.go
index a5e1ab6bef..b96486a4b5 100644
--- a/services/auth/source/ldap/assert_interface_test.go
+++ b/services/auth/source/ldap/assert_interface_test.go
@@ -4,9 +4,9 @@
package ldap_test
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/ldap"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/ldap"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/ldap/source.go b/services/auth/source/ldap/source.go
index 8e6f878bbe..53f40b32ec 100644
--- a/services/auth/source/ldap/source.go
+++ b/services/auth/source/ldap/source.go
@@ -6,11 +6,11 @@ package ldap
import (
"strings"
- "gitea.dev/models/auth"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
)
// .____ ________ _____ __________
diff --git a/services/auth/source/ldap/source_authenticate.go b/services/auth/source/ldap/source_authenticate.go
index c20ba13803..0e81b3560a 100644
--- a/services/auth/source/ldap/source_authenticate.go
+++ b/services/auth/source/ldap/source_authenticate.go
@@ -7,17 +7,17 @@ import (
"context"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- auth_module "gitea.dev/modules/auth"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- source_service "gitea.dev/services/auth/source"
- user_service "gitea.dev/services/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ auth_module "gotea.dev/modules/auth"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ source_service "gotea.dev/services/auth/source"
+ user_service "gotea.dev/services/user"
)
// Authenticate queries if login/password is valid against the LDAP directory pool,
diff --git a/services/auth/source/ldap/source_search.go b/services/auth/source/ldap/source_search.go
index 52aec7563f..fdc4194c46 100644
--- a/services/auth/source/ldap/source_search.go
+++ b/services/auth/source/ldap/source_search.go
@@ -11,8 +11,8 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
"github.com/go-ldap/ldap/v3"
)
diff --git a/services/auth/source/ldap/source_sync.go b/services/auth/source/ldap/source_sync.go
index 98af9eb6e9..d4cedb8667 100644
--- a/services/auth/source/ldap/source_sync.go
+++ b/services/auth/source/ldap/source_sync.go
@@ -7,19 +7,19 @@ import (
"context"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- auth_module "gitea.dev/modules/auth"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- source_service "gitea.dev/services/auth/source"
- user_service "gitea.dev/services/user"
+ asymkey_model "gotea.dev/models/asymkey"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ auth_module "gotea.dev/modules/auth"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ source_service "gotea.dev/services/auth/source"
+ user_service "gotea.dev/services/user"
)
// Sync causes this ldap source to synchronize its users with the db
diff --git a/services/auth/source/oauth2/assert_interface_test.go b/services/auth/source/oauth2/assert_interface_test.go
index fd64a08c76..ccf00c311a 100644
--- a/services/auth/source/oauth2/assert_interface_test.go
+++ b/services/auth/source/oauth2/assert_interface_test.go
@@ -4,9 +4,9 @@
package oauth2_test
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/oauth2"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/oauth2"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/oauth2/init.go b/services/auth/source/oauth2/init.go
index 1a15972a68..cc83258e1d 100644
--- a/services/auth/source/oauth2/init.go
+++ b/services/auth/source/oauth2/init.go
@@ -10,11 +10,11 @@ import (
"sync"
"uuid"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
"github.com/gorilla/sessions"
"github.com/markbates/goth/gothic"
diff --git a/services/auth/source/oauth2/main_test.go b/services/auth/source/oauth2/main_test.go
index 5d75c4d1e5..90f37cc1e9 100644
--- a/services/auth/source/oauth2/main_test.go
+++ b/services/auth/source/oauth2/main_test.go
@@ -6,7 +6,7 @@ package oauth2
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/auth/source/oauth2/providers.go b/services/auth/source/oauth2/providers.go
index a0cb886b69..f9829c74ab 100644
--- a/services/auth/source/oauth2/providers.go
+++ b/services/auth/source/oauth2/providers.go
@@ -13,11 +13,11 @@ import (
"slices"
"sort"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
"github.com/markbates/goth"
"github.com/markbates/goth/providers/openidConnect"
diff --git a/services/auth/source/oauth2/providers_base.go b/services/auth/source/oauth2/providers_base.go
index bccea99ffa..f2cdf8d2ab 100644
--- a/services/auth/source/oauth2/providers_base.go
+++ b/services/auth/source/oauth2/providers_base.go
@@ -6,8 +6,8 @@ package oauth2
import (
"html/template"
- "gitea.dev/modules/log"
- "gitea.dev/modules/svg"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/svg"
)
// BaseProvider represents a common base for Provider
diff --git a/services/auth/source/oauth2/providers_custom.go b/services/auth/source/oauth2/providers_custom.go
index e9e8df02ea..14a49397a7 100644
--- a/services/auth/source/oauth2/providers_custom.go
+++ b/services/auth/source/oauth2/providers_custom.go
@@ -4,7 +4,7 @@
package oauth2
import (
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/markbates/goth"
"github.com/markbates/goth/providers/azureadv2"
diff --git a/services/auth/source/oauth2/providers_openid.go b/services/auth/source/oauth2/providers_openid.go
index 74bfa1acd4..1ea39b035b 100644
--- a/services/auth/source/oauth2/providers_openid.go
+++ b/services/auth/source/oauth2/providers_openid.go
@@ -6,9 +6,9 @@ package oauth2
import (
"html/template"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
"github.com/markbates/goth"
"github.com/markbates/goth/providers/openidConnect"
diff --git a/services/auth/source/oauth2/providers_simple.go b/services/auth/source/oauth2/providers_simple.go
index a9052da1c5..66e448ca9c 100644
--- a/services/auth/source/oauth2/providers_simple.go
+++ b/services/auth/source/oauth2/providers_simple.go
@@ -4,7 +4,7 @@
package oauth2
import (
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/markbates/goth"
"github.com/markbates/goth/providers/azuread"
diff --git a/services/auth/source/oauth2/source.go b/services/auth/source/oauth2/source.go
index da7f61200c..59eac11587 100644
--- a/services/auth/source/oauth2/source.go
+++ b/services/auth/source/oauth2/source.go
@@ -4,8 +4,8 @@
package oauth2
import (
- "gitea.dev/models/auth"
- "gitea.dev/modules/json"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/json"
)
// Source holds configuration for the OAuth2 login source.
diff --git a/services/auth/source/oauth2/source_authenticate.go b/services/auth/source/oauth2/source_authenticate.go
index ca523806f4..bcea267692 100644
--- a/services/auth/source/oauth2/source_authenticate.go
+++ b/services/auth/source/oauth2/source_authenticate.go
@@ -6,8 +6,8 @@ package oauth2
import (
"context"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/auth/source/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/auth/source/db"
)
// Authenticate falls back to the db authenticator
diff --git a/services/auth/source/oauth2/source_sync.go b/services/auth/source/oauth2/source_sync.go
index 3827e81633..5f2e396ca9 100644
--- a/services/auth/source/oauth2/source_sync.go
+++ b/services/auth/source/oauth2/source_sync.go
@@ -7,10 +7,10 @@ import (
"context"
"time"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
"github.com/markbates/goth"
"golang.org/x/oauth2"
diff --git a/services/auth/source/oauth2/source_sync_test.go b/services/auth/source/oauth2/source_sync_test.go
index 888ca55e50..56af72a185 100644
--- a/services/auth/source/oauth2/source_sync_test.go
+++ b/services/auth/source/oauth2/source_sync_test.go
@@ -6,9 +6,9 @@ package oauth2
import (
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/auth/source/oauth2/store.go b/services/auth/source/oauth2/store.go
index 28a394a230..9d847b1490 100644
--- a/services/auth/source/oauth2/store.go
+++ b/services/auth/source/oauth2/store.go
@@ -8,8 +8,8 @@ import (
"fmt"
"net/http"
- "gitea.dev/modules/log"
- session_module "gitea.dev/modules/session"
+ "gotea.dev/modules/log"
+ session_module "gotea.dev/modules/session"
"github.com/gorilla/sessions"
)
diff --git a/services/auth/source/pam/assert_interface_test.go b/services/auth/source/pam/assert_interface_test.go
index ee93a5bc9b..4aec2f1b94 100644
--- a/services/auth/source/pam/assert_interface_test.go
+++ b/services/auth/source/pam/assert_interface_test.go
@@ -4,9 +4,9 @@
package pam_test
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/pam"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/pam"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/pam/source.go b/services/auth/source/pam/source.go
index 3f782e73cf..c65b5dd020 100644
--- a/services/auth/source/pam/source.go
+++ b/services/auth/source/pam/source.go
@@ -4,8 +4,8 @@
package pam
import (
- "gitea.dev/models/auth"
- "gitea.dev/modules/json"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/json"
)
// __________ _____ _____
diff --git a/services/auth/source/pam/source_authenticate.go b/services/auth/source/pam/source_authenticate.go
index 4c21b5cd38..757913bbb9 100644
--- a/services/auth/source/pam/source_authenticate.go
+++ b/services/auth/source/pam/source_authenticate.go
@@ -9,13 +9,13 @@ import (
"strings"
"uuid"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/pam"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/pam"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/audit"
)
// Authenticate queries if login/password is valid against the PAM,
diff --git a/services/auth/source/smtp/assert_interface_test.go b/services/auth/source/smtp/assert_interface_test.go
index fe33cf8996..8b16cddcf9 100644
--- a/services/auth/source/smtp/assert_interface_test.go
+++ b/services/auth/source/smtp/assert_interface_test.go
@@ -4,9 +4,9 @@
package smtp_test
import (
- auth_model "gitea.dev/models/auth"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/smtp"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/smtp"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/smtp/source.go b/services/auth/source/smtp/source.go
index 13b4668e9d..abeac67fbb 100644
--- a/services/auth/source/smtp/source.go
+++ b/services/auth/source/smtp/source.go
@@ -4,8 +4,8 @@
package smtp
import (
- "gitea.dev/models/auth"
- "gitea.dev/modules/json"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/json"
)
// _________ __________________________
diff --git a/services/auth/source/smtp/source_authenticate.go b/services/auth/source/smtp/source_authenticate.go
index e306691eac..62d3a5aced 100644
--- a/services/auth/source/smtp/source_authenticate.go
+++ b/services/auth/source/smtp/source_authenticate.go
@@ -10,12 +10,12 @@ import (
"net/textproto"
"strings"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
)
// Authenticate queries if the provided login/password is authenticates against the SMTP server
diff --git a/services/auth/source/source_group_sync.go b/services/auth/source/source_group_sync.go
index fd25ec29f4..ae0ca9c695 100644
--- a/services/auth/source/source_group_sync.go
+++ b/services/auth/source/source_group_sync.go
@@ -8,12 +8,12 @@ import (
"fmt"
"strings"
- "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/services/audit"
- org_service "gitea.dev/services/org"
+ "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/audit"
+ org_service "gotea.dev/services/org"
)
type syncType int
diff --git a/services/auth/source/source_group_sync_test.go b/services/auth/source/source_group_sync_test.go
index e6e6fc78fe..e2554662c0 100644
--- a/services/auth/source/source_group_sync_test.go
+++ b/services/auth/source/source_group_sync_test.go
@@ -6,11 +6,11 @@ package source
import (
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- org_service "gitea.dev/services/org"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ org_service "gotea.dev/services/org"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/auth/source/sspi/assert_interface_test.go b/services/auth/source/sspi/assert_interface_test.go
index 581ea1a807..d1f4124ea4 100644
--- a/services/auth/source/sspi/assert_interface_test.go
+++ b/services/auth/source/sspi/assert_interface_test.go
@@ -4,8 +4,8 @@
package sspi_test
import (
- "gitea.dev/models/auth"
- "gitea.dev/services/auth/source/sspi"
+ "gotea.dev/models/auth"
+ "gotea.dev/services/auth/source/sspi"
)
// This test file exists to assert that our Source exposes the interfaces that we expect
diff --git a/services/auth/source/sspi/source.go b/services/auth/source/sspi/source.go
index 267c269de6..fb7acc3719 100644
--- a/services/auth/source/sspi/source.go
+++ b/services/auth/source/sspi/source.go
@@ -4,8 +4,8 @@
package sspi
import (
- "gitea.dev/models/auth"
- "gitea.dev/modules/json"
+ "gotea.dev/models/auth"
+ "gotea.dev/modules/json"
)
// _________ ___________________.___
diff --git a/services/auth/sspi.go b/services/auth/sspi.go
index 26ea642d50..554b083edf 100644
--- a/services/auth/sspi.go
+++ b/services/auth/sspi.go
@@ -11,17 +11,17 @@ import (
"sync"
"uuid"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/services/audit"
- "gitea.dev/services/auth/source/sspi"
- gitea_context "gitea.dev/services/context"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/services/audit"
+ "gotea.dev/services/auth/source/sspi"
+ gitea_context "gotea.dev/services/context"
)
const (
diff --git a/services/auth/sync.go b/services/auth/sync.go
index 0d95c174bb..1818a979b9 100644
--- a/services/auth/sync.go
+++ b/services/auth/sync.go
@@ -6,9 +6,9 @@ package auth
import (
"context"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
)
// SyncExternalUsers is used to synchronize users with external authorization source
diff --git a/services/automerge/automerge.go b/services/automerge/automerge.go
index 36ce6caf27..874099d6d6 100644
--- a/services/automerge/automerge.go
+++ b/services/automerge/automerge.go
@@ -11,23 +11,23 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/timeutil"
- "gitea.dev/services/automergequeue"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/services/automergequeue"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
// Init runs the task queue to that handles auto merges
diff --git a/services/automerge/notify.go b/services/automerge/notify.go
index 02ca025f60..20541a7478 100644
--- a/services/automerge/notify.go
+++ b/services/automerge/notify.go
@@ -6,15 +6,15 @@ package automerge
import (
"context"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/services/automergequeue"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/services/automergequeue"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
)
type automergeNotifier struct {
diff --git a/services/automergequeue/automergequeue.go b/services/automergequeue/automergequeue.go
index f0b99cd45d..9fc307bc09 100644
--- a/services/automergequeue/automergequeue.go
+++ b/services/automergequeue/automergequeue.go
@@ -8,10 +8,10 @@ import (
"errors"
"strconv"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
)
// AutoMergeItem is for the unique queue, so the item type can't be JSON which doesn't have deterministic key order.
diff --git a/services/context/access_log.go b/services/context/access_log.go
index e22bc5896b..5d2a9082ca 100644
--- a/services/context/access_log.go
+++ b/services/context/access_log.go
@@ -11,11 +11,11 @@ import (
"time"
"unicode"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web/middleware"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web/middleware"
)
type accessLoggerTmplData struct {
diff --git a/services/context/access_log_test.go b/services/context/access_log_test.go
index 3be2e696f8..c15acbb635 100644
--- a/services/context/access_log_test.go
+++ b/services/context/access_log_test.go
@@ -10,8 +10,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/api.go b/services/context/api.go
index 5affd8b277..bffffc7490 100644
--- a/services/context/api.go
+++ b/services/context/api.go
@@ -13,20 +13,20 @@ import (
"strconv"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/paginator"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- web_types "gitea.dev/modules/web/types"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/paginator"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ web_types "gotea.dev/modules/web/types"
)
// APIContext is a specific context for API service
diff --git a/services/context/api_org.go b/services/context/api_org.go
index f9d2633d0e..45a55f7362 100644
--- a/services/context/api_org.go
+++ b/services/context/api_org.go
@@ -3,7 +3,7 @@
package context
-import "gitea.dev/models/organization"
+import "gotea.dev/models/organization"
// APIOrganization contains organization and team
type APIOrganization struct {
diff --git a/services/context/api_test.go b/services/context/api_test.go
index 8a628d4db2..4e28597549 100644
--- a/services/context/api_test.go
+++ b/services/context/api_test.go
@@ -8,7 +8,7 @@ import (
"strconv"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/base.go b/services/context/base.go
index 86912ddf8a..28bfc28d53 100644
--- a/services/context/base.go
+++ b/services/context/base.go
@@ -12,14 +12,14 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/middleware"
)
type BaseContextKeyType struct{}
diff --git a/services/context/base_form.go b/services/context/base_form.go
index 840a78f117..9f4ca36e33 100644
--- a/services/context/base_form.go
+++ b/services/context/base_form.go
@@ -7,9 +7,9 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/base"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
)
// FormString returns the first value matching the provided key in the form as a string
diff --git a/services/context/base_path.go b/services/context/base_path.go
index 9508190c0c..6300214b1d 100644
--- a/services/context/base_path.go
+++ b/services/context/base_path.go
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/go-chi/chi/v5"
)
diff --git a/services/context/base_test.go b/services/context/base_test.go
index 583e123888..c889325991 100644
--- a/services/context/base_test.go
+++ b/services/context/base_test.go
@@ -9,7 +9,7 @@ import (
"os"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/captcha.go b/services/context/captcha.go
index 14589507aa..81c88c7aed 100644
--- a/services/context/captcha.go
+++ b/services/context/captcha.go
@@ -8,14 +8,14 @@ import (
"image/color"
"sync"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/hcaptcha"
- "gitea.dev/modules/log"
- "gitea.dev/modules/mcaptcha"
- "gitea.dev/modules/recaptcha"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/turnstile"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/hcaptcha"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/mcaptcha"
+ "gotea.dev/modules/recaptcha"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/turnstile"
"gitea.com/go-chi/captcha"
)
diff --git a/services/context/context.go b/services/context/context.go
index 61e91bfe8d..281270b3b3 100644
--- a/services/context/context.go
+++ b/services/context/context.go
@@ -13,22 +13,22 @@ import (
"net/url"
"strings"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/session"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- web_types "gitea.dev/modules/web/types"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ web_types "gotea.dev/modules/web/types"
)
// Render represents a template render
diff --git a/services/context/context_cookie.go b/services/context/context_cookie.go
index af1ebe91ba..036a676bdc 100644
--- a/services/context/context_cookie.go
+++ b/services/context/context_cookie.go
@@ -7,8 +7,8 @@ import (
"net/http"
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/web/middleware"
)
const CookieNameFlash = "gitea_flash"
diff --git a/services/context/context_response.go b/services/context/context_response.go
index d98500da78..291946f5a7 100644
--- a/services/context/context_response.go
+++ b/services/context/context_response.go
@@ -14,14 +14,14 @@ import (
"strings"
"time"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web/middleware"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web/middleware"
)
// RedirectToUser redirect to a differently-named user
diff --git a/services/context/context_template.go b/services/context/context_template.go
index 18ecede322..60e25f3452 100644
--- a/services/context/context_template.go
+++ b/services/context/context_template.go
@@ -12,14 +12,14 @@ import (
"strings"
"time"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/public"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/webtheme"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/webtheme"
)
type TemplateContext map[string]any
diff --git a/services/context/context_test.go b/services/context/context_test.go
index 8944f8c819..f01067be46 100644
--- a/services/context/context_test.go
+++ b/services/context/context_test.go
@@ -11,9 +11,9 @@ import (
"strings"
"testing"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/org.go b/services/context/org.go
index b0bb03bfa7..b118096e4c 100644
--- a/services/context/org.go
+++ b/services/context/org.go
@@ -7,14 +7,14 @@ package context
import (
"strings"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
)
// Organization contains organization context
diff --git a/services/context/package.go b/services/context/package.go
index 977953cefb..d0dbe3b01f 100644
--- a/services/context/package.go
+++ b/services/context/package.go
@@ -8,13 +8,13 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
)
// Package contains owner, access mode and optional the package descriptor
diff --git a/services/context/package_test.go b/services/context/package_test.go
index 2b0dfd923e..e522944ef2 100644
--- a/services/context/package_test.go
+++ b/services/context/package_test.go
@@ -6,9 +6,9 @@ package context
import (
"testing"
- "gitea.dev/models/perm"
- "gitea.dev/models/user"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/pagination.go b/services/context/pagination.go
index fb2eadedda..16052f8b60 100644
--- a/services/context/pagination.go
+++ b/services/context/pagination.go
@@ -12,9 +12,9 @@ import (
"slices"
"strings"
- "gitea.dev/modules/container"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/paginator"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/paginator"
)
type PagerBuilder struct {
diff --git a/services/context/pagination_test.go b/services/context/pagination_test.go
index 8de650f595..c915aee078 100644
--- a/services/context/pagination_test.go
+++ b/services/context/pagination_test.go
@@ -7,7 +7,7 @@ import (
"net/url"
"testing"
- "gitea.dev/modules/container"
+ "gotea.dev/modules/container"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/permission.go b/services/context/permission.go
index 9796346168..19cc8cf8b1 100644
--- a/services/context/permission.go
+++ b/services/context/permission.go
@@ -8,9 +8,9 @@ import (
"net/http"
"slices"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
)
// isOwnerHidden reports whether repo's owner is not publicly visible (a limited or private owner), so
diff --git a/services/context/private.go b/services/context/private.go
index 49b0d9b97c..c43a9547ee 100644
--- a/services/context/private.go
+++ b/services/context/private.go
@@ -9,14 +9,14 @@ import (
"net/http"
"time"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/private"
- "gitea.dev/modules/process"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/web"
- web_types "gitea.dev/modules/web/types"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/private"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/web"
+ web_types "gotea.dev/modules/web/types"
)
// PrivateContext represents a context for private routes
diff --git a/services/context/repo.go b/services/context/repo.go
index a4c8f89f2f..a24662d8a9 100644
--- a/services/context/repo.go
+++ b/services/context/repo.go
@@ -15,26 +15,26 @@ import (
"path"
"strings"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/cachegroup"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/cachegroup"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
"github.com/editorconfig/editorconfig-core-go/v2"
)
diff --git a/services/context/repo_test.go b/services/context/repo_test.go
index afdfa760a9..b69e713a34 100644
--- a/services/context/repo_test.go
+++ b/services/context/repo_test.go
@@ -6,9 +6,9 @@ package context
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/context/response.go b/services/context/response.go
index eb5ddaf80a..fb1d68cb77 100644
--- a/services/context/response.go
+++ b/services/context/response.go
@@ -8,7 +8,7 @@ import (
"net"
"net/http"
- web_types "gitea.dev/modules/web/types"
+ web_types "gotea.dev/modules/web/types"
)
// ResponseWriter represents a response writer for HTTP
diff --git a/services/context/upload/upload.go b/services/context/upload/upload.go
index 922501ebb2..ee0141a464 100644
--- a/services/context/upload/upload.go
+++ b/services/context/upload/upload.go
@@ -11,12 +11,12 @@ import (
"regexp"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
)
// ErrFileTypeForbidden not allowed file type error
diff --git a/services/context/user.go b/services/context/user.go
index 90b72c0470..8df0b8af13 100644
--- a/services/context/user.go
+++ b/services/context/user.go
@@ -8,8 +8,8 @@ import (
"net/http"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/session"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/session"
)
// UserAssignmentWeb returns a middleware to handle context-user assignment for web routes
diff --git a/services/contexttest/context_tests.go b/services/contexttest/context_tests.go
index 41cf9eaaf8..d130cb0345 100644
--- a/services/contexttest/context_tests.go
+++ b/services/contexttest/context_tests.go
@@ -15,18 +15,18 @@ import (
"testing"
"time"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- git_module "gitea.dev/modules/git"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/session"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/context"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ git_module "gotea.dev/modules/git"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/session"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/context"
"github.com/go-chi/chi/v5"
"github.com/stretchr/testify/assert"
diff --git a/services/convert/action_test.go b/services/convert/action_test.go
index 2b47f1d369..7576e42ca2 100644
--- a/services/convert/action_test.go
+++ b/services/convert/action_test.go
@@ -8,14 +8,14 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- db "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/util"
+ actions_model "gotea.dev/models/actions"
+ db "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/convert/activity.go b/services/convert/activity.go
index 3adaf9039e..fff7ca9186 100644
--- a/services/convert/activity.go
+++ b/services/convert/activity.go
@@ -6,12 +6,12 @@ package convert
import (
"context"
- activities_model "gitea.dev/models/activities"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
+ activities_model "gotea.dev/models/activities"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
)
func ToActivity(ctx context.Context, ac *activities_model.Action, doer *user_model.User) *api.Activity {
diff --git a/services/convert/attachment.go b/services/convert/attachment.go
index a6f46e1823..adddc94649 100644
--- a/services/convert/attachment.go
+++ b/services/convert/attachment.go
@@ -6,8 +6,8 @@ package convert
import (
"context"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
)
func WebAssetDownloadURL(ctx context.Context, repo *repo_model.Repository, attach *repo_model.Attachment) string {
diff --git a/services/convert/convert.go b/services/convert/convert.go
index a89d6a89f3..53e1ee8a49 100644
--- a/services/convert/convert.go
+++ b/services/convert/convert.go
@@ -16,31 +16,31 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/gitdiff"
+ actions_model "gotea.dev/models/actions"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/gitdiff"
)
// ToEmail convert models.EmailAddress to api.Email
diff --git a/services/convert/git_commit.go b/services/convert/git_commit.go
index 04d10022b0..dd7ac3964f 100644
--- a/services/convert/git_commit.go
+++ b/services/convert/git_commit.go
@@ -8,13 +8,13 @@ import (
"net/url"
"time"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- ctx "gitea.dev/services/context"
- "gitea.dev/services/gitdiff"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ ctx "gotea.dev/services/context"
+ "gotea.dev/services/gitdiff"
)
// ToCommitUser convert a git.Signature to an api.CommitUser
diff --git a/services/convert/git_commit_test.go b/services/convert/git_commit_test.go
index ae4939af44..d16f3da839 100644
--- a/services/convert/git_commit_test.go
+++ b/services/convert/git_commit_test.go
@@ -7,10 +7,10 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/convert/issue.go b/services/convert/issue.go
index 54ea9f28dc..cb5849ef45 100644
--- a/services/convert/issue.go
+++ b/services/convert/issue.go
@@ -9,16 +9,16 @@ import (
"net/url"
"strings"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/label"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/label"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
func ToIssue(ctx context.Context, doer *user_model.User, issue *issues_model.Issue) *api.Issue {
diff --git a/services/convert/issue_comment.go b/services/convert/issue_comment.go
index 31efd1c116..3035c31fd6 100644
--- a/services/convert/issue_comment.go
+++ b/services/convert/issue_comment.go
@@ -6,12 +6,12 @@ package convert
import (
"context"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// ToAPIComment converts a issues_model.Comment to the api.Comment format for API usage
diff --git a/services/convert/issue_test.go b/services/convert/issue_test.go
index 091bdf7928..bdb51d2392 100644
--- a/services/convert/issue_test.go
+++ b/services/convert/issue_test.go
@@ -8,14 +8,14 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/convert/main_test.go b/services/convert/main_test.go
index 6fc97a18ef..6c8c62c687 100644
--- a/services/convert/main_test.go
+++ b/services/convert/main_test.go
@@ -6,9 +6,9 @@ package convert
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/services/convert/mirror.go b/services/convert/mirror.go
index 993c484423..8b4ff8f12e 100644
--- a/services/convert/mirror.go
+++ b/services/convert/mirror.go
@@ -6,8 +6,8 @@ package convert
import (
"context"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
)
// ToPushMirror convert from repo_model.PushMirror and remoteAddress to api.TopicResponse
diff --git a/services/convert/notification.go b/services/convert/notification.go
index fee1de4074..c1f87df54b 100644
--- a/services/convert/notification.go
+++ b/services/convert/notification.go
@@ -7,10 +7,10 @@ import (
"context"
"net/url"
- activities_model "gitea.dev/models/activities"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
+ activities_model "gotea.dev/models/activities"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
)
// ToNotificationThread convert a Notification to api.NotificationThread
diff --git a/services/convert/notification_test.go b/services/convert/notification_test.go
index 277ee83ec2..5433775162 100644
--- a/services/convert/notification_test.go
+++ b/services/convert/notification_test.go
@@ -6,13 +6,13 @@ package convert
import (
"testing"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/convert/package.go b/services/convert/package.go
index b24f3e9341..b7b6db65d5 100644
--- a/services/convert/package.go
+++ b/services/convert/package.go
@@ -6,10 +6,10 @@ package convert
import (
"context"
- "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
)
// ToPackage convert a packages.PackageDescriptor to api.Package
diff --git a/services/convert/project.go b/services/convert/project.go
index 3ea77a33f1..71e7f67f60 100644
--- a/services/convert/project.go
+++ b/services/convert/project.go
@@ -8,13 +8,13 @@ import (
"fmt"
"time"
- project_model "gitea.dev/models/project"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
+ project_model "gotea.dev/models/project"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
)
func projectTemplateTypeToString(t project_model.TemplateType) string {
diff --git a/services/convert/pull.go b/services/convert/pull.go
index c8d8807cb4..9bc0fc70d6 100644
--- a/services/convert/pull.go
+++ b/services/convert/pull.go
@@ -6,20 +6,20 @@ package convert
import (
"context"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/cachegroup"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/gitdiff"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/cachegroup"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/gitdiff"
)
// ToAPIPullRequest assumes following fields have been assigned with valid values:
diff --git a/services/convert/pull_review.go b/services/convert/pull_review.go
index 1ad6cd3c49..6f4649a8ad 100644
--- a/services/convert/pull_review.go
+++ b/services/convert/pull_review.go
@@ -8,11 +8,11 @@ import (
"strings"
"unicode/utf8"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/charset"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/charset"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// ToPullReview convert a review to api format
diff --git a/services/convert/pull_review_test.go b/services/convert/pull_review_test.go
index 3346253cf4..661b7313c4 100644
--- a/services/convert/pull_review_test.go
+++ b/services/convert/pull_review_test.go
@@ -6,9 +6,9 @@ package convert
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/convert/pull_test.go b/services/convert/pull_test.go
index 9d08ed59f1..9745c35eaf 100644
--- a/services/convert/pull_test.go
+++ b/services/convert/pull_test.go
@@ -6,12 +6,12 @@ package convert
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/structs"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/services/convert/release.go b/services/convert/release.go
index ddd4d6c59b..40936be118 100644
--- a/services/convert/release.go
+++ b/services/convert/release.go
@@ -6,9 +6,9 @@ package convert
import (
"context"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// ToAPIRelease convert a repo_model.Release to api.Release
diff --git a/services/convert/release_test.go b/services/convert/release_test.go
index 5b121416c0..dcc620d6da 100644
--- a/services/convert/release_test.go
+++ b/services/convert/release_test.go
@@ -6,8 +6,8 @@ package convert
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/services/convert/repository.go b/services/convert/repository.go
index 269399f627..7356dbeca6 100644
--- a/services/convert/repository.go
+++ b/services/convert/repository.go
@@ -7,15 +7,15 @@ import (
"context"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// ToRepo converts a Repository to api.Repository
diff --git a/services/convert/status.go b/services/convert/status.go
index 02122281df..70462be02b 100644
--- a/services/convert/status.go
+++ b/services/convert/status.go
@@ -7,10 +7,10 @@ import (
"context"
"net/url"
- git_model "gitea.dev/models/git"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- api "gitea.dev/modules/structs"
+ git_model "gotea.dev/models/git"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ api "gotea.dev/modules/structs"
)
// ToCommitStatus converts git_model.CommitStatus to api.CommitStatus
diff --git a/services/convert/user.go b/services/convert/user.go
index a99fcb8e69..1260074ded 100644
--- a/services/convert/user.go
+++ b/services/convert/user.go
@@ -6,10 +6,10 @@ package convert
import (
"context"
- "gitea.dev/models/perm"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/perm"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
func UserTypeToString(t user_model.UserType) api.UserTypeString {
diff --git a/services/convert/user_test.go b/services/convert/user_test.go
index c42fc1455f..896ec90c9e 100644
--- a/services/convert/user_test.go
+++ b/services/convert/user_test.go
@@ -6,9 +6,9 @@ package convert
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/services/convert/utils.go b/services/convert/utils.go
index 07aac68f86..952dde1e98 100644
--- a/services/convert/utils.go
+++ b/services/convert/utils.go
@@ -7,8 +7,8 @@ package convert
import (
"strings"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
)
// ToCorrectPageSize makes sure page size is in allowed range.
diff --git a/services/convert/wiki.go b/services/convert/wiki.go
index 749eb383a8..1d87bd4d48 100644
--- a/services/convert/wiki.go
+++ b/services/convert/wiki.go
@@ -6,8 +6,8 @@ package convert
import (
"time"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
)
// ToWikiCommit convert a git commit into a WikiCommit
diff --git a/services/cron/cron.go b/services/cron/cron.go
index 92b7b6ed03..0f69aa094e 100644
--- a/services/cron/cron.go
+++ b/services/cron/cron.go
@@ -9,10 +9,10 @@ import (
"runtime/pprof"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/translation"
"github.com/go-co-op/gocron/v2"
)
diff --git a/services/cron/setting.go b/services/cron/setting.go
index afc4e76d99..95d7cb2766 100644
--- a/services/cron/setting.go
+++ b/services/cron/setting.go
@@ -6,7 +6,7 @@ package cron
import (
"time"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
)
// Config represents a basic configuration interface that cron task
diff --git a/services/cron/tasks.go b/services/cron/tasks.go
index 2b890834da..4fa81acc77 100644
--- a/services/cron/tasks.go
+++ b/services/cron/tasks.go
@@ -11,15 +11,15 @@ import (
"sync"
"time"
- "gitea.dev/models/db"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
+ "gotea.dev/models/db"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
"github.com/go-co-op/gocron/v2"
)
diff --git a/services/cron/tasks_actions.go b/services/cron/tasks_actions.go
index ebaa34060b..35df4680a2 100644
--- a/services/cron/tasks_actions.go
+++ b/services/cron/tasks_actions.go
@@ -6,9 +6,9 @@ package cron
import (
"context"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- actions_service "gitea.dev/services/actions"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ actions_service "gotea.dev/services/actions"
)
func initActionsTasks() {
diff --git a/services/cron/tasks_basic.go b/services/cron/tasks_basic.go
index 06be3bdaf8..a4100c2380 100644
--- a/services/cron/tasks_basic.go
+++ b/services/cron/tasks_basic.go
@@ -7,18 +7,18 @@ import (
"context"
"time"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/repostats"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/services/auth"
- "gitea.dev/services/migrations"
- mirror_service "gitea.dev/services/mirror"
- packages_cleanup_service "gitea.dev/services/packages/cleanup"
- repo_service "gitea.dev/services/repository"
- archiver_service "gitea.dev/services/repository/archiver"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/repostats"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/migrations"
+ mirror_service "gotea.dev/services/mirror"
+ packages_cleanup_service "gotea.dev/services/packages/cleanup"
+ repo_service "gotea.dev/services/repository"
+ archiver_service "gotea.dev/services/repository/archiver"
)
func registerUpdateMirrorTask() {
diff --git a/services/cron/tasks_extended.go b/services/cron/tasks_extended.go
index 3c6809480c..5ec8c98ae4 100644
--- a/services/cron/tasks_extended.go
+++ b/services/cron/tasks_extended.go
@@ -7,19 +7,19 @@ import (
"context"
"time"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitcmd"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/updatechecker"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- repo_service "gitea.dev/services/repository"
- archiver_service "gitea.dev/services/repository/archiver"
- user_service "gitea.dev/services/user"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitcmd"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/updatechecker"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ repo_service "gotea.dev/services/repository"
+ archiver_service "gotea.dev/services/repository/archiver"
+ user_service "gotea.dev/services/user"
)
func registerDeleteInactiveUsers() {
diff --git a/services/cron/tasks_extended_test.go b/services/cron/tasks_extended_test.go
index 7df8eb056b..a826fcc837 100644
--- a/services/cron/tasks_extended_test.go
+++ b/services/cron/tasks_extended_test.go
@@ -7,8 +7,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/doctor/dbconsistency.go b/services/doctor/dbconsistency.go
index f2495e411d..cc2a8fedcf 100644
--- a/services/doctor/dbconsistency.go
+++ b/services/doctor/dbconsistency.go
@@ -6,16 +6,16 @@ package doctor
import (
"context"
- modelmigration "gitea.dev/modelmigration"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- secret_model "gitea.dev/models/secret"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- issue_service "gitea.dev/services/issue"
+ modelmigration "gotea.dev/modelmigration"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ secret_model "gotea.dev/models/secret"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ issue_service "gotea.dev/services/issue"
)
type consistencyCheck struct {
diff --git a/services/doctor/dbconsistency_test.go b/services/doctor/dbconsistency_test.go
index 4b77816f45..0fb8872a47 100644
--- a/services/doctor/dbconsistency_test.go
+++ b/services/doctor/dbconsistency_test.go
@@ -7,11 +7,11 @@ import (
"slices"
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/log"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/doctor/doctor.go b/services/doctor/doctor.go
index 4ac6b79e7d..47ebf099c7 100644
--- a/services/doctor/doctor.go
+++ b/services/doctor/doctor.go
@@ -10,11 +10,11 @@ import (
"sort"
"strings"
- "gitea.dev/models/db"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
)
// Check represents a Doctor check
diff --git a/services/doctor/lfs.go b/services/doctor/lfs.go
index 17085d0b48..329ea63b73 100644
--- a/services/doctor/lfs.go
+++ b/services/doctor/lfs.go
@@ -8,9 +8,9 @@ import (
"errors"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/services/repository"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/repository"
)
func init() {
diff --git a/services/doctor/main_test.go b/services/doctor/main_test.go
index 79ff42f38c..f4dbf48cbe 100644
--- a/services/doctor/main_test.go
+++ b/services/doctor/main_test.go
@@ -6,7 +6,7 @@ package doctor
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/doctor/misc.go b/services/doctor/misc.go
index 67c205da66..7f9b189cac 100644
--- a/services/doctor/misc.go
+++ b/services/doctor/misc.go
@@ -7,13 +7,13 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/repostats"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/structs"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/repostats"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/structs"
lru "github.com/hashicorp/golang-lru/v2"
"xorm.io/builder"
diff --git a/services/doctor/repository.go b/services/doctor/repository.go
index 122e000cf2..f703039cdd 100644
--- a/services/doctor/repository.go
+++ b/services/doctor/repository.go
@@ -6,10 +6,10 @@ package doctor
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
+ repo_service "gotea.dev/services/repository"
"xorm.io/builder"
)
diff --git a/services/doctor/storage.go b/services/doctor/storage.go
index 21b160ae0f..419c6999ee 100644
--- a/services/doctor/storage.go
+++ b/services/doctor/storage.go
@@ -9,15 +9,15 @@ import (
"io/fs"
"strings"
- "gitea.dev/models/git"
- "gitea.dev/models/packages"
- "gitea.dev/models/repo"
- "gitea.dev/models/user"
- "gitea.dev/modules/log"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
+ "gotea.dev/models/git"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
)
type commonStorageCheckOptions struct {
diff --git a/services/externalaccount/user.go b/services/externalaccount/user.go
index 13b7472094..c14bc26bf1 100644
--- a/services/externalaccount/user.go
+++ b/services/externalaccount/user.go
@@ -8,12 +8,12 @@ import (
"strconv"
"strings"
- audit_model "gitea.dev/models/audit"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/audit"
"github.com/markbates/goth"
)
diff --git a/services/feed/feed.go b/services/feed/feed.go
index ade9581778..88ad13aedf 100644
--- a/services/feed/feed.go
+++ b/services/feed/feed.go
@@ -8,14 +8,14 @@ import (
"fmt"
"strings"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
func GetFeedsForDashboard(ctx context.Context, opts activities_model.GetFeedsOptions) (activities_model.ActionList, int64, error) {
diff --git a/services/feed/feed_test.go b/services/feed/feed_test.go
index b6dc4994e5..1ac6781458 100644
--- a/services/feed/feed_test.go
+++ b/services/feed/feed_test.go
@@ -6,11 +6,11 @@ package feed
import (
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/feed/notifier.go b/services/feed/notifier.go
index 045aea64ee..d3643e62df 100644
--- a/services/feed/notifier.go
+++ b/services/feed/notifier.go
@@ -9,16 +9,16 @@ import (
"path"
"strings"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/repository"
- notify_service "gitea.dev/services/notify"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/repository"
+ notify_service "gotea.dev/services/notify"
)
type actionNotifier struct {
diff --git a/services/feed/notifier_test.go b/services/feed/notifier_test.go
index b0f4c40cce..9489e97336 100644
--- a/services/feed/notifier_test.go
+++ b/services/feed/notifier_test.go
@@ -7,15 +7,15 @@ import (
"strings"
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/services/forms/admin.go b/services/forms/admin.go
index ca167b82a0..8fcad3e42d 100644
--- a/services/forms/admin.go
+++ b/services/forms/admin.go
@@ -4,8 +4,8 @@
package forms
import (
- "gitea.dev/modules/structs"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/web/middleware"
)
// AdminCreateUserForm form for admin to create user
diff --git a/services/forms/auth_form.go b/services/forms/auth_form.go
index da32831676..76732324d9 100644
--- a/services/forms/auth_form.go
+++ b/services/forms/auth_form.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
// AuthenticationForm form for authentication
type AuthenticationForm struct {
diff --git a/services/forms/org.go b/services/forms/org.go
index 57a9cbf10c..67e5bbdd4e 100644
--- a/services/forms/org.go
+++ b/services/forms/org.go
@@ -5,8 +5,8 @@
package forms
import (
- "gitea.dev/modules/structs"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/web/middleware"
)
// ________ .__ __ .__
diff --git a/services/forms/package_form.go b/services/forms/package_form.go
index 017929de10..81701951bc 100644
--- a/services/forms/package_form.go
+++ b/services/forms/package_form.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
type PackageCleanupRuleForm struct {
middleware.FormDefaultValidator
diff --git a/services/forms/repo_branch_form.go b/services/forms/repo_branch_form.go
index c6b37b59b1..82010aff7d 100644
--- a/services/forms/repo_branch_form.go
+++ b/services/forms/repo_branch_form.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
// NewBranchForm form for creating a new branch
type NewBranchForm struct {
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index f1232cb6e3..c4615c98c5 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.go
@@ -7,14 +7,14 @@ package forms
import (
"strings"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- "gitea.dev/modules/json"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/services/webhook"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/services/webhook"
)
// CreateRepoForm form for creating repository
diff --git a/services/forms/repo_form_editor.go b/services/forms/repo_form_editor.go
index 27e9292bec..2a9eb5b18d 100644
--- a/services/forms/repo_form_editor.go
+++ b/services/forms/repo_form_editor.go
@@ -4,8 +4,8 @@
package forms
import (
- "gitea.dev/modules/optional"
- "gitea.dev/modules/web/middleware"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/web/middleware"
)
type CommitCommonForm struct {
diff --git a/services/forms/repo_form_test.go b/services/forms/repo_form_test.go
index 78cdd47150..af8c09e6fb 100644
--- a/services/forms/repo_form_test.go
+++ b/services/forms/repo_form_test.go
@@ -6,7 +6,7 @@ package forms
import (
"testing"
- "gitea.dev/modules/json"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/forms/repo_tag_form.go b/services/forms/repo_tag_form.go
index 8624577fb5..f3f00569c7 100644
--- a/services/forms/repo_tag_form.go
+++ b/services/forms/repo_tag_form.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
// ProtectTagForm form for changing protected tag settings
type ProtectTagForm struct {
diff --git a/services/forms/runner.go b/services/forms/runner.go
index 3025d852c6..a4d2685cc5 100644
--- a/services/forms/runner.go
+++ b/services/forms/runner.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
// EditRunnerForm form for admin to create runner
type EditRunnerForm struct {
diff --git a/services/forms/user_form.go b/services/forms/user_form.go
index dda608f494..fc48f6bafc 100644
--- a/services/forms/user_form.go
+++ b/services/forms/user_form.go
@@ -8,12 +8,12 @@ import (
"mime/multipart"
"strings"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/modules/validation"
- "gitea.dev/modules/web/middleware"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/validation"
+ "gotea.dev/modules/web/middleware"
)
// InstallForm form for installation page
diff --git a/services/forms/user_form_auth_openid.go b/services/forms/user_form_auth_openid.go
index 052473e53a..4753aadfae 100644
--- a/services/forms/user_form_auth_openid.go
+++ b/services/forms/user_form_auth_openid.go
@@ -3,7 +3,7 @@
package forms
-import "gitea.dev/modules/web/middleware"
+import "gotea.dev/modules/web/middleware"
// SignInOpenIDForm form for signing in with OpenID
type SignInOpenIDForm struct {
diff --git a/services/forms/user_form_hidden_comments.go b/services/forms/user_form_hidden_comments.go
index bd9822e077..cef9f3dcd4 100644
--- a/services/forms/user_form_hidden_comments.go
+++ b/services/forms/user_form_hidden_comments.go
@@ -6,9 +6,9 @@ package forms
import (
"math/big"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/log"
- "gitea.dev/services/context"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/log"
+ "gotea.dev/services/context"
)
type hiddenCommentTypeGroupsType map[string][]issues_model.CommentType
diff --git a/services/forms/user_form_test.go b/services/forms/user_form_test.go
index 214cbd05ed..fcc093020f 100644
--- a/services/forms/user_form_test.go
+++ b/services/forms/user_form_test.go
@@ -6,9 +6,9 @@ package forms
import (
"testing"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/git/commit.go b/services/git/commit.go
index 414624a2ea..782174b3c9 100644
--- a/services/git/commit.go
+++ b/services/git/commit.go
@@ -6,14 +6,14 @@ package git
import (
"context"
- asymkey_model "gitea.dev/models/asymkey"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- asymkey_service "gitea.dev/services/asymkey"
+ asymkey_model "gotea.dev/models/asymkey"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ asymkey_service "gotea.dev/services/asymkey"
)
// ParseCommitsWithSignature checks if signaute of commits are corresponding to users gpg keys.
diff --git a/services/git/compare.go b/services/git/compare.go
index 6394fefe28..c82eff42c4 100644
--- a/services/git/compare.go
+++ b/services/git/compare.go
@@ -8,9 +8,9 @@ import (
"errors"
"fmt"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
)
// CompareInfo represents needed information for comparing references.
diff --git a/services/gitdiff/csv_test.go b/services/gitdiff/csv_test.go
index 6bb04044a8..f1857d6b03 100644
--- a/services/gitdiff/csv_test.go
+++ b/services/gitdiff/csv_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- csv_module "gitea.dev/modules/csv"
- "gitea.dev/modules/setting"
+ csv_module "gotea.dev/modules/csv"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/gitdiff/git_diff_tree.go b/services/gitdiff/git_diff_tree.go
index 46d9fe9935..c626677789 100644
--- a/services/gitdiff/git_diff_tree.go
+++ b/services/gitdiff/git_diff_tree.go
@@ -12,10 +12,10 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
type DiffTree struct {
diff --git a/services/gitdiff/git_diff_tree_test.go b/services/gitdiff/git_diff_tree_test.go
index 84147f643a..48abf7abf2 100644
--- a/services/gitdiff/git_diff_tree_test.go
+++ b/services/gitdiff/git_diff_tree_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/gitdiff/gitdiff.go b/services/gitdiff/gitdiff.go
index ed0910c2b4..d7fdeba934 100644
--- a/services/gitdiff/gitdiff.go
+++ b/services/gitdiff/gitdiff.go
@@ -20,27 +20,27 @@ import (
"time"
"unicode/utf8"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- pull_model "gitea.dev/models/pull"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/analyze"
- "gitea.dev/modules/base"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/svg"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/typesniffer"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ pull_model "gotea.dev/models/pull"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/analyze"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/svg"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/typesniffer"
+ "gotea.dev/modules/util"
"github.com/alecthomas/chroma/v2"
"github.com/sergi/go-diff/diffmatchpatch"
diff --git a/services/gitdiff/gitdiff_excerpt.go b/services/gitdiff/gitdiff_excerpt.go
index 9475288410..1761fd764a 100644
--- a/services/gitdiff/gitdiff_excerpt.go
+++ b/services/gitdiff/gitdiff_excerpt.go
@@ -9,8 +9,8 @@ import (
"html/template"
"io"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
"github.com/alecthomas/chroma/v2"
)
diff --git a/services/gitdiff/gitdiff_excerpt_test.go b/services/gitdiff/gitdiff_excerpt_test.go
index 3d94cde6a7..8608b21278 100644
--- a/services/gitdiff/gitdiff_excerpt_test.go
+++ b/services/gitdiff/gitdiff_excerpt_test.go
@@ -8,7 +8,7 @@ import (
"strconv"
"testing"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/gitdiff/gitdiff_render_test.go b/services/gitdiff/gitdiff_render_test.go
index 9f1d30398a..888b2b2870 100644
--- a/services/gitdiff/gitdiff_render_test.go
+++ b/services/gitdiff/gitdiff_render_test.go
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/gitdiff/gitdiff_test.go b/services/gitdiff/gitdiff_test.go
index 10dbcfc042..7320bb18ed 100644
--- a/services/gitdiff/gitdiff_test.go
+++ b/services/gitdiff/gitdiff_test.go
@@ -10,15 +10,15 @@ import (
"strings"
"testing"
- issues_model "gitea.dev/models/issues"
- pull_model "gitea.dev/models/pull"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
+ issues_model "gotea.dev/models/issues"
+ pull_model "gotea.dev/models/pull"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/gitdiff/highlightdiff.go b/services/gitdiff/highlightdiff.go
index 5cdd894e01..f634aabd60 100644
--- a/services/gitdiff/highlightdiff.go
+++ b/services/gitdiff/highlightdiff.go
@@ -10,7 +10,7 @@ import (
"strings"
"unicode/utf8"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
"github.com/sergi/go-diff/diffmatchpatch"
)
diff --git a/services/gitdiff/highlightdiff_test.go b/services/gitdiff/highlightdiff_test.go
index b4a64a2f93..c8c620f0f9 100644
--- a/services/gitdiff/highlightdiff_test.go
+++ b/services/gitdiff/highlightdiff_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/highlight"
- "gitea.dev/modules/translation"
+ "gotea.dev/modules/highlight"
+ "gotea.dev/modules/translation"
"github.com/alecthomas/chroma/v2"
"github.com/stretchr/testify/assert"
diff --git a/services/gitdiff/main_test.go b/services/gitdiff/main_test.go
index 3ec7f3ba02..6184fbf91d 100644
--- a/services/gitdiff/main_test.go
+++ b/services/gitdiff/main_test.go
@@ -6,11 +6,11 @@ package gitdiff
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
)
func TestMain(m *testing.M) {
diff --git a/services/gitdiff/submodule.go b/services/gitdiff/submodule.go
index 592eb2fe48..fbf09dd515 100644
--- a/services/gitdiff/submodule.go
+++ b/services/gitdiff/submodule.go
@@ -7,10 +7,10 @@ import (
"context"
"html/template"
- "gitea.dev/modules/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/log"
)
type SubmoduleDiffInfo struct {
diff --git a/services/gitdiff/submodule_test.go b/services/gitdiff/submodule_test.go
index 23afce3311..59e336431f 100644
--- a/services/gitdiff/submodule_test.go
+++ b/services/gitdiff/submodule_test.go
@@ -7,8 +7,8 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/gitproxy/server.go b/services/gitproxy/server.go
index af52a14ee2..6670b9fea5 100644
--- a/services/gitproxy/server.go
+++ b/services/gitproxy/server.go
@@ -24,11 +24,11 @@ import (
"strings"
"time"
- "gitea.dev/modules/egress"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/egress"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/Azure/go-ntlmssp"
"golang.org/x/net/proxy"
diff --git a/services/gitproxy/server_test.go b/services/gitproxy/server_test.go
index 1c367147fe..b03024fec6 100644
--- a/services/gitproxy/server_test.go
+++ b/services/gitproxy/server_test.go
@@ -23,10 +23,10 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/egress/policy"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/egress/policy"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/indexer/indexer.go b/services/indexer/indexer.go
index 0e4f18736b..b230f0b780 100644
--- a/services/indexer/indexer.go
+++ b/services/indexer/indexer.go
@@ -4,10 +4,10 @@
package indexer
import (
- code_indexer "gitea.dev/modules/indexer/code"
- issue_indexer "gitea.dev/modules/indexer/issues"
- stats_indexer "gitea.dev/modules/indexer/stats"
- notify_service "gitea.dev/services/notify"
+ code_indexer "gotea.dev/modules/indexer/code"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ stats_indexer "gotea.dev/modules/indexer/stats"
+ notify_service "gotea.dev/services/notify"
)
// Init initialize the repo indexer
diff --git a/services/indexer/notify.go b/services/indexer/notify.go
index 3bd68ebcda..060ac3179b 100644
--- a/services/indexer/notify.go
+++ b/services/indexer/notify.go
@@ -6,16 +6,16 @@ package indexer
import (
"context"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- code_indexer "gitea.dev/modules/indexer/code"
- issue_indexer "gitea.dev/modules/indexer/issues"
- stats_indexer "gitea.dev/modules/indexer/stats"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- notify_service "gitea.dev/services/notify"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ code_indexer "gotea.dev/modules/indexer/code"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ stats_indexer "gotea.dev/modules/indexer/stats"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ notify_service "gotea.dev/services/notify"
)
type indexerNotifier struct {
diff --git a/services/issue/assignee.go b/services/issue/assignee.go
index 4b24115507..fc4c66d98f 100644
--- a/services/issue/assignee.go
+++ b/services/issue/assignee.go
@@ -6,13 +6,13 @@ package issue
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ notify_service "gotea.dev/services/notify"
)
func toBeRemovedAssignees(issue *issues_model.Issue, assignees []*user_model.User) (toBeRemovedAssignees []*user_model.User) {
diff --git a/services/issue/assignee_test.go b/services/issue/assignee_test.go
index 4c427a2849..1194d8dd2b 100644
--- a/services/issue/assignee_test.go
+++ b/services/issue/assignee_test.go
@@ -6,10 +6,10 @@ package issue
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/comments.go b/services/issue/comments.go
index 325e50a67a..ccdc7b5b74 100644
--- a/services/issue/comments.go
+++ b/services/issue/comments.go
@@ -8,18 +8,18 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/timeutil"
- git_service "gitea.dev/services/git"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/timeutil"
+ git_service "gotea.dev/services/git"
+ notify_service "gotea.dev/services/notify"
"xorm.io/builder"
)
diff --git a/services/issue/comments_test.go b/services/issue/comments_test.go
index cadf3f92d5..87b6ea6f05 100644
--- a/services/issue/comments_test.go
+++ b/services/issue/comments_test.go
@@ -6,11 +6,11 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
+ issues_model "gotea.dev/models/issues"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/issue/commit.go b/services/issue/commit.go
index 1847979f7c..9985c50e66 100644
--- a/services/issue/commit.go
+++ b/services/issue/commit.go
@@ -15,16 +15,16 @@ import (
"strings"
"time"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/references"
- "gitea.dev/modules/repository"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/repository"
)
const (
diff --git a/services/issue/commit_test.go b/services/issue/commit_test.go
index 3c7d753c88..781d64a5e9 100644
--- a/services/issue/commit_test.go
+++ b/services/issue/commit_test.go
@@ -6,13 +6,13 @@ package issue
import (
"testing"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/content.go b/services/issue/content.go
index 70fc4422c1..3e70b7c61c 100644
--- a/services/issue/content.go
+++ b/services/issue/content.go
@@ -6,10 +6,10 @@ package issue
import (
"context"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
- notify_service "gitea.dev/services/notify"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
+ notify_service "gotea.dev/services/notify"
)
// ChangeContent changes issue content, as the given user.
diff --git a/services/issue/issue.go b/services/issue/issue.go
index b537eaee4e..68831d6423 100644
--- a/services/issue/issue.go
+++ b/services/issue/issue.go
@@ -7,21 +7,21 @@ import (
"context"
"fmt"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
- notify_service "gitea.dev/services/notify"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
+ notify_service "gotea.dev/services/notify"
)
// NewIssue creates new issue with labels for repository.
diff --git a/services/issue/issue_test.go b/services/issue/issue_test.go
index 5c84ba48a0..bcc3a1c97c 100644
--- a/services/issue/issue_test.go
+++ b/services/issue/issue_test.go
@@ -6,13 +6,13 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/label.go b/services/issue/label.go
index 2e788553a1..05325246bf 100644
--- a/services/issue/label.go
+++ b/services/issue/label.go
@@ -6,11 +6,11 @@ package issue
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- user_model "gitea.dev/models/user"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ user_model "gotea.dev/models/user"
+ notify_service "gotea.dev/services/notify"
)
// ClearLabels clears all of an issue's labels
diff --git a/services/issue/label_test.go b/services/issue/label_test.go
index 04079c85d4..fffa22be23 100644
--- a/services/issue/label_test.go
+++ b/services/issue/label_test.go
@@ -6,9 +6,9 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/main_test.go b/services/issue/main_test.go
index 7c126d1952..1a210b8999 100644
--- a/services/issue/main_test.go
+++ b/services/issue/main_test.go
@@ -6,10 +6,10 @@ package issue
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/services/issue/milestone.go b/services/issue/milestone.go
index d229a9e12e..d1c4d4e350 100644
--- a/services/issue/milestone.go
+++ b/services/issue/milestone.go
@@ -8,10 +8,10 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ notify_service "gotea.dev/services/notify"
)
func changeMilestoneAssign(ctx context.Context, doer *user_model.User, issue *issues_model.Issue, oldMilestoneID int64) error {
diff --git a/services/issue/milestone_test.go b/services/issue/milestone_test.go
index e294647138..986c96062b 100644
--- a/services/issue/milestone_test.go
+++ b/services/issue/milestone_test.go
@@ -6,9 +6,9 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/pull.go b/services/issue/pull.go
index bb87773674..81bd9c08e3 100644
--- a/services/issue/pull.go
+++ b/services/issue/pull.go
@@ -9,14 +9,14 @@ import (
"slices"
"time"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- org_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ org_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
)
type ReviewRequestNotifier struct {
diff --git a/services/issue/reaction.go b/services/issue/reaction.go
index e06d811643..ca9845b455 100644
--- a/services/issue/reaction.go
+++ b/services/issue/reaction.go
@@ -6,8 +6,8 @@ package issue
import (
"context"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
)
// CreateIssueReaction creates a reaction on an issue.
diff --git a/services/issue/reaction_test.go b/services/issue/reaction_test.go
index 62bb9e691d..2d827b1134 100644
--- a/services/issue/reaction_test.go
+++ b/services/issue/reaction_test.go
@@ -6,11 +6,11 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/review_request.go b/services/issue/review_request.go
index fe9fdb7118..f927fae5a4 100644
--- a/services/issue/review_request.go
+++ b/services/issue/review_request.go
@@ -6,15 +6,15 @@ package issue
import (
"context"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- notify_service "gitea.dev/services/notify"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ notify_service "gotea.dev/services/notify"
)
// ReviewRequest add or remove a review request from a user for this PR, and make comment for it.
diff --git a/services/issue/review_request_test.go b/services/issue/review_request_test.go
index e01385948d..14483c4beb 100644
--- a/services/issue/review_request_test.go
+++ b/services/issue/review_request_test.go
@@ -6,9 +6,9 @@ package issue
import (
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/issue/status.go b/services/issue/status.go
index d162990bd8..02bb3e8128 100644
--- a/services/issue/status.go
+++ b/services/issue/status.go
@@ -6,11 +6,11 @@ package issue
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ notify_service "gotea.dev/services/notify"
)
// CloseIssue close an issue.
diff --git a/services/issue/suggestion.go b/services/issue/suggestion.go
index 58c0e9ae9c..fa65e6c66e 100644
--- a/services/issue/suggestion.go
+++ b/services/issue/suggestion.go
@@ -7,10 +7,10 @@ import (
"context"
"strconv"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/structs"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/structs"
)
func GetSuggestion(ctx context.Context, repo *repo_model.Repository, isPull optional.Option[bool], keyword string) ([]*structs.Issue, error) {
diff --git a/services/issue/suggestion_test.go b/services/issue/suggestion_test.go
index a6ce0bc8fd..7562c8a496 100644
--- a/services/issue/suggestion_test.go
+++ b/services/issue/suggestion_test.go
@@ -6,9 +6,9 @@ package issue
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/optional"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
)
diff --git a/services/issue/template.go b/services/issue/template.go
index c53df65efc..b6495e18cd 100644
--- a/services/issue/template.go
+++ b/services/issue/template.go
@@ -10,12 +10,12 @@ import (
"path"
"strings"
- "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/issue/template"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/issue/template"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/services/lfs/locks.go b/services/lfs/locks.go
index fe3f4bdbec..1b8e6455f3 100644
--- a/services/lfs/locks.go
+++ b/services/lfs/locks.go
@@ -8,16 +8,16 @@ import (
"strconv"
"strings"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/json"
- lfs_module "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
- "gitea.dev/services/convert"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/json"
+ lfs_module "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
+ "gotea.dev/services/convert"
)
func handleLockListOut(ctx *context.Context, repo *repo_model.Repository, lock *git_model.LFSLock, err error) {
diff --git a/services/lfs/server.go b/services/lfs/server.go
index 1c223b35fe..7166b77587 100644
--- a/services/lfs/server.go
+++ b/services/lfs/server.go
@@ -19,22 +19,22 @@ import (
"strings"
"time"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- perm_model "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/auth/httpauth"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/json"
- lfs_module "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ perm_model "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/auth/httpauth"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/json"
+ lfs_module "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/lfs/server_test.go b/services/lfs/server_test.go
index ce6fa797e7..3ad873e022 100644
--- a/services/lfs/server_test.go
+++ b/services/lfs/server_test.go
@@ -7,15 +7,15 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- deploykey_model "gitea.dev/models/deploykey"
- perm_model "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/db"
+ deploykey_model "gotea.dev/models/deploykey"
+ perm_model "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/mailer/incoming/incoming.go b/services/mailer/incoming/incoming.go
index 881126b425..25309dbd3d 100644
--- a/services/mailer/incoming/incoming.go
+++ b/services/mailer/incoming/incoming.go
@@ -12,10 +12,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- "gitea.dev/services/mailer/token"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/mailer/token"
"github.com/emersion/go-imap"
"github.com/emersion/go-imap/client"
diff --git a/services/mailer/incoming/incoming_handler.go b/services/mailer/incoming/incoming_handler.go
index 71286b0ccc..394cb71295 100644
--- a/services/mailer/incoming/incoming_handler.go
+++ b/services/mailer/incoming/incoming_handler.go
@@ -9,19 +9,19 @@ import (
"errors"
"fmt"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- attachment_service "gitea.dev/services/attachment"
- "gitea.dev/services/context/upload"
- issue_service "gitea.dev/services/issue"
- incoming_payload "gitea.dev/services/mailer/incoming/payload"
- "gitea.dev/services/mailer/token"
- pull_service "gitea.dev/services/pull"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ attachment_service "gotea.dev/services/attachment"
+ "gotea.dev/services/context/upload"
+ issue_service "gotea.dev/services/issue"
+ incoming_payload "gotea.dev/services/mailer/incoming/payload"
+ "gotea.dev/services/mailer/token"
+ pull_service "gotea.dev/services/pull"
)
type MailHandler interface {
diff --git a/services/mailer/incoming/incoming_test.go b/services/mailer/incoming/incoming_test.go
index 9700368cf7..84182b2ba4 100644
--- a/services/mailer/incoming/incoming_test.go
+++ b/services/mailer/incoming/incoming_test.go
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/jhillyerd/enmime/v2"
"github.com/stretchr/testify/assert"
diff --git a/services/mailer/incoming/payload/payload.go b/services/mailer/incoming/payload/payload.go
index 01f7bd1710..161415fae0 100644
--- a/services/mailer/incoming/payload/payload.go
+++ b/services/mailer/incoming/payload/payload.go
@@ -6,8 +6,8 @@ package payload
import (
"context"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/util"
)
const replyPayloadVersion1 byte = 1
diff --git a/services/mailer/incoming/reply.go b/services/mailer/incoming/reply.go
index 3f27909ca0..4af489e9c9 100644
--- a/services/mailer/incoming/reply.go
+++ b/services/mailer/incoming/reply.go
@@ -8,7 +8,7 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
const (
diff --git a/services/mailer/mail.go b/services/mailer/mail.go
index ee4ba64d65..4f94e9e06c 100644
--- a/services/mailer/mail.go
+++ b/services/mailer/mail.go
@@ -16,15 +16,15 @@ import (
"regexp"
"strings"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/typesniffer"
- sender_service "gitea.dev/services/mailer/sender"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/typesniffer"
+ sender_service "gotea.dev/services/mailer/sender"
"golang.org/x/net/html"
)
diff --git a/services/mailer/mail_comment.go b/services/mailer/mail_comment.go
index 209597af58..a69c7989e1 100644
--- a/services/mailer/mail_comment.go
+++ b/services/mailer/mail_comment.go
@@ -6,12 +6,12 @@ package mailer
import (
"context"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// MailParticipantsComment sends new comment emails to repository watchers and mentioned people.
diff --git a/services/mailer/mail_issue.go b/services/mailer/mail_issue.go
index e29d76ad9b..5c3457d4b8 100644
--- a/services/mailer/mail_issue.go
+++ b/services/mailer/mail_issue.go
@@ -7,16 +7,16 @@ import (
"context"
"fmt"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
const MailBatchSize = 100 // batch size used in mailIssueCommentBatch
diff --git a/services/mailer/mail_issue_common.go b/services/mailer/mail_issue_common.go
index 95e5aa18cc..2b4af3d5e3 100644
--- a/services/mailer/mail_issue_common.go
+++ b/services/mailer/mail_issue_common.go
@@ -12,19 +12,19 @@ import (
"strings"
"time"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/renderhelper"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/emoji"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- incoming_payload "gitea.dev/services/mailer/incoming/payload"
- sender_service "gitea.dev/services/mailer/sender"
- "gitea.dev/services/mailer/token"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/renderhelper"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/emoji"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ incoming_payload "gotea.dev/services/mailer/incoming/payload"
+ sender_service "gotea.dev/services/mailer/sender"
+ "gotea.dev/services/mailer/token"
)
// maxEmailBodySize is the approximate maximum size of an email body in bytes
diff --git a/services/mailer/mail_release.go b/services/mailer/mail_release.go
index 85dd9b046d..0d09dcc624 100644
--- a/services/mailer/mail_release.go
+++ b/services/mailer/mail_release.go
@@ -9,18 +9,18 @@ import (
"fmt"
"slices"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/renderhelper"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- sender_service "gitea.dev/services/mailer/sender"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/renderhelper"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ sender_service "gotea.dev/services/mailer/sender"
)
const tplNewReleaseMail templates.TplName = "mail/repo/release"
diff --git a/services/mailer/mail_release_test.go b/services/mailer/mail_release_test.go
index 5e38e58886..bcea9969c2 100644
--- a/services/mailer/mail_release_test.go
+++ b/services/mailer/mail_release_test.go
@@ -6,12 +6,12 @@ package mailer
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- sender_service "gitea.dev/services/mailer/sender"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ sender_service "gotea.dev/services/mailer/sender"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/mailer/mail_repo.go b/services/mailer/mail_repo.go
index afca174c1b..ae7ee32347 100644
--- a/services/mailer/mail_repo.go
+++ b/services/mailer/mail_repo.go
@@ -8,14 +8,14 @@ import (
"context"
"fmt"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- sender_service "gitea.dev/services/mailer/sender"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ sender_service "gotea.dev/services/mailer/sender"
)
const (
diff --git a/services/mailer/mail_team_invite.go b/services/mailer/mail_team_invite.go
index a7aa6b11bb..ae62d6ddd2 100644
--- a/services/mailer/mail_team_invite.go
+++ b/services/mailer/mail_team_invite.go
@@ -10,13 +10,13 @@ import (
"fmt"
"net/url"
- org_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- sender_service "gitea.dev/services/mailer/sender"
+ org_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ sender_service "gotea.dev/services/mailer/sender"
)
const tplTeamInviteMail templates.TplName = "mail/org/team_invite"
diff --git a/services/mailer/mail_test.go b/services/mailer/mail_test.go
index eab9a97c30..296b6cd467 100644
--- a/services/mailer/mail_test.go
+++ b/services/mailer/mail_test.go
@@ -18,22 +18,22 @@ import (
"testing"
texttmpl "text/template"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/asymkey"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/test"
- "gitea.dev/services/attachment"
- sender_service "gitea.dev/services/mailer/sender"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/asymkey"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/attachment"
+ sender_service "gotea.dev/services/mailer/sender"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/mailer/mail_user.go b/services/mailer/mail_user.go
index 066a1b9059..33b36d8764 100644
--- a/services/mailer/mail_user.go
+++ b/services/mailer/mail_user.go
@@ -7,13 +7,13 @@ import (
"bytes"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/translation"
- sender_service "gitea.dev/services/mailer/sender"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/translation"
+ sender_service "gotea.dev/services/mailer/sender"
)
const (
diff --git a/services/mailer/mail_workflow_run.go b/services/mailer/mail_workflow_run.go
index f26a3135e6..0728f5cb2f 100644
--- a/services/mailer/mail_workflow_run.go
+++ b/services/mailer/mail_workflow_run.go
@@ -12,17 +12,17 @@ import (
"slices"
"time"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- sender_service "gitea.dev/services/mailer/sender"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ sender_service "gotea.dev/services/mailer/sender"
)
const tplWorkflowRun templates.TplName = "mail/repo/actions/workflow_run"
diff --git a/services/mailer/mail_workflow_run_test.go b/services/mailer/mail_workflow_run_test.go
index 5b171c227b..e33f306907 100644
--- a/services/mailer/mail_workflow_run_test.go
+++ b/services/mailer/mail_workflow_run_test.go
@@ -9,14 +9,14 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- sender_service "gitea.dev/services/mailer/sender"
+ actions_model "gotea.dev/models/actions"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ sender_service "gotea.dev/services/mailer/sender"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/mailer/mailer.go b/services/mailer/mailer.go
index d697f13956..588f57a36b 100644
--- a/services/mailer/mailer.go
+++ b/services/mailer/mailer.go
@@ -7,13 +7,13 @@ package mailer
import (
"context"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates"
- sender_service "gitea.dev/services/mailer/sender"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates"
+ sender_service "gotea.dev/services/mailer/sender"
+ notify_service "gotea.dev/services/notify"
)
var mailQueue *queue.WorkerPoolQueue[*sender_service.Message]
diff --git a/services/mailer/main_test.go b/services/mailer/main_test.go
index 1933f8ed4d..25077dec74 100644
--- a/services/mailer/main_test.go
+++ b/services/mailer/main_test.go
@@ -6,10 +6,10 @@ package mailer
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/services/mailer/notify.go b/services/mailer/notify.go
index 0ec7ab0142..f762df8143 100644
--- a/services/mailer/notify.go
+++ b/services/mailer/notify.go
@@ -7,14 +7,14 @@ import (
"context"
"fmt"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- issue_service "gitea.dev/services/issue"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ issue_service "gotea.dev/services/issue"
+ notify_service "gotea.dev/services/notify"
)
type mailNotifier struct {
diff --git a/services/mailer/sender/dummy.go b/services/mailer/sender/dummy.go
index 1400ad7601..a335a447d1 100644
--- a/services/mailer/sender/dummy.go
+++ b/services/mailer/sender/dummy.go
@@ -7,7 +7,7 @@ import (
"bytes"
"io"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/log"
)
// DummySender Sender sendmail mail sender
diff --git a/services/mailer/sender/main_test.go b/services/mailer/sender/main_test.go
index bd3d5f7000..26e1d5a6fd 100644
--- a/services/mailer/sender/main_test.go
+++ b/services/mailer/sender/main_test.go
@@ -6,7 +6,7 @@ package sender
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/mailer/sender/message.go b/services/mailer/sender/message.go
index f5a32b5512..f33e3a70c4 100644
--- a/services/mailer/sender/message.go
+++ b/services/mailer/sender/message.go
@@ -11,9 +11,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/Necoro/html2text"
gomail "github.com/wneessen/go-mail"
diff --git a/services/mailer/sender/message_test.go b/services/mailer/sender/message_test.go
index 5f18c6fde7..ba627dc9b2 100644
--- a/services/mailer/sender/message_test.go
+++ b/services/mailer/sender/message_test.go
@@ -8,7 +8,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/mailer/sender/sendmail.go b/services/mailer/sender/sendmail.go
index bb09845b17..8b5d3a354c 100644
--- a/services/mailer/sender/sendmail.go
+++ b/services/mailer/sender/sendmail.go
@@ -8,10 +8,10 @@ import (
"io"
"strings"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
)
// SendmailSender Sender sendmail mail sender
diff --git a/services/mailer/sender/smtp.go b/services/mailer/sender/smtp.go
index dc29c0fa83..76ed39ceaa 100644
--- a/services/mailer/sender/smtp.go
+++ b/services/mailer/sender/smtp.go
@@ -14,8 +14,8 @@ import (
"os"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// SMTPSender Sender SMTP mail sender
diff --git a/services/mailer/token/token.go b/services/mailer/token/token.go
index 58c3fab981..6ff27d427b 100644
--- a/services/mailer/token/token.go
+++ b/services/mailer/token/token.go
@@ -12,8 +12,8 @@ import (
"strings"
"time"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
)
// A token is a verifiable container describing an action.
diff --git a/services/mailer/token/token_test.go b/services/mailer/token/token_test.go
index 940357c495..860fc37d4b 100644
--- a/services/mailer/token/token_test.go
+++ b/services/mailer/token/token_test.go
@@ -6,10 +6,10 @@ package token
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
- _ "gitea.dev/models"
+ _ "gotea.dev/models"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/markup/main_test.go b/services/markup/main_test.go
index 01985034b0..dfea6aad9c 100644
--- a/services/markup/main_test.go
+++ b/services/markup/main_test.go
@@ -6,7 +6,7 @@ package markup
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/markup/renderhelper.go b/services/markup/renderhelper.go
index ac94cb6e5e..2f9c4b3948 100644
--- a/services/markup/renderhelper.go
+++ b/services/markup/renderhelper.go
@@ -6,9 +6,9 @@ package markup
import (
"context"
- "gitea.dev/models/user"
- "gitea.dev/modules/markup"
- gitea_context "gitea.dev/services/context"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/markup"
+ gitea_context "gotea.dev/services/context"
)
func FormalRenderHelperFuncs() *markup.RenderHelperFuncs {
diff --git a/services/markup/renderhelper_codepreview.go b/services/markup/renderhelper_codepreview.go
index fa3f7dba6a..f623c462ee 100644
--- a/services/markup/renderhelper_codepreview.go
+++ b/services/markup/renderhelper_codepreview.go
@@ -10,17 +10,17 @@ import (
"html/template"
"strings"
- "gitea.dev/models/perm/access"
- "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/languagestats"
- "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- gitea_context "gitea.dev/services/context"
+ "gotea.dev/models/perm/access"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/languagestats"
+ "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ gitea_context "gotea.dev/services/context"
)
func renderRepoFileCodePreview(ctx context.Context, opts markup.RenderCodePreviewOptions) (template.HTML, error) {
diff --git a/services/markup/renderhelper_codepreview_test.go b/services/markup/renderhelper_codepreview_test.go
index 114314b257..5ea42f5941 100644
--- a/services/markup/renderhelper_codepreview_test.go
+++ b/services/markup/renderhelper_codepreview_test.go
@@ -6,11 +6,11 @@ package markup
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/services/markup/renderhelper_issueicontitle.go b/services/markup/renderhelper_issueicontitle.go
index a62257a89b..fbea409f1d 100644
--- a/services/markup/renderhelper_issueicontitle.go
+++ b/services/markup/renderhelper_issueicontitle.go
@@ -9,13 +9,13 @@ import (
"fmt"
"html/template"
- "gitea.dev/models/issues"
- "gitea.dev/models/perm/access"
- "gitea.dev/models/repo"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/util"
- gitea_context "gitea.dev/services/context"
+ "gotea.dev/models/issues"
+ "gotea.dev/models/perm/access"
+ "gotea.dev/models/repo"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/util"
+ gitea_context "gotea.dev/services/context"
)
func renderRepoIssueIconTitle(ctx context.Context, opts markup.RenderIssueIconTitleOptions) (_ template.HTML, err error) {
diff --git a/services/markup/renderhelper_issueicontitle_test.go b/services/markup/renderhelper_issueicontitle_test.go
index 94cc975d2e..9a0582dc9a 100644
--- a/services/markup/renderhelper_issueicontitle_test.go
+++ b/services/markup/renderhelper_issueicontitle_test.go
@@ -6,15 +6,15 @@ package markup
import (
"testing"
- issue_model "gitea.dev/models/issues"
- perm_model "gitea.dev/models/perm"
- "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/templates"
- "gitea.dev/modules/util"
- "gitea.dev/services/contexttest"
+ issue_model "gotea.dev/models/issues"
+ perm_model "gotea.dev/models/perm"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/templates"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
"xorm.io/builder"
diff --git a/services/markup/renderhelper_mention_test.go b/services/markup/renderhelper_mention_test.go
index 54e51b613b..7ad0ff0204 100644
--- a/services/markup/renderhelper_mention_test.go
+++ b/services/markup/renderhelper_mention_test.go
@@ -8,10 +8,10 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/models/user"
- gitea_context "gitea.dev/services/context"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/models/user"
+ gitea_context "gotea.dev/services/context"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/services/migrations/codebase.go b/services/migrations/codebase.go
index ae223281f3..206c84f26a 100644
--- a/services/migrations/codebase.go
+++ b/services/migrations/codebase.go
@@ -13,9 +13,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
)
var (
diff --git a/services/migrations/codebase_test.go b/services/migrations/codebase_test.go
index 4e8f6f830e..cab471fad2 100644
--- a/services/migrations/codebase_test.go
+++ b/services/migrations/codebase_test.go
@@ -11,8 +11,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
"github.com/stretchr/testify/assert"
)
diff --git a/services/migrations/codecommit.go b/services/migrations/codecommit.go
index 4859ba6f9f..71ba6d2376 100644
--- a/services/migrations/codecommit.go
+++ b/services/migrations/codecommit.go
@@ -16,11 +16,11 @@ import (
"strings"
"time"
- git_module "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ git_module "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
)
var (
diff --git a/services/migrations/codecommit_test.go b/services/migrations/codecommit_test.go
index f4fb0dc013..4cfc79db22 100644
--- a/services/migrations/codecommit_test.go
+++ b/services/migrations/codecommit_test.go
@@ -10,8 +10,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
"github.com/stretchr/testify/require"
)
diff --git a/services/migrations/common.go b/services/migrations/common.go
index f1aab4ee1e..f7e6db41e9 100644
--- a/services/migrations/common.go
+++ b/services/migrations/common.go
@@ -7,10 +7,10 @@ import (
"fmt"
"strings"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
)
// WarnAndNotice will log the provided message and send a repository notice
diff --git a/services/migrations/dump.go b/services/migrations/dump.go
index 83c1b05f31..e771ae30c3 100644
--- a/services/migrations/dump.go
+++ b/services/migrations/dump.go
@@ -16,15 +16,15 @@ import (
"time"
"uuid"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
"go.yaml.in/yaml/v4"
)
diff --git a/services/migrations/error.go b/services/migrations/error.go
index 0c896d4c3b..f2b5c2335e 100644
--- a/services/migrations/error.go
+++ b/services/migrations/error.go
@@ -8,7 +8,7 @@ import (
"errors"
"net/http"
- "gitea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitcmd"
"github.com/google/go-github/v92/github"
)
diff --git a/services/migrations/git.go b/services/migrations/git.go
index c9b5eaaf84..99849541c6 100644
--- a/services/migrations/git.go
+++ b/services/migrations/git.go
@@ -6,7 +6,7 @@ package migrations
import (
"context"
- base "gitea.dev/modules/migration"
+ base "gotea.dev/modules/migration"
)
var _ base.Downloader = &PlainGitDownloader{}
diff --git a/services/migrations/gitbucket.go b/services/migrations/gitbucket.go
index 026fa3c12b..18ea12450c 100644
--- a/services/migrations/gitbucket.go
+++ b/services/migrations/gitbucket.go
@@ -9,9 +9,9 @@ import (
"net/url"
"strings"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
)
var (
diff --git a/services/migrations/gitea_downloader.go b/services/migrations/gitea_downloader.go
index cd8ae73a29..e60fb40aed 100644
--- a/services/migrations/gitea_downloader.go
+++ b/services/migrations/gitea_downloader.go
@@ -13,10 +13,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
gitea_sdk "gitea.dev/sdk"
)
diff --git a/services/migrations/gitea_downloader_test.go b/services/migrations/gitea_downloader_test.go
index 9ff4e4b24d..3b4d02c9ce 100644
--- a/services/migrations/gitea_downloader_test.go
+++ b/services/migrations/gitea_downloader_test.go
@@ -17,8 +17,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go
index ebbc0023f3..1d7e238061 100644
--- a/services/migrations/gitea_uploader.go
+++ b/services/migrations/gitea_uploader.go
@@ -14,26 +14,26 @@ import (
"time"
"uuid"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/repostats"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/label"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/uri"
- "gitea.dev/modules/util"
- "gitea.dev/services/gitdiff"
- "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/repostats"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/label"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/uri"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/gitdiff"
+ "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
var _ base.Uploader = &GiteaLocalUploader{}
diff --git a/services/migrations/gitea_uploader_test.go b/services/migrations/gitea_uploader_test.go
index ce6b177a26..61b1afe443 100644
--- a/services/migrations/gitea_uploader_test.go
+++ b/services/migrations/gitea_uploader_test.go
@@ -9,16 +9,16 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/migrations/github.go b/services/migrations/github.go
index 40f2d3c370..607b792907 100644
--- a/services/migrations/github.go
+++ b/services/migrations/github.go
@@ -14,10 +14,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
"github.com/google/go-github/v92/github"
"golang.org/x/oauth2"
diff --git a/services/migrations/github_test.go b/services/migrations/github_test.go
index 9fba225ab3..ffe1b6e021 100644
--- a/services/migrations/github_test.go
+++ b/services/migrations/github_test.go
@@ -15,8 +15,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
"github.com/google/go-github/v92/github"
"github.com/stretchr/testify/assert"
diff --git a/services/migrations/gitlab.go b/services/migrations/gitlab.go
index 9d885fb298..0afaa2e18b 100644
--- a/services/migrations/gitlab.go
+++ b/services/migrations/gitlab.go
@@ -15,12 +15,12 @@ import (
"strings"
"time"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
gitlab "gitlab.com/gitlab-org/api/client-go/v3"
)
diff --git a/services/migrations/gitlab_test.go b/services/migrations/gitlab_test.go
index 3c56fae9e7..8a0e195761 100644
--- a/services/migrations/gitlab_test.go
+++ b/services/migrations/gitlab_test.go
@@ -15,9 +15,9 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ base "gotea.dev/modules/migration"
"github.com/stretchr/testify/assert"
gitlab "gitlab.com/gitlab-org/api/client-go/v3"
diff --git a/services/migrations/gogs.go b/services/migrations/gogs.go
index f4b3b72268..7924d62930 100644
--- a/services/migrations/gogs.go
+++ b/services/migrations/gogs.go
@@ -11,9 +11,9 @@ import (
"strings"
"time"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
"github.com/gogs/go-gogs-client"
)
diff --git a/services/migrations/gogs_test.go b/services/migrations/gogs_test.go
index 196be94f83..f1c7bb33ca 100644
--- a/services/migrations/gogs_test.go
+++ b/services/migrations/gogs_test.go
@@ -10,8 +10,8 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
"github.com/stretchr/testify/assert"
)
diff --git a/services/migrations/http_client.go b/services/migrations/http_client.go
index 38e9da76e4..2dd5134f3d 100644
--- a/services/migrations/http_client.go
+++ b/services/migrations/http_client.go
@@ -8,8 +8,8 @@ import (
"net/http"
"sync"
- "gitea.dev/modules/egress"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/egress"
+ "gotea.dev/modules/setting"
)
// getMigrationHTTPClient returns the shared migration client, so downloads from one host reuse its connections
diff --git a/services/migrations/main_test.go b/services/migrations/main_test.go
index d4f3ca4f37..7617f80fec 100644
--- a/services/migrations/main_test.go
+++ b/services/migrations/main_test.go
@@ -8,9 +8,9 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/migrations/migrate.go b/services/migrations/migrate.go
index c85f103bc7..dd636f1bf6 100644
--- a/services/migrations/migrate.go
+++ b/services/migrations/migrate.go
@@ -12,16 +12,16 @@ import (
"path/filepath"
"strings"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/egress"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/egress"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
// MigrateOptions is equal to base.MigrateOptions
diff --git a/services/migrations/migrate_test.go b/services/migrations/migrate_test.go
index 4e3e86477b..8261528466 100644
--- a/services/migrations/migrate_test.go
+++ b/services/migrations/migrate_test.go
@@ -10,11 +10,11 @@ import (
"path/filepath"
"testing"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/google/go-github/v92/github"
"github.com/stretchr/testify/assert"
diff --git a/services/migrations/onedev.go b/services/migrations/onedev.go
index 4da12a084b..2eb3e4aad0 100644
--- a/services/migrations/onedev.go
+++ b/services/migrations/onedev.go
@@ -14,10 +14,10 @@ import (
"strings"
"time"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/structs"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/structs"
"github.com/hashicorp/go-version"
)
diff --git a/services/migrations/onedev_test.go b/services/migrations/onedev_test.go
index 32d566b956..40807d93eb 100644
--- a/services/migrations/onedev_test.go
+++ b/services/migrations/onedev_test.go
@@ -15,9 +15,9 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/util"
+ "gotea.dev/models/unittest"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/services/migrations/restore.go b/services/migrations/restore.go
index a07c4d96b5..4d73390977 100644
--- a/services/migrations/restore.go
+++ b/services/migrations/restore.go
@@ -10,8 +10,8 @@ import (
"path/filepath"
"strconv"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/util"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/util"
"go.yaml.in/yaml/v4"
)
diff --git a/services/migrations/restore_test.go b/services/migrations/restore_test.go
index 21cba5e349..242aac1677 100644
--- a/services/migrations/restore_test.go
+++ b/services/migrations/restore_test.go
@@ -8,7 +8,7 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/optional"
+ "gotea.dev/modules/optional"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/migrations/update.go b/services/migrations/update.go
index b7ecb1e258..ce3e0ac956 100644
--- a/services/migrations/update.go
+++ b/services/migrations/update.go
@@ -6,11 +6,11 @@ package migrations
import (
"context"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/structs"
- "gitea.dev/services/externalaccount"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/externalaccount"
)
// UpdateMigrationPosterID updates all migrated repositories' issues and comments posterID
diff --git a/services/mirror/mirror.go b/services/mirror/mirror.go
index ed3e09122a..14f787fbcd 100644
--- a/services/mirror/mirror.go
+++ b/services/mirror/mirror.go
@@ -7,10 +7,10 @@ import (
"context"
"errors"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
)
// doMirrorSync causes this request to mirror itself
diff --git a/services/mirror/mirror_pull.go b/services/mirror/mirror_pull.go
index 6fb07a8ea3..6633ef2931 100644
--- a/services/mirror/mirror_pull.go
+++ b/services/mirror/mirror_pull.go
@@ -9,22 +9,22 @@ import (
"strings"
"time"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- giturl "gitea.dev/modules/git/url"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/migrations"
- notify_service "gitea.dev/services/notify"
- repo_service "gitea.dev/services/repository"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ giturl "gotea.dev/modules/git/url"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/migrations"
+ notify_service "gotea.dev/services/notify"
+ repo_service "gotea.dev/services/repository"
)
// UpdateAddress writes new address to Git repository and database
diff --git a/services/mirror/mirror_push.go b/services/mirror/mirror_push.go
index 3ce4d72d50..314fc28264 100644
--- a/services/mirror/mirror_push.go
+++ b/services/mirror/mirror_push.go
@@ -11,19 +11,19 @@ import (
"regexp"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/migrations"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/migrations"
+ repo_service "gotea.dev/services/repository"
)
var stripExitStatus = regexp.MustCompile(`exit status \d+ - `)
diff --git a/services/mirror/notifier.go b/services/mirror/notifier.go
index 026205ffc2..e95538b68f 100644
--- a/services/mirror/notifier.go
+++ b/services/mirror/notifier.go
@@ -6,10 +6,10 @@ package mirror
import (
"context"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/repository"
- notify_service "gitea.dev/services/notify"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/repository"
+ notify_service "gotea.dev/services/notify"
)
func init() {
diff --git a/services/mirror/queue.go b/services/mirror/queue.go
index 49bbbf1067..0b2aacf1c4 100644
--- a/services/mirror/queue.go
+++ b/services/mirror/queue.go
@@ -4,10 +4,10 @@
package mirror
import (
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
)
var mirrorQueue *queue.WorkerPoolQueue[*SyncRequest]
diff --git a/services/notifications/status.go b/services/notifications/status.go
index a75417ee97..977e090512 100644
--- a/services/notifications/status.go
+++ b/services/notifications/status.go
@@ -8,9 +8,9 @@ package notifications
import (
"context"
- activities_model "gitea.dev/models/activities"
- user_model "gitea.dev/models/user"
- notify_service "gitea.dev/services/notify"
+ activities_model "gotea.dev/models/activities"
+ user_model "gotea.dev/models/user"
+ notify_service "gotea.dev/services/notify"
)
func SetIssueReadBy(ctx context.Context, issueID, userID int64) error {
diff --git a/services/notify/notifier.go b/services/notify/notifier.go
index 9f572163a1..5658440f70 100644
--- a/services/notify/notifier.go
+++ b/services/notify/notifier.go
@@ -6,14 +6,14 @@ package notify
import (
"context"
- actions_model "gitea.dev/models/actions"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/repository"
+ actions_model "gotea.dev/models/actions"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/repository"
)
// Notifier defines an interface to notify receiver
diff --git a/services/notify/notify.go b/services/notify/notify.go
index 02c8c01a45..9638a3d11c 100644
--- a/services/notify/notify.go
+++ b/services/notify/notify.go
@@ -6,15 +6,15 @@ package notify
import (
"context"
- actions_model "gitea.dev/models/actions"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
+ actions_model "gotea.dev/models/actions"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
)
var notifiers []Notifier
diff --git a/services/notify/null.go b/services/notify/null.go
index 71d8a71af3..a5f4239b54 100644
--- a/services/notify/null.go
+++ b/services/notify/null.go
@@ -6,14 +6,14 @@ package notify
import (
"context"
- actions_model "gitea.dev/models/actions"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/repository"
+ actions_model "gotea.dev/models/actions"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/repository"
)
// NullNotifier implements a blank notifier
diff --git a/services/oauth2_provider/access_token.go b/services/oauth2_provider/access_token.go
index ab89e5c261..315de59b88 100644
--- a/services/oauth2_provider/access_token.go
+++ b/services/oauth2_provider/access_token.go
@@ -11,15 +11,15 @@ import (
"strconv"
"strings"
- auth "gitea.dev/models/auth"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ auth "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/oauth2_provider/init.go b/services/oauth2_provider/init.go
index d325dc89bb..751caa5737 100644
--- a/services/oauth2_provider/init.go
+++ b/services/oauth2_provider/init.go
@@ -6,7 +6,7 @@ package oauth2_provider
import (
"context"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// Init initializes the oauth source
diff --git a/services/oauth2_provider/jwtsigningkey.go b/services/oauth2_provider/jwtsigningkey.go
index 62d8a55c8b..7d4f65e6e8 100644
--- a/services/oauth2_provider/jwtsigningkey.go
+++ b/services/oauth2_provider/jwtsigningkey.go
@@ -18,9 +18,9 @@ import (
"path/filepath"
"strings"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/oauth2_provider/token.go b/services/oauth2_provider/token.go
index 499865a90c..4c4c8e979b 100644
--- a/services/oauth2_provider/token.go
+++ b/services/oauth2_provider/token.go
@@ -8,7 +8,7 @@ import (
"fmt"
"time"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/modules/timeutil"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/org/org.go b/services/org/org.go
index 382cd0a617..893a22a85a 100644
--- a/services/org/org.go
+++ b/services/org/org.go
@@ -7,23 +7,23 @@ import (
"context"
"fmt"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- secret_model "gitea.dev/models/secret"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitrepo"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- repo_service "gitea.dev/services/repository"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ secret_model "gotea.dev/models/secret"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitrepo"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ repo_service "gotea.dev/services/repository"
)
// deleteOrganization deletes models associated to an organization.
diff --git a/services/org/org_test.go b/services/org/org_test.go
index 38bc5796fa..45c744a72b 100644
--- a/services/org/org_test.go
+++ b/services/org/org_test.go
@@ -6,12 +6,12 @@ package org
import (
"testing"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/org/team.go b/services/org/team.go
index 4c4c7cb14e..fbb5fc33bb 100644
--- a/services/org/team.go
+++ b/services/org/team.go
@@ -9,20 +9,20 @@ import (
"fmt"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- repo_service "gitea.dev/services/repository"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ repo_service "gotea.dev/services/repository"
"xorm.io/builder"
)
diff --git a/services/org/team_invite.go b/services/org/team_invite.go
index a326c7df44..dcbc573ecb 100644
--- a/services/org/team_invite.go
+++ b/services/org/team_invite.go
@@ -6,9 +6,9 @@ package org
import (
"context"
- org_model "gitea.dev/models/organization"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/mailer"
+ org_model "gotea.dev/models/organization"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/mailer"
)
// CreateTeamInvite make a persistent invite in db and mail it
diff --git a/services/org/team_test.go b/services/org/team_test.go
index a75cca6064..42b2565809 100644
--- a/services/org/team_test.go
+++ b/services/org/team_test.go
@@ -8,15 +8,15 @@ import (
"strings"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
)
diff --git a/services/org/user.go b/services/org/user.go
index 3e20a250ba..4fa16a9a51 100644
--- a/services/org/user.go
+++ b/services/org/user.go
@@ -8,13 +8,13 @@ import (
"context"
"fmt"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/audit"
)
// RemoveOrgUser removes user from given organization.
diff --git a/services/org/user_test.go b/services/org/user_test.go
index 5394103a0c..8b77cc8a04 100644
--- a/services/org/user_test.go
+++ b/services/org/user_test.go
@@ -6,12 +6,12 @@ package org
import (
"testing"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/packages/alpine/repository.go b/services/packages/alpine/repository.go
index 3d2e4c29d7..67c9743f6e 100644
--- a/services/packages/alpine/repository.go
+++ b/services/packages/alpine/repository.go
@@ -20,15 +20,15 @@ import (
"io"
"strings"
- packages_model "gitea.dev/models/packages"
- alpine_model "gitea.dev/models/packages/alpine"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- alpine_module "gitea.dev/modules/packages/alpine"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ alpine_model "gotea.dev/models/packages/alpine"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ alpine_module "gotea.dev/modules/packages/alpine"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
)
const (
diff --git a/services/packages/arch/repository.go b/services/packages/arch/repository.go
index 7aa22be253..121b311449 100644
--- a/services/packages/arch/repository.go
+++ b/services/packages/arch/repository.go
@@ -17,16 +17,16 @@ import (
"strconv"
"strings"
- packages_model "gitea.dev/models/packages"
- arch_model "gitea.dev/models/packages/arch"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- arch_module "gitea.dev/modules/packages/arch"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ arch_model "gotea.dev/models/packages/arch"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ arch_module "gotea.dev/modules/packages/arch"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/armor"
diff --git a/services/packages/auth.go b/services/packages/auth.go
index d0099ffb73..bcd849b03c 100644
--- a/services/packages/auth.go
+++ b/services/packages/auth.go
@@ -10,10 +10,10 @@ import (
"strings"
"time"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
"github.com/golang-jwt/jwt/v5"
)
diff --git a/services/packages/cargo/index.go b/services/packages/cargo/index.go
index f4cc4c7d40..0faef42b8f 100644
--- a/services/packages/cargo/index.go
+++ b/services/packages/cargo/index.go
@@ -12,17 +12,17 @@ import (
"path"
"strconv"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- cargo_module "gitea.dev/modules/packages/cargo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ cargo_module "gotea.dev/modules/packages/cargo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
)
const (
diff --git a/services/packages/cleanup/cleanup.go b/services/packages/cleanup/cleanup.go
index 3c3424c740..9fea530f8b 100644
--- a/services/packages/cleanup/cleanup.go
+++ b/services/packages/cleanup/cleanup.go
@@ -8,19 +8,19 @@ import (
"fmt"
"time"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- packages_service "gitea.dev/services/packages"
- alpine_service "gitea.dev/services/packages/alpine"
- arch_service "gitea.dev/services/packages/arch"
- cargo_service "gitea.dev/services/packages/cargo"
- container_service "gitea.dev/services/packages/container"
- debian_service "gitea.dev/services/packages/debian"
- rpm_service "gitea.dev/services/packages/rpm"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ packages_service "gotea.dev/services/packages"
+ alpine_service "gotea.dev/services/packages/alpine"
+ arch_service "gotea.dev/services/packages/arch"
+ cargo_service "gotea.dev/services/packages/cargo"
+ container_service "gotea.dev/services/packages/container"
+ debian_service "gotea.dev/services/packages/debian"
+ rpm_service "gotea.dev/services/packages/rpm"
)
// CleanupTask executes cleanup rules and cleanup expired package data
diff --git a/services/packages/container/blob_uploader.go b/services/packages/container/blob_uploader.go
index 8b6e55d56d..d962b039fa 100644
--- a/services/packages/container/blob_uploader.go
+++ b/services/packages/container/blob_uploader.go
@@ -9,10 +9,10 @@ import (
"io"
"os"
- packages_model "gitea.dev/models/packages"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/tempdir"
+ packages_model "gotea.dev/models/packages"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/tempdir"
)
var (
diff --git a/services/packages/container/cleanup.go b/services/packages/container/cleanup.go
index 7aab4769f3..ce97e1f2b5 100644
--- a/services/packages/container/cleanup.go
+++ b/services/packages/container/cleanup.go
@@ -7,11 +7,11 @@ import (
"context"
"time"
- packages_model "gitea.dev/models/packages"
- container_model "gitea.dev/models/packages/container"
- "gitea.dev/modules/optional"
- container_module "gitea.dev/modules/packages/container"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ container_model "gotea.dev/models/packages/container"
+ "gotea.dev/modules/optional"
+ container_module "gotea.dev/modules/packages/container"
+ packages_service "gotea.dev/services/packages"
"github.com/opencontainers/go-digest"
)
diff --git a/services/packages/container/common.go b/services/packages/container/common.go
index c359794d24..11b43385d3 100644
--- a/services/packages/container/common.go
+++ b/services/packages/container/common.go
@@ -8,12 +8,12 @@ import (
"io"
"strings"
- packages_model "gitea.dev/models/packages"
- container_service "gitea.dev/models/packages/container"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/packages"
- container_module "gitea.dev/modules/packages/container"
+ packages_model "gotea.dev/models/packages"
+ container_service "gotea.dev/models/packages/container"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/packages"
+ container_module "gotea.dev/modules/packages/container"
v1 "github.com/opencontainers/image-spec/specs-go/v1"
)
diff --git a/services/packages/debian/repository.go b/services/packages/debian/repository.go
index a635dea1be..ef8451aa85 100644
--- a/services/packages/debian/repository.go
+++ b/services/packages/debian/repository.go
@@ -15,14 +15,14 @@ import (
"strings"
"time"
- packages_model "gitea.dev/models/packages"
- debian_model "gitea.dev/models/packages/debian"
- user_model "gitea.dev/models/user"
- packages_module "gitea.dev/modules/packages"
- debian_module "gitea.dev/modules/packages/debian"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ debian_model "gotea.dev/models/packages/debian"
+ user_model "gotea.dev/models/user"
+ packages_module "gotea.dev/modules/packages"
+ debian_module "gotea.dev/modules/packages/debian"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/armor"
diff --git a/services/packages/debian/spec.go b/services/packages/debian/spec.go
index cab6d49e80..d249b471f7 100644
--- a/services/packages/debian/spec.go
+++ b/services/packages/debian/spec.go
@@ -8,13 +8,13 @@ import (
"html/template"
"strings"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/container"
- "gitea.dev/modules/htmlutil"
- "gitea.dev/modules/httplib"
- debian_module "gitea.dev/modules/packages/debian"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/htmlutil"
+ "gotea.dev/modules/httplib"
+ debian_module "gotea.dev/modules/packages/debian"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
)
type Specialization struct {
diff --git a/services/packages/keypair.go b/services/packages/keypair.go
index 724fd41b74..877d2df6db 100644
--- a/services/packages/keypair.go
+++ b/services/packages/keypair.go
@@ -8,9 +8,9 @@ import (
"errors"
"fmt"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/util"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/util"
)
// GetOrCreateKeyPair gets the owner's key pair used to sign repository files,
diff --git a/services/packages/package_update.go b/services/packages/package_update.go
index b378b95553..ead4a746e5 100644
--- a/services/packages/package_update.go
+++ b/services/packages/package_update.go
@@ -7,14 +7,14 @@ import (
"context"
"fmt"
- org_model "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
+ org_model "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
)
func LinkToRepository(ctx context.Context, pkg *packages_model.Package, repo *repo_model.Repository, doer *user_model.User) error {
diff --git a/services/packages/packages.go b/services/packages/packages.go
index e102b52ea6..78f3c317a6 100644
--- a/services/packages/packages.go
+++ b/services/packages/packages.go
@@ -14,18 +14,18 @@ import (
"net/url"
"strings"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ notify_service "gotea.dev/services/notify"
)
var (
diff --git a/services/packages/packages_test.go b/services/packages/packages_test.go
index ea27d62d4b..687b4b1efd 100644
--- a/services/packages/packages_test.go
+++ b/services/packages/packages_test.go
@@ -11,15 +11,15 @@ import (
"net/http"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- packages_module "gitea.dev/modules/packages"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ packages_module "gotea.dev/modules/packages"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/packages/pkgspec/manager.go b/services/packages/pkgspec/manager.go
index 18fe5306a2..6b74904869 100644
--- a/services/packages/pkgspec/manager.go
+++ b/services/packages/pkgspec/manager.go
@@ -4,10 +4,10 @@
package pkgspec
import (
- packages_model "gitea.dev/models/packages"
- packages_service "gitea.dev/services/packages"
- "gitea.dev/services/packages/debian"
- "gitea.dev/services/packages/terraform"
+ packages_model "gotea.dev/models/packages"
+ packages_service "gotea.dev/services/packages"
+ "gotea.dev/services/packages/debian"
+ "gotea.dev/services/packages/terraform"
)
func InitManager() error {
diff --git a/services/packages/rpm/repository.go b/services/packages/rpm/repository.go
index 3be1bcc3b1..7a22e0fe64 100644
--- a/services/packages/rpm/repository.go
+++ b/services/packages/rpm/repository.go
@@ -16,13 +16,13 @@ import (
"strings"
"time"
- packages_model "gitea.dev/models/packages"
- rpm_model "gitea.dev/models/packages/rpm"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- packages_module "gitea.dev/modules/packages"
- rpm_module "gitea.dev/modules/packages/rpm"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ rpm_model "gotea.dev/models/packages/rpm"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ packages_module "gotea.dev/modules/packages"
+ rpm_module "gotea.dev/modules/packages/rpm"
+ packages_service "gotea.dev/services/packages"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/armor"
diff --git a/services/packages/rpm/sign.go b/services/packages/rpm/sign.go
index e12c4a97c2..7c22930af7 100644
--- a/services/packages/rpm/sign.go
+++ b/services/packages/rpm/sign.go
@@ -8,7 +8,7 @@ import (
"io"
"strings"
- packages_module "gitea.dev/modules/packages"
+ packages_module "gotea.dev/modules/packages"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/sassoftware/go-rpmutils"
diff --git a/services/packages/spec.go b/services/packages/spec.go
index 19f5eec24d..8db7aca0b7 100644
--- a/services/packages/spec.go
+++ b/services/packages/spec.go
@@ -8,8 +8,8 @@ import (
"html/template"
"sync"
- packages_model "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
+ packages_model "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
)
type SpecGetViewPackageVersionData struct{}
diff --git a/services/packages/terraform/spec.go b/services/packages/terraform/spec.go
index 4f5d49f8fb..df90a3015a 100644
--- a/services/packages/terraform/spec.go
+++ b/services/packages/terraform/spec.go
@@ -6,12 +6,12 @@ package terraform
import (
"context"
- packages_model "gitea.dev/models/packages"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- terraform_module "gitea.dev/modules/packages/terraform"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
+ packages_model "gotea.dev/models/packages"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ terraform_module "gotea.dev/modules/packages/terraform"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
)
type Specialization struct {
diff --git a/services/packages/terraform/state.go b/services/packages/terraform/state.go
index d3d860e0d6..2d54ecf2c3 100644
--- a/services/packages/terraform/state.go
+++ b/services/packages/terraform/state.go
@@ -6,9 +6,9 @@ package terraform
import (
"context"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/modules/optional"
- terraform_module "gitea.dev/modules/packages/terraform"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/modules/optional"
+ terraform_module "gotea.dev/modules/packages/terraform"
)
// IsLocked is a helper function to check if the terraform state is locked
diff --git a/services/projects/issue.go b/services/projects/issue.go
index 47c3273172..077757d709 100644
--- a/services/projects/issue.go
+++ b/services/projects/issue.go
@@ -8,13 +8,13 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
"xorm.io/builder"
)
diff --git a/services/projects/issue_test.go b/services/projects/issue_test.go
index df9f9c1c24..b1b2ca5331 100644
--- a/services/projects/issue_test.go
+++ b/services/projects/issue_test.go
@@ -7,13 +7,13 @@ import (
"strconv"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- org_model "gitea.dev/models/organization"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ org_model "gotea.dev/models/organization"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/projects/main_test.go b/services/projects/main_test.go
index c30b34f46d..2835e48d14 100644
--- a/services/projects/main_test.go
+++ b/services/projects/main_test.go
@@ -6,10 +6,10 @@ package project
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models/actions"
- _ "gitea.dev/models/activities"
+ _ "gotea.dev/models/actions"
+ _ "gotea.dev/models/activities"
)
func TestMain(m *testing.M) {
diff --git a/services/projects/project.go b/services/projects/project.go
index ceb4b3ff7b..baa113fe1e 100644
--- a/services/projects/project.go
+++ b/services/projects/project.go
@@ -6,9 +6,9 @@ package project
import (
"context"
- "gitea.dev/models/db"
- project_model "gitea.dev/models/project"
- "gitea.dev/modules/optional"
+ "gotea.dev/models/db"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/modules/optional"
)
// UpdateProjectOptions represents updatable project fields. Fields with no value are left unchanged.
diff --git a/services/pubsub/init.go b/services/pubsub/init.go
index 90105a194f..e0bdeb3014 100644
--- a/services/pubsub/init.go
+++ b/services/pubsub/init.go
@@ -6,7 +6,7 @@ package pubsub
import (
"fmt"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/setting"
)
// Init replaces DefaultBroker according to setting.Websocket. Called from
diff --git a/services/pubsub/memory.go b/services/pubsub/memory.go
index dc6f0f47f2..be42a8fa61 100644
--- a/services/pubsub/memory.go
+++ b/services/pubsub/memory.go
@@ -6,8 +6,8 @@ package pubsub
import (
"sync"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
)
// MemoryBroker fans out within a single process. Suitable for single-instance
diff --git a/services/pubsub/redis.go b/services/pubsub/redis.go
index f1b90368dd..9029a95377 100644
--- a/services/pubsub/redis.go
+++ b/services/pubsub/redis.go
@@ -8,10 +8,10 @@ import (
"sync"
"time"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/nosql"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/nosql"
+ "gotea.dev/modules/util"
"github.com/redis/go-redis/v9"
)
diff --git a/services/pubsub/redis_test.go b/services/pubsub/redis_test.go
index 7b9855c599..f8fa96caa8 100644
--- a/services/pubsub/redis_test.go
+++ b/services/pubsub/redis_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/check.go b/services/pull/check.go
index 48ab332ed3..d5490b8e07 100644
--- a/services/pull/check.go
+++ b/services/pull/check.go
@@ -11,27 +11,27 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/automergequeue"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/automergequeue"
)
// prPatchCheckerQueue represents a queue to handle update pull request tests
diff --git a/services/pull/check_test.go b/services/pull/check_test.go
index 4a75b10168..03103b9e8a 100644
--- a/services/pull/check_test.go
+++ b/services/pull/check_test.go
@@ -8,18 +8,18 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/automergequeue"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/automergequeue"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/comment.go b/services/pull/comment.go
index fcb1b49a3d..3758ce7920 100644
--- a/services/pull/comment.go
+++ b/services/pull/comment.go
@@ -7,13 +7,13 @@ import (
"context"
"slices"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
)
const maxPushCommitsInCommentCount = 1000
diff --git a/services/pull/comment_test.go b/services/pull/comment_test.go
index 9033285f79..c3f1464f18 100644
--- a/services/pull/comment_test.go
+++ b/services/pull/comment_test.go
@@ -6,12 +6,12 @@ package pull
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/commit_status.go b/services/pull/commit_status.go
index a48ce2287c..20247ed1cc 100644
--- a/services/pull/commit_status.go
+++ b/services/pull/commit_status.go
@@ -10,16 +10,16 @@ import (
"fmt"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
)
// MergeRequiredContextsCommitStatus returns a commit status state for given required contexts
diff --git a/services/pull/commit_status_test.go b/services/pull/commit_status_test.go
index 73197c3a25..1d242a161f 100644
--- a/services/pull/commit_status_test.go
+++ b/services/pull/commit_status_test.go
@@ -7,12 +7,12 @@ package pull
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/commitstatus"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/commitstatus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/edits.go b/services/pull/edits.go
index 6c9ee10c9a..eaf3893dd0 100644
--- a/services/pull/edits.go
+++ b/services/pull/edits.go
@@ -8,10 +8,10 @@ import (
"context"
"errors"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
)
var ErrUserHasNoPermissionForAction = errors.New("user not allowed to do this action")
diff --git a/services/pull/lfs.go b/services/pull/lfs.go
index fda3f058ff..76bc3d72e9 100644
--- a/services/pull/lfs.go
+++ b/services/pull/lfs.go
@@ -11,14 +11,14 @@ import (
"io"
"strconv"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/pipeline"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/pipeline"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
"golang.org/x/sync/errgroup"
)
diff --git a/services/pull/main_test.go b/services/pull/main_test.go
index b73c70734e..f2e7d7763a 100644
--- a/services/pull/main_test.go
+++ b/services/pull/main_test.go
@@ -7,9 +7,9 @@ package pull
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/services/pull/merge.go b/services/pull/merge.go
index 21122fda42..6eb04acbf1 100644
--- a/services/pull/merge.go
+++ b/services/pull/merge.go
@@ -16,29 +16,29 @@ import (
"unicode"
"uuid"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/gtprof"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/references"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates/vars"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- issue_service "gitea.dev/services/issue"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/gtprof"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/references"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates/vars"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ issue_service "gotea.dev/services/issue"
+ notify_service "gotea.dev/services/notify"
)
// getMergeMessage composes the message used when merging a pull request.
diff --git a/services/pull/merge_ff_only.go b/services/pull/merge_ff_only.go
index 7920d97c10..30cac5a141 100644
--- a/services/pull/merge_ff_only.go
+++ b/services/pull/merge_ff_only.go
@@ -4,9 +4,9 @@
package pull
import (
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// doMergeStyleFastForwardOnly merges the tracking into the current HEAD - which is assumed to be staging branch (equal to the pr.BaseBranch)
diff --git a/services/pull/merge_merge.go b/services/pull/merge_merge.go
index 526aeb0e1a..1d2ab936d8 100644
--- a/services/pull/merge_merge.go
+++ b/services/pull/merge_merge.go
@@ -4,9 +4,9 @@
package pull
import (
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// doMergeStyleMerge merges the tracking branch into the current HEAD - which is assumed to be the staging branch (equal to the pr.BaseBranch)
diff --git a/services/pull/merge_prepare.go b/services/pull/merge_prepare.go
index 73c05d62e3..b665aea1ae 100644
--- a/services/pull/merge_prepare.go
+++ b/services/pull/merge_prepare.go
@@ -13,14 +13,14 @@ import (
"strings"
"time"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
)
type mergeContext struct {
diff --git a/services/pull/merge_rebase.go b/services/pull/merge_rebase.go
index 1de4683440..e804b0b346 100644
--- a/services/pull/merge_rebase.go
+++ b/services/pull/merge_rebase.go
@@ -7,10 +7,10 @@ import (
"fmt"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// getRebaseAmendMessage composes the message to amend commits in rebase merge of a pull request.
diff --git a/services/pull/merge_squash.go b/services/pull/merge_squash.go
index 5ad3eaa466..ae572bb54e 100644
--- a/services/pull/merge_squash.go
+++ b/services/pull/merge_squash.go
@@ -6,13 +6,13 @@ package pull
import (
"fmt"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
)
// doMergeStyleSquash gets a commit author signature for squash commits
diff --git a/services/pull/merge_test.go b/services/pull/merge_test.go
index bb489e43c5..332ce7fa6b 100644
--- a/services/pull/merge_test.go
+++ b/services/pull/merge_test.go
@@ -7,10 +7,10 @@ import (
"strings"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/merge_tree.go b/services/pull/merge_tree.go
index 00d217dcce..6ab0bee0d7 100644
--- a/services/pull/merge_tree.go
+++ b/services/pull/merge_tree.go
@@ -8,10 +8,10 @@ import (
"errors"
"fmt"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// checkConflictsMergeTree uses git merge-tree to check for conflicts and if none are found checks if the patch is empty
diff --git a/services/pull/merge_tree_test.go b/services/pull/merge_tree_test.go
index 7b5c47d832..2e8b35144b 100644
--- a/services/pull/merge_tree_test.go
+++ b/services/pull/merge_tree_test.go
@@ -8,10 +8,10 @@ import (
"fmt"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/patch.go b/services/pull/patch.go
index e9094ff9db..b0371de258 100644
--- a/services/pull/patch.go
+++ b/services/pull/patch.go
@@ -12,14 +12,14 @@ import (
"path/filepath"
"strings"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/util"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/util"
)
// DownloadDiffOrPatch will write the patch for the pr to the writer
diff --git a/services/pull/patch_unmerged.go b/services/pull/patch_unmerged.go
index 854acc5d3b..59cedcae28 100644
--- a/services/pull/patch_unmerged.go
+++ b/services/pull/patch_unmerged.go
@@ -12,9 +12,9 @@ import (
"strconv"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
)
// lsFileLine is a Quadruplet struct (+error) representing a partially parsed line from ls-files
diff --git a/services/pull/protected_branch.go b/services/pull/protected_branch.go
index 667a4b9d1c..e1b1e0da7d 100644
--- a/services/pull/protected_branch.go
+++ b/services/pull/protected_branch.go
@@ -6,8 +6,8 @@ package pull
import (
"context"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
)
func CreateOrUpdateProtectedBranch(ctx context.Context, repo *repo_model.Repository,
diff --git a/services/pull/pull.go b/services/pull/pull.go
index 23ac5ae3a8..017bb92190 100644
--- a/services/pull/pull.go
+++ b/services/pull/pull.go
@@ -15,27 +15,27 @@ import (
"unicode"
"unicode/utf8"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- git_service "gitea.dev/services/git"
- issue_service "gitea.dev/services/issue"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ git_service "gotea.dev/services/git"
+ issue_service "gotea.dev/services/issue"
+ notify_service "gotea.dev/services/notify"
)
func getPullWorkingLockKey(prID int64) string {
diff --git a/services/pull/pull_test.go b/services/pull/pull_test.go
index f2a23133b6..2a98981cc2 100644
--- a/services/pull/pull_test.go
+++ b/services/pull/pull_test.go
@@ -7,13 +7,13 @@ package pull
import (
"testing"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/pull/ref.go b/services/pull/ref.go
index b3fd57cb1c..73e31da9cf 100644
--- a/services/pull/ref.go
+++ b/services/pull/ref.go
@@ -7,10 +7,10 @@ import (
"context"
"errors"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
)
func EnumPullRequestsByHeadCommitID(ctx context.Context, repo *repo_model.Repository, commitID string, filter func(*issues_model.PullRequest) bool) (pulls []*issues_model.PullRequest, _ error) {
diff --git a/services/pull/ref_test.go b/services/pull/ref_test.go
index 864cb052a5..715afbaea3 100644
--- a/services/pull/ref_test.go
+++ b/services/pull/ref_test.go
@@ -6,9 +6,9 @@ package pull_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/services/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/services/pull"
"github.com/stretchr/testify/assert"
)
diff --git a/services/pull/review.go b/services/pull/review.go
index 0616c1477a..4de76e17e6 100644
--- a/services/pull/review.go
+++ b/services/pull/review.go
@@ -9,17 +9,17 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/util"
- "gitea.dev/services/gitdiff"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/gitdiff"
+ notify_service "gotea.dev/services/notify"
)
func isErrBlameNotFoundOrNotEnoughLines(err error) bool {
diff --git a/services/pull/review_test.go b/services/pull/review_test.go
index 08b3768a7d..a030669037 100644
--- a/services/pull/review_test.go
+++ b/services/pull/review_test.go
@@ -8,11 +8,11 @@ import (
"strings"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- pull_service "gitea.dev/services/pull"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ pull_service "gotea.dev/services/pull"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/pull/reviewer.go b/services/pull/reviewer.go
index b98c85ebc3..b06effc375 100644
--- a/services/pull/reviewer.go
+++ b/services/pull/reviewer.go
@@ -6,13 +6,13 @@ package pull
import (
"context"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
"xorm.io/builder"
)
diff --git a/services/pull/reviewer_test.go b/services/pull/reviewer_test.go
index 81ca789179..69e1bab99b 100644
--- a/services/pull/reviewer_test.go
+++ b/services/pull/reviewer_test.go
@@ -6,9 +6,9 @@ package pull_test
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- pull_service "gitea.dev/services/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ pull_service "gotea.dev/services/pull"
"github.com/stretchr/testify/assert"
)
diff --git a/services/pull/temp_repo.go b/services/pull/temp_repo.go
index 5fb295f1d0..276cfe97a2 100644
--- a/services/pull/temp_repo.go
+++ b/services/pull/temp_repo.go
@@ -11,13 +11,13 @@ import (
"os"
"path/filepath"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/git/gitrepo"
- repo_module "gitea.dev/modules/repository"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/git/gitrepo"
+ repo_module "gotea.dev/modules/repository"
)
// Temporary repos created here use standard branch names to help simplify
diff --git a/services/pull/update.go b/services/pull/update.go
index 732a475e72..4d9afa2316 100644
--- a/services/pull/update.go
+++ b/services/pull/update.go
@@ -8,16 +8,16 @@ import (
"errors"
"fmt"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
)
// Update updates pull request with base branch.
diff --git a/services/pull/update_rebase.go b/services/pull/update_rebase.go
index bd2906d548..294b759528 100644
--- a/services/pull/update_rebase.go
+++ b/services/pull/update_rebase.go
@@ -8,14 +8,14 @@ import (
"fmt"
"strings"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
)
// updateHeadByRebaseOnToBase handles updating a PR's head branch by rebasing it on the PR current base branch
diff --git a/services/pull/update_test.go b/services/pull/update_test.go
index b340a7a5d5..a9a689c4f0 100644
--- a/services/pull/update_test.go
+++ b/services/pull/update_test.go
@@ -7,15 +7,15 @@ import (
"context"
"testing"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/release/notes.go b/services/release/notes.go
index 2dd7c9f731..2617b36eb2 100644
--- a/services/release/notes.go
+++ b/services/release/notes.go
@@ -10,13 +10,13 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/util"
)
// GenerateReleaseNotesOptions describes how to build release notes content.
diff --git a/services/release/notes_test.go b/services/release/notes_test.go
index 817fee41e4..cf9b0a3d3a 100644
--- a/services/release/notes_test.go
+++ b/services/release/notes_test.go
@@ -6,13 +6,13 @@ package release
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/timeutil"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/timeutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/release/release.go b/services/release/release.go
index 6a0746e628..2033169ed1 100644
--- a/services/release/release.go
+++ b/services/release/release.go
@@ -9,22 +9,22 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/context/upload"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/context/upload"
+ notify_service "gotea.dev/services/notify"
)
// ErrInvalidTagName represents a "InvalidTagName" kind of error.
diff --git a/services/release/release_test.go b/services/release/release_test.go
index 35a1466555..316a9c9245 100644
--- a/services/release/release_test.go
+++ b/services/release/release_test.go
@@ -8,17 +8,17 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- "gitea.dev/services/attachment"
- "gitea.dev/services/context/upload"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/services/attachment"
+ "gotea.dev/services/context/upload"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/services/release/tag.go b/services/release/tag.go
index 2a88073391..83a520c6d8 100644
--- a/services/release/tag.go
+++ b/services/release/tag.go
@@ -8,12 +8,12 @@ import (
"errors"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- repo_module "gitea.dev/modules/repository"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ repo_module "gotea.dev/modules/repository"
"xorm.io/builder"
)
diff --git a/services/repository/adopt.go b/services/repository/adopt.go
index 2cf964f9ae..89e5fcebce 100644
--- a/services/repository/adopt.go
+++ b/services/repository/adopt.go
@@ -11,20 +11,20 @@ import (
"path/filepath"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ notify_service "gotea.dev/services/notify"
)
func deleteFailedAdoptRepository(repoID int64) error {
diff --git a/services/repository/adopt_test.go b/services/repository/adopt_test.go
index d1077ca625..1687d7073d 100644
--- a/services/repository/adopt_test.go
+++ b/services/repository/adopt_test.go
@@ -9,13 +9,13 @@ import (
"path/filepath"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/archiver/archiver.go b/services/repository/archiver/archiver.go
index e2b6eeb8d8..6b53c76d8c 100644
--- a/services/repository/archiver/archiver.go
+++ b/services/repository/archiver/archiver.go
@@ -12,20 +12,20 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/httpcache"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/util"
- gitea_context "gitea.dev/services/context"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/httpcache"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/util"
+ gitea_context "gotea.dev/services/context"
)
// ArchiveRequest defines the parameters of an archive request, which notably
diff --git a/services/repository/archiver/archiver_test.go b/services/repository/archiver/archiver_test.go
index e9b2f52545..66d3613bb3 100644
--- a/services/repository/archiver/archiver_test.go
+++ b/services/repository/archiver/archiver_test.go
@@ -7,13 +7,13 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/util"
- "gitea.dev/services/contexttest"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/contexttest"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/repository/avatar.go b/services/repository/avatar.go
index fabe8dea63..af45557209 100644
--- a/services/repository/avatar.go
+++ b/services/repository/avatar.go
@@ -9,11 +9,11 @@ import (
"io"
"strconv"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
)
// UploadAvatar saves custom avatar for repository.
diff --git a/services/repository/avatar_test.go b/services/repository/avatar_test.go
index 67f41a1b60..1bfc82cdd8 100644
--- a/services/repository/avatar_test.go
+++ b/services/repository/avatar_test.go
@@ -9,9 +9,9 @@ import (
"image/png"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/avatar"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/avatar"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/branch.go b/services/repository/branch.go
index 1f1bd288c2..c384cc0b2a 100644
--- a/services/repository/branch.go
+++ b/services/repository/branch.go
@@ -10,29 +10,29 @@ import (
"slices"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/queue"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- actions_service "gitea.dev/services/actions"
- notify_service "gitea.dev/services/notify"
- release_service "gitea.dev/services/release"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/queue"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ actions_service "gotea.dev/services/actions"
+ notify_service "gotea.dev/services/notify"
+ release_service "gotea.dev/services/release"
"xorm.io/builder"
)
diff --git a/services/repository/branch_test.go b/services/repository/branch_test.go
index 7af07121da..454f311e73 100644
--- a/services/repository/branch_test.go
+++ b/services/repository/branch_test.go
@@ -7,12 +7,12 @@ import (
"context"
"testing"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/repository/cache.go b/services/repository/cache.go
index aaf998c785..6226db9ddf 100644
--- a/services/repository/cache.go
+++ b/services/repository/cache.go
@@ -6,7 +6,7 @@ package repository
import (
"context"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
)
// CacheRef caches last commit information of the branch or the tag
diff --git a/services/repository/check.go b/services/repository/check.go
index 1154a2b716..fdde739b03 100644
--- a/services/repository/check.go
+++ b/services/repository/check.go
@@ -9,16 +9,16 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/services/audit"
"xorm.io/builder"
)
diff --git a/services/repository/collaboration.go b/services/repository/collaboration.go
index 3c6fbfd2bf..61de8307cc 100644
--- a/services/repository/collaboration.go
+++ b/services/repository/collaboration.go
@@ -8,14 +8,14 @@ import (
"context"
"fmt"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/services/audit"
"xorm.io/builder"
)
diff --git a/services/repository/collaboration_test.go b/services/repository/collaboration_test.go
index 2cb734fd06..0023dceae0 100644
--- a/services/repository/collaboration_test.go
+++ b/services/repository/collaboration_test.go
@@ -6,14 +6,14 @@ package repository
import (
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/commit.go b/services/repository/commit.go
index 3eb0e66b39..575bb34c27 100644
--- a/services/repository/commit.go
+++ b/services/repository/commit.go
@@ -7,8 +7,8 @@ import (
"context"
"fmt"
- "gitea.dev/modules/util"
- gitea_ctx "gitea.dev/services/context"
+ "gotea.dev/modules/util"
+ gitea_ctx "gotea.dev/services/context"
)
type ContainedLinks struct { // TODO: better name?
diff --git a/services/repository/commitstatus/commitstatus.go b/services/repository/commitstatus/commitstatus.go
index 78d398ade1..06c5fb189c 100644
--- a/services/repository/commitstatus/commitstatus.go
+++ b/services/repository/commitstatus/commitstatus.go
@@ -9,17 +9,17 @@ import (
"fmt"
"slices"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/services/notify"
)
func getCacheKey(repoID int64, brancheName string) string {
diff --git a/services/repository/contributors_graph.go b/services/repository/contributors_graph.go
index 1b9e9c4d9a..c0243802c9 100644
--- a/services/repository/contributors_graph.go
+++ b/services/repository/contributors_graph.go
@@ -13,15 +13,15 @@ import (
"sync"
"time"
- "gitea.dev/models/avatars"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
+ "gotea.dev/models/avatars"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
)
const (
diff --git a/services/repository/contributors_graph_test.go b/services/repository/contributors_graph_test.go
index 7fb5895fef..9dc3adb332 100644
--- a/services/repository/contributors_graph_test.go
+++ b/services/repository/contributors_graph_test.go
@@ -8,10 +8,10 @@ import (
"slices"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/cache"
- "gitea.dev/modules/setting"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/cache"
+ "gotea.dev/modules/setting"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/create.go b/services/repository/create.go
index 78dc54d066..abf76aa78c 100644
--- a/services/repository/create.go
+++ b/services/repository/create.go
@@ -12,25 +12,25 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/options"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/templates/vars"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/options"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/templates/vars"
+ "gotea.dev/modules/util"
)
// CreateRepoOptions contains the create repository options
diff --git a/services/repository/create_test.go b/services/repository/create_test.go
index 89d522d810..c650838555 100644
--- a/services/repository/create_test.go
+++ b/services/repository/create_test.go
@@ -8,11 +8,11 @@ import (
"path/filepath"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/delete.go b/services/repository/delete.go
index 3b28250bae..7a2354b235 100644
--- a/services/repository/delete.go
+++ b/services/repository/delete.go
@@ -8,32 +8,32 @@ import (
"errors"
"fmt"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- admin_model "gitea.dev/models/admin"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- secret_model "gitea.dev/models/secret"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
- actions_service "gitea.dev/services/actions"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- issue_service "gitea.dev/services/issue"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ admin_model "gotea.dev/models/admin"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ secret_model "gotea.dev/models/secret"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
+ actions_service "gotea.dev/services/actions"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ issue_service "gotea.dev/services/issue"
"xorm.io/builder"
)
diff --git a/services/repository/delete_test.go b/services/repository/delete_test.go
index be84b549c1..7cf1770812 100644
--- a/services/repository/delete_test.go
+++ b/services/repository/delete_test.go
@@ -7,14 +7,14 @@ import (
"context"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- repo_service "gitea.dev/services/repository"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/files/cherry_pick.go b/services/repository/files/cherry_pick.go
index ceaf8f2b44..bdaf7a6152 100644
--- a/services/repository/files/cherry_pick.go
+++ b/services/repository/files/cherry_pick.go
@@ -8,12 +8,12 @@ import (
"fmt"
"strings"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/structs"
- "gitea.dev/services/pull"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/pull"
)
// ErrCommitIDDoesNotMatch represents a "CommitIDDoesNotMatch" kind of error.
diff --git a/services/repository/files/commit.go b/services/repository/files/commit.go
index c480e3a2b7..e5d552d839 100644
--- a/services/repository/files/commit.go
+++ b/services/repository/files/commit.go
@@ -6,10 +6,10 @@ package files
import (
"context"
- "gitea.dev/models/asymkey"
- "gitea.dev/modules/git"
- "gitea.dev/modules/structs"
- asymkey_service "gitea.dev/services/asymkey"
+ "gotea.dev/models/asymkey"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/structs"
+ asymkey_service "gotea.dev/services/asymkey"
)
// GetPayloadCommitVerification returns the verification information of a commit
diff --git a/services/repository/files/content.go b/services/repository/files/content.go
index b0af47d784..99f7103504 100644
--- a/services/repository/files/content.go
+++ b/services/repository/files/content.go
@@ -10,13 +10,13 @@ import (
"path"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
)
// ContentType repo content type
diff --git a/services/repository/files/content_test.go b/services/repository/files/content_test.go
index ea4e3c4afe..84ac08151f 100644
--- a/services/repository/files/content_test.go
+++ b/services/repository/files/content_test.go
@@ -6,11 +6,11 @@ package files
import (
"testing"
- "gitea.dev/models/unittest"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/contexttest"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/files/diff.go b/services/repository/files/diff.go
index ff52faa8eb..7aaff731f2 100644
--- a/services/repository/files/diff.go
+++ b/services/repository/files/diff.go
@@ -7,8 +7,8 @@ import (
"context"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/services/gitdiff"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/services/gitdiff"
)
// GetDiffPreview produces and returns diff result of a file which is not yet committed.
diff --git a/services/repository/files/diff_test.go b/services/repository/files/diff_test.go
index 373e283e22..95a1126d1b 100644
--- a/services/repository/files/diff_test.go
+++ b/services/repository/files/diff_test.go
@@ -6,11 +6,11 @@ package files
import (
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/services/contexttest"
- "gitea.dev/services/gitdiff"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/services/contexttest"
+ "gotea.dev/services/gitdiff"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/files/file.go b/services/repository/files/file.go
index 77faae33c4..037d9fcc9d 100644
--- a/services/repository/files/file.go
+++ b/services/repository/files/file.go
@@ -11,12 +11,12 @@ import (
"strings"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
)
func GetContentsListFromTreePaths(ctx context.Context, repo *repo_model.Repository, gitRepo *git.Repository, refCommit *utils.RefCommit, treePaths []string) (files []*api.ContentsResponse) {
diff --git a/services/repository/files/patch.go b/services/repository/files/patch.go
index f670d1f501..c991281809 100644
--- a/services/repository/files/patch.go
+++ b/services/repository/files/patch.go
@@ -8,16 +8,16 @@ import (
"fmt"
"strings"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
)
// ErrUserCannotCommit represents "UserCannotCommit" kind of error.
diff --git a/services/repository/files/patch_test.go b/services/repository/files/patch_test.go
index 509fed94d5..a5c80c0d0b 100644
--- a/services/repository/files/patch_test.go
+++ b/services/repository/files/patch_test.go
@@ -8,10 +8,10 @@ import (
"path/filepath"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/require"
)
diff --git a/services/repository/files/temp_repo.go b/services/repository/files/temp_repo.go
index 8ce4e23292..5bec57c448 100644
--- a/services/repository/files/temp_repo.go
+++ b/services/repository/files/temp_repo.go
@@ -13,15 +13,15 @@ import (
"strings"
"time"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/gitdiff"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/gitdiff"
)
// TemporaryUploadRepository is a type to wrap our upload repositories as a shallow clone
diff --git a/services/repository/files/temp_repo_test.go b/services/repository/files/temp_repo_test.go
index cb651674ea..b3d0ed7020 100644
--- a/services/repository/files/temp_repo_test.go
+++ b/services/repository/files/temp_repo_test.go
@@ -7,8 +7,8 @@ import (
"bytes"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/require"
)
diff --git a/services/repository/files/tree.go b/services/repository/files/tree.go
index 9de8516eed..24b1f2d82e 100644
--- a/services/repository/files/tree.go
+++ b/services/repository/files/tree.go
@@ -12,14 +12,14 @@ import (
"sort"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/base"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
)
// GetTreeBySHA get the GitTreeResponse of a repository using a sha hash (id of a commit or a tree)
diff --git a/services/repository/files/tree_test.go b/services/repository/files/tree_test.go
index ea67e1248f..7e25bb8524 100644
--- a/services/repository/files/tree_test.go
+++ b/services/repository/files/tree_test.go
@@ -7,11 +7,11 @@ import (
"html/template"
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/fileicon"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/contexttest"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/fileicon"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/contexttest"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/files/update.go b/services/repository/files/update.go
index 8b2e80b6bb..3ca9da89c2 100644
--- a/services/repository/files/update.go
+++ b/services/repository/files/update.go
@@ -12,21 +12,21 @@ import (
"strings"
"time"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/attribute"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/v1/utils"
- asymkey_service "gitea.dev/services/asymkey"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/attribute"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/v1/utils"
+ asymkey_service "gotea.dev/services/asymkey"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
)
// IdentityOptions for a person's identity like an author or committer
diff --git a/services/repository/files/upload.go b/services/repository/files/upload.go
index b131afb16d..50d0156a2d 100644
--- a/services/repository/files/upload.go
+++ b/services/repository/files/upload.go
@@ -10,9 +10,9 @@ import (
"path"
"sync"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
)
// UploadRepoFileOptions contains the uploaded repository file options
diff --git a/services/repository/fork.go b/services/repository/fork.go
index 462f811fb4..bcfa0c9a79 100644
--- a/services/repository/fork.go
+++ b/services/repository/fork.go
@@ -9,19 +9,19 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- notify_service "gitea.dev/services/notify"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ notify_service "gotea.dev/services/notify"
"xorm.io/builder"
)
diff --git a/services/repository/fork_test.go b/services/repository/fork_test.go
index 8929b5310e..f438e023e4 100644
--- a/services/repository/fork_test.go
+++ b/services/repository/fork_test.go
@@ -7,13 +7,13 @@ import (
"os"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/generate.go b/services/repository/generate.go
index 2a8eba0de8..323a3c1fd3 100644
--- a/services/repository/generate.go
+++ b/services/repository/generate.go
@@ -17,15 +17,15 @@ import (
"sync"
"time"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/templates/vars"
- "gitea.dev/modules/util"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/templates/vars"
+ "gotea.dev/modules/util"
"github.com/huandu/xstrings"
)
diff --git a/services/repository/generate_test.go b/services/repository/generate_test.go
index b1245c4385..8d610687fe 100644
--- a/services/repository/generate_test.go
+++ b/services/repository/generate_test.go
@@ -9,9 +9,9 @@ import (
"path/filepath"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/repository/gitgraph/graph.go b/services/repository/gitgraph/graph.go
index 4670b49068..4f3817aac9 100644
--- a/services/repository/gitgraph/graph.go
+++ b/services/repository/gitgraph/graph.go
@@ -9,9 +9,9 @@ import (
"context"
"strings"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
)
const gitLogGraphFormatSep = "^" // disallowed char in git ref names
diff --git a/services/repository/gitgraph/graph_models.go b/services/repository/gitgraph/graph_models.go
index 3a9e396225..e97ac11db6 100644
--- a/services/repository/gitgraph/graph_models.go
+++ b/services/repository/gitgraph/graph_models.go
@@ -10,16 +10,16 @@ import (
"strings"
"time"
- asymkey_model "gitea.dev/models/asymkey"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/gituser"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- asymkey_service "gitea.dev/services/asymkey"
+ asymkey_model "gotea.dev/models/asymkey"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/gituser"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ asymkey_service "gotea.dev/services/asymkey"
)
// NewGraph creates a basic graph
diff --git a/services/repository/gitgraph/graph_test.go b/services/repository/gitgraph/graph_test.go
index 5e16432d48..67d5eb3b3f 100644
--- a/services/repository/gitgraph/graph_test.go
+++ b/services/repository/gitgraph/graph_test.go
@@ -10,7 +10,7 @@ import (
"strings"
"testing"
- "gitea.dev/modules/git"
+ "gotea.dev/modules/git"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/hooks.go b/services/repository/hooks.go
index 064e69790e..3f3e41bb9b 100644
--- a/services/repository/hooks.go
+++ b/services/repository/hooks.go
@@ -7,11 +7,11 @@ import (
"context"
"fmt"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
"xorm.io/builder"
)
diff --git a/services/repository/init.go b/services/repository/init.go
index 8db359f054..3cc3e3485e 100644
--- a/services/repository/init.go
+++ b/services/repository/init.go
@@ -9,13 +9,13 @@ import (
"os"
"time"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- asymkey_service "gitea.dev/services/asymkey"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ asymkey_service "gotea.dev/services/asymkey"
)
// initRepoCommit temporarily changes with work directory.
diff --git a/services/repository/lfs.go b/services/repository/lfs.go
index 6c0690bb51..9f0bb998e5 100644
--- a/services/repository/lfs.go
+++ b/services/repository/lfs.go
@@ -9,14 +9,14 @@ import (
"fmt"
"time"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
)
// GarbageCollectLFSMetaObjectsOptions provides options for GarbageCollectLFSMetaObjects function
diff --git a/services/repository/lfs_test.go b/services/repository/lfs_test.go
index faffa47a5b..82e38e129c 100644
--- a/services/repository/lfs_test.go
+++ b/services/repository/lfs_test.go
@@ -8,15 +8,15 @@ import (
"testing"
"time"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/lfs"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/lfs"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/license.go b/services/repository/license.go
index 428f6347ca..5e18d47ba1 100644
--- a/services/repository/license.go
+++ b/services/repository/license.go
@@ -10,15 +10,15 @@ import (
"path"
"strings"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/container"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/options"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/options"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/util"
licenseclassifier "github.com/google/licenseclassifier/v2"
)
diff --git a/services/repository/license_test.go b/services/repository/license_test.go
index 3cea2f7c53..ca49349ec2 100644
--- a/services/repository/license_test.go
+++ b/services/repository/license_test.go
@@ -8,9 +8,9 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- repo_module "gitea.dev/modules/repository"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ repo_module "gotea.dev/modules/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/repository/main_test.go b/services/repository/main_test.go
index 67217a4302..7537387bd9 100644
--- a/services/repository/main_test.go
+++ b/services/repository/main_test.go
@@ -6,7 +6,7 @@ package repository
import (
"testing"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/unittest"
)
func TestMain(m *testing.M) {
diff --git a/services/repository/merge_upstream.go b/services/repository/merge_upstream.go
index 449b504e08..281a61129e 100644
--- a/services/repository/merge_upstream.go
+++ b/services/repository/merge_upstream.go
@@ -7,16 +7,16 @@ import (
"errors"
"fmt"
- issue_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/reqctx"
- "gitea.dev/modules/util"
- "gitea.dev/services/pull"
+ issue_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/reqctx"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/pull"
)
// MergeUpstream merges the base repository's default branch into the fork repository's current branch.
diff --git a/services/repository/migrate.go b/services/repository/migrate.go
index 9c3c40ce01..f9130aa3e7 100644
--- a/services/repository/migrate.go
+++ b/services/repository/migrate.go
@@ -10,20 +10,20 @@ import (
"net/http"
"time"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/log"
- "gitea.dev/modules/migration"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/migration"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
)
func cloneWiki(ctx context.Context, repo *repo_model.Repository, opts migration.MigrateOptions, migrateTimeout time.Duration) (string, error) {
diff --git a/services/repository/push.go b/services/repository/push.go
index a10a4ba6fb..ed1963f922 100644
--- a/services/repository/push.go
+++ b/services/repository/push.go
@@ -10,21 +10,21 @@ import (
"strings"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- issue_service "gitea.dev/services/issue"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ issue_service "gotea.dev/services/issue"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
)
// pushQueue represents a queue to handle update pull request tests
diff --git a/services/repository/repo_team.go b/services/repository/repo_team.go
index d44a5a2ba8..1d76ae6031 100644
--- a/services/repository/repo_team.go
+++ b/services/repository/repo_team.go
@@ -8,14 +8,14 @@ import (
"errors"
"fmt"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/setting"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/audit"
)
// TeamAddRepository adds new repository to team of organization.
diff --git a/services/repository/repo_team_test.go b/services/repository/repo_team_test.go
index f3451aaaff..573d612ce5 100644
--- a/services/repository/repo_team_test.go
+++ b/services/repository/repo_team_test.go
@@ -6,9 +6,9 @@ package repository
import (
"testing"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
)
diff --git a/services/repository/repository.go b/services/repository/repository.go
index cad719a9df..e0e41fa398 100644
--- a/services/repository/repository.go
+++ b/services/repository/repository.go
@@ -9,28 +9,28 @@ import (
"fmt"
"strings"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/graceful"
- issue_indexer "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/services/audit"
- notify_service "gitea.dev/services/notify"
- pull_service "gitea.dev/services/pull"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/graceful"
+ issue_indexer "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/services/audit"
+ notify_service "gotea.dev/services/notify"
+ pull_service "gotea.dev/services/pull"
)
// WebSearchCommitStatus is the latest commit status of a repository returned by web search
diff --git a/services/repository/repository_test.go b/services/repository/repository_test.go
index d7bceae032..3c9c72875d 100644
--- a/services/repository/repository_test.go
+++ b/services/repository/repository_test.go
@@ -6,11 +6,11 @@ package repository
import (
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/repository/setting.go b/services/repository/setting.go
index da828c77a4..05d1ce1d07 100644
--- a/services/repository/setting.go
+++ b/services/repository/setting.go
@@ -7,12 +7,12 @@ import (
"context"
"slices"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/modules/log"
- actions_service "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/modules/log"
+ actions_service "gotea.dev/services/actions"
)
// UpdateRepositoryUnits updates a repository's units
diff --git a/services/repository/template.go b/services/repository/template.go
index a8ead0f41d..d1fade6a66 100644
--- a/services/repository/template.go
+++ b/services/repository/template.go
@@ -8,14 +8,14 @@ import (
"fmt"
"strings"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- notify_service "gitea.dev/services/notify"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ notify_service "gotea.dev/services/notify"
)
// GenerateIssueLabels generates issue labels from a template repository
diff --git a/services/repository/transfer.go b/services/repository/transfer.go
index 4e6e348278..1fd47e96ce 100644
--- a/services/repository/transfer.go
+++ b/services/repository/transfer.go
@@ -8,23 +8,23 @@ import (
"fmt"
"strings"
- actions_model "gitea.dev/models/actions"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/log"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
+ notify_service "gotea.dev/services/notify"
)
type LimitReachedError struct{ Limit int }
diff --git a/services/repository/transfer_test.go b/services/repository/transfer_test.go
index 74927b0487..9cf329d792 100644
--- a/services/repository/transfer_test.go
+++ b/services/repository/transfer_test.go
@@ -7,19 +7,19 @@ import (
"sync"
"testing"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/feed"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/feed"
+ notify_service "gotea.dev/services/notify"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/secrets/secrets.go b/services/secrets/secrets.go
index 5cf6666bb1..0fed95860c 100644
--- a/services/secrets/secrets.go
+++ b/services/secrets/secrets.go
@@ -6,8 +6,8 @@ package secrets
import (
"context"
- "gitea.dev/models/db"
- secret_model "gitea.dev/models/secret"
+ "gotea.dev/models/db"
+ secret_model "gotea.dev/models/secret"
)
func CreateOrUpdateSecret(ctx context.Context, ownerID, repoID int64, name, data, description string) (*secret_model.Secret, bool, error) {
diff --git a/services/secrets/validation.go b/services/secrets/validation.go
index f062e22f07..df1255dfa0 100644
--- a/services/secrets/validation.go
+++ b/services/secrets/validation.go
@@ -8,7 +8,7 @@ import (
"strings"
"sync"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/util"
)
// https://docs.github.com/en/actions/learn-github-actions/variables#naming-conventions-for-configuration-variables
diff --git a/services/task/migrate.go b/services/task/migrate.go
index 8313bc7f4c..20094d7813 100644
--- a/services/task/migrate.go
+++ b/services/task/migrate.go
@@ -9,21 +9,21 @@ import (
"fmt"
"time"
- admin_model "gitea.dev/models/admin"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/migration"
- "gitea.dev/modules/process"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/services/migrations"
- notify_service "gitea.dev/services/notify"
+ admin_model "gotea.dev/models/admin"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/migration"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/migrations"
+ notify_service "gotea.dev/services/notify"
)
func handleCreateError(owner *user_model.User, err error) error {
diff --git a/services/task/task.go b/services/task/task.go
index ecb1838377..bf2a95cd1b 100644
--- a/services/task/task.go
+++ b/services/task/task.go
@@ -8,19 +8,19 @@ import (
"errors"
"fmt"
- admin_model "gitea.dev/models/admin"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/secret"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- repo_service "gitea.dev/services/repository"
+ admin_model "gotea.dev/models/admin"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/secret"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ repo_service "gotea.dev/services/repository"
)
// taskQueue is a global queue of tasks
diff --git a/services/uinotification/notify.go b/services/uinotification/notify.go
index 1823da09e3..5918709d9c 100644
--- a/services/uinotification/notify.go
+++ b/services/uinotification/notify.go
@@ -6,16 +6,16 @@ package uinotification
import (
"context"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/container"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/queue"
- notify_service "gitea.dev/services/notify"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/queue"
+ notify_service "gotea.dev/services/notify"
)
type (
diff --git a/services/user/avatar.go b/services/user/avatar.go
index f49a852664..1f4b107c7a 100644
--- a/services/user/avatar.go
+++ b/services/user/avatar.go
@@ -10,11 +10,11 @@ import (
"io"
"os"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/avatar"
- "gitea.dev/modules/log"
- "gitea.dev/modules/storage"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/storage"
)
// UploadAvatar saves custom avatar for user.
diff --git a/services/user/block.go b/services/user/block.go
index 1498ba100c..9cd7163526 100644
--- a/services/user/block.go
+++ b/services/user/block.go
@@ -6,12 +6,12 @@ package user
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- org_model "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- repo_service "gitea.dev/services/repository"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ org_model "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ repo_service "gotea.dev/services/repository"
)
func CanBlockUser(ctx context.Context, doer, blocker, blockee *user_model.User) bool {
diff --git a/services/user/block_test.go b/services/user/block_test.go
index f97d19ebf7..4184d45db0 100644
--- a/services/user/block_test.go
+++ b/services/user/block_test.go
@@ -6,8 +6,8 @@ package user
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/user/delete.go b/services/user/delete.go
index e6ff7075c4..9350d70d7d 100644
--- a/services/user/delete.go
+++ b/services/user/delete.go
@@ -8,19 +8,19 @@ import (
"fmt"
"time"
- actions_model "gitea.dev/models/actions"
- activities_model "gitea.dev/models/activities"
- asymkey_model "gitea.dev/models/asymkey"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
+ actions_model "gotea.dev/models/actions"
+ activities_model "gotea.dev/models/activities"
+ asymkey_model "gotea.dev/models/asymkey"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
_ "image/jpeg" // Needed for jpeg support
diff --git a/services/user/email.go b/services/user/email.go
index 529572cf38..a8ae9ed8ca 100644
--- a/services/user/email.go
+++ b/services/user/email.go
@@ -8,12 +8,12 @@ import (
"errors"
"strings"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
)
// ReplacePrimaryEmailAddress replaces the user's primary email address with the given email address.
diff --git a/services/user/email_test.go b/services/user/email_test.go
index 809fb621c5..04576f18d8 100644
--- a/services/user/email_test.go
+++ b/services/user/email_test.go
@@ -6,8 +6,8 @@ package user
import (
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/services/user/update.go b/services/user/update.go
index 95e2297f0b..8d1be8c6c8 100644
--- a/services/user/update.go
+++ b/services/user/update.go
@@ -7,15 +7,15 @@ import (
"context"
"fmt"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- user_model "gitea.dev/models/user"
- password_module "gitea.dev/modules/auth/password"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/audit"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ user_model "gotea.dev/models/user"
+ password_module "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/audit"
)
type UpdateOptionField[T any] struct {
diff --git a/services/user/update_test.go b/services/user/update_test.go
index 7665c48f14..2831381251 100644
--- a/services/user/update_test.go
+++ b/services/user/update_test.go
@@ -6,16 +6,16 @@ package user
import (
"testing"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- password_module "gitea.dev/modules/auth/password"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ password_module "gotea.dev/modules/auth/password"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
)
diff --git a/services/user/user.go b/services/user/user.go
index cc1d359aa1..74d3ef8ab4 100644
--- a/services/user/user.go
+++ b/services/user/user.go
@@ -10,27 +10,27 @@ import (
"strings"
"time"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/agit"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- org_service "gitea.dev/services/org"
- "gitea.dev/services/packages"
- container_service "gitea.dev/services/packages/container"
- repo_service "gitea.dev/services/repository"
- websocket_service "gitea.dev/services/websocket"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/agit"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ org_service "gotea.dev/services/org"
+ "gotea.dev/services/packages"
+ container_service "gotea.dev/services/packages/container"
+ repo_service "gotea.dev/services/repository"
+ websocket_service "gotea.dev/services/websocket"
)
// RenameUser renames a user
diff --git a/services/user/user_test.go b/services/user/user_test.go
index 5d275d71f9..9a1b76af83 100644
--- a/services/user/user_test.go
+++ b/services/user/user_test.go
@@ -9,19 +9,19 @@ import (
"testing"
"time"
- activities_model "gitea.dev/models/activities"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- org_service "gitea.dev/services/org"
+ activities_model "gotea.dev/models/activities"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ org_service "gotea.dev/services/org"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/versioned_migration/migration.go b/services/versioned_migration/migration.go
index bfa7c74610..712e0bd1c6 100644
--- a/services/versioned_migration/migration.go
+++ b/services/versioned_migration/migration.go
@@ -6,9 +6,9 @@ package versioned_migration
import (
"context"
- "gitea.dev/modelmigration"
- "gitea.dev/models/db"
- "gitea.dev/modules/globallock"
+ "gotea.dev/modelmigration"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/globallock"
)
func Migrate(ctx context.Context, x db.EngineMigration) error {
diff --git a/services/webhook/deliver.go b/services/webhook/deliver.go
index 83387c2e5b..fcf3be1ce2 100644
--- a/services/webhook/deliver.go
+++ b/services/webhook/deliver.go
@@ -18,17 +18,17 @@ import (
"strings"
"time"
- user_model "gitea.dev/models/user"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/egress"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/process"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ user_model "gotea.dev/models/user"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/egress"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
func newDefaultRequest(ctx context.Context, w *webhook_model.Webhook, t *webhook_model.HookTask) (req *http.Request, body []byte, err error) {
diff --git a/services/webhook/deliver_test.go b/services/webhook/deliver_test.go
index cf954bbfc4..005914e743 100644
--- a/services/webhook/deliver_test.go
+++ b/services/webhook/deliver_test.go
@@ -11,10 +11,10 @@ import (
"testing"
"time"
- "gitea.dev/models/unittest"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/unittest"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
)
diff --git a/services/webhook/dingtalk.go b/services/webhook/dingtalk.go
index d9991a2736..82acb0f90b 100644
--- a/services/webhook/dingtalk.go
+++ b/services/webhook/dingtalk.go
@@ -10,11 +10,11 @@ import (
"net/url"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
dingtalk "gitea.com/lunny/dingtalk_webhook"
)
diff --git a/services/webhook/dingtalk_test.go b/services/webhook/dingtalk_test.go
index afe391d8c5..8923e3a544 100644
--- a/services/webhook/dingtalk_test.go
+++ b/services/webhook/dingtalk_test.go
@@ -7,10 +7,10 @@ import (
"net/url"
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/discord.go b/services/webhook/discord.go
index 1b3911263a..a696ef65cf 100644
--- a/services/webhook/discord.go
+++ b/services/webhook/discord.go
@@ -13,14 +13,14 @@ import (
"strings"
"unicode/utf8"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/webhook/discord_test.go b/services/webhook/discord_test.go
index 162a15f707..96f1bd1b4b 100644
--- a/services/webhook/discord_test.go
+++ b/services/webhook/discord_test.go
@@ -6,11 +6,11 @@ package webhook
import (
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/feishu.go b/services/webhook/feishu.go
index f200e16bba..865c27d1bc 100644
--- a/services/webhook/feishu.go
+++ b/services/webhook/feishu.go
@@ -13,10 +13,10 @@ import (
"strings"
"time"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/webhook/feishu_test.go b/services/webhook/feishu_test.go
index f8a5f7a983..08dba58bd3 100644
--- a/services/webhook/feishu_test.go
+++ b/services/webhook/feishu_test.go
@@ -6,10 +6,10 @@ package webhook
import (
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/general.go b/services/webhook/general.go
index eb9ff483ff..1f57339a61 100644
--- a/services/webhook/general.go
+++ b/services/webhook/general.go
@@ -9,13 +9,13 @@ import (
"net/url"
"strings"
- user_model "gitea.dev/models/user"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/base"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ user_model "gotea.dev/models/user"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
type linkFormatter = func(string, string) string
diff --git a/services/webhook/general_test.go b/services/webhook/general_test.go
index bedc7b3b52..1960a78bf8 100644
--- a/services/webhook/general_test.go
+++ b/services/webhook/general_test.go
@@ -6,7 +6,7 @@ package webhook
import (
"testing"
- api "gitea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/services/webhook/main_test.go b/services/webhook/main_test.go
index 1f584883c2..a98dcf71a7 100644
--- a/services/webhook/main_test.go
+++ b/services/webhook/main_test.go
@@ -6,11 +6,11 @@ package webhook
import (
"testing"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
- _ "gitea.dev/models"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models"
+ _ "gotea.dev/models/actions"
)
func TestMain(m *testing.M) {
diff --git a/services/webhook/matrix.go b/services/webhook/matrix.go
index 43f785326d..15d89bb2a5 100644
--- a/services/webhook/matrix.go
+++ b/services/webhook/matrix.go
@@ -14,15 +14,15 @@ import (
"regexp"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/base"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/base"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
func init() {
diff --git a/services/webhook/matrix_test.go b/services/webhook/matrix_test.go
index 29b7affc19..63c78a5fc4 100644
--- a/services/webhook/matrix_test.go
+++ b/services/webhook/matrix_test.go
@@ -7,10 +7,10 @@ import (
"strings"
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/msteams.go b/services/webhook/msteams.go
index 84085cf25f..9dbf795ef4 100644
--- a/services/webhook/msteams.go
+++ b/services/webhook/msteams.go
@@ -11,11 +11,11 @@ import (
"strconv"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/webhook/msteams_test.go b/services/webhook/msteams_test.go
index 94112356f7..809d787332 100644
--- a/services/webhook/msteams_test.go
+++ b/services/webhook/msteams_test.go
@@ -7,10 +7,10 @@ import (
"fmt"
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/notifier.go b/services/webhook/notifier.go
index 944044618f..b041cbd546 100644
--- a/services/webhook/notifier.go
+++ b/services/webhook/notifier.go
@@ -7,25 +7,25 @@ import (
"context"
"errors"
- actions_model "gitea.dev/models/actions"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/httplib"
- "gitea.dev/modules/log"
- "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/convert"
- notify_service "gitea.dev/services/notify"
+ actions_model "gotea.dev/models/actions"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/httplib"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/convert"
+ notify_service "gotea.dev/services/notify"
)
func init() {
diff --git a/services/webhook/packagist.go b/services/webhook/packagist.go
index f8c69292bf..1235b896c3 100644
--- a/services/webhook/packagist.go
+++ b/services/webhook/packagist.go
@@ -8,11 +8,11 @@ import (
"fmt"
"net/http"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/webhook/packagist_test.go b/services/webhook/packagist_test.go
index 28396d798e..8dbd5836f5 100644
--- a/services/webhook/packagist_test.go
+++ b/services/webhook/packagist_test.go
@@ -6,10 +6,10 @@ package webhook
import (
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/payloader.go b/services/webhook/payloader.go
index 0abe5b8919..ce68f300cc 100644
--- a/services/webhook/payloader.go
+++ b/services/webhook/payloader.go
@@ -8,10 +8,10 @@ import (
"fmt"
"net/http"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
// payloadConvertor defines the interface to convert system payload to webhook payload
diff --git a/services/webhook/slack.go b/services/webhook/slack.go
index 293336059e..ab8ba81ac5 100644
--- a/services/webhook/slack.go
+++ b/services/webhook/slack.go
@@ -9,13 +9,13 @@ import (
"net/http"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
// SlackMeta contains the slack metadata
diff --git a/services/webhook/slack_test.go b/services/webhook/slack_test.go
index 99f8aa7ced..c93b892e54 100644
--- a/services/webhook/slack_test.go
+++ b/services/webhook/slack_test.go
@@ -6,10 +6,10 @@ package webhook
import (
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/telegram.go b/services/webhook/telegram.go
index d661786d7e..25f1c55f17 100644
--- a/services/webhook/telegram.go
+++ b/services/webhook/telegram.go
@@ -11,14 +11,14 @@ import (
"net/url"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/markup"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/markup"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/webhook/telegram_test.go b/services/webhook/telegram_test.go
index 64c3f70e2f..14ab7cf547 100644
--- a/services/webhook/telegram_test.go
+++ b/services/webhook/telegram_test.go
@@ -6,10 +6,10 @@ package webhook
import (
"testing"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/webhook.go b/services/webhook/webhook.go
index 0a53f289aa..64ec8f73b2 100644
--- a/services/webhook/webhook.go
+++ b/services/webhook/webhook.go
@@ -9,20 +9,20 @@ import (
"fmt"
"net/http"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- "gitea.dev/modules/optional"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- webhook_module "gitea.dev/modules/webhook"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/optional"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ webhook_module "gotea.dev/modules/webhook"
)
type Requester func(context.Context, *webhook_model.Webhook, *webhook_model.HookTask) (req *http.Request, body []byte, err error)
diff --git a/services/webhook/webhook_test.go b/services/webhook/webhook_test.go
index 6ecf24337c..edec06aaf8 100644
--- a/services/webhook/webhook_test.go
+++ b/services/webhook/webhook_test.go
@@ -6,17 +6,17 @@ package webhook
import (
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/convert"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/services/webhook/wechatwork.go b/services/webhook/wechatwork.go
index 2bcfe1f3c8..7ff64f2d7c 100644
--- a/services/webhook/wechatwork.go
+++ b/services/webhook/wechatwork.go
@@ -9,10 +9,10 @@ import (
"net/http"
"strings"
- webhook_model "gitea.dev/models/webhook"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
+ webhook_model "gotea.dev/models/webhook"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
)
type (
diff --git a/services/websocket/notification.go b/services/websocket/notification.go
index f82ce2be5e..138edcd549 100644
--- a/services/websocket/notification.go
+++ b/services/websocket/notification.go
@@ -6,9 +6,9 @@ package websocket
import (
"context"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/db"
- "gitea.dev/modules/log"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/log"
)
const eventNotificationCount = "notification-count" // keep in sync with web_src/js/types.ts
diff --git a/services/websocket/stopwatch.go b/services/websocket/stopwatch.go
index b9f8d83ad4..e0c6215584 100644
--- a/services/websocket/stopwatch.go
+++ b/services/websocket/stopwatch.go
@@ -6,13 +6,13 @@ package websocket
import (
"context"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
- "gitea.dev/services/convert"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/convert"
)
const eventStopwatches = "stopwatches" // keep in sync with web_src/js/types.ts
diff --git a/services/websocket/websocket.go b/services/websocket/websocket.go
index 43048bf773..4652654e69 100644
--- a/services/websocket/websocket.go
+++ b/services/websocket/websocket.go
@@ -7,11 +7,11 @@ import (
"bytes"
"context"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- notify_service "gitea.dev/services/notify"
- "gitea.dev/services/pubsub"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ notify_service "gotea.dev/services/notify"
+ "gotea.dev/services/pubsub"
)
type wsNotifier struct {
diff --git a/services/webtheme/webtheme.go b/services/webtheme/webtheme.go
index 7734b0ade4..edd6fc684c 100644
--- a/services/webtheme/webtheme.go
+++ b/services/webtheme/webtheme.go
@@ -14,11 +14,11 @@ import (
"sync/atomic"
"time"
- "gitea.dev/modules/container"
- "gitea.dev/modules/log"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
)
type themeCollectionStruct struct {
diff --git a/services/wiki/wiki.go b/services/wiki/wiki.go
index 4a9f57f542..c04535260a 100644
--- a/services/wiki/wiki.go
+++ b/services/wiki/wiki.go
@@ -8,22 +8,22 @@ import (
"context"
"fmt"
- audit_model "gitea.dev/models/audit"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- system_model "gitea.dev/models/system"
- "gitea.dev/models/unit"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/globallock"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/log"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/util"
- asymkey_service "gitea.dev/services/asymkey"
- "gitea.dev/services/audit"
- repo_service "gitea.dev/services/repository"
+ audit_model "gotea.dev/models/audit"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/models/unit"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/globallock"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/log"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/util"
+ asymkey_service "gotea.dev/services/asymkey"
+ "gotea.dev/services/audit"
+ repo_service "gotea.dev/services/repository"
)
func getWikiWorkingLockKey(repoID int64) string {
diff --git a/services/wiki/wiki_path.go b/services/wiki/wiki_path.go
index 58cb22b469..ac269d9974 100644
--- a/services/wiki/wiki_path.go
+++ b/services/wiki/wiki_path.go
@@ -8,11 +8,11 @@ import (
"path"
"strings"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/convert"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/convert"
)
// To define the wiki related concepts:
diff --git a/services/wiki/wiki_test.go b/services/wiki/wiki_test.go
index 997381bf42..cd72ac1ce7 100644
--- a/services/wiki/wiki_test.go
+++ b/services/wiki/wiki_test.go
@@ -8,13 +8,13 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- repo_service "gitea.dev/services/repository"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ repo_service "gotea.dev/services/repository"
- _ "gitea.dev/models/actions"
+ _ "gotea.dev/models/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/fuzz/fuzz_test.go b/tests/fuzz/fuzz_test.go
index 33c582c944..c7658f8138 100644
--- a/tests/fuzz/fuzz_test.go
+++ b/tests/fuzz/fuzz_test.go
@@ -8,9 +8,9 @@ import (
"io"
"testing"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/markdown"
- "gitea.dev/modules/setting"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/markdown"
+ "gotea.dev/modules/setting"
)
func TestMain(m *testing.M) {
diff --git a/tests/integration/actions_approve_test.go b/tests/integration/actions_approve_test.go
index 32c7104eac..06a5e06a05 100644
--- a/tests/integration/actions_approve_test.go
+++ b/tests/integration/actions_approve_test.go
@@ -11,12 +11,12 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/actions_artifact_preview_test.go b/tests/integration/actions_artifact_preview_test.go
index 4290547ef9..a3dc24e0c4 100644
--- a/tests/integration/actions_artifact_preview_test.go
+++ b/tests/integration/actions_artifact_preview_test.go
@@ -10,14 +10,14 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- actions_web "gitea.dev/routers/web/repo/actions"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ actions_web "gotea.dev/routers/web/repo/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_concurrency_test.go b/tests/integration/actions_concurrency_test.go
index 02f46b2802..a50c5354ca 100644
--- a/tests/integration/actions_concurrency_test.go
+++ b/tests/integration/actions_concurrency_test.go
@@ -12,18 +12,18 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
- actions_web "gitea.dev/routers/web/repo/actions"
- actions_service "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
+ actions_web "gotea.dev/routers/web/repo/actions"
+ actions_service "gotea.dev/services/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_concurrent_claim_test.go b/tests/integration/actions_concurrent_claim_test.go
index 30f9cf0ba5..370e1d51ae 100644
--- a/tests/integration/actions_concurrent_claim_test.go
+++ b/tests/integration/actions_concurrent_claim_test.go
@@ -9,11 +9,11 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_delete_run_test.go b/tests/integration/actions_delete_run_test.go
index 39f0bd712b..75aba575c7 100644
--- a/tests/integration/actions_delete_run_test.go
+++ b/tests/integration/actions_delete_run_test.go
@@ -12,12 +12,12 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/routers/web/repo/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/routers/web/repo/actions"
"github.com/stretchr/testify/assert"
"google.golang.org/protobuf/types/known/timestamppb"
diff --git a/tests/integration/actions_dynamic_matrix_test.go b/tests/integration/actions_dynamic_matrix_test.go
index 8c9cf81ed1..e81d197a5b 100644
--- a/tests/integration/actions_dynamic_matrix_test.go
+++ b/tests/integration/actions_dynamic_matrix_test.go
@@ -13,10 +13,10 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_inputs_test.go b/tests/integration/actions_inputs_test.go
index 52f214a1c7..0a604f9cef 100644
--- a/tests/integration/actions_inputs_test.go
+++ b/tests/integration/actions_inputs_test.go
@@ -9,11 +9,11 @@ import (
"net/url"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/actions_invalid_workflow_test.go b/tests/integration/actions_invalid_workflow_test.go
index 91898a4930..255bbddba4 100644
--- a/tests/integration/actions_invalid_workflow_test.go
+++ b/tests/integration/actions_invalid_workflow_test.go
@@ -9,15 +9,15 @@ import (
"net/url"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/json"
- "gitea.dev/routers/web/repo/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/json"
+ "gotea.dev/routers/web/repo/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_job_queue_test.go b/tests/integration/actions_job_queue_test.go
index 2ab1d69971..63d0dfa561 100644
--- a/tests/integration/actions_job_queue_test.go
+++ b/tests/integration/actions_job_queue_test.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_job_test.go b/tests/integration/actions_job_test.go
index 8409719da9..5cd038c727 100644
--- a/tests/integration/actions_job_test.go
+++ b/tests/integration/actions_job_test.go
@@ -14,18 +14,18 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- actions_service "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ actions_service "gotea.dev/services/actions"
"connectrpc.com/connect"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/actions_job_token_test.go b/tests/integration/actions_job_token_test.go
index e85201e829..ea8d7d6b56 100644
--- a/tests/integration/actions_job_token_test.go
+++ b/tests/integration/actions_job_token_test.go
@@ -12,19 +12,19 @@ import (
"strconv"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- org_model "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ org_model "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_list_filter_test.go b/tests/integration/actions_list_filter_test.go
index 6502036362..c9d5b69d44 100644
--- a/tests/integration/actions_list_filter_test.go
+++ b/tests/integration/actions_list_filter_test.go
@@ -10,10 +10,10 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/actions_log_finalize_test.go b/tests/integration/actions_log_finalize_test.go
index 340b0e9a4b..c4f9d21306 100644
--- a/tests/integration/actions_log_finalize_test.go
+++ b/tests/integration/actions_log_finalize_test.go
@@ -10,14 +10,14 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/dbfs"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/storage"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/dbfs"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/storage"
"connectrpc.com/connect"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/actions_log_test.go b/tests/integration/actions_log_test.go
index 51f705e96f..86834286c8 100644
--- a/tests/integration/actions_log_test.go
+++ b/tests/integration/actions_log_test.go
@@ -12,14 +12,14 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/test"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
"google.golang.org/protobuf/types/known/timestamppb"
diff --git a/tests/integration/actions_rerun_test.go b/tests/integration/actions_rerun_test.go
index 660a4f2f29..9643431e64 100644
--- a/tests/integration/actions_rerun_test.go
+++ b/tests/integration/actions_rerun_test.go
@@ -12,18 +12,18 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions/jobparser"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- actions_web "gitea.dev/routers/web/repo/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions/jobparser"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ actions_web "gotea.dev/routers/web/repo/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_reusable_workflow_test.go b/tests/integration/actions_reusable_workflow_test.go
index 3f4ccf0880..50da1f84e3 100644
--- a/tests/integration/actions_reusable_workflow_test.go
+++ b/tests/integration/actions_reusable_workflow_test.go
@@ -12,18 +12,18 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- perm_model "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/queue"
- api "gitea.dev/modules/structs"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ perm_model "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/queue"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_route_test.go b/tests/integration/actions_route_test.go
index d06eb7de91..674b262458 100644
--- a/tests/integration/actions_route_test.go
+++ b/tests/integration/actions_route_test.go
@@ -10,13 +10,13 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- actions_web "gitea.dev/routers/web/repo/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ actions_web "gotea.dev/routers/web/repo/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_runner_modify_test.go b/tests/integration/actions_runner_modify_test.go
index e3392ee57c..0b7ff3576f 100644
--- a/tests/integration/actions_runner_modify_test.go
+++ b/tests/integration/actions_runner_modify_test.go
@@ -9,13 +9,13 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_runner_sort_test.go b/tests/integration/actions_runner_sort_test.go
index 9c992146ef..30feb41d04 100644
--- a/tests/integration/actions_runner_sort_test.go
+++ b/tests/integration/actions_runner_sort_test.go
@@ -8,10 +8,10 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/timeutil"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_runner_test.go b/tests/integration/actions_runner_test.go
index c841e2fad1..dc810f314a 100644
--- a/tests/integration/actions_runner_test.go
+++ b/tests/integration/actions_runner_test.go
@@ -14,8 +14,8 @@ import (
"gitea.dev/actionslib/ping/v1/pingv1connect"
runnerv1 "gitea.dev/actionslib/runner/v1"
"gitea.dev/actionslib/runner/v1/runnerv1connect"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
"connectrpc.com/connect"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/actions_schedule_test.go b/tests/integration/actions_schedule_test.go
index 66a778e3f2..ab0775fba4 100644
--- a/tests/integration/actions_schedule_test.go
+++ b/tests/integration/actions_schedule_test.go
@@ -10,21 +10,21 @@ import (
"strings"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/migration"
- api "gitea.dev/modules/structs"
- actions_service "gitea.dev/services/actions"
- mirror_service "gitea.dev/services/mirror"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/migration"
+ api "gotea.dev/modules/structs"
+ actions_service "gotea.dev/services/actions"
+ mirror_service "gotea.dev/services/mirror"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_scoped_workflow_test.go b/tests/integration/actions_scoped_workflow_test.go
index 51b273a2f9..404eb3b414 100644
--- a/tests/integration/actions_scoped_workflow_test.go
+++ b/tests/integration/actions_scoped_workflow_test.go
@@ -13,17 +13,17 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/queue"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/forms"
- repo_service "gitea.dev/services/repository"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/queue"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/forms"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_settings_test.go b/tests/integration/actions_settings_test.go
index dd39ed2860..55aed50211 100644
--- a/tests/integration/actions_settings_test.go
+++ b/tests/integration/actions_settings_test.go
@@ -9,10 +9,10 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/actions_trigger_test.go b/tests/integration/actions_trigger_test.go
index c9b54cfbe0..17de2a2629 100644
--- a/tests/integration/actions_trigger_test.go
+++ b/tests/integration/actions_trigger_test.go
@@ -12,30 +12,30 @@ import (
"testing"
"time"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- actions_module "gitea.dev/modules/actions"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- webhook_module "gitea.dev/modules/webhook"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
- files_service "gitea.dev/services/repository/files"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ actions_module "gotea.dev/modules/actions"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ webhook_module "gotea.dev/modules/webhook"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/actions_variables_test.go b/tests/integration/actions_variables_test.go
index 85ec717e52..b66045bffd 100644
--- a/tests/integration/actions_variables_test.go
+++ b/tests/integration/actions_variables_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/admin_audit_test.go b/tests/integration/admin_audit_test.go
index f74f9f8e62..8ebf7ee7f6 100644
--- a/tests/integration/admin_audit_test.go
+++ b/tests/integration/admin_audit_test.go
@@ -11,15 +11,15 @@ import (
"strings"
"testing"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- "gitea.dev/tests"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/admin_config_test.go b/tests/integration/admin_config_test.go
index 09e49874d6..e662331638 100644
--- a/tests/integration/admin_config_test.go
+++ b/tests/integration/admin_config_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- "gitea.dev/models/system"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/system"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/admin_user_org_test.go b/tests/integration/admin_user_org_test.go
index b426bbf0ec..d5064a4065 100644
--- a/tests/integration/admin_user_org_test.go
+++ b/tests/integration/admin_user_org_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/admin_user_test.go b/tests/integration/admin_user_test.go
index 90cc5bada4..695bd264f5 100644
--- a/tests/integration/admin_user_test.go
+++ b/tests/integration/admin_user_test.go
@@ -9,14 +9,14 @@ import (
"strconv"
"testing"
- audit_model "gitea.dev/models/audit"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ audit_model "gotea.dev/models/audit"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_actions_artifact_test.go b/tests/integration/api_actions_artifact_test.go
index 86ec2c18c1..b07c2ad283 100644
--- a/tests/integration/api_actions_artifact_test.go
+++ b/tests/integration/api_actions_artifact_test.go
@@ -17,14 +17,14 @@ import (
"testing"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_actions_artifact_v4_test.go b/tests/integration/api_actions_artifact_v4_test.go
index ddb4515ee9..3ff52b3870 100644
--- a/tests/integration/api_actions_artifact_v4_test.go
+++ b/tests/integration/api_actions_artifact_v4_test.go
@@ -19,19 +19,19 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/routers/api/actions"
- actions_service "gitea.dev/services/actions"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/api/actions"
+ actions_service "gotea.dev/services/actions"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_actions_permission_test.go b/tests/integration/api_actions_permission_test.go
index 65413ea067..335872492d 100644
--- a/tests/integration/api_actions_permission_test.go
+++ b/tests/integration/api_actions_permission_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_actions_run_test.go b/tests/integration/api_actions_run_test.go
index d28d8e2c64..11c6ff639c 100644
--- a/tests/integration/api_actions_run_test.go
+++ b/tests/integration/api_actions_run_test.go
@@ -14,19 +14,19 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/actions"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/timeutil"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/actions"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_actions_runner_test.go b/tests/integration/api_actions_runner_test.go
index c710f75858..da3c920aab 100644
--- a/tests/integration/api_actions_runner_test.go
+++ b/tests/integration/api_actions_runner_test.go
@@ -9,13 +9,13 @@ import (
"slices"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- api "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ api "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_admin_org_test.go b/tests/integration/api_admin_org_test.go
index 8fefe51ba9..f3ed7b5f6a 100644
--- a/tests/integration/api_admin_org_test.go
+++ b/tests/integration/api_admin_org_test.go
@@ -8,11 +8,11 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_admin_packages_test.go b/tests/integration/api_admin_packages_test.go
index 11ef891050..112e877e64 100644
--- a/tests/integration/api_admin_packages_test.go
+++ b/tests/integration/api_admin_packages_test.go
@@ -9,11 +9,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_admin_test.go b/tests/integration/api_admin_test.go
index bc81703f2e..c138b89896 100644
--- a/tests/integration/api_admin_test.go
+++ b/tests/integration/api_admin_test.go
@@ -9,16 +9,16 @@ import (
"testing"
"time"
- asymkey_model "gitea.dev/models/asymkey"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/glob"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ asymkey_model "gotea.dev/models/asymkey"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/glob"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_auth_test.go b/tests/integration/api_auth_test.go
index 1d0aec6b23..283f724fac 100644
--- a/tests/integration/api_auth_test.go
+++ b/tests/integration/api_auth_test.go
@@ -7,7 +7,7 @@ import (
"net/http"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_branch_test.go b/tests/integration/api_branch_test.go
index c4946f05e3..3cb599db08 100644
--- a/tests/integration/api_branch_test.go
+++ b/tests/integration/api_branch_test.go
@@ -11,11 +11,11 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_comment_attachment_test.go b/tests/integration/api_comment_attachment_test.go
index e7b36e0b27..c53683c195 100644
--- a/tests/integration/api_comment_attachment_test.go
+++ b/tests/integration/api_comment_attachment_test.go
@@ -10,14 +10,14 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/convert"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/convert"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_comment_test.go b/tests/integration/api_comment_test.go
index 8ef14256d6..965abc58b6 100644
--- a/tests/integration/api_comment_test.go
+++ b/tests/integration/api_comment_test.go
@@ -9,14 +9,14 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/convert"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/convert"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_fork_test.go b/tests/integration/api_fork_test.go
index 4ce2c93428..3067be6ded 100644
--- a/tests/integration/api_fork_test.go
+++ b/tests/integration/api_fork_test.go
@@ -7,14 +7,14 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- org_model "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- org_service "gitea.dev/services/org"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ org_model "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ org_service "gotea.dev/services/org"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_gitignore_templates_test.go b/tests/integration/api_gitignore_templates_test.go
index 50e224bf67..759b9288d6 100644
--- a/tests/integration/api_gitignore_templates_test.go
+++ b/tests/integration/api_gitignore_templates_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/options"
- repo_module "gitea.dev/modules/repository"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ "gotea.dev/modules/options"
+ repo_module "gotea.dev/modules/repository"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_gpg_keys_test.go b/tests/integration/api_gpg_keys_test.go
index a2a19d5888..70e7fb6afc 100644
--- a/tests/integration/api_gpg_keys_test.go
+++ b/tests/integration/api_gpg_keys_test.go
@@ -9,9 +9,9 @@ import (
"strconv"
"testing"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_helper_for_declarative_test.go b/tests/integration/api_helper_for_declarative_test.go
index 4822512e21..3abcb209fd 100644
--- a/tests/integration/api_helper_for_declarative_test.go
+++ b/tests/integration/api_helper_for_declarative_test.go
@@ -12,13 +12,13 @@ import (
"testing"
"time"
- "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/json"
- "gitea.dev/modules/queue"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/forms"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/queue"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/forms"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_httpsig_test.go b/tests/integration/api_httpsig_test.go
index d100d0728e..622b3e9ccc 100644
--- a/tests/integration/api_httpsig_test.go
+++ b/tests/integration/api_httpsig_test.go
@@ -9,11 +9,11 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/42wim/httpsig"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_issue_attachment_test.go b/tests/integration/api_issue_attachment_test.go
index 9656946eef..44b94e5369 100644
--- a/tests/integration/api_issue_attachment_test.go
+++ b/tests/integration/api_issue_attachment_test.go
@@ -10,13 +10,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_config_test.go b/tests/integration/api_issue_config_test.go
index 88dcd53920..efe6736ca1 100644
--- a/tests/integration/api_issue_config_test.go
+++ b/tests/integration/api_issue_config_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"go.yaml.in/yaml/v4"
diff --git a/tests/integration/api_issue_dependency_test.go b/tests/integration/api_issue_dependency_test.go
index b3464a8d7e..650ec02fb4 100644
--- a/tests/integration/api_issue_dependency_test.go
+++ b/tests/integration/api_issue_dependency_test.go
@@ -10,19 +10,19 @@ import (
"strconv"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_label_test.go b/tests/integration/api_issue_label_test.go
index 35a2873ce7..22d31239b3 100644
--- a/tests/integration/api_issue_label_test.go
+++ b/tests/integration/api_issue_label_test.go
@@ -9,12 +9,12 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_lock_test.go b/tests/integration/api_issue_lock_test.go
index 21c04935dd..771cb6d1d6 100644
--- a/tests/integration/api_issue_lock_test.go
+++ b/tests/integration/api_issue_lock_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_issue_milestone_test.go b/tests/integration/api_issue_milestone_test.go
index 8a49a7649c..f4764c3b66 100644
--- a/tests/integration/api_issue_milestone_test.go
+++ b/tests/integration/api_issue_milestone_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_pin_test.go b/tests/integration/api_issue_pin_test.go
index 3b10ee4087..50d586fa43 100644
--- a/tests/integration/api_issue_pin_test.go
+++ b/tests/integration/api_issue_pin_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_reaction_test.go b/tests/integration/api_issue_reaction_test.go
index daa7bb4d17..09b47b2f9a 100644
--- a/tests/integration/api_issue_reaction_test.go
+++ b/tests/integration/api_issue_reaction_test.go
@@ -9,14 +9,14 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/convert"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/convert"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_stopwatch_test.go b/tests/integration/api_issue_stopwatch_test.go
index 225c64e594..1ae9122aa0 100644
--- a/tests/integration/api_issue_stopwatch_test.go
+++ b/tests/integration/api_issue_stopwatch_test.go
@@ -7,13 +7,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_subscription_test.go b/tests/integration/api_issue_subscription_test.go
index 34fe8c2a69..6cb726adfc 100644
--- a/tests/integration/api_issue_subscription_test.go
+++ b/tests/integration/api_issue_subscription_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_templates_test.go b/tests/integration/api_issue_templates_test.go
index c5326cd2bf..d7e61f5af0 100644
--- a/tests/integration/api_issue_templates_test.go
+++ b/tests/integration/api_issue_templates_test.go
@@ -8,12 +8,12 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_test.go b/tests/integration/api_issue_test.go
index c405137502..68b00b004d 100644
--- a/tests/integration/api_issue_test.go
+++ b/tests/integration/api_issue_test.go
@@ -13,16 +13,16 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_issue_tracked_time_test.go b/tests/integration/api_issue_tracked_time_test.go
index 0da5548a05..328a67a5dc 100644
--- a/tests/integration/api_issue_tracked_time_test.go
+++ b/tests/integration/api_issue_tracked_time_test.go
@@ -9,16 +9,16 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_keys_test.go b/tests/integration/api_keys_test.go
index 3da6294238..34f33b4dfa 100644
--- a/tests/integration/api_keys_test.go
+++ b/tests/integration/api_keys_test.go
@@ -9,15 +9,15 @@ import (
"net/url"
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- auth_model "gitea.dev/models/auth"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ asymkey_model "gotea.dev/models/asymkey"
+ auth_model "gotea.dev/models/auth"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_label_templates_test.go b/tests/integration/api_label_templates_test.go
index 66d4b86426..0ccde9ee08 100644
--- a/tests/integration/api_label_templates_test.go
+++ b/tests/integration/api_label_templates_test.go
@@ -9,9 +9,9 @@ import (
"strings"
"testing"
- repo_module "gitea.dev/modules/repository"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ repo_module "gotea.dev/modules/repository"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_license_templates_test.go b/tests/integration/api_license_templates_test.go
index 2f3d3b0830..db1da54ec3 100644
--- a/tests/integration/api_license_templates_test.go
+++ b/tests/integration/api_license_templates_test.go
@@ -8,11 +8,11 @@ import (
"net/url"
"testing"
- "gitea.dev/modules/options"
- repo_module "gitea.dev/modules/repository"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ "gotea.dev/modules/options"
+ repo_module "gotea.dev/modules/repository"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_notification_test.go b/tests/integration/api_notification_test.go
index 2a856d4da4..3962539228 100644
--- a/tests/integration/api_notification_test.go
+++ b/tests/integration/api_notification_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- activities_model "gitea.dev/models/activities"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ activities_model "gotea.dev/models/activities"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_oauth2_apps_test.go b/tests/integration/api_oauth2_apps_test.go
index fde89dd303..f962296db2 100644
--- a/tests/integration/api_oauth2_apps_test.go
+++ b/tests/integration/api_oauth2_apps_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_org_avatar_test.go b/tests/integration/api_org_avatar_test.go
index 7727331dda..b587093979 100644
--- a/tests/integration/api_org_avatar_test.go
+++ b/tests/integration/api_org_avatar_test.go
@@ -10,10 +10,10 @@ import (
"path/filepath"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_org_test.go b/tests/integration/api_org_test.go
index 5e62f6e041..e5326eb377 100644
--- a/tests/integration/api_org_test.go
+++ b/tests/integration/api_org_test.go
@@ -10,18 +10,18 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- org_model "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ org_model "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_alpine_test.go b/tests/integration/api_packages_alpine_test.go
index 5b097534e2..0eba861f85 100644
--- a/tests/integration/api_packages_alpine_test.go
+++ b/tests/integration/api_packages_alpine_test.go
@@ -14,12 +14,12 @@ import (
"net/http"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- alpine_module "gitea.dev/modules/packages/alpine"
- alpine_service "gitea.dev/services/packages/alpine"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ alpine_module "gotea.dev/modules/packages/alpine"
+ alpine_service "gotea.dev/services/packages/alpine"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_arch_test.go b/tests/integration/api_packages_arch_test.go
index ece8b27f4c..0d12918431 100644
--- a/tests/integration/api_packages_arch_test.go
+++ b/tests/integration/api_packages_arch_test.go
@@ -12,13 +12,13 @@ import (
"net/http"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- arch_module "gitea.dev/modules/packages/arch"
- "gitea.dev/modules/test"
- arch_service "gitea.dev/services/packages/arch"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ arch_module "gotea.dev/modules/packages/arch"
+ "gotea.dev/modules/test"
+ arch_service "gotea.dev/services/packages/arch"
+ "gotea.dev/tests"
"github.com/klauspost/compress/zstd"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/api_packages_cargo_test.go b/tests/integration/api_packages_cargo_test.go
index 7c02fab46a..ca63654d3d 100644
--- a/tests/integration/api_packages_cargo_test.go
+++ b/tests/integration/api_packages_cargo_test.go
@@ -12,17 +12,17 @@ import (
neturl "net/url"
"testing"
- "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- cargo_module "gitea.dev/modules/packages/cargo"
- "gitea.dev/modules/setting"
- cargo_router "gitea.dev/routers/api/packages/cargo"
- cargo_service "gitea.dev/services/packages/cargo"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ cargo_module "gotea.dev/modules/packages/cargo"
+ "gotea.dev/modules/setting"
+ cargo_router "gotea.dev/routers/api/packages/cargo"
+ cargo_service "gotea.dev/services/packages/cargo"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_chef_test.go b/tests/integration/api_packages_chef_test.go
index 343e4ea34c..94d888772e 100644
--- a/tests/integration/api_packages_chef_test.go
+++ b/tests/integration/api_packages_chef_test.go
@@ -25,13 +25,13 @@ import (
"testing"
"time"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- chef_module "gitea.dev/modules/packages/chef"
- "gitea.dev/modules/setting"
- chef_router "gitea.dev/routers/api/packages/chef"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ chef_module "gotea.dev/modules/packages/chef"
+ "gotea.dev/modules/setting"
+ chef_router "gotea.dev/routers/api/packages/chef"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_composer_test.go b/tests/integration/api_packages_composer_test.go
index d464c5df8b..55304b5a41 100644
--- a/tests/integration/api_packages_composer_test.go
+++ b/tests/integration/api_packages_composer_test.go
@@ -12,15 +12,15 @@ import (
neturl "net/url"
"testing"
- "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- composer_module "gitea.dev/modules/packages/composer"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/routers/api/packages/composer"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ composer_module "gotea.dev/modules/packages/composer"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers/api/packages/composer"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_conan_test.go b/tests/integration/api_packages_conan_test.go
index 90fd3b85bf..e1021776b2 100644
--- a/tests/integration/api_packages_conan_test.go
+++ b/tests/integration/api_packages_conan_test.go
@@ -11,16 +11,16 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- conan_model "gitea.dev/models/packages/conan"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- conan_module "gitea.dev/modules/packages/conan"
- "gitea.dev/modules/setting"
- conan_router "gitea.dev/routers/api/packages/conan"
- package_service "gitea.dev/services/packages"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ conan_model "gotea.dev/models/packages/conan"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ conan_module "gotea.dev/modules/packages/conan"
+ "gotea.dev/modules/setting"
+ conan_router "gotea.dev/routers/api/packages/conan"
+ package_service "gotea.dev/services/packages"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_conda_test.go b/tests/integration/api_packages_conda_test.go
index 23f88abff4..a0be86155d 100644
--- a/tests/integration/api_packages_conda_test.go
+++ b/tests/integration/api_packages_conda_test.go
@@ -11,13 +11,13 @@ import (
"net/http"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- conda_module "gitea.dev/modules/packages/conda"
- "gitea.dev/modules/test"
- "gitea.dev/modules/zstd"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ conda_module "gotea.dev/modules/packages/conda"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/zstd"
+ "gotea.dev/tests"
"github.com/dsnet/compress/bzip2"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/api_packages_container_test.go b/tests/integration/api_packages_container_test.go
index df59c24669..d5a7d9fbd4 100644
--- a/tests/integration/api_packages_container_test.go
+++ b/tests/integration/api_packages_container_test.go
@@ -15,16 +15,16 @@ import (
"sync"
"testing"
- auth_model "gitea.dev/models/auth"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- container_module "gitea.dev/modules/packages/container"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- package_service "gitea.dev/services/packages"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ container_module "gotea.dev/modules/packages/container"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ package_service "gotea.dev/services/packages"
+ "gotea.dev/tests"
oci "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/api_packages_cran_test.go b/tests/integration/api_packages_cran_test.go
index f1c2c63ce3..4503fe8ffe 100644
--- a/tests/integration/api_packages_cran_test.go
+++ b/tests/integration/api_packages_cran_test.go
@@ -11,12 +11,12 @@ import (
"net/http"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- cran_module "gitea.dev/modules/packages/cran"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ cran_module "gotea.dev/modules/packages/cran"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_debian_test.go b/tests/integration/api_packages_debian_test.go
index e4c7e17875..e7d35bedd9 100644
--- a/tests/integration/api_packages_debian_test.go
+++ b/tests/integration/api_packages_debian_test.go
@@ -14,13 +14,13 @@ import (
"strings"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/base"
- debian_module "gitea.dev/modules/packages/debian"
- packages_cleanup_service "gitea.dev/services/packages/cleanup"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/base"
+ debian_module "gotea.dev/modules/packages/debian"
+ packages_cleanup_service "gotea.dev/services/packages/cleanup"
+ "gotea.dev/tests"
"github.com/blakesmith/ar"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/api_packages_generic_test.go b/tests/integration/api_packages_generic_test.go
index c737870dfc..c4a1e6cf8c 100644
--- a/tests/integration/api_packages_generic_test.go
+++ b/tests/integration/api_packages_generic_test.go
@@ -12,13 +12,13 @@ import (
neturl "net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_goproxy_test.go b/tests/integration/api_packages_goproxy_test.go
index 615aaed532..d1db656209 100644
--- a/tests/integration/api_packages_goproxy_test.go
+++ b/tests/integration/api_packages_goproxy_test.go
@@ -10,11 +10,11 @@ import (
"testing"
"time"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_helm_test.go b/tests/integration/api_packages_helm_test.go
index 9fa528788b..004784f536 100644
--- a/tests/integration/api_packages_helm_test.go
+++ b/tests/integration/api_packages_helm_test.go
@@ -12,12 +12,12 @@ import (
"testing"
"time"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- helm_module "gitea.dev/modules/packages/helm"
- "gitea.dev/modules/setting"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ helm_module "gotea.dev/modules/packages/helm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"go.yaml.in/yaml/v4"
diff --git a/tests/integration/api_packages_maven_test.go b/tests/integration/api_packages_maven_test.go
index df25f780f4..09672739d3 100644
--- a/tests/integration/api_packages_maven_test.go
+++ b/tests/integration/api_packages_maven_test.go
@@ -12,12 +12,12 @@ import (
"sync"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/packages/maven"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/packages/maven"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_npm_test.go b/tests/integration/api_packages_npm_test.go
index a0d5243fcb..a862507a87 100644
--- a/tests/integration/api_packages_npm_test.go
+++ b/tests/integration/api_packages_npm_test.go
@@ -15,15 +15,15 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/packages/npm"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/packages/npm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_nuget_test.go b/tests/integration/api_packages_nuget_test.go
index f9ccc6a5c4..0987b8292f 100644
--- a/tests/integration/api_packages_nuget_test.go
+++ b/tests/integration/api_packages_nuget_test.go
@@ -17,17 +17,17 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- nuget_module "gitea.dev/modules/packages/nuget"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/routers/api/packages/nuget"
- packageService "gitea.dev/services/packages"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ nuget_module "gotea.dev/modules/packages/nuget"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers/api/packages/nuget"
+ packageService "gotea.dev/services/packages"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_pub_test.go b/tests/integration/api_packages_pub_test.go
index 072a36978d..14245cfefe 100644
--- a/tests/integration/api_packages_pub_test.go
+++ b/tests/integration/api_packages_pub_test.go
@@ -14,13 +14,13 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- pub_module "gitea.dev/modules/packages/pub"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ pub_module "gotea.dev/modules/packages/pub"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_pypi_test.go b/tests/integration/api_packages_pypi_test.go
index a24d6c96eb..94e654c23f 100644
--- a/tests/integration/api_packages_pypi_test.go
+++ b/tests/integration/api_packages_pypi_test.go
@@ -13,11 +13,11 @@ import (
"strings"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/packages/pypi"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/packages/pypi"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_rpm_test.go b/tests/integration/api_packages_rpm_test.go
index 5b6d955fa2..9e4097a758 100644
--- a/tests/integration/api_packages_rpm_test.go
+++ b/tests/integration/api_packages_rpm_test.go
@@ -16,13 +16,13 @@ import (
"strings"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- rpm_module "gitea.dev/modules/packages/rpm"
- "gitea.dev/modules/setting"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ rpm_module "gotea.dev/modules/packages/rpm"
+ "gotea.dev/modules/setting"
+ "gotea.dev/tests"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/sassoftware/go-rpmutils"
diff --git a/tests/integration/api_packages_rubygems_test.go b/tests/integration/api_packages_rubygems_test.go
index 41f81e6bcb..a6aa3b8a11 100644
--- a/tests/integration/api_packages_rubygems_test.go
+++ b/tests/integration/api_packages_rubygems_test.go
@@ -18,11 +18,11 @@ import (
"net/http"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/packages/rubygems"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/packages/rubygems"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_swift_test.go b/tests/integration/api_packages_swift_test.go
index a6bb92402e..eea0b6a763 100644
--- a/tests/integration/api_packages_swift_test.go
+++ b/tests/integration/api_packages_swift_test.go
@@ -12,14 +12,14 @@ import (
"strings"
"testing"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- swift_module "gitea.dev/modules/packages/swift"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- swift_router "gitea.dev/routers/api/packages/swift"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ swift_module "gotea.dev/modules/packages/swift"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ swift_router "gotea.dev/routers/api/packages/swift"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_terraform_test.go b/tests/integration/api_packages_terraform_test.go
index c98d4b2744..5b26693e4b 100644
--- a/tests/integration/api_packages_terraform_test.go
+++ b/tests/integration/api_packages_terraform_test.go
@@ -10,10 +10,10 @@ import (
"testing"
"uuid"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_packages_test.go b/tests/integration/api_packages_test.go
index 5585ff0cb5..77b3e32940 100644
--- a/tests/integration/api_packages_test.go
+++ b/tests/integration/api_packages_test.go
@@ -12,19 +12,19 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- container_module "gitea.dev/modules/packages/container"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- packages_service "gitea.dev/services/packages"
- packages_cleanup_service "gitea.dev/services/packages/cleanup"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ container_module "gotea.dev/modules/packages/container"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ packages_service "gotea.dev/services/packages"
+ packages_cleanup_service "gotea.dev/services/packages/cleanup"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_packages_vagrant_test.go b/tests/integration/api_packages_vagrant_test.go
index 180f9db01c..63942c9352 100644
--- a/tests/integration/api_packages_vagrant_test.go
+++ b/tests/integration/api_packages_vagrant_test.go
@@ -14,13 +14,13 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- vagrant_module "gitea.dev/modules/packages/vagrant"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ vagrant_module "gotea.dev/modules/packages/vagrant"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_private_serv_test.go b/tests/integration/api_private_serv_test.go
index 30abf96359..12ce43598a 100644
--- a/tests/integration/api_private_serv_test.go
+++ b/tests/integration/api_private_serv_test.go
@@ -8,10 +8,10 @@ import (
"net/url"
"testing"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- "gitea.dev/models/user"
- "gitea.dev/modules/private"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/user"
+ "gotea.dev/modules/private"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_project_test.go b/tests/integration/api_project_test.go
index 79df45a6a7..6ea6d01f89 100644
--- a/tests/integration/api_project_test.go
+++ b/tests/integration/api_project_test.go
@@ -10,12 +10,12 @@ import (
"strconv"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- "gitea.dev/models/unittest"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ "gotea.dev/models/unittest"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_public_only_test.go b/tests/integration/api_public_only_test.go
index 90285cd52a..31d818c0b6 100644
--- a/tests/integration/api_public_only_test.go
+++ b/tests/integration/api_public_only_test.go
@@ -8,13 +8,13 @@ import (
"strconv"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_pull_commits_test.go b/tests/integration/api_pull_commits_test.go
index 3c32604622..e628551d9d 100644
--- a/tests/integration/api_pull_commits_test.go
+++ b/tests/integration/api_pull_commits_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_pull_review_test.go b/tests/integration/api_pull_review_test.go
index da4e63c51b..8f4fdc512a 100644
--- a/tests/integration/api_pull_review_test.go
+++ b/tests/integration/api_pull_review_test.go
@@ -8,19 +8,19 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- api "gitea.dev/modules/structs"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ api "gotea.dev/modules/structs"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_pull_test.go b/tests/integration/api_pull_test.go
index e9ccbe4583..8f3bbc673b 100644
--- a/tests/integration/api_pull_test.go
+++ b/tests/integration/api_pull_test.go
@@ -13,24 +13,24 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/services/convert"
- "gitea.dev/services/forms"
- "gitea.dev/services/gitdiff"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/convert"
+ "gotea.dev/services/forms"
+ "gotea.dev/services/gitdiff"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_releases_attachment_test.go b/tests/integration/api_releases_attachment_test.go
index c94ece4386..71d935c56b 100644
--- a/tests/integration/api_releases_attachment_test.go
+++ b/tests/integration/api_releases_attachment_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_releases_test.go b/tests/integration/api_releases_test.go
index 09d2c5648c..f66d98a13e 100644
--- a/tests/integration/api_releases_test.go
+++ b/tests/integration/api_releases_test.go
@@ -13,17 +13,17 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_archive_test.go b/tests/integration/api_repo_archive_test.go
index 6e12c55ac7..bf9bb87710 100644
--- a/tests/integration/api_repo_archive_test.go
+++ b/tests/integration/api_repo_archive_test.go
@@ -11,13 +11,13 @@ import (
"regexp"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_avatar_test.go b/tests/integration/api_repo_avatar_test.go
index 431e1bee20..8eaed5a4fc 100644
--- a/tests/integration/api_repo_avatar_test.go
+++ b/tests/integration/api_repo_avatar_test.go
@@ -11,13 +11,13 @@ import (
"path/filepath"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_branch_test.go b/tests/integration/api_repo_branch_test.go
index 864e351c8d..7e892f7db0 100644
--- a/tests/integration/api_repo_branch_test.go
+++ b/tests/integration/api_repo_branch_test.go
@@ -11,14 +11,14 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_collaborator_test.go b/tests/integration/api_repo_collaborator_test.go
index 00afa3ea47..31efb91207 100644
--- a/tests/integration/api_repo_collaborator_test.go
+++ b/tests/integration/api_repo_collaborator_test.go
@@ -7,13 +7,13 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_compare_test.go b/tests/integration/api_repo_compare_test.go
index 57f943c5ad..b7f6bab66d 100644
--- a/tests/integration/api_repo_compare_test.go
+++ b/tests/integration/api_repo_compare_test.go
@@ -9,12 +9,12 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_delete_test.go b/tests/integration/api_repo_delete_test.go
index ae566c4280..e602cd8e7e 100644
--- a/tests/integration/api_repo_delete_test.go
+++ b/tests/integration/api_repo_delete_test.go
@@ -7,14 +7,14 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_edit_test.go b/tests/integration/api_repo_edit_test.go
index d2c29a40f9..c5b7ad3749 100644
--- a/tests/integration/api_repo_edit_test.go
+++ b/tests/integration/api_repo_edit_test.go
@@ -10,15 +10,15 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- mirror_service "gitea.dev/services/mirror"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ mirror_service "gotea.dev/services/mirror"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_file_create_test.go b/tests/integration/api_repo_file_create_test.go
index 631a9248a3..314aa70a7e 100644
--- a/tests/integration/api_repo_file_create_test.go
+++ b/tests/integration/api_repo_file_create_test.go
@@ -12,14 +12,14 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_file_delete_test.go b/tests/integration/api_repo_file_delete_test.go
index 293977f6bf..a6813308fa 100644
--- a/tests/integration/api_repo_file_delete_test.go
+++ b/tests/integration/api_repo_file_delete_test.go
@@ -9,11 +9,11 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_file_diffpatch_test.go b/tests/integration/api_repo_file_diffpatch_test.go
index fdae6c910a..13b3bc1221 100644
--- a/tests/integration/api_repo_file_diffpatch_test.go
+++ b/tests/integration/api_repo_file_diffpatch_test.go
@@ -9,11 +9,11 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_file_get_test.go b/tests/integration/api_repo_file_get_test.go
index a785cd853d..37ec0d2ae9 100644
--- a/tests/integration/api_repo_file_get_test.go
+++ b/tests/integration/api_repo_file_get_test.go
@@ -8,8 +8,8 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_file_helpers.go b/tests/integration/api_repo_file_helpers.go
index e5cf8b9228..cd29fa6df8 100644
--- a/tests/integration/api_repo_file_helpers.go
+++ b/tests/integration/api_repo_file_helpers.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- files_service "gitea.dev/services/repository/files"
+ repo_model "gotea.dev/models/repo"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/require"
)
diff --git a/tests/integration/api_repo_file_update_test.go b/tests/integration/api_repo_file_update_test.go
index a4b6cde689..82ec87219c 100644
--- a/tests/integration/api_repo_file_update_test.go
+++ b/tests/integration/api_repo_file_update_test.go
@@ -11,14 +11,14 @@ import (
"path"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_files_change_test.go b/tests/integration/api_repo_files_change_test.go
index 4b3b5ccf7b..dad9defd49 100644
--- a/tests/integration/api_repo_files_change_test.go
+++ b/tests/integration/api_repo_files_change_test.go
@@ -10,14 +10,14 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/context"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_files_get_test.go b/tests/integration/api_repo_files_get_test.go
index feecb99411..2718acfbf2 100644
--- a/tests/integration/api_repo_files_get_test.go
+++ b/tests/integration/api_repo_files_get_test.go
@@ -9,17 +9,17 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_get_contents_list_test.go b/tests/integration/api_repo_get_contents_list_test.go
index 8b96751033..caf751e7ca 100644
--- a/tests/integration/api_repo_get_contents_list_test.go
+++ b/tests/integration/api_repo_get_contents_list_test.go
@@ -10,14 +10,14 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_get_contents_test.go b/tests/integration/api_repo_get_contents_test.go
index a9fb288a95..e039f64f8c 100644
--- a/tests/integration/api_repo_get_contents_test.go
+++ b/tests/integration/api_repo_get_contents_test.go
@@ -11,14 +11,14 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_git_blobs_test.go b/tests/integration/api_repo_git_blobs_test.go
index 887a736684..13ef3b4ed7 100644
--- a/tests/integration/api_repo_git_blobs_test.go
+++ b/tests/integration/api_repo_git_blobs_test.go
@@ -7,12 +7,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_git_commits_test.go b/tests/integration/api_repo_git_commits_test.go
index 7905e6acb1..41263cad22 100644
--- a/tests/integration/api_repo_git_commits_test.go
+++ b/tests/integration/api_repo_git_commits_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_git_hook_test.go b/tests/integration/api_repo_git_hook_test.go
index 01a17c7b08..606c690e77 100644
--- a/tests/integration/api_repo_git_hook_test.go
+++ b/tests/integration/api_repo_git_hook_test.go
@@ -8,14 +8,14 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_git_notes_test.go b/tests/integration/api_repo_git_notes_test.go
index 8cb531e792..f203179796 100644
--- a/tests/integration/api_repo_git_notes_test.go
+++ b/tests/integration/api_repo_git_notes_test.go
@@ -8,10 +8,10 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_git_ref_test.go b/tests/integration/api_repo_git_ref_test.go
index fc43c4eac6..37000b45ae 100644
--- a/tests/integration/api_repo_git_ref_test.go
+++ b/tests/integration/api_repo_git_ref_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
)
func TestAPIReposGitRefs(t *testing.T) {
diff --git a/tests/integration/api_repo_git_tags_test.go b/tests/integration/api_repo_git_tags_test.go
index 4442ae1ba4..b8eade9953 100644
--- a/tests/integration/api_repo_git_tags_test.go
+++ b/tests/integration/api_repo_git_tags_test.go
@@ -9,14 +9,14 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_git_trees_test.go b/tests/integration/api_repo_git_trees_test.go
index f452892779..7022179c11 100644
--- a/tests/integration/api_repo_git_trees_test.go
+++ b/tests/integration/api_repo_git_trees_test.go
@@ -7,12 +7,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_hook_test.go b/tests/integration/api_repo_hook_test.go
index e92bbd31ad..4a572dabe1 100644
--- a/tests/integration/api_repo_hook_test.go
+++ b/tests/integration/api_repo_hook_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_languages_test.go b/tests/integration/api_repo_languages_test.go
index 7d16fe4a9d..89d2d5bd4a 100644
--- a/tests/integration/api_repo_languages_test.go
+++ b/tests/integration/api_repo_languages_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_lfs_locks_test.go b/tests/integration/api_repo_lfs_locks_test.go
index f1a38334c1..cff9676dca 100644
--- a/tests/integration/api_repo_lfs_locks_test.go
+++ b/tests/integration/api_repo_lfs_locks_test.go
@@ -9,14 +9,14 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_lfs_migrate_test.go b/tests/integration/api_repo_lfs_migrate_test.go
index 2b131f8242..d65972c761 100644
--- a/tests/integration/api_repo_lfs_migrate_test.go
+++ b/tests/integration/api_repo_lfs_migrate_test.go
@@ -8,14 +8,14 @@ import (
"path"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_lfs_test.go b/tests/integration/api_repo_lfs_test.go
index dea02814df..e178f2634a 100644
--- a/tests/integration/api_repo_lfs_test.go
+++ b/tests/integration/api_repo_lfs_test.go
@@ -10,16 +10,16 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_license_test.go b/tests/integration/api_repo_license_test.go
index 33a0444a36..f66e66b5fe 100644
--- a/tests/integration/api_repo_license_test.go
+++ b/tests/integration/api_repo_license_test.go
@@ -10,9 +10,9 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_raw_test.go b/tests/integration/api_repo_raw_test.go
index 106ed001fe..f545276990 100644
--- a/tests/integration/api_repo_raw_test.go
+++ b/tests/integration/api_repo_raw_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_secrets_test.go b/tests/integration/api_repo_secrets_test.go
index 580b4736b1..13d409c456 100644
--- a/tests/integration/api_repo_secrets_test.go
+++ b/tests/integration/api_repo_secrets_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
)
func TestAPIRepoSecrets(t *testing.T) {
diff --git a/tests/integration/api_repo_tags_test.go b/tests/integration/api_repo_tags_test.go
index 55b25c4034..7bb529542b 100644
--- a/tests/integration/api_repo_tags_test.go
+++ b/tests/integration/api_repo_tags_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_repo_teams_test.go b/tests/integration/api_repo_teams_test.go
index 5755d68d3b..84850ae9b1 100644
--- a/tests/integration/api_repo_teams_test.go
+++ b/tests/integration/api_repo_teams_test.go
@@ -8,14 +8,14 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/organization"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/organization"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_test.go b/tests/integration/api_repo_test.go
index c0488736f4..6de81bdacf 100644
--- a/tests/integration/api_repo_test.go
+++ b/tests/integration/api_repo_test.go
@@ -9,17 +9,17 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_topic_test.go b/tests/integration/api_repo_topic_test.go
index bd45f0d440..5394e7682c 100644
--- a/tests/integration/api_repo_topic_test.go
+++ b/tests/integration/api_repo_topic_test.go
@@ -9,12 +9,12 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_repo_variables_test.go b/tests/integration/api_repo_variables_test.go
index bedde0aa71..94c877faa8 100644
--- a/tests/integration/api_repo_variables_test.go
+++ b/tests/integration/api_repo_variables_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
)
func TestAPIRepoVariables(t *testing.T) {
diff --git a/tests/integration/api_repository_creation_token_scope_test.go b/tests/integration/api_repository_creation_token_scope_test.go
index 7091fd1ef7..73c9d8df83 100644
--- a/tests/integration/api_repository_creation_token_scope_test.go
+++ b/tests/integration/api_repository_creation_token_scope_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/require"
)
diff --git a/tests/integration/api_settings_test.go b/tests/integration/api_settings_test.go
index e5c7b9ad5c..c93420b0fa 100644
--- a/tests/integration/api_settings_test.go
+++ b/tests/integration/api_settings_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_team_test.go b/tests/integration/api_team_test.go
index 3d2b88f542..e439085541 100644
--- a/tests/integration/api_team_test.go
+++ b/tests/integration/api_team_test.go
@@ -10,18 +10,18 @@ import (
"slices"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/convert"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/convert"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_team_user_test.go b/tests/integration/api_team_user_test.go
index 46e7d9ad60..f33ba81c14 100644
--- a/tests/integration/api_team_user_test.go
+++ b/tests/integration/api_team_user_test.go
@@ -8,12 +8,12 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/convert"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/convert"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_token_self_test.go b/tests/integration/api_token_self_test.go
index 2720c59d2c..32d58c94f4 100644
--- a/tests/integration/api_token_self_test.go
+++ b/tests/integration/api_token_self_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_token_test.go b/tests/integration/api_token_test.go
index 7f2986b1a2..68d698aac9 100644
--- a/tests/integration/api_token_test.go
+++ b/tests/integration/api_token_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/log"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/log"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_twofa_test.go b/tests/integration/api_twofa_test.go
index e65f038881..0cd4b5cc3c 100644
--- a/tests/integration/api_twofa_test.go
+++ b/tests/integration/api_twofa_test.go
@@ -8,10 +8,10 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/tests"
"github.com/pquerna/otp/totp"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/api_user_avatar_test.go b/tests/integration/api_user_avatar_test.go
index accf0b7dc7..ec6dd9ae50 100644
--- a/tests/integration/api_user_avatar_test.go
+++ b/tests/integration/api_user_avatar_test.go
@@ -10,10 +10,10 @@ import (
"path/filepath"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_block_test.go b/tests/integration/api_user_block_test.go
index 56dc81cc0f..da308dc450 100644
--- a/tests/integration/api_user_block_test.go
+++ b/tests/integration/api_user_block_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_email_test.go b/tests/integration/api_user_email_test.go
index bc61a1d393..45cab2d27c 100644
--- a/tests/integration/api_user_email_test.go
+++ b/tests/integration/api_user_email_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_follow_test.go b/tests/integration/api_user_follow_test.go
index db1f669f9a..64d1518ce7 100644
--- a/tests/integration/api_user_follow_test.go
+++ b/tests/integration/api_user_follow_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_user_heatmap_test.go b/tests/integration/api_user_heatmap_test.go
index c383b97437..ce0d3ba968 100644
--- a/tests/integration/api_user_heatmap_test.go
+++ b/tests/integration/api_user_heatmap_test.go
@@ -9,10 +9,10 @@ import (
"testing"
"time"
- activities_model "gitea.dev/models/activities"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/timeutil"
- "gitea.dev/tests"
+ activities_model "gotea.dev/models/activities"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_info_test.go b/tests/integration/api_user_info_test.go
index 7ca2a3fbf3..58e73eec7b 100644
--- a/tests/integration/api_user_info_test.go
+++ b/tests/integration/api_user_info_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_org_perm_test.go b/tests/integration/api_user_org_perm_test.go
index 9c031c2e6a..fc0c1d0c75 100644
--- a/tests/integration/api_user_org_perm_test.go
+++ b/tests/integration/api_user_org_perm_test.go
@@ -8,9 +8,9 @@ import (
"net/http/httptest"
"testing"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_orgs_test.go b/tests/integration/api_user_orgs_test.go
index 381ea43f52..df54d34230 100644
--- a/tests/integration/api_user_orgs_test.go
+++ b/tests/integration/api_user_orgs_test.go
@@ -8,11 +8,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_public_only_test.go b/tests/integration/api_user_public_only_test.go
index be315072d7..198e35075b 100644
--- a/tests/integration/api_user_public_only_test.go
+++ b/tests/integration/api_user_public_only_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/require"
)
diff --git a/tests/integration/api_user_search_test.go b/tests/integration/api_user_search_test.go
index 5cbf62ebec..a7a22679d9 100644
--- a/tests/integration/api_user_search_test.go
+++ b/tests/integration/api_user_search_test.go
@@ -7,11 +7,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_user_secrets_test.go b/tests/integration/api_user_secrets_test.go
index cfc42f3b6a..6c80915d7f 100644
--- a/tests/integration/api_user_secrets_test.go
+++ b/tests/integration/api_user_secrets_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
)
func TestAPIUserSecrets(t *testing.T) {
diff --git a/tests/integration/api_user_star_test.go b/tests/integration/api_user_star_test.go
index 79803a744e..53f42e96e6 100644
--- a/tests/integration/api_user_star_test.go
+++ b/tests/integration/api_user_star_test.go
@@ -8,17 +8,17 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_user_update_test.go b/tests/integration/api_user_update_test.go
index a3cdc2558a..6b9574aa39 100644
--- a/tests/integration/api_user_update_test.go
+++ b/tests/integration/api_user_update_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/tests"
)
func TestAPIUpdateUser(t *testing.T) {
diff --git a/tests/integration/api_user_variables_test.go b/tests/integration/api_user_variables_test.go
index 00805ae3fe..11077ac14b 100644
--- a/tests/integration/api_user_variables_test.go
+++ b/tests/integration/api_user_variables_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
)
func TestAPIUserVariables(t *testing.T) {
diff --git a/tests/integration/api_user_visibility_test.go b/tests/integration/api_user_visibility_test.go
index cd044fc4cc..8bde8f28ab 100644
--- a/tests/integration/api_user_visibility_test.go
+++ b/tests/integration/api_user_visibility_test.go
@@ -8,11 +8,11 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/api_user_watch_test.go b/tests/integration/api_user_watch_test.go
index 073eb0ed0b..1545583cab 100644
--- a/tests/integration/api_user_watch_test.go
+++ b/tests/integration/api_user_watch_test.go
@@ -8,11 +8,11 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/api_wiki_test.go b/tests/integration/api_wiki_test.go
index 2ae617c6cf..f9012185e3 100644
--- a/tests/integration/api_wiki_test.go
+++ b/tests/integration/api_wiki_test.go
@@ -9,9 +9,9 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/attachment_test.go b/tests/integration/attachment_test.go
index 985fded3a7..66307359ca 100644
--- a/tests/integration/attachment_test.go
+++ b/tests/integration/attachment_test.go
@@ -14,14 +14,14 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- route_web "gitea.dev/routers/web"
- "gitea.dev/services/context"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ route_web "gotea.dev/routers/web"
+ "gotea.dev/services/context"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/auth_ldap_test.go b/tests/integration/auth_ldap_test.go
index f9bc4907a3..e7465e48da 100644
--- a/tests/integration/auth_ldap_test.go
+++ b/tests/integration/auth_ldap_test.go
@@ -11,19 +11,19 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/services/auth"
- "gitea.dev/services/auth/source/ldap"
- org_service "gitea.dev/services/org"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/auth"
+ "gotea.dev/services/auth/source/ldap"
+ org_service "gotea.dev/services/org"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/auth_oauth2_test.go b/tests/integration/auth_oauth2_test.go
index c65854c15b..7bacc9a3bf 100644
--- a/tests/integration/auth_oauth2_test.go
+++ b/tests/integration/auth_oauth2_test.go
@@ -12,15 +12,15 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/tests"
"github.com/go-webauthn/webauthn/webauthn"
"github.com/pquerna/otp/totp"
diff --git a/tests/integration/branches_test.go b/tests/integration/branches_test.go
index 1a647001d9..fdee701cc8 100644
--- a/tests/integration/branches_test.go
+++ b/tests/integration/branches_test.go
@@ -8,11 +8,11 @@ import (
"net/url"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/translation"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/translation"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/change_default_branch_test.go b/tests/integration/change_default_branch_test.go
index f4521ed1cb..d5ba5f2f14 100644
--- a/tests/integration/change_default_branch_test.go
+++ b/tests/integration/change_default_branch_test.go
@@ -9,11 +9,11 @@ import (
"strconv"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/cmd_keys_test.go b/tests/integration/cmd_keys_test.go
index eb76fba267..fe85997119 100644
--- a/tests/integration/cmd_keys_test.go
+++ b/tests/integration/cmd_keys_test.go
@@ -8,9 +8,9 @@ import (
"net/url"
"testing"
- "gitea.dev/cmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/util"
+ "gotea.dev/cmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli/v3"
diff --git a/tests/integration/compare_test.go b/tests/integration/compare_test.go
index 3bff677253..3b10b3b915 100644
--- a/tests/integration/compare_test.go
+++ b/tests/integration/compare_test.go
@@ -10,16 +10,16 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/routers/common"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/common"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/config_instance_test.go b/tests/integration/config_instance_test.go
index a5def9c3c7..dbafcfd00a 100644
--- a/tests/integration/config_instance_test.go
+++ b/tests/integration/config_instance_test.go
@@ -8,11 +8,11 @@ import (
"testing"
"time"
- system_model "gitea.dev/models/system"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/setting/config"
- "gitea.dev/tests"
+ system_model "gotea.dev/models/system"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/setting/config"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/cors_test.go b/tests/integration/cors_test.go
index 6904886abd..a135e1f46d 100644
--- a/tests/integration/cors_test.go
+++ b/tests/integration/cors_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/routers"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/create_no_session_test.go b/tests/integration/create_no_session_test.go
index a03e7e4da5..cf75ef0fc7 100644
--- a/tests/integration/create_no_session_test.go
+++ b/tests/integration/create_no_session_test.go
@@ -10,11 +10,11 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/routers"
- "gitea.dev/tests"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers"
+ "gotea.dev/tests"
"gitea.com/go-chi/session"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/db_collation_test.go b/tests/integration/db_collation_test.go
index 5380b91b23..2e87aba38e 100644
--- a/tests/integration/db_collation_test.go
+++ b/tests/integration/db_collation_test.go
@@ -6,10 +6,10 @@ package integration
import (
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/delete_user_test.go b/tests/integration/delete_user_test.go
index fe84d19573..bd280cf500 100644
--- a/tests/integration/delete_user_test.go
+++ b/tests/integration/delete_user_test.go
@@ -7,14 +7,14 @@ import (
"net/http"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/organization"
- access_model "gitea.dev/models/perm/access"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/organization"
+ access_model "gotea.dev/models/perm/access"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/deploy_token_test.go b/tests/integration/deploy_token_test.go
index ea81c7a1fe..4e708d9b33 100644
--- a/tests/integration/deploy_token_test.go
+++ b/tests/integration/deploy_token_test.go
@@ -7,15 +7,15 @@ import (
"net/http"
"testing"
- deploykey_model "gitea.dev/models/deploykey"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- lfs_module "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ deploykey_model "gotea.dev/models/deploykey"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ lfs_module "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/require"
)
diff --git a/tests/integration/download_test.go b/tests/integration/download_test.go
index e97a5d7655..704cf4f16c 100644
--- a/tests/integration/download_test.go
+++ b/tests/integration/download_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/dump_restore_test.go b/tests/integration/dump_restore_test.go
index f38d38c10e..876593d46e 100644
--- a/tests/integration/dump_restore_test.go
+++ b/tests/integration/dump_restore_test.go
@@ -13,15 +13,15 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- base "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/services/migrations"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ base "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/migrations"
"github.com/stretchr/testify/assert"
"go.yaml.in/yaml/v4"
diff --git a/tests/integration/editor_test.go b/tests/integration/editor_test.go
index 37343728d3..fa62d2fcf9 100644
--- a/tests/integration/editor_test.go
+++ b/tests/integration/editor_test.go
@@ -16,14 +16,14 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/empty_repo_test.go b/tests/integration/empty_repo_test.go
index 24b30e69ff..6c4541de38 100644
--- a/tests/integration/empty_repo_test.go
+++ b/tests/integration/empty_repo_test.go
@@ -13,17 +13,17 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/ephemeral_actions_runner_deletion_test.go b/tests/integration/ephemeral_actions_runner_deletion_test.go
index 4922ddf579..68902be966 100644
--- a/tests/integration/ephemeral_actions_runner_deletion_test.go
+++ b/tests/integration/ephemeral_actions_runner_deletion_test.go
@@ -6,13 +6,13 @@ package integration
import (
"testing"
- actions_model "gitea.dev/models/actions"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/util"
- repo_service "gitea.dev/services/repository"
- user_service "gitea.dev/services/user"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/util"
+ repo_service "gotea.dev/services/repository"
+ user_service "gotea.dev/services/user"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/explore_repos_test.go b/tests/integration/explore_repos_test.go
index c8348d9c39..47cf6a18c2 100644
--- a/tests/integration/explore_repos_test.go
+++ b/tests/integration/explore_repos_test.go
@@ -7,7 +7,7 @@ import (
"net/http"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/explore_user_test.go b/tests/integration/explore_user_test.go
index e9fddc71cf..7ef3b9096c 100644
--- a/tests/integration/explore_user_test.go
+++ b/tests/integration/explore_user_test.go
@@ -7,7 +7,7 @@ import (
"net/http"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/feed_repo_test.go b/tests/integration/feed_repo_test.go
index 53fac34d75..4997218793 100644
--- a/tests/integration/feed_repo_test.go
+++ b/tests/integration/feed_repo_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/feed_user_test.go b/tests/integration/feed_user_test.go
index 2ee3de0ced..f419c8677a 100644
--- a/tests/integration/feed_user_test.go
+++ b/tests/integration/feed_user_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/git_general_test.go b/tests/integration/git_general_test.go
index f96e5ea752..a201a21352 100644
--- a/tests/integration/git_general_test.go
+++ b/tests/integration/git_general_test.go
@@ -20,20 +20,20 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/kballard/go-shellquote"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/git_helper_for_declarative_test.go b/tests/integration/git_helper_for_declarative_test.go
index f137795d76..fbe46e51c8 100644
--- a/tests/integration/git_helper_for_declarative_test.go
+++ b/tests/integration/git_helper_for_declarative_test.go
@@ -15,13 +15,13 @@ import (
"testing"
"time"
- "gitea.dev/modules/generate"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/ssh"
- "gitea.dev/modules/util"
- "gitea.dev/tests"
+ "gotea.dev/modules/generate"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/ssh"
+ "gotea.dev/modules/util"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/git_lfs_ssh_test.go b/tests/integration/git_lfs_ssh_test.go
index e185c27a80..b162f34e6f 100644
--- a/tests/integration/git_lfs_ssh_test.go
+++ b/tests/integration/git_lfs_ssh_test.go
@@ -12,13 +12,13 @@ import (
"sync"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/routers/common"
- "gitea.dev/services/context"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/common"
+ "gotea.dev/services/context"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/git_misc_test.go b/tests/integration/git_misc_test.go
index 5ad73c9dff..a1ffb370fa 100644
--- a/tests/integration/git_misc_test.go
+++ b/tests/integration/git_misc_test.go
@@ -10,14 +10,14 @@ import (
"sync"
"testing"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- files_service "gitea.dev/services/repository/files"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/git_push_test.go b/tests/integration/git_push_test.go
index 623a0365e9..57d4dc14ea 100644
--- a/tests/integration/git_push_test.go
+++ b/tests/integration/git_push_test.go
@@ -8,17 +8,17 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/git_smart_http_test.go b/tests/integration/git_smart_http_test.go
index 29c3e6ca61..4d06a663ce 100644
--- a/tests/integration/git_smart_http_test.go
+++ b/tests/integration/git_smart_http_test.go
@@ -9,14 +9,14 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/util"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/util"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/git_ssh_redirect_test.go b/tests/integration/git_ssh_redirect_test.go
index 033c6cc0c0..f3263cd3c2 100644
--- a/tests/integration/git_ssh_redirect_test.go
+++ b/tests/integration/git_ssh_redirect_test.go
@@ -9,8 +9,8 @@ import (
"os"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/goget_test.go b/tests/integration/goget_test.go
index de78e40e13..b54ca612bc 100644
--- a/tests/integration/goget_test.go
+++ b/tests/integration/goget_test.go
@@ -8,12 +8,12 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/gpg_ssh_git_test.go b/tests/integration/gpg_ssh_git_test.go
index 75203db2de..4aef0afd07 100644
--- a/tests/integration/gpg_ssh_git_test.go
+++ b/tests/integration/gpg_ssh_git_test.go
@@ -15,14 +15,14 @@ import (
"path/filepath"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/process"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/process"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/armor"
diff --git a/tests/integration/heatmap_test.go b/tests/integration/heatmap_test.go
index da278419c8..5d17717b1c 100644
--- a/tests/integration/heatmap_test.go
+++ b/tests/integration/heatmap_test.go
@@ -8,8 +8,8 @@ import (
"testing"
"time"
- "gitea.dev/modules/timeutil"
- "gitea.dev/tests"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/html_helper.go b/tests/integration/html_helper.go
index 506881af25..c6e439e963 100644
--- a/tests/integration/html_helper.go
+++ b/tests/integration/html_helper.go
@@ -7,7 +7,7 @@ import (
"io"
"testing"
- "gitea.dev/modules/test"
+ "gotea.dev/modules/test"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/incoming_email_test.go b/tests/integration/incoming_email_test.go
index 2c57e8a8d0..77d6e8d9a5 100644
--- a/tests/integration/incoming_email_test.go
+++ b/tests/integration/incoming_email_test.go
@@ -12,15 +12,15 @@ import (
"testing"
"time"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/services/mailer/incoming"
- incoming_payload "gitea.dev/services/mailer/incoming/payload"
- sender_service "gitea.dev/services/mailer/sender"
- token_service "gitea.dev/services/mailer/token"
- "gitea.dev/tests"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/services/mailer/incoming"
+ incoming_payload "gotea.dev/services/mailer/incoming/payload"
+ sender_service "gotea.dev/services/mailer/sender"
+ token_service "gotea.dev/services/mailer/token"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/integration_test.go b/tests/integration/integration_test.go
index 202373dcdc..216238da0f 100644
--- a/tests/integration/integration_test.go
+++ b/tests/integration/integration_test.go
@@ -20,20 +20,20 @@ import (
"sync/atomic"
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/json"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/testlogger"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers"
- "gitea.dev/routers/common"
- gitea_context "gitea.dev/services/context"
- "gitea.dev/tests"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/testlogger"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers"
+ "gotea.dev/routers/common"
+ gitea_context "gotea.dev/services/context"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/issue_label_scope_test.go b/tests/integration/issue_label_scope_test.go
index 13dd3ac2fe..7a6363c630 100644
--- a/tests/integration/issue_label_scope_test.go
+++ b/tests/integration/issue_label_scope_test.go
@@ -7,7 +7,7 @@ import (
"net/http"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
)
// TestUpdateIssueLabelForeignLabel verifies that the web issue-label action rejects a
diff --git a/tests/integration/issue_test.go b/tests/integration/issue_test.go
index ba08123711..666bac4d25 100644
--- a/tests/integration/issue_test.go
+++ b/tests/integration/issue_test.go
@@ -14,18 +14,18 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/indexer/issues"
- "gitea.dev/modules/references"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/indexer/issues"
+ "gotea.dev/modules/references"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/issue_timetrack_test.go b/tests/integration/issue_timetrack_test.go
index 9c3c22e8fd..48231680e0 100644
--- a/tests/integration/issue_timetrack_test.go
+++ b/tests/integration/issue_timetrack_test.go
@@ -8,9 +8,9 @@ import (
"net/http"
"testing"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- "gitea.dev/tests"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/lfs_getobject_test.go b/tests/integration/lfs_getobject_test.go
index ca3bbeb79c..2d7a339da5 100644
--- a/tests/integration/lfs_getobject_test.go
+++ b/tests/integration/lfs_getobject_test.go
@@ -11,15 +11,15 @@ import (
"strings"
"testing"
- "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/json"
- "gitea.dev/modules/lfs"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/routers/web"
- "gitea.dev/tests"
+ "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers/web"
+ "gotea.dev/tests"
gzipp "github.com/klauspost/compress/gzip"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/lfs_local_endpoint_test.go b/tests/integration/lfs_local_endpoint_test.go
index 3418963741..0e39a4bb41 100644
--- a/tests/integration/lfs_local_endpoint_test.go
+++ b/tests/integration/lfs_local_endpoint_test.go
@@ -9,8 +9,8 @@ import (
"path/filepath"
"testing"
- "gitea.dev/modules/lfs"
- "gitea.dev/tests"
+ "gotea.dev/modules/lfs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/lfs_view_test.go b/tests/integration/lfs_view_test.go
index 203887fbf9..1a0eb96e9d 100644
--- a/tests/integration/lfs_view_test.go
+++ b/tests/integration/lfs_view_test.go
@@ -9,14 +9,14 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/lfs"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/lfs"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/linguist_test.go b/tests/integration/linguist_test.go
index 45e8d13292..0f82c5aad1 100644
--- a/tests/integration/linguist_test.go
+++ b/tests/integration/linguist_test.go
@@ -10,14 +10,14 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/indexer/stats"
- "gitea.dev/modules/queue"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/indexer/stats"
+ "gotea.dev/modules/queue"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/links_test.go b/tests/integration/links_test.go
index 096fa37ad7..9f8f00c3e2 100644
--- a/tests/integration/links_test.go
+++ b/tests/integration/links_test.go
@@ -9,12 +9,12 @@ import (
"path"
"testing"
- "gitea.dev/models/actions"
- "gitea.dev/models/db"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/actions"
+ "gotea.dev/models/db"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/manual_merge_test.go b/tests/integration/manual_merge_test.go
index cf6781a1e9..c554dfb082 100644
--- a/tests/integration/manual_merge_test.go
+++ b/tests/integration/manual_merge_test.go
@@ -11,15 +11,15 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/markup_external_test.go b/tests/integration/markup_external_test.go
index d0b1957138..48a638fc9a 100644
--- a/tests/integration/markup_external_test.go
+++ b/tests/integration/markup_external_test.go
@@ -9,16 +9,16 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/charset"
- "gitea.dev/modules/markup"
- "gitea.dev/modules/markup/external"
- "gitea.dev/modules/public"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/charset"
+ "gotea.dev/modules/markup"
+ "gotea.dev/modules/markup/external"
+ "gotea.dev/modules/public"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/migrate_test.go b/tests/integration/migrate_test.go
index 50390cc7fa..daba367cae 100644
--- a/tests/integration/migrate_test.go
+++ b/tests/integration/migrate_test.go
@@ -17,19 +17,19 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/services/migrations"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/migrations"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/migration-test/migration_test.go b/tests/integration/migration-test/migration_test.go
index cc943bfffe..2d61f2debf 100644
--- a/tests/integration/migration-test/migration_test.go
+++ b/tests/integration/migration-test/migration_test.go
@@ -17,14 +17,14 @@ import (
"strings"
"testing"
- "gitea.dev/modelmigration"
- migrate_base "gitea.dev/modelmigration/base"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/log"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/testlogger"
+ "gotea.dev/modelmigration"
+ migrate_base "gotea.dev/modelmigration/base"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/log"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/testlogger"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/mirror_pull_test.go b/tests/integration/mirror_pull_test.go
index 52387d5fc3..41565ca437 100644
--- a/tests/integration/mirror_pull_test.go
+++ b/tests/integration/mirror_pull_test.go
@@ -11,20 +11,20 @@ import (
"sync/atomic"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/migration"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- mirror_service "gitea.dev/services/mirror"
- release_service "gitea.dev/services/release"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/migration"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ mirror_service "gotea.dev/services/mirror"
+ release_service "gotea.dev/services/release"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/mirror_push_test.go b/tests/integration/mirror_push_test.go
index 7defe9b94b..ac0e235d6b 100644
--- a/tests/integration/mirror_push_test.go
+++ b/tests/integration/mirror_push_test.go
@@ -11,17 +11,17 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- mirror_service "gitea.dev/services/mirror"
- repo_service "gitea.dev/services/repository"
- wiki_service "gitea.dev/services/wiki"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ mirror_service "gotea.dev/services/mirror"
+ repo_service "gotea.dev/services/repository"
+ wiki_service "gotea.dev/services/wiki"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/nonascii_branches_test.go b/tests/integration/nonascii_branches_test.go
index bf5b34d0d7..9d268c5677 100644
--- a/tests/integration/nonascii_branches_test.go
+++ b/tests/integration/nonascii_branches_test.go
@@ -10,7 +10,7 @@ import (
"path"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/require"
)
diff --git a/tests/integration/oauth_avatar_test.go b/tests/integration/oauth_avatar_test.go
index 2cc3598014..f548ee3ef9 100644
--- a/tests/integration/oauth_avatar_test.go
+++ b/tests/integration/oauth_avatar_test.go
@@ -7,16 +7,16 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/auth"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/auth"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ "gotea.dev/tests"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
diff --git a/tests/integration/oauth_test.go b/tests/integration/oauth_test.go
index f2502835b5..d52de54293 100644
--- a/tests/integration/oauth_test.go
+++ b/tests/integration/oauth_test.go
@@ -18,23 +18,23 @@ import (
"strings"
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/timeutil"
- "gitea.dev/modules/util"
- "gitea.dev/modules/web"
- "gitea.dev/routers/web/auth"
- "gitea.dev/services/auth/source/oauth2"
- "gitea.dev/services/context"
- "gitea.dev/services/oauth2_provider"
- "gitea.dev/tests"
+ asymkey_model "gotea.dev/models/asymkey"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/timeutil"
+ "gotea.dev/modules/util"
+ "gotea.dev/modules/web"
+ "gotea.dev/routers/web/auth"
+ "gotea.dev/services/auth/source/oauth2"
+ "gotea.dev/services/context"
+ "gotea.dev/services/oauth2_provider"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
jwt "github.com/golang-jwt/jwt/v5"
diff --git a/tests/integration/org_count_test.go b/tests/integration/org_count_test.go
index e01f0b55e2..cbab832c5d 100644
--- a/tests/integration/org_count_test.go
+++ b/tests/integration/org_count_test.go
@@ -7,13 +7,13 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/org_profile_test.go b/tests/integration/org_profile_test.go
index 60d80f0763..7b33c8fcf4 100644
--- a/tests/integration/org_profile_test.go
+++ b/tests/integration/org_profile_test.go
@@ -11,10 +11,10 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/util"
- "gitea.dev/routers/web/shared/user"
+ auth_model "gotea.dev/models/auth"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers/web/shared/user"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/org_project_test.go b/tests/integration/org_project_test.go
index c638da4389..44092cab28 100644
--- a/tests/integration/org_project_test.go
+++ b/tests/integration/org_project_test.go
@@ -9,8 +9,8 @@ import (
"strconv"
"testing"
- unit_model "gitea.dev/models/unit"
- "gitea.dev/tests"
+ unit_model "gotea.dev/models/unit"
+ "gotea.dev/tests"
)
func TestOrgProjectAccess(t *testing.T) {
diff --git a/tests/integration/org_team_invite_test.go b/tests/integration/org_team_invite_test.go
index 42780a844c..a5e89ff592 100644
--- a/tests/integration/org_team_invite_test.go
+++ b/tests/integration/org_team_invite_test.go
@@ -10,12 +10,12 @@ import (
"strings"
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/org_test.go b/tests/integration/org_test.go
index bfc6b11613..0abc7553f1 100644
--- a/tests/integration/org_test.go
+++ b/tests/integration/org_test.go
@@ -9,17 +9,17 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/organization"
- "gitea.dev/models/perm"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/org_worktime_test.go b/tests/integration/org_worktime_test.go
index 91bdb45f47..d56db91d7e 100644
--- a/tests/integration/org_worktime_test.go
+++ b/tests/integration/org_worktime_test.go
@@ -6,8 +6,8 @@ package integration_test
import (
"testing"
- "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
+ "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/packages_service_test.go b/tests/integration/packages_service_test.go
index 172b5ab5e1..e908b3ac3b 100644
--- a/tests/integration/packages_service_test.go
+++ b/tests/integration/packages_service_test.go
@@ -7,12 +7,12 @@ import (
"bytes"
"testing"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- packages_module "gitea.dev/modules/packages"
- packages_service "gitea.dev/services/packages"
- "gitea.dev/tests"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ packages_module "gotea.dev/modules/packages"
+ packages_service "gotea.dev/services/packages"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/privateactivity_test.go b/tests/integration/privateactivity_test.go
index 0ce590e276..d600510787 100644
--- a/tests/integration/privateactivity_test.go
+++ b/tests/integration/privateactivity_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- activities_model "gitea.dev/models/activities"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ activities_model "gotea.dev/models/activities"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/project_test.go b/tests/integration/project_test.go
index 034a0ffeff..5697e67c67 100644
--- a/tests/integration/project_test.go
+++ b/tests/integration/project_test.go
@@ -10,15 +10,15 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- project_model "gitea.dev/models/project"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- project "gitea.dev/services/projects"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ project_model "gotea.dev/models/project"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ project "gotea.dev/services/projects"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/pull_comment_test.go b/tests/integration/pull_comment_test.go
index c550bd582d..30782e817b 100644
--- a/tests/integration/pull_comment_test.go
+++ b/tests/integration/pull_comment_test.go
@@ -11,9 +11,9 @@ import (
"testing"
"time"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/unittest"
- issues_service "gitea.dev/services/issue"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/unittest"
+ issues_service "gotea.dev/services/issue"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/pull_commit_test.go b/tests/integration/pull_commit_test.go
index 938be5f044..e83fbe1b13 100644
--- a/tests/integration/pull_commit_test.go
+++ b/tests/integration/pull_commit_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- pull_service "gitea.dev/services/pull"
- "gitea.dev/tests"
+ pull_service "gotea.dev/services/pull"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/pull_compare_test.go b/tests/integration/pull_compare_test.go
index 69bb22d2a9..824784d6fd 100644
--- a/tests/integration/pull_compare_test.go
+++ b/tests/integration/pull_compare_test.go
@@ -9,12 +9,12 @@ import (
"net/url"
"testing"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/pull_create_test.go b/tests/integration/pull_create_test.go
index 2ac677145b..b7ce3af5d2 100644
--- a/tests/integration/pull_create_test.go
+++ b/tests/integration/pull_create_test.go
@@ -14,13 +14,13 @@ import (
"sync"
"testing"
- auth_model "gitea.dev/models/auth"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git/gitcmd"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git/gitcmd"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/pull_diff_test.go b/tests/integration/pull_diff_test.go
index be300ab6a9..512c822115 100644
--- a/tests/integration/pull_diff_test.go
+++ b/tests/integration/pull_diff_test.go
@@ -8,12 +8,12 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/pull_merge_test.go b/tests/integration/pull_merge_test.go
index 32f78cfb5a..dc49bc7d1b 100644
--- a/tests/integration/pull_merge_test.go
+++ b/tests/integration/pull_merge_test.go
@@ -16,32 +16,32 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- pull_model "gitea.dev/models/pull"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/modules/json"
- "gitea.dev/modules/queue"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/util"
- "gitea.dev/services/automerge"
- "gitea.dev/services/automergequeue"
- "gitea.dev/services/forms"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ pull_model "gotea.dev/models/pull"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/queue"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/util"
+ "gotea.dev/services/automerge"
+ "gotea.dev/services/automergequeue"
+ "gotea.dev/services/forms"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/pull_review_test.go b/tests/integration/pull_review_test.go
index 716733fe15..6ebc617338 100644
--- a/tests/integration/pull_review_test.go
+++ b/tests/integration/pull_review_test.go
@@ -13,21 +13,21 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- issue_service "gitea.dev/services/issue"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ issue_service "gotea.dev/services/issue"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/pull_status_test.go b/tests/integration/pull_status_test.go
index 7828b6b31b..06709cd87b 100644
--- a/tests/integration/pull_status_test.go
+++ b/tests/integration/pull_status_test.go
@@ -11,17 +11,17 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- git_model "gitea.dev/models/git"
- "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/services/pull"
+ auth_model "gotea.dev/models/auth"
+ git_model "gotea.dev/models/git"
+ "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/pull"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/pull_update_test.go b/tests/integration/pull_update_test.go
index 393259446b..2ed7f4ded8 100644
--- a/tests/integration/pull_update_test.go
+++ b/tests/integration/pull_update_test.go
@@ -10,17 +10,17 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- issues_model "gitea.dev/models/issues"
- "gitea.dev/models/perm"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- pull_service "gitea.dev/services/pull"
- repo_service "gitea.dev/services/repository"
- files_service "gitea.dev/services/repository/files"
+ auth_model "gotea.dev/models/auth"
+ issues_model "gotea.dev/models/issues"
+ "gotea.dev/models/perm"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ pull_service "gotea.dev/services/pull"
+ repo_service "gotea.dev/services/repository"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/release_test.go b/tests/integration/release_test.go
index 4526e37cb0..11f685fc77 100644
--- a/tests/integration/release_test.go
+++ b/tests/integration/release_test.go
@@ -8,13 +8,13 @@ import (
"net/http"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/rename_branch_test.go b/tests/integration/rename_branch_test.go
index 807381cc01..3d16a99106 100644
--- a/tests/integration/rename_branch_test.go
+++ b/tests/integration/rename_branch_test.go
@@ -8,10 +8,10 @@ import (
"net/url"
"testing"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/tests"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_activity_test.go b/tests/integration/repo_activity_test.go
index a3bfaff0b2..e222912cc1 100644
--- a/tests/integration/repo_activity_test.go
+++ b/tests/integration/repo_activity_test.go
@@ -9,10 +9,10 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
+ "gotea.dev/models/db"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_archive_test.go b/tests/integration/repo_archive_test.go
index c667ffa669..3e2e905ba3 100644
--- a/tests/integration/repo_archive_test.go
+++ b/tests/integration/repo_archive_test.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/routers"
- "gitea.dev/routers/web"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/routers"
+ "gotea.dev/routers/web"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/repo_branch_test.go b/tests/integration/repo_branch_test.go
index 3192011ade..e2ff15a254 100644
--- a/tests/integration/repo_branch_test.go
+++ b/tests/integration/repo_branch_test.go
@@ -11,10 +11,10 @@ import (
"strings"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/repo_commits_search_test.go b/tests/integration/repo_commits_search_test.go
index 28202e9977..675c81ba62 100644
--- a/tests/integration/repo_commits_search_test.go
+++ b/tests/integration/repo_commits_search_test.go
@@ -9,7 +9,7 @@ import (
"strings"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_commits_test.go b/tests/integration/repo_commits_test.go
index 31f78598db..b36f02c99d 100644
--- a/tests/integration/repo_commits_test.go
+++ b/tests/integration/repo_commits_test.go
@@ -11,17 +11,17 @@ import (
"sync"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/repo_fork_test.go b/tests/integration/repo_fork_test.go
index 134155ba8d..26a06c575b 100644
--- a/tests/integration/repo_fork_test.go
+++ b/tests/integration/repo_fork_test.go
@@ -10,14 +10,14 @@ import (
"strconv"
"testing"
- org_model "gitea.dev/models/organization"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- org_service "gitea.dev/services/org"
- "gitea.dev/tests"
+ org_model "gotea.dev/models/organization"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ org_service "gotea.dev/services/org"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_generate_test.go b/tests/integration/repo_generate_test.go
index e3dfa69981..1e9be41f9e 100644
--- a/tests/integration/repo_generate_test.go
+++ b/tests/integration/repo_generate_test.go
@@ -11,10 +11,10 @@ import (
"strings"
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/tests"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_home_token_scope_test.go b/tests/integration/repo_home_token_scope_test.go
index 7404fde401..93ae123cdc 100644
--- a/tests/integration/repo_home_token_scope_test.go
+++ b/tests/integration/repo_home_token_scope_test.go
@@ -7,8 +7,8 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/tests"
)
func TestRepoWebTokenScopes(t *testing.T) {
diff --git a/tests/integration/repo_merge_upstream_test.go b/tests/integration/repo_merge_upstream_test.go
index 90fe3c8ac1..101eb9e923 100644
--- a/tests/integration/repo_merge_upstream_test.go
+++ b/tests/integration/repo_merge_upstream_test.go
@@ -11,13 +11,13 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/repo_migrate_test.go b/tests/integration/repo_migrate_test.go
index c6ba0669b0..4ded1fe6a7 100644
--- a/tests/integration/repo_migrate_test.go
+++ b/tests/integration/repo_migrate_test.go
@@ -9,8 +9,8 @@ import (
"net/http/httptest"
"testing"
- "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_search_test.go b/tests/integration/repo_search_test.go
index 2d400ad2cc..69df37dc08 100644
--- a/tests/integration/repo_search_test.go
+++ b/tests/integration/repo_search_test.go
@@ -7,16 +7,16 @@ import (
"net/http"
"testing"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/commitstatus"
- code_indexer "gitea.dev/modules/indexer/code"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- commitstatus_service "gitea.dev/services/repository/commitstatus"
- "gitea.dev/tests"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/commitstatus"
+ code_indexer "gotea.dev/modules/indexer/code"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ commitstatus_service "gotea.dev/services/repository/commitstatus"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/repo_tag_test.go b/tests/integration/repo_tag_test.go
index a045b174b3..862cb89100 100644
--- a/tests/integration/repo_tag_test.go
+++ b/tests/integration/repo_tag_test.go
@@ -9,16 +9,16 @@ import (
"net/url"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- git_model "gitea.dev/models/git"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git/gitcmd"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/release"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ git_model "gotea.dev/models/git"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git/gitcmd"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/release"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/repo_test.go b/tests/integration/repo_test.go
index 7bf6861727..29650a6f6b 100644
--- a/tests/integration/repo_test.go
+++ b/tests/integration/repo_test.go
@@ -13,18 +13,18 @@ import (
"testing"
"time"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unit"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitrepo"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- repo_service "gitea.dev/services/repository"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unit"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitrepo"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ repo_service "gotea.dev/services/repository"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/repo_topic_test.go b/tests/integration/repo_topic_test.go
index 989416d687..e6c8df762a 100644
--- a/tests/integration/repo_topic_test.go
+++ b/tests/integration/repo_topic_test.go
@@ -8,8 +8,8 @@ import (
"net/url"
"testing"
- api "gitea.dev/modules/structs"
- "gitea.dev/tests"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_visibility_test.go b/tests/integration/repo_visibility_test.go
index a666e49723..d0dceceeec 100644
--- a/tests/integration/repo_visibility_test.go
+++ b/tests/integration/repo_visibility_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_watch_test.go b/tests/integration/repo_watch_test.go
index e54f4df6aa..f74f314ac0 100644
--- a/tests/integration/repo_watch_test.go
+++ b/tests/integration/repo_watch_test.go
@@ -7,10 +7,10 @@ import (
"net/url"
"testing"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
)
func TestRepoWatch(t *testing.T) {
diff --git a/tests/integration/repo_webhook_test.go b/tests/integration/repo_webhook_test.go
index edd8b5850b..fbe2d51903 100644
--- a/tests/integration/repo_webhook_test.go
+++ b/tests/integration/repo_webhook_test.go
@@ -16,23 +16,23 @@ import (
"time"
runnerv1 "gitea.dev/actionslib/runner/v1"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- db_model "gitea.dev/models/db"
- "gitea.dev/models/perm"
- "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/models/webhook"
- "gitea.dev/modules/commitstatus"
- "gitea.dev/modules/git"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/services/actions"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ db_model "gotea.dev/models/db"
+ "gotea.dev/models/perm"
+ "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/models/webhook"
+ "gotea.dev/modules/commitstatus"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/services/actions"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/repofiles_change_test.go b/tests/integration/repofiles_change_test.go
index 0def14034f..664e9cdbc8 100644
--- a/tests/integration/repofiles_change_test.go
+++ b/tests/integration/repofiles_change_test.go
@@ -12,12 +12,12 @@ import (
"testing"
"time"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/services/contexttest"
- files_service "gitea.dev/services/repository/files"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/services/contexttest"
+ files_service "gotea.dev/services/repository/files"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/session_test.go b/tests/integration/session_test.go
index 7529eee469..60af8e5acb 100644
--- a/tests/integration/session_test.go
+++ b/tests/integration/session_test.go
@@ -6,9 +6,9 @@ package integration
import (
"testing"
- "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/tests"
+ "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/setting_test.go b/tests/integration/setting_test.go
index b6e72488d1..447da4e417 100644
--- a/tests/integration/setting_test.go
+++ b/tests/integration/setting_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/signin_test.go b/tests/integration/signin_test.go
index 695fcab6e5..f0026c5edb 100644
--- a/tests/integration/signin_test.go
+++ b/tests/integration/signin_test.go
@@ -9,19 +9,19 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/modules/web"
- "gitea.dev/modules/web/middleware"
- "gitea.dev/routers"
- "gitea.dev/routers/web/auth"
- "gitea.dev/services/context"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/modules/web"
+ "gotea.dev/modules/web/middleware"
+ "gotea.dev/routers"
+ "gotea.dev/routers/web/auth"
+ "gotea.dev/services/context"
+ "gotea.dev/tests"
"github.com/markbates/goth"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/signout_test.go b/tests/integration/signout_test.go
index fcaf30da07..8989ce0b45 100644
--- a/tests/integration/signout_test.go
+++ b/tests/integration/signout_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/signup_test.go b/tests/integration/signup_test.go
index 125bdf1daa..27f1ca9365 100644
--- a/tests/integration/signup_test.go
+++ b/tests/integration/signup_test.go
@@ -9,13 +9,13 @@ import (
"strings"
"testing"
- "gitea.dev/models/db"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/tests"
+ "gotea.dev/models/db"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/ssh_key_test.go b/tests/integration/ssh_key_test.go
index 55b0aa19be..abad3780ec 100644
--- a/tests/integration/ssh_key_test.go
+++ b/tests/integration/ssh_key_test.go
@@ -15,10 +15,10 @@ import (
"testing"
"time"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/git"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/timetracking_test.go b/tests/integration/timetracking_test.go
index 92e76a399c..d2214d30cc 100644
--- a/tests/integration/timetracking_test.go
+++ b/tests/integration/timetracking_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/user_avatar_test.go b/tests/integration/user_avatar_test.go
index 3f5674f8ad..7586f24afe 100644
--- a/tests/integration/user_avatar_test.go
+++ b/tests/integration/user_avatar_test.go
@@ -11,10 +11,10 @@ import (
"net/http"
"testing"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/avatar"
- "gitea.dev/tests"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/avatar"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/user_settings_oauth2_grant_test.go b/tests/integration/user_settings_oauth2_grant_test.go
index c36be23e3b..fcd4d171ae 100644
--- a/tests/integration/user_settings_oauth2_grant_test.go
+++ b/tests/integration/user_settings_oauth2_grant_test.go
@@ -7,9 +7,9 @@ import (
"net/http"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/user_settings_test.go b/tests/integration/user_settings_test.go
index e30904cc8a..d520c1654b 100644
--- a/tests/integration/user_settings_test.go
+++ b/tests/integration/user_settings_test.go
@@ -8,12 +8,12 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/container"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/container"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go
index 6ac031221b..35f154a588 100644
--- a/tests/integration/user_test.go
+++ b/tests/integration/user_test.go
@@ -8,18 +8,18 @@ import (
"strings"
"testing"
- asymkey_model "gitea.dev/models/asymkey"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- issues_model "gitea.dev/models/issues"
- repo_model "gitea.dev/models/repo"
- "gitea.dev/models/unittest"
- user_model "gitea.dev/models/user"
- "gitea.dev/modules/setting"
- api "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/modules/translation"
- "gitea.dev/tests"
+ asymkey_model "gotea.dev/models/asymkey"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ issues_model "gotea.dev/models/issues"
+ repo_model "gotea.dev/models/repo"
+ "gotea.dev/models/unittest"
+ user_model "gotea.dev/models/user"
+ "gotea.dev/modules/setting"
+ api "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/translation"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/integration/version_test.go b/tests/integration/version_test.go
index 631c7c1e25..93e54f237d 100644
--- a/tests/integration/version_test.go
+++ b/tests/integration/version_test.go
@@ -7,10 +7,10 @@ import (
"net/http"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/structs"
- "gitea.dev/modules/test"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/structs"
+ "gotea.dev/modules/test"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/view_test.go b/tests/integration/view_test.go
index 7c5a2525eb..5ea6dd1bac 100644
--- a/tests/integration/view_test.go
+++ b/tests/integration/view_test.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/modules/web"
- "gitea.dev/services/context"
- "gitea.dev/tests"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/modules/web"
+ "gotea.dev/services/context"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/webauthn_test.go b/tests/integration/webauthn_test.go
index 01eb6db317..3f2cdbbe72 100644
--- a/tests/integration/webauthn_test.go
+++ b/tests/integration/webauthn_test.go
@@ -7,7 +7,7 @@ import (
"net/http"
"testing"
- "gitea.dev/tests"
+ "gotea.dev/tests"
"github.com/go-webauthn/webauthn/protocol"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/websocket_test.go b/tests/integration/websocket_test.go
index fed6db2060..cccf784550 100644
--- a/tests/integration/websocket_test.go
+++ b/tests/integration/websocket_test.go
@@ -10,13 +10,13 @@ import (
"strings"
"testing"
- activities_model "gitea.dev/models/activities"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/json"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/test"
- "gitea.dev/services/pubsub"
- "gitea.dev/tests"
+ activities_model "gotea.dev/models/activities"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/json"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/test"
+ "gotea.dev/services/pubsub"
+ "gotea.dev/tests"
"github.com/coder/websocket"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/wiki_test.go b/tests/integration/wiki_test.go
index 1a3447bcab..445e8f8305 100644
--- a/tests/integration/wiki_test.go
+++ b/tests/integration/wiki_test.go
@@ -11,10 +11,10 @@ import (
"strings"
"testing"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/modules/git"
- "gitea.dev/modules/git/gitcmd"
- "gitea.dev/tests"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/git/gitcmd"
+ "gotea.dev/tests"
"github.com/PuerkitoBio/goquery"
"github.com/stretchr/testify/assert"
diff --git a/tests/integration/workflow_run_api_check_test.go b/tests/integration/workflow_run_api_check_test.go
index 0456f71e85..e36750c586 100644
--- a/tests/integration/workflow_run_api_check_test.go
+++ b/tests/integration/workflow_run_api_check_test.go
@@ -9,12 +9,12 @@ import (
"net/url"
"testing"
- actions_model "gitea.dev/models/actions"
- auth_model "gitea.dev/models/auth"
- "gitea.dev/models/db"
- api "gitea.dev/modules/structs"
- webhook_module "gitea.dev/modules/webhook"
- "gitea.dev/tests"
+ actions_model "gotea.dev/models/actions"
+ auth_model "gotea.dev/models/auth"
+ "gotea.dev/models/db"
+ api "gotea.dev/modules/structs"
+ webhook_module "gotea.dev/modules/webhook"
+ "gotea.dev/tests"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/tests/test_utils.go b/tests/test_utils.go
index d7f520e405..fa5923422b 100644
--- a/tests/test_utils.go
+++ b/tests/test_utils.go
@@ -7,16 +7,16 @@ import (
"path/filepath"
"testing"
- "gitea.dev/models/db"
- packages_model "gitea.dev/models/packages"
- "gitea.dev/models/unittest"
- "gitea.dev/modules/git"
- "gitea.dev/modules/graceful"
- "gitea.dev/modules/setting"
- "gitea.dev/modules/storage"
- "gitea.dev/modules/testlogger"
- "gitea.dev/modules/util"
- "gitea.dev/routers"
+ "gotea.dev/models/db"
+ packages_model "gotea.dev/models/packages"
+ "gotea.dev/models/unittest"
+ "gotea.dev/modules/git"
+ "gotea.dev/modules/graceful"
+ "gotea.dev/modules/setting"
+ "gotea.dev/modules/storage"
+ "gotea.dev/modules/testlogger"
+ "gotea.dev/modules/util"
+ "gotea.dev/routers"
"github.com/stretchr/testify/assert"
)