forgejo-aneksajo_auto_patch.../workspace/5/aneksajo_patched.rej

94 lines
3.4 KiB
Text

--- 9.0.3 2024-12-12 08:06:13.000000000 +0100
+++ aneksajo 2024-12-16 08:23:15.000000000 +0100
@@ -190,6 +185,16 @@
apt-get install --no-install-recommends -qq -y git git-lfs
rm /etc/apt/sources.list.d/testing.list
apt-get update -qq
+ cd /
+ wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
+ tar xzvf git-annex-standalone-amd64.tar.gz
+ ln -s \
+ /git-annex.linux/git-annex \
+ /git-annex.linux/git-annex-shell \
+ /git-annex.linux/git-annex-webapp \
+ /git-annex.linux/git-remote-annex \
+ bin
+ cd -
- name: setup user and permissions
run: |
git config --add safe.directory '*'
@@ -209,11 +214,9 @@
TAGS: bindata
- run: |
su forgejo -c 'make test-mysql-migration test-mysql'
- timeout-minutes: 50
env:
USE_REPO_TEST_DIR: 1
test-pgsql:
- if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
@@ -244,6 +247,16 @@
apt-get install --no-install-recommends -qq -y git git-lfs
rm /etc/apt/sources.list.d/testing.list
apt-get update -qq
+ cd /
+ wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
+ tar xzvf git-annex-standalone-amd64.tar.gz
+ ln -s \
+ /git-annex.linux/git-annex \
+ /git-annex.linux/git-annex-shell \
+ /git-annex.linux/git-annex-webapp \
+ /git-annex.linux/git-remote-annex \
+ bin
+ cd -
- name: setup user and permissions
run: |
git config --add safe.directory '*'
@@ -263,13 +276,11 @@
TAGS: bindata
- run: |
su forgejo -c 'make test-pgsql-migration test-pgsql'
- timeout-minutes: 50
env:
RACE_ENABLED: true
USE_REPO_TEST_DIR: 1
TEST_LDAP: 1
test-sqlite:
- if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
runs-on: docker
needs: [backend-checks, frontend-checks]
container:
@@ -287,6 +298,16 @@
apt-get install --no-install-recommends -qq -y git git-lfs
rm /etc/apt/sources.list.d/testing.list
apt-get update -qq
+ cd /
+ wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
+ tar xzvf git-annex-standalone-amd64.tar.gz
+ ln -s \
+ /git-annex.linux/git-annex \
+ /git-annex.linux/git-annex-shell \
+ /git-annex.linux/git-annex-webapp \
+ /git-annex.linux/git-remote-annex \
+ bin
+ cd -
- name: setup user and permissions
run: |
git config --add safe.directory '*'
@@ -306,14 +327,12 @@
TAGS: bindata sqlite sqlite_unlock_notify
- run: |
su forgejo -c 'make test-sqlite-migration test-sqlite'
- timeout-minutes: 50
env:
TAGS: sqlite sqlite_unlock_notify
RACE_ENABLED: true
TEST_TAGS: sqlite sqlite_unlock_notify
USE_REPO_TEST_DIR: 1
security-check:
- if: vars.ROLE == 'forgejo-coding' || vars.ROLE == 'forgejo-testing'
runs-on: docker
needs:
- test-sqlite