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
Search Criteria
Package Details: gitea-git v1.19.0_dev_286_g477a1cc40e-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/gitea-git.git (read-only, click to copy) |
---|---|
Package Base: | gitea-git |
Description: | Painless self-hosted Git service. Community managed fork of Gogs. |
Upstream URL: | https://gitea.io/ |
Keywords: | git |
Licenses: | MIT |
Conflicts: | gitea |
Provides: | gitea |
Submitter: | francoism90 |
Maintainer: | kageru |
Last Packager: | kageru |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2016-11-15 09:57 (UTC) |
Last Updated: | 2023-01-11 19:12 (UTC) |
Dependencies (10)
- git (git-gitAUR, git-glAUR)
- go (go-gitAUR, gcc-go-gitAUR, go-sylixosAUR, gcc-go-snapshotAUR, gcc-go) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- mariadb (mysql55AUR, mysql56AUR, mytop-gitAUR, mysql81AUR, mysql57AUR, mysql80AUR, mysqlAUR, mariadb-lts, percona-server) (optional) – MariaDB support
- memcached (memcached-gitAUR) (optional) – MemCached support
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR) (optional) – GIT over SSH support
- pam (pam-selinuxAUR) (optional) – Authentication via PAM support
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql15-docsAUR, postgresql15AUR, postgresql17-docsAUR, postgresql17AUR, postgresql-gitAUR) (optional) – PostgreSQL support
- redis (redis-testingAUR, redis-gitAUR, keydbAUR, valkey) (optional) – Redis support
- sqlite (sqlite-fossilAUR) (optional) – SQLite support
Required by (3)
- act-runner (requires gitea)
- act_runner (requires gitea) (optional)
- gitea-github-theme (requires gitea)
Sources (5)
fbis251 commented on 2017-05-21 17:53 (UTC) (edited on 2017-05-21 18:03 (UTC) by fbis251)
francoism90 commented on 2017-03-20 19:06 (UTC)
@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 (UTC)
@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 (UTC) (edited on 2017-02-28 15:07 (UTC) by jmert)
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 (UTC)
@francoism90: thanks!
normalraw commented on 2017-02-25 20:15 (UTC) (edited on 2017-02-25 21:33 (UTC) by normalraw)
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 (UTC)
@francoism90 thanks, it builds now
Pinned Comments