Package Details: gogs 1:0.11.91-1

Git Clone URL: (read-only, click to copy)
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: 54
Popularity: 0.000197
First Submitted: 2014-05-12 08:56
Last Updated: 2020-01-21 14:09

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:

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

« First ‹ Previous ... 3 4 5 6 7 8 9 10 11 12 13 ... Next › Last »

mikroskeem commented on 2016-09-27 08:25

Adding "glide update" before "glide install" fixes checkout error, but then I get this error:

fbis251 commented on 2016-09-22 16:25


Unfortunately the download script doesn't keep the version of the source package in the downloaded file and instead renames them all "gogs".

Just delete the "gogs" file from the package folder and try to rebuild the package and it should work fine.

@fanningert would you mind keeping the version number in the packages to prevent this from happening?

FoPref commented on 2016-09-22 15:56

Does not install:

-> Downloading gogs...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 250 0 --:--:-- --:--:-- --:--:-- 250
100 8511k 100 8511k 0 0 3952k 0 0:00:02 0:00:02 --:--:-- 9300k
==> Validating source files with sha512sums...
gogs.service.patch ... Passed
app.ini.patch ... Passed
gogs ... NOT FOUND
==> ERROR: One or more files did not pass the validity check!

miopa commented on 2016-09-16 15:16

I had do add

glide update
glide install
in prepare()

in order to build it

majewsky commented on 2016-08-12 11:39

I tried to update from 0.9.0 to 0.9.71, but the epoch decreased (!) from 2 to 1, thus breaking my AUR helpers. Can you please increase the epoch again?

freswa commented on 2016-08-08 13:59

the checksum for the archive seems to be not up 2 date

runical commented on 2016-08-03 19:10

@Mic92: I recently asked them to remove this because it isn't expected behaviour and not the normal way to package for Arch :) You can add the hook to the wiki though, some people like something like this.

EDIT: Sorry, what I asked to be removed was an automatic enabling and starting of GOGS on install. My bad. On the other hand, I don't really see the added value to do this in the package. A hook is the perfect solution for this problem.

Mic92 commented on 2016-08-03 15:24

Usually I like arch's default to not automatically restart services after upgrade. But in this case Gogs will not find it's old assets, so I added this pacman hook:

Type = File
Operation = Upgrade
Target = usr/share/gogs/gogs
Description = Restart gogs...
When = PostTransaction
Exec = /usr/bin/systemctl try-restart gogs.service

Maybe this could be part of the wiki or part of the package (maybe optionally enabled via symlink). I find it quite convenient.

CountMurphy commented on 2016-07-22 18:50

checksums fail:
==> Validating source files with sha512sums...
gogs.service.patch ... Passed
app.ini.patch ... Passed
gogs ... FAILED
==> ERROR: One or more files did not pass the validity check!

fanningert commented on 2016-07-21 08:50

@jakschu Currently the install process with apacman or yaourt, is working on my laptop. Looks like it is a github or glide problem. My created issue is open and I will search for the problem. But currently I don't found a good log-option in glide with the install parameter.