Package Details: gogs 1:0.11.86-1

Git Clone URL: https://aur.archlinux.org/gogs.git (read-only)
Package Base: gogs
Description: Self Hosted Git Service written in Go
Upstream URL: https://gogs.io
Keywords: git go gogs
Licenses: MIT
Conflicts: gogs-bin, gogs-dev-git, gogs-git
Submitter: kureikain
Maintainer: Martchus
Last Packager: Martchus
Votes: 54
Popularity: 0.018499
First Submitted: 2014-05-12 08:56
Last Updated: 2019-02-04 21:55

Pinned Comments

Martchus commented on 2017-06-12 22:24

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.
  • 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.)
Previous "sticky" note

Latest Comments

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

lb.laboon commented on 2018-12-14 04:20

One small thing I noticed is that the mode of /etc/gogs in this package does not match the mode specified in /usr/lib/tmpfiles.d/gogs.conf (/etc/gogs is 0755 in the package, but the gogs.conf file specifies 0775).

Not a huge deal, but would be nice if they were made to be consistent with each other.

potatoattack commented on 2018-11-03 13:28

Being unable to write to /etc/gogs/app.ini during the installer even though permissions are correct is caused by ProtectSystem=full in gogs.service. Changing this setting to ProtectSystem=true mounts /etc rw fixing this issue.

onidaito commented on 2018-10-16 23:09

Had an issue where gogs would not write to the /etc/gogs/app.ini The installer kept on complaining that this was a "read only file system" despite changing the directory to various users, gog included. I also changed to mode 777 at one point. Still no luck. Gogs-git seems to work first time :)

Martchus commented on 2018-07-14 20:13

@arshlinux I am aware of this warning. Not sure how to remove the reference from the binary, though. But it doesn't seem to cause any problems so I don't care much.

arshlinux commented on 2018-07-13 14:20

Just reporting this warning:

==> WARNING: Package contains reference to $srcdir
usr/bin/gogs

runical commented on 2018-04-01 19:15

@Martchus: Thanks for the explanation, I guess that is annoying to deal with. The reason I add this is in an attempt to educate the people using the AUR about these kinds of things (which should absolutely be known by those users).

You won't hear me complain about your including the deps btw. Just about the people who asked you to include those deps ;-)

Martchus commented on 2018-03-31 11:12

@runical I know that those dependencies are actually not required. See my comment on his PR. However, that's not the first complaint of that kind I'm receiving so I just thought let's finally add it. It can not hurt and might silence those complaints. If I now get more complaints about those makedepends being present, I maybe drop them again :-)

runical commented on 2018-03-31 10:54

@Martchus, @k3a

It seems the comment has already been removed, so I hope k3a has found out that they were incorrect themselves. However, it seems Martchus has acted on it nevertheless.

GCC and patch do not have to be listed as makedepends as they are in the base-devel group. This group in assumed installed for anyone who builds packages, as can be seen on the wiki [0,1]. This does not mean that adding them is wrong per se, but they do not have to be added explicitly for any package on the AUR. Please refrain from asking anyone to add these as makedepends and just install base-devel.

[0] https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

[1] https://wiki.archlinux.org/index.php/Makepkg

Martchus commented on 2018-03-20 20:47

Ok, I'll do when updating anyways.

powerarch commented on 2018-03-20 20:37

This package sees to build just fine on aarch64. Maybe add it to the supported architectures?