Package Details: gitea 1.3.3-1

Git Clone URL: https://aur.archlinux.org/gitea.git (read-only)
Package Base: gitea
Description: Git with a cup of tea, forked from Gogs. Is a Self Hosted Git Service in the Go Programming Language.
Upstream URL: http://gitea.io
Licenses: MIT
Conflicts: gitea-git, gitea-git-dev
Submitter: frederik
Maintainer: frederik
Last Packager: frederik
Votes: 20
Popularity: 1.068524
First Submitted: 2016-11-28 17:05
Last Updated: 2018-02-19 14:17

Dependencies (9)

Required by (0)

Sources (3)

Pinned Comments

frederik commented on 2017-01-23 17:12

To use gitea with openssh OOTB you may want to change the home directory of the git user to /var/lib/gitea/repos:

usermod -d /var/lib/gitea/repos git

Latest Comments

frederik commented on 2018-02-15 13:43

Will be 1s in the next release. Thanks

skimj commented on 2018-02-15 04:33

The gitea.service contains: [Service] RestartSec=2s

The problem is that this effectively defeats systemd's ratelimit which normally halts restarts if 5 fails occur in 10s. For me, a failed start due to an incorrect config parameter resulted in a never-ending restart loop that flooded the log file.

Could you change that RestartSec to 1s, or add appropriate rate limit options such as: [Service] StartLimitIntervalSec=30 StartLimitBurst=5

fawick commented on 2017-12-20 10:55

Would you kindly consider setting the environment variable TIDB_PPROF=0 in the systemd service? Otherwise, the vendored TiDB will always open a HTTP listener on port localhost:8888 for pprof interface (http://localhost:8888/debug/pprof) for TiDB.

Edit: I reported the problem with some additional details upstream at https://github.com/go-gitea/gitea/issues/3245

frederik commented on 2017-12-01 14:44

@dicaben should also be fixed with the next relase

vith commented on 2017-12-01 03:14

Thanks @itsoli, that fixed the HTTP 500 error I was getting (with the following appear in the log at `journalctl -u gitea`):

gitea[20497]: [Macaron] PANIC: session(start): mkdir /usr/bin/data: permission denied

dicaben commented on 2017-12-01 01:48

@frederik, perhaps you can consider ref this: [https://gitweb.gentoo.org/repo/gentoo.git/tree/www-apps/gitea/gitea-1.2.3.ebuild#n31]

Otherwise the "Gitea Version" displayed at the bottom would always be the git commit of this repo.

Thanks for your works.

frederik commented on 2017-11-30 14:15

@itsoli Thx, will add that with the next release.

itsoli commented on 2017-11-30 13:23

Consider adding GITEA_WORK_DIR=/var/lib/gitea to the environment in the service file. When not set Gitea derives the the WorkPath from the executable and will be set to /usr/bin.

gotoxy commented on 2017-10-11 17:42

Any chance that the armv8 (aarch64) architecture will be supported in future versions?

nheird commented on 2017-10-06 20:36

Since post_upgrade uses

chown -R git:git /var/lib/gitea /var/log/gitea

You should add git as depends instead of makedepends

All comments