summaryrefslogtreecommitdiffstats
path: root/modules/packages
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-08-27 19:59:12 +0800
committerGitHub <noreply@github.com>2023-08-27 11:59:12 +0000
commit476b9d1589248b7bca6fb0f01825bd6955318cb3 (patch)
tree55edc01e26397829c48e734c3af993d98439e729 /modules/packages
parente0a796a6410f7a540e2bc16ac5e386305c9321d1 (diff)
downloadgitea-476b9d1589248b7bca6fb0f01825bd6955318cb3.tar.gz
gitea-476b9d1589248b7bca6fb0f01825bd6955318cb3.zip
Use docs.gitea.com instead of docs.gitea.io (#26739)
Diffstat (limited to 'modules/packages')
-rw-r--r--modules/packages/conda/metadata_test.go6
-rw-r--r--modules/packages/container/metadata_test.go4
-rw-r--r--modules/packages/pub/metadata_test.go6
3 files changed, 8 insertions, 8 deletions
diff --git a/modules/packages/conda/metadata_test.go b/modules/packages/conda/metadata_test.go
index 2038ca370c..2bb114f030 100644
--- a/modules/packages/conda/metadata_test.go
+++ b/modules/packages/conda/metadata_test.go
@@ -19,9 +19,9 @@ const (
packageName = "gitea"
packageVersion = "1.0.1"
description = "Package Description"
- projectURL = "https://gitea.io"
- repositoryURL = "https://gitea.io/gitea/gitea"
- documentationURL = "https://docs.gitea.io"
+ projectURL = "https://gitea.com"
+ repositoryURL = "https://gitea.com/gitea/gitea"
+ documentationURL = "https://docs.gitea.com"
)
func TestParsePackage(t *testing.T) {
diff --git a/modules/packages/container/metadata_test.go b/modules/packages/container/metadata_test.go
index 195b3982cb..665499b2e6 100644
--- a/modules/packages/container/metadata_test.go
+++ b/modules/packages/container/metadata_test.go
@@ -17,9 +17,9 @@ func TestParseImageConfig(t *testing.T) {
description := "Image Description"
author := "Gitea"
license := "MIT"
- projectURL := "https://gitea.io"
+ projectURL := "https://gitea.com"
repositoryURL := "https://gitea.com/gitea"
- documentationURL := "https://docs.gitea.io"
+ documentationURL := "https://docs.gitea.com"
configOCI := `{"config": {"labels": {"` + labelAuthors + `": "` + author + `", "` + labelLicenses + `": "` + license + `", "` + labelURL + `": "` + projectURL + `", "` + labelSource + `": "` + repositoryURL + `", "` + labelDocumentation + `": "` + documentationURL + `", "` + labelDescription + `": "` + description + `"}}, "history": [{"created_by": "do it 1"}, {"created_by": "dummy #(nop) do it 2"}]}`
diff --git a/modules/packages/pub/metadata_test.go b/modules/packages/pub/metadata_test.go
index 4c0c3f0ec6..8f9126e0c9 100644
--- a/modules/packages/pub/metadata_test.go
+++ b/modules/packages/pub/metadata_test.go
@@ -18,9 +18,9 @@ const (
packageName = "gitea"
packageVersion = "1.0.1"
description = "Package Description"
- projectURL = "https://gitea.io"
- repositoryURL = "https://gitea.io/gitea/gitea"
- documentationURL = "https://docs.gitea.io"
+ projectURL = "https://gitea.com"
+ repositoryURL = "https://gitea.com/gitea/gitea"
+ documentationURL = "https://docs.gitea.com"
)
const pubspecContent = `name: ` + packageName + `