update import path to use gitea.dev (#1003)

Reviewed-on: https://gitea.com/gitea/tea/pulls/1003
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-committed-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
techknowlogick
2026-05-23 17:26:43 +00:00
committed by Lunny Xiao
parent bbe97a5e23
commit 8e0666ab85
177 changed files with 559 additions and 496 deletions
+2 -1
View File
@@ -12,9 +12,10 @@ import (
"time"
"code.gitea.io/sdk/gitea"
teacmd "code.gitea.io/tea/cmd"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
teacmd "gitea.dev/tea/cmd"
)
func runAdminCommand(t *testing.T, args []string) error {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"testing"
"time"
"code.gitea.io/tea/modules/config"
"gitea.dev/tea/modules/config"
)
func TestConfigLock_CrossProcess(t *testing.T) {
+3 -2
View File
@@ -8,10 +8,11 @@ import (
"os/exec"
"testing"
"code.gitea.io/tea/modules/config"
teacontext "code.gitea.io/tea/modules/context"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v3"
"gitea.dev/tea/modules/config"
teacontext "gitea.dev/tea/modules/context"
)
func TestInitCommand_WithRepoSlugSkipsLocalRepoDetection(t *testing.T) {
+2 -1
View File
@@ -9,8 +9,9 @@ import (
"path/filepath"
"testing"
teagit "code.gitea.io/tea/modules/git"
"github.com/stretchr/testify/assert"
teagit "gitea.dev/tea/modules/git"
)
func TestRepoFromPath_Worktree(t *testing.T) {
+3 -2
View File
@@ -11,9 +11,10 @@ import (
"time"
"code.gitea.io/sdk/gitea"
"code.gitea.io/tea/modules/config"
"code.gitea.io/tea/modules/task"
"github.com/stretchr/testify/require"
"gitea.dev/tea/modules/config"
"gitea.dev/tea/modules/task"
)
var (
+2 -1
View File
@@ -10,10 +10,11 @@ import (
"time"
"code.gitea.io/sdk/gitea"
"code.gitea.io/tea/cmd/repos"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/urfave/cli/v3"
"gitea.dev/tea/cmd/repos"
)
func TestCreateRepoObjectFormat(t *testing.T) {
+2 -1
View File
@@ -15,7 +15,8 @@ import (
"time"
"code.gitea.io/sdk/gitea"
sshkeyscmd "code.gitea.io/tea/cmd/sshkeys"
sshkeyscmd "gitea.dev/tea/cmd/sshkeys"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"