Skip to content

Commit 6f1c95e

Browse files
GiteaBotlunny
andauthored
Use the new download domain replace the old (#25405) (#25409)
Backport #25405 by @lunny As title. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 parent cda69a0 commit 6f1c95e

15 files changed

+29
-29
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ be reviewed by two maintainers and must pass the automatic tests.
557557
- And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically create a release and upload all the compiled binary. (But currently it doesn't add the release notes automatically. Maybe we should fix that.)
558558
- If needed send a frontport PR for the changelog to branch `main` and update the version in `docs/config.yaml` to refer to the new version.
559559
- Send PR to [blog repository](https://gitea.com/gitea/blog) announcing the release.
560-
- Verify all release assets were correctly published through CI on dl.gitea.io and GitHub releases. Once ACKed:
561-
- bump the version of https://dl.gitea.io/gitea/version.json
560+
- Verify all release assets were correctly published through CI on dl.gitea.com and GitHub releases. Once ACKed:
561+
- bump the version of https://dl.gitea.com/gitea/version.json
562562
- merge the blog post PR
563563
- announce the release in discord `#announcements`

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ for the full license text.
173173

174174
Looking for an overview of the interface? Check it out!
175175

176-
|![Dashboard](https://dl.gitea.io/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.io/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.io/screenshots/global_issues.png)|
176+
|![Dashboard](https://dl.gitea.com/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.com/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.com/screenshots/global_issues.png)|
177177
|:---:|:---:|:---:|
178-
|![Branches](https://dl.gitea.io/screenshots/branches.png)|![Web Editor](https://dl.gitea.io/screenshots/web_editor.png)|![Activity](https://dl.gitea.io/screenshots/activity.png)|
179-
|![New Migration](https://dl.gitea.io/screenshots/migration.png)|![Migrating](https://dl.gitea.io/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
180-
![Pull Request Dark](https://dl.gitea.io/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.io/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.io/screenshots/diff_dark.png)|
178+
|![Branches](https://dl.gitea.com/screenshots/branches.png)|![Web Editor](https://dl.gitea.com/screenshots/web_editor.png)|![Activity](https://dl.gitea.com/screenshots/activity.png)|
179+
|![New Migration](https://dl.gitea.com/screenshots/migration.png)|![Migrating](https://dl.gitea.com/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
180+
![Pull Request Dark](https://dl.gitea.com/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.com/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.com/screenshots/diff_dark.png)|

README_ZH.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ Fork -> Patch -> Push -> Pull Request
9191

9292
## 截图
9393

94-
|![Dashboard](https://dl.gitea.io/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.io/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.io/screenshots/global_issues.png)|
94+
|![Dashboard](https://dl.gitea.com/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.com/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.com/screenshots/global_issues.png)|
9595
|:---:|:---:|:---:|
96-
|![Branches](https://dl.gitea.io/screenshots/branches.png)|![Web Editor](https://dl.gitea.io/screenshots/web_editor.png)|![Activity](https://dl.gitea.io/screenshots/activity.png)|
97-
|![New Migration](https://dl.gitea.io/screenshots/migration.png)|![Migrating](https://dl.gitea.io/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
98-
![Pull Request Dark](https://dl.gitea.io/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.io/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.io/screenshots/diff_dark.png)|
96+
|![Branches](https://dl.gitea.com/screenshots/branches.png)|![Web Editor](https://dl.gitea.com/screenshots/web_editor.png)|![Activity](https://dl.gitea.com/screenshots/activity.png)|
97+
|![New Migration](https://dl.gitea.com/screenshots/migration.png)|![Migrating](https://dl.gitea.com/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
98+
![Pull Request Dark](https://dl.gitea.com/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.com/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.com/screenshots/diff_dark.png)|

custom/conf/app.example.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,7 @@ LEVEL = Info
21592159
;RUN_AT_START = false
21602160
;ENABLE_SUCCESS_NOTICE = false
21612161
;SCHEDULE = @every 168h
2162-
;HTTP_ENDPOINT = https://dl.gitea.io/gitea/version.json
2162+
;HTTP_ENDPOINT = https://dl.gitea.com/gitea/version.json
21632163

21642164
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
21652165
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

docs/content/doc/administration/config-cheat-sheet.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ Default templates for project boards:
10131013
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10141014
- `ENABLE_SUCCESS_NOTICE`: **true**: Set to false to switch off success notices.
10151015
- `SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`.
1016-
- `HTTP_ENDPOINT`: **https://dl.gitea.io/gitea/version.json**: the endpoint that Gitea will check for newer versions
1016+
- `HTTP_ENDPOINT`: **https://dl.gitea.com/gitea/version.json**: the endpoint that Gitea will check for newer versions
10171017

10181018
#### Cron - Delete all old system notices from database (`cron.delete_old_system_notices`)
10191019

docs/content/doc/help/faq.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ menu:
3131

3232
**注意:**此示例也适用于Docker镜像!
3333

34-
在我们的[下载页面](https://dl.gitea.io/gitea/)上,您会看到一个1.7目录,以及1.7.0、1.7.1、1.7.2、1.7.3、1.7.4、1.7.5和1.7.6的目录。
34+
在我们的[下载页面](https://dl.gitea.com/gitea/)上,您会看到一个1.7目录,以及1.7.0、1.7.1、1.7.2、1.7.3、1.7.4、1.7.5和1.7.6的目录。
3535

3636
1.7目录和1.7.0目录是**不同**的。1.7目录是在每个合并到[`release/v1.7`](https://github.com/go-gitea/gitea/tree/release/v1.7)分支的提交上构建的。
3737

docs/content/doc/installation/from-binary.fr-fr.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ menu:
1717

1818
# Installation avec le binaire pré-compilé
1919

20-
Tous les binaires sont livrés avec le support de SQLite, MySQL et PostgreSQL, et sont construits avec les ressources incorporées. Gardez à l'esprit que cela peut être différent pour les versions antérieures. L'installation basée sur nos binaires est assez simple, il suffit de choisir le fichier correspondant à votre plateforme à partir de la [page de téléchargement](https://dl.gitea.io/gitea). Copiez l'URL et remplacer l'URL dans les commandes suivantes par la nouvelle:
20+
Tous les binaires sont livrés avec le support de SQLite, MySQL et PostgreSQL, et sont construits avec les ressources incorporées. Gardez à l'esprit que cela peut être différent pour les versions antérieures. L'installation basée sur nos binaires est assez simple, il suffit de choisir le fichier correspondant à votre plateforme à partir de la [page de téléchargement](https://dl.gitea.com/gitea). Copiez l'URL et remplacer l'URL dans les commandes suivantes par la nouvelle:
2121

2222
```
23-
wget -O gitea https://dl.gitea.io/gitea/{{< version >}}/gitea-{{< version >}}-linux-amd64
23+
wget -O gitea https://dl.gitea.com/gitea/{{< version >}}/gitea-{{< version >}}-linux-amd64
2424
chmod +x gitea
2525
```
2626

docs/content/doc/installation/from-binary.zh-tw.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ menu:
1717

1818
# 從執行檔安裝
1919

20-
所有的執行檔皆支援 SQLite, MySQL and PostgreSQL,且所有檔案都已經包在執行檔內,這一點跟之前的版本有所不同。關於執行檔的安裝方式非常簡單,只要從[下載頁面](https://dl.gitea.io/gitea)選擇相對應平台,複製下載連結,使用底下指令就可以完成了:
20+
所有的執行檔皆支援 SQLite, MySQL and PostgreSQL,且所有檔案都已經包在執行檔內,這一點跟之前的版本有所不同。關於執行檔的安裝方式非常簡單,只要從[下載頁面](https://dl.gitea.com/gitea)選擇相對應平台,複製下載連結,使用底下指令就可以完成了:
2121

2222
```
23-
wget -O gitea https://dl.gitea.io/gitea/{{< version >}}/gitea-{{< version >}}-linux-amd64
23+
wget -O gitea https://dl.gitea.com/gitea/{{< version >}}/gitea-{{< version >}}-linux-amd64
2424
chmod +x gitea
2525
```
2626

docs/content/doc/installation/on-kubernetes.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gitea provides a Helm Chart to allow for installation on kubernetes.
2222
A non-customized install can be done with:
2323

2424
```
25-
helm repo add gitea-charts https://dl.gitea.io/charts/
25+
helm repo add gitea-charts https://dl.gitea.com/charts/
2626
helm install gitea gitea-charts/gitea
2727
```
2828

docs/content/doc/installation/on-kubernetes.zh-cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gitea 已经提供了便于在 Kubernetes 云原生环境中安装所需的 Helm
2222
默认安装指令为:
2323

2424
```bash
25-
helm repo add gitea https://dl.gitea.io/charts
25+
helm repo add gitea https://dl.gitea.com/charts
2626
helm repo update
2727
helm install gitea gitea/gitea
2828
```

docs/content/doc/installation/on-kubernetes.zh-tw.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gitea 提供 Helm Chart 用來安裝於 kubernetes。
2222
非自訂安裝可使用下列指令:
2323

2424
```
25-
helm repo add gitea-charts https://dl.gitea.io/charts/
25+
helm repo add gitea-charts https://dl.gitea.com/charts/
2626
helm install gitea gitea-charts/gitea
2727
```
2828

docs/content/doc/installation/upgrade-from-gogs.en-us.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There are some basic steps to follow. On a Linux system run as the Gogs user:
2727

2828
* Create a Gogs backup with `gogs backup`. This creates `gogs-backup-[timestamp].zip` file
2929
containing all important Gogs data. You would need it if you wanted to move to the `gogs` back later.
30-
* Download the file matching the destination platform from the [downloads page](https://dl.gitea.io/gitea/).
30+
* Download the file matching the destination platform from the [downloads page](https://dl.gitea.com/gitea/).
3131
It should be `1.0.x` version. Migrating from `gogs` to any other version is impossible.
3232
* Put the binary at the desired install location.
3333
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`.
@@ -79,11 +79,11 @@ There are some basic steps to follow. On a Linux system run as the Gogs user:
7979
After successful migration from `gogs` to `gitea 1.0.x`, it is possible to upgrade `gitea` to a modern version
8080
in a two steps process.
8181

82-
Upgrade to [`gitea 1.6.4`](https://dl.gitea.io/gitea/1.6.4/) first. Download the file matching
83-
the destination platform from the [downloads page](https://dl.gitea.io/gitea/1.6.4/) and replace the binary.
82+
Upgrade to [`gitea 1.6.4`](https://dl.gitea.com/gitea/1.6.4/) first. Download the file matching
83+
the destination platform from the [downloads page](https://dl.gitea.com/gitea/1.6.4/) and replace the binary.
8484
Run Gitea at least once and check that everything works as expected.
8585

86-
Then repeat the procedure, but this time using the [latest release](https://dl.gitea.io/gitea/{{< version >}}/).
86+
Then repeat the procedure, but this time using the [latest release](https://dl.gitea.com/gitea/{{< version >}}/).
8787

8888
## Upgrading from a more recent version of Gogs
8989

docs/content/doc/installation/upgrade-from-gogs.fr-fr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ menu:
2222
Veuillez suivre les étapes ci-dessous. Sur Unix, toute les commandes s'exécutent en tant que l'utilisateur utilisé pour votre installation de Gogs :
2323

2424
* Crééer une sauvegarde de Gogs avec la commande `gogs dump`. Le fichier nouvellement créé `gogs-dump-[timestamp].zip` contient toutes les données de votre instance de Gogs.
25-
* Téléchargez le fichier correspondant à votre plateforme à partir de la [page de téléchargements](https://dl.gitea.io/gitea).
25+
* Téléchargez le fichier correspondant à votre plateforme à partir de la [page de téléchargements](https://dl.gitea.com/gitea).
2626
* Mettez la binaire dans le répertoire d'installation souhaité.
2727
* Copiez le fichier `gogs/custom/conf/app.ini` vers `gitea/custom/conf/app.ini`.
2828
* Si vous avez personnalisé les répertoires `templates, public` dans `gogs/custom/`, copiez-les vers `gitea/custom/`.

docs/content/doc/installation/upgrade-from-gogs.zh-tw.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ menu:
2727

2828
- 使用 `gogs backup` 建立 Gogs 的備份。這會建立檔案 `gogs-backup-[timestamp].zip` 包含所有重要的 Gogs 資料。
2929
如果稍後您要恢復到 `gogs` 時會用到它。
30-
-[下載頁](https://dl.gitea.io/gitea/)下載對應您平臺的檔案。請下載 `1.0.x` 版,從 `gogs` 遷移到其它版本是不可行的。
30+
-[下載頁](https://dl.gitea.com/gitea/)下載對應您平臺的檔案。請下載 `1.0.x` 版,從 `gogs` 遷移到其它版本是不可行的。
3131
- 將二進位檔放到適當的安裝位置。
3232
- 複製 `gogs/custom/conf/app.ini``gitea/custom/conf/app.ini`
3333
-`gogs/custom/` 複製自訂 `templates, public``gitea/custom/`
@@ -77,10 +77,10 @@ menu:
7777

7878
成功從 `gogs` 升級到 `gitea 1.0.x` 後再用 2 個步驟即可升級到最新版的 `gitea`
7979

80-
請先升級到 [`gitea 1.6.4`](https://dl.gitea.io/gitea/1.6.4/),先從[下載頁](https://dl.gitea.io/gitea/1.6.4/)下載
80+
請先升級到 [`gitea 1.6.4`](https://dl.gitea.com/gitea/1.6.4/),先從[下載頁](https://dl.gitea.com/gitea/1.6.4/)下載
8181
您平臺的二進位檔取代既有的。至少執行一次 Gitea 並確認一切符合預期。
8282

83-
接著重複上述步驟,但這次請使用[最新發行版本](https://dl.gitea.io/gitea/{{< version >}}/)。
83+
接著重複上述步驟,但這次請使用[最新發行版本](https://dl.gitea.com/gitea/{{< version >}}/)。
8484

8585
## 從更新版本的 Gogs 升級
8686

services/cron/tasks_extended.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func registerUpdateGiteaChecker() {
150150
RunAtStart: false,
151151
Schedule: "@every 168h",
152152
},
153-
HTTPEndpoint: "https://dl.gitea.io/gitea/version.json",
153+
HTTPEndpoint: "https://dl.gitea.com/gitea/version.json",
154154
}, func(ctx context.Context, _ *user_model.User, config Config) error {
155155
updateCheckerConfig := config.(*UpdateCheckerConfig)
156156
return updatechecker.GiteaUpdateChecker(updateCheckerConfig.HTTPEndpoint)

0 commit comments

Comments
 (0)