Package Details: gitea-git r6500.1675fc430-1

Git Clone URL: https://aur.archlinux.org/gitea-git.git (read-only)
Package Base: gitea-git
Description: A painless self-hosted Git service.
Upstream URL: https://gitea.io/
Keywords: git projects selfhosted
Licenses: MIT
Conflicts: gitea
Provides: gitea
Submitter: francoism90
Maintainer: francoism90
Last Packager: francoism90
Votes: 5
Popularity: 0.016487
First Submitted: 2016-11-15 09:57
Last Updated: 2018-07-06 08:36

Pinned Comments

francoism90 commented on 2018-06-16 10:39

After a long time, I've finally found some time to fix this PKG.

It will create a gitea user and uses /home/gitea for saving repo's as recommended upstream. See https://wiki.archlinux.org/index.php/Gitea for details.

Comment the following lines in /etc/gitea/app.ini before starting Gitea: https://github.com/go-gitea/gitea/issues/4255

Latest Comments

1 2 Next › Last »

francoism90 commented on 2018-06-18 13:05

@mar77i Could you try building with https://aur.archlinux.org/packages/clean-chroot-manager/?

mar77i commented on 2018-06-17 17:22

Thanks for the update. However, I still appear to be having problems around here:

https://ptpb.pw/w1WJ ...suggestions/solutions welcome.

francoism90 commented on 2018-06-16 10:39

After a long time, I've finally found some time to fix this PKG.

It will create a gitea user and uses /home/gitea for saving repo's as recommended upstream. See https://wiki.archlinux.org/index.php/Gitea for details.

Comment the following lines in /etc/gitea/app.ini before starting Gitea: https://github.com/go-gitea/gitea/issues/4255

fbis251 commented on 2017-05-21 17:53

It looks like the swagger binary is necessary as a compile time dependency

routers/api/v1/api.go:5: running "swagger": exec: "swagger": executable file not found in $PATH

This package does not install it by default, I got the package to build fine after installing swagger from https://github.com/go-swagger/go-swagger and placing it in my PATH

EDIT

Also, it doesn't look like go is a runtime dependency, it's only needed at compile time as a makedepend

francoism90 commented on 2017-03-20 19:06

@DeltaEvo @all: path has been changed, should be fixed. Sorry for the late update, I've been sick all week.

DeltaEvo commented on 2017-03-19 15:19

@francoism90
/scripts/systemd/gitea.service has been removed from the repo since 1.1 so the build fail, i have fixed that with https://gist.github.com/DeltaEvo/e12a758f4d72945331e68003ecc1cd95

jmert commented on 2017-02-28 14:45

After the latest upgrade, my ability to push updates via ssh failed with the error message:

remote: 2017/02/28 08:42:59 [W] Custom config '/usr/bin/custom/conf/app.ini' not found, ignore this if you're running first time
remote: 2017/02/28 08:42:59 [...a/modules/log/log.go:59 NewGitLogger()] [E] Failed to create dir /usr/bin/log/hooks: mkdir /usr/bin/log: permission denied

It took quite a while to track down, but a workaround is to add to ~/.ssh/environment:

GITEA_CUSTOM=/var/lib/gitea/custom

The systemd service file now includes this environment variable, but when pushing changes through ssh, gitea apparently now needs this environment variable to work properly. (Reported upstream at https://github.com/go-gitea/gitea/issues/1086)

normalraw commented on 2017-02-26 00:00

@francoism90: thanks!

normalraw commented on 2017-02-25 20:15

I was getting `nologin: invalid option -- 'c'` when trying to push my changes via SSH, and it seems that the default shell for the `gitea` user is set to `/sbin/nologin` where it should probably be `/bin/bash`. Perhaps changing to `systemd-sysusers` had something to do with it.

edit: pre-receive thing unrelated. disregard.

S13ntist commented on 2017-01-02 21:47

@francoism90 thanks, it builds now