Release Gitea 1.23.7

This commit is contained in:
2025-05-04 17:48:06 +02:00
parent b608d84167
commit c0dd39b24b
35 changed files with 8504 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
2
+1
View File
@@ -0,0 +1 @@
1.23.5
+3
View File
@@ -0,0 +1,3 @@
25.0.1
- added systemd unit and app.ini to DEBIAN/conffiles
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../../shared/conffiles
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../../../../../shared/app.ini
+1
View File
@@ -0,0 +1 @@
../../shared/conffiles
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
../../../../../shared/app.ini
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
2b74aba2edeeca5ac65847a21c2639bf9b0fdbea94ea389fa5afd2b7f87b1b92 gitea-1.23.4-linux-amd64.xz
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
57ddfffb3b0e0491b8b4a965d02e24ceace13a9cff13cff56928c7553c8badf1 gitea-1.23.5-linux-amd64.xz
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
62b5ba4d9f6494ef397890c5caadb94fba90afd55fbd98c2d2b12be0ec002ce5 gitea-1.23.4-linux-arm64.xz
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
b8131a7cbfadc115125bb43d28d93b775da76ce09968726d94d12bec54dcf7da gitea-1.23.5-linux-arm64.xz
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2812
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
/etc/systemd/system/gitea.service
/etc/gitea/app.ini
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
Requires=mariadb.service
[Service]
RestartSec=2s
Type=simple
User=gitea
Group=gitea
WorkingDirectory=/opt/gitea/
ExecStart=/opt/gitea/bin/gitea web --config /etc/gitea/app.ini
Restart=always
Environment="GITEA_WORK_DIR=/opt/gitea/gitea"
Environment="GITEA_CUSTOM=/opt/gitea/custom"
[Install]
WantedBy=multi-user.target
+27
View File
@@ -0,0 +1,27 @@
#!/bin/sh
set -e
# Ensure Gitea user and group exist
if ! id gitea >/dev/null 2>&1; then
adduser --system --group --home /opt/gitea gitea
fi
# Ensure config directory exists
mkdir -p /etc/gitea
chown -R gitea:gitea /etc/gitea
chmod 750 /etc/gitea
# Copy default config if not present
if [ ! -f /etc/gitea/app.ini ]; then
echo "Creating default /etc/gitea/app.ini"
cp /usr/share/gitea/defaults/app.ini /etc/gitea/app.ini
chown gitea:gitea /etc/gitea/app.ini
chmod 640 /etc/gitea/app.ini
fi
# Reload systemd
systemctl daemon-reload
# Enable and start Gitea service
systemctl enable gitea.service
systemctl start gitea.service
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -e
# Stop the Gitea service before updating/removal
systemctl stop gitea || true
exit 0