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
+4 -4
View File
@@ -9,10 +9,10 @@ import (
"os"
"strings"
"code.gitea.io/tea/modules/config"
"code.gitea.io/tea/modules/git"
"code.gitea.io/tea/modules/theme"
"code.gitea.io/tea/modules/utils"
"gitea.dev/tea/modules/config"
"gitea.dev/tea/modules/git"
"gitea.dev/tea/modules/theme"
"gitea.dev/tea/modules/utils"
"charm.land/huh/v2"
gogit "github.com/go-git/go-git/v5"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strconv"
"time"
"code.gitea.io/tea/modules/config"
"gitea.dev/tea/modules/config"
)
// GetLoginByEnvVar returns a login based on environment variables, or nil if no login can be created
+1 -1
View File
@@ -6,7 +6,7 @@ package context
import (
"testing"
"code.gitea.io/tea/modules/config"
"gitea.dev/tea/modules/config"
)
func TestShouldPromptFallbackLogin(t *testing.T) {
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"fmt"
"strings"
"code.gitea.io/tea/modules/config"
"code.gitea.io/tea/modules/debug"
"code.gitea.io/tea/modules/git"
"gitea.dev/tea/modules/config"
"gitea.dev/tea/modules/debug"
"gitea.dev/tea/modules/git"
)
// MatchLogins matches the given remoteURL against the provided logins and returns
+3 -3
View File
@@ -6,9 +6,9 @@ package context
import (
"fmt"
"code.gitea.io/tea/modules/config"
"code.gitea.io/tea/modules/debug"
"code.gitea.io/tea/modules/git"
"gitea.dev/tea/modules/config"
"gitea.dev/tea/modules/debug"
"gitea.dev/tea/modules/git"
)
// contextFromLocalRepo discovers login & repo slug from the default branch remote of the given local repo
+3 -2
View File
@@ -6,10 +6,11 @@ package context
import (
"testing"
"code.gitea.io/tea/modules/config"
"code.gitea.io/tea/modules/git"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gitea.dev/tea/modules/config"
"gitea.dev/tea/modules/git"
)
func TestEnsureReturnsRequirementErrors(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ package context
import (
"testing"
"code.gitea.io/tea/modules/config"
"gitea.dev/tea/modules/config"
)
func Test_MatchLogins(t *testing.T) {