Package Details: gogs 1:0.11.34-1

Git Clone URL: (read-only)
Package Base: gogs
Description: Self Hosted Git Service written in Go
Upstream URL:
Keywords: git go gogs
Licenses: MIT
Conflicts: gogs-bin, gogs-dev-git, gogs-git
Submitter: kureikain
Maintainer: Martchus
Last Packager: Martchus
Votes: 47
Popularity: 1.407671
First Submitted: 2014-05-12 08:56
Last Updated: 2017-11-24 10:25

Pinned Comments

Martchus commented on 2017-06-12 22:24

All my packages are managed at GitHub where you can also contribute directly:
Patches are managed under:
There also exist a binary repository:

Latest Comments

Martchus commented on 2017-11-24 10:28

Checksums should be fixed now.

slashme commented on 2017-11-24 09:49

It appears the checksums in PKGBUILD haven't been updated for 0.11.34.

Martchus commented on 2017-11-05 18:15

@Case_Of The version has been updated ( but not released. The latest release is still 0.11.29 (

EDIT: I picked the security patches.

Martchus commented on 2017-10-12 10:11

I'll add it.

yan12125 commented on 2017-10-12 09:47

I have to change AVATAR_UPLOAD_PATH to /var/lib/gogs/data/avatars so that I can upload custom avatars. Mind to add it to 0001-Adjust-config-for-Arch-Linux-package.patch?

Martchus commented on 2017-10-06 14:56

@papush GOGS_CUSTOM is now set to "/var/lib/gogs/custom" in the service file.

papush commented on 2017-10-05 20:55

@Martchus Yes, that seems like the correct way to do it.

Martchus commented on 2017-10-02 17:31

@papush I don't use the custom config path myself. I have just took a look at the Gogs source code myself to find out how the path is computed which suggested the working directory is used. I assumed a function called "WorkDir()" would return the working directory. However, according to Unknown's statement in the issue it doesn't and instead returns the path where the executable is located. So no wonder why the path is "/bin/custom" then.

I still think the custom path should be "/var/lib/gogs/custom" rather than something under "/usr" which is usually used for packaged files only. So I could set GOGS_CUSTOM to "/var/lib/gogs/custom" then?

papush commented on 2017-10-02 16:50

@Martchus There seems to be a bug ( which makes gogs use its executable path as the working directory, and as a result the custom path is set to /bin/custom (even though I launch gogs with the provided .service, which set the PWD to /var/lib/gogs). Am I the only one affected by this ?

Martchus commented on 2017-09-30 18:49

@papush Gogs defaults to "$PWD/custom" for the custom directory. This makes "/var/lib/gogs/custom" for the configuration proposed by this package.

I guess this should be ok. On the other hand, putting custom, unpackages files under /usr/share/... as you propose is quite uncommon.

Note that the config is only not read from "/var/lib/gogs/custom/conf/app.ini" because this has been overridden via CLI argument.

All comments