Package Details: gitea 1.5.1-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: freswa
Maintainer: freswa
Last Packager: freswa
Votes: 32
Popularity: 3.564543
First Submitted: 2016-11-28 17:05
Last Updated: 2018-09-03 14:23

Pinned Comments

freswa 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

1 2 3 4 5 6 ... Next › Last »

edacval commented on 2018-09-06 08:03

@maddle Its upstream decision, look at https://github.com/go-gitea/gitea/blob/master/modules/public/public.go#L21

maddie commented on 2018-09-06 07:35

Building gitea on my DO VPS takes a really long time, and it seems it spent a lot of time to gofmt the go-generated bindata.go. Is that really neccessary?

CountMurphy commented on 2018-09-05 14:57

Upgrading from 1.4.1 to 1.5 worked for me with no issues.

matthias.lisin commented on 2018-08-22 19:55

@hnicke I'm surprised that is doesn't seem to work for some people. I updated from 1.4.1 to 1.5.0 and it kept working.

Is it possible that only a fresh install is broken?

hnicke commented on 2018-08-22 16:24

I'm downgrading to 1.4.1 as 1.5 does not work out of the box. I suggest to point this package to 1.4.1 - the latest stable version on arch. Everyone who wants to tinker with the entrails may head to gitea-git.

CountMurphy commented on 2018-08-14 16:34

for Mariadb users, looks like gitea will no longer function with mariadb 10.1.35 without messing with table settings https://github.com/go-gitea/gitea/issues/2979

freswa commented on 2018-08-14 11:37

Should be fixed with 1.5.0-2

matthias.lisin commented on 2018-08-13 08:39

@lnicola I can't reproduce this. Did you manage to solve it already?

lnicola commented on 2018-08-10 20:08

1.5.0 no longer starts for me:

Aug 10 22:39:23 ubik.home gitea[29052]: panic: fail to set message file(en-US): open conf/locale/locale_en-US.ini: no such file or directory

https://aur.archlinux.org/cgit/aur.git/commit/?h=gitea&id=7d39dec7c58a

Ceeb2wia commented on 2018-07-29 23:31

The warning "==> WARNING: Package contains reference to $srcdir" is justified. The problem is that there are indeed files from the $srcdir referenced by the binary. After building is completed, these files are no longer existent, which results in errors when trying to interact with the command line tool as described by @genghizkhan91. I think that normally the source files should be present somewhere in the $GOPATH, in /usr/lib/go/src?

Solution approach:

My approach is to install all source files under /var/lib/gitea/ and patch the binary (/usr/bin/gitea) such that all invalid paths are replaced with the paths where the source files get installed. You can find my adapted PKGBUILD here [1].

It works but I'm quite sure there is a more elegant solution. Maybe gopas [1] could be an alternative.

[1] https://pastebin.com/WNahwx2p

[2] https://github.com/reekoheek/gopas