Commit graph

7 commits

Author SHA1 Message Date
lauralani cc88c1063f
[BRANDING] adapt forgejo/contrib/upgrade.sh
Reviewed at: https://codeberg.org/forgejo/forgejo/pulls/605

(cherry picked from commit ab986185d0)
(cherry picked from commit 6068aed2a7)
(cherry picked from commit 0cbd599c0c)
(cherry picked from commit c3ef135882)
(cherry picked from commit 0ba7194fa1)
(cherry picked from commit 572a2a5125)
(cherry picked from commit dd0a7265e1)
(cherry picked from commit 06bd195f4e)
(cherry picked from commit 7f6100ab6b)
(cherry picked from commit 58af04560a)
(cherry picked from commit 67a951f726)
(cherry picked from commit 46e68309ad)
(cherry picked from commit 9002654915)
(cherry picked from commit 3f1a3a1311)
(cherry picked from commit df1716deb4)
(cherry picked from commit 8ace62b413)
(cherry picked from commit 30ab21f264)
(cherry picked from commit 7ec99bfc0d)
(cherry picked from commit 47a554c9b4)
(cherry picked from commit c5aaf49d88)
(cherry picked from commit 7fb42a78a4)
(cherry picked from commit 336fd64a1f)
(cherry picked from commit a7d590f7d7)
(cherry picked from commit b6aa4a40e4)
(cherry picked from commit fc195b0349)
(cherry picked from commit 3c6799ad04)
(cherry picked from commit 86830ae32b)
(cherry picked from commit e70eb6a277)
(cherry picked from commit b18596eb91)
(cherry picked from commit 4a54f7f860)
(cherry picked from commit a3a9885249)
(cherry picked from commit ec8bbabf34)
(cherry picked from commit 5b239033b6)
(cherry picked from commit b1fa48e260)
(cherry picked from commit 148f366431)
(cherry picked from commit 79e10923c1)
(cherry picked from commit 7aa72a9b4f)
(cherry picked from commit 5be4a1da1b)
(cherry picked from commit 2297cfcca9)
(cherry picked from commit 111f5c1044)
(cherry picked from commit baa9877bfe)
(cherry picked from commit 085050da1f)
2024-02-05 16:05:01 +01:00
TATHAGATA ROY d5e93413bc
Updated upgrade script that is informing user that Gitea service has to be running in order to upgrade it (#24260)
Hello sir,
This pull request solves issue #23949
I have updated the upgrade script such that it will check if the Gitea
service is running, if it's not running then it will exit the process
and if it's running then the process will move further ahead.
Thank You.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
2023-04-25 13:19:58 -04:00
techknowlogick 5e389228f6
update upgrade script to use new CDN (#24280)
The upgrade script has to deal with redirects due to pointing to former
CDN, this reduces HTTP calls by 2

setting as skip-changelog, due to it being a contrib script
2023-04-23 14:29:03 +08:00
YISH af09136b95
Fix upgrade.sh script error with su -c (#19483)
* Fix scirpt err with `su -c`, add env auto loading.

* Update upgrade.sh

* Update upgrade.sh

* Update contrib/upgrade.sh

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-04-26 23:30:29 -04:00
Norwin 42fe076084
Fix contrib/upgrade.sh (#19222)
* fix idempotency of script (eg when aborting the downloads)
* improve readability (user facing variables first, definitions next, statements last)
* improve dependency checks
* fix ignored $giteaversion variable
* more logging
* print usage string on incorrect usage
2022-03-27 18:48:08 +01:00
YISH ddf7f1319f
Fix script compatiable with OpenWrt (#19000)
* Fix compatibility of upgrade.sh in openwrt and add service init script for openwrt.

* Apply suggestions from code review

Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: zeripath <art27@cantab.net>

* Update contrib/upgrade.sh

Co-authored-by: Norwin <noerw@users.noreply.github.com>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Norwin <noerw@users.noreply.github.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-03-08 17:58:14 -05:00
Norwin 6ada05940e
Add contrib/upgrade.sh (#18286)
Adds an upgrade script that automates upgrading installations on Linux from binary releases, so people don't need to reinvent the wheel. Hopefully this leads to less questions about how to upgrade, and consequently less Gitea instances running unmaintained versions in the wild.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
2022-02-06 21:07:52 +01:00