Package Details: gogs 1:0.13.0-1

Git Clone URL: https://aur.archlinux.org/gogs.git (read-only, click to copy)
Package Base: gogs
Description: Self Hosted Git Service written in Go
Upstream URL: https://gogs.io
Keywords: git go gogs
Licenses: MIT
Submitter: kureikain
Maintainer: krumelmonster
Last Packager: dcelasun
Votes: 51
Popularity: 0.000000
First Submitted: 2014-05-12 08:56 (UTC)
Last Updated: 2023-08-10 14:22 (UTC)

Dependencies (9)

Required by (0)

Sources (3)

Pinned Comments

Martchus commented on 2020-08-24 14:06 (UTC)

The release 0.12.0 will change various configuration variables, e.g. ROOT_URL is changed to EXTERNAL_URL. Please read the official changelog before reporting any issues: https://github.com/gogs/gogs/releases/tag/v0.12.0

Further notes from myself:

  • ROOT_URL did not work at all for me anymore. So it is apparently not just deprecated (as the changelog states).
  • The changelog mentions no alternative to STATIC_ROOT_PATH. It looks like this directory is simply not required at all anymore because files are built into the executable. Overrides should be possible by placing files into the working directory (should be /var/lib/gogs/public with the default config provided by this package; haven't tested yet).

Martchus commented on 2017-06-12 22:24 (UTC) (edited on 2020-08-24 14:22 (UTC) by Martchus)

Important note: You likely want to use the official Gitea package instead.

Gitea - a fork of Gogs - has been added to the official repositories: https://www.archlinux.org/packages/community/x86_64/gitea

That means for Arch Linux the decision has been made to support Gitea rather than Gogs. Hence I suggest everyone to use Gitea instead of Gogs for new installations. I've been testing Gitea for a while myself now and it works well. So I'm also going to switch fully to Gitea myself.

Nevertheless I'll continue maintaining this package for a while now to support old installations. However, I'm not doing any fine-tuning for this package anymore.

Further notes
  • ~~~If anybody was using the Gitea package from my PKGBUILDs repository: It is easy to migrate the official Gitea package because the packages are structured more or less the same. The only significant difference between the packages is that mine was using the user gitea and the official package the user git. So that has to be changed in the config and for the ownership of /var/lib/gitea.~~~ The official package now uses the user gitea similar to my initial packaging was done.
  • It is also possible to install this Gogs package provided here and Gitea at the same time (of course operating on different databases!). That makes it easy to try out Gitea without breaking the existing Gogs installation. Repos can be copied quite easily using my gogs2gitea script. (I'm afraid migrating isn't possible anymore without installing an old Gitea version first.)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 18 Next › Last »

davidovitch commented on 2017-12-26 17:15 (UTC)

I had to use an absolute path for the SQLite database file, while the default config setting comes as a relative path. I've added this to the Arch Linux wiki. My installation is running in an Arch linux LXC container, not sure if that makes any difference.

davidovitch commented on 2017-12-23 15:06 (UTC) (edited on 2017-12-23 15:07 (UTC) by davidovitch)

@Martchus: thanks! I've updated the Arch Wiki accordingly, maybe a more experienced Gogs user could review the changes I made? For example, I could only see changes taking effect after restarting Gogs (systemctl restart gogs), is that really the case?

I've also tried to use a custom configuration file custom/conf/app.ini (as suggested by the Gogs docs), but I couldn't get that to work using either /usr/share/gogs or /var/lib/gogs as root directory.

Martchus commented on 2017-12-22 20:19 (UTC) (edited on 2017-12-22 20:21 (UTC) by Martchus)

@davidovitch This first-time-configuration via the web UI conflicts with having the config under /etc/gogs indeed. You can decide yourself whether you want to relax the permissions (temporarily) or just edit the config file directly. Note that Gogs only alters this file through the first-time-config. Any other settings are stored in the database.

davidovitch commented on 2017-12-22 20:03 (UTC)

I am a little confused regarding the location of the config file, when finishing off the installation at localhost:3000 (Install steps for first run time) I get:

Fail to save configuration: open /etc/gogs/app.ini.747273564.tmp: permission denied

Martchus commented on 2017-11-24 10:28 (UTC)

Checksums should be fixed now.

slashme commented on 2017-11-24 09:49 (UTC)

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

Martchus commented on 2017-11-05 18:15 (UTC) (edited on 2017-11-05 18:36 (UTC) by Martchus)

@Case_Of The version has been updated (https://github.com/gogits/gogs/commit/4d1d66d906321e5bdcc6b22a8fe054bd95723f36) but not released. The latest release is still 0.11.29 (https://github.com/gogits/gogs/releases). EDIT: I picked the security patches.

Martchus commented on 2017-10-12 10:11 (UTC)

I'll add it.

yan12125 commented on 2017-10-12 09:47 (UTC)

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 (UTC)

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